- Product type
- Money manager
- Platforms
- TV
- Market / symbol
- Gold, FX majors, FX minors, Indices, Crypto, Oil
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
- Product type
- Money manager
- Platforms
- TV
- Market / symbol
- Gold, FX majors, FX minors, Indices, Crypto, Oil
- Experience level
- Beginner
- Delivery
- File download from your dashboard
- Last update
- November 30, 2026
- Broker
- Any broker
Overview
Most risk mistakes start with a rough guess: “this stop is about half a lot”. Risk Box does the arithmetic properly. When you add it, TradingView asks you to click the entry, stop and target on the chart, and you can drag the lines afterwards.
The table shows size in units and in lots, then recalculates the real risk after rounding to the lot step. In a prop challenge, where the per-trade risk cap matters, that second number is the one to watch.
It places no orders and is not connected to your account. Compare the numbers once with your broker’s platform to confirm the contract size and conversion rate are right.
- Risk and reward boxes with entry, stop and target lines
- Size in units and lots, rounded to your broker’s lot step
- Cash risk before and after rounding, plus risk-to-reward
- Long or short detected from where the stop is
- Alerts when price reaches entry, stop or target
Made by
This tool is written by the TradeKit team. The source code is open and included in the download. It is free to use.
Strategy logic
Cash risk
- Cash risk = account size × risk % ÷ 100.
- A stop below entry means a long; above entry means a short.
Size
- Risk per unit = entry-to-stop distance ×
syminfo.pointvalue× conversion rate. - Units = cash risk ÷ risk per unit. Lots = units ÷ units per lot.
- Lots are rounded down to the lot step, so the real risk is always equal to or below your figure.
Target
- Risk-to-reward = entry-to-target distance ÷ entry-to-stop distance.
- If the target is on the wrong side of entry, the table shows a warning instead of a number.
Specifications
Requirements
- TradingView, the free plan is enough
- Your broker’s contract size per lot and lot step
- For pairs whose quote currency differs from your account currency, enter the conversion rate by hand
- Figures are estimates; spread and commission are not included
- Platforms
- TV
- Delivery
- Use case
- Prop challenge، Scalping، Swing
- Market
- Gold، FX majors، FX minors، Indices، Crypto، Oil
- Experience level
- Beginner
Compatible brokers
Which brokers this product works with, and which it works best with.
No broker restriction: it works with any broker that offers the product's platform.
The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers
Input parameters
| Parameter | Default | Description |
|---|---|---|
Account sizeAccount balance in account currency |
10000.0 |
Account balance in account currency |
Risk %Percent of the account you accept to lose on this trade |
1.0 |
Percent of the account you accept to lose on this trade |
Entry priceEntry price; you click it on the chart after adding the script |
0.0 |
Entry price; you click it on the chart after adding the script |
Stop priceStop-loss price |
0.0 |
Stop-loss price |
Target priceTarget price (0 hides the target) |
0.0 |
Target price (0 hides the target) |
Units per lotContract size of one lot at your broker; forex 100,000, gold usually 100 |
100000.0 |
Contract size of one lot at your broker; forex 100,000, gold usually 100 |
Lot stepSmallest lot increment; size is rounded down to it |
0.01 |
Smallest lot increment; size is rounded down to it |
Quote-to-account rateValue of one unit of the quote currency in your account currency |
1.0 |
Value of one unit of the quote currency in your account currency |
Table positionWhere the table sits on the chart |
Top right |
Where the table sits on the chart |
Install guide
- Unzip the download. It contains
RiskBox.pineand a short readme. - Open
RiskBox.pinein a text editor such as Notepad and copy all of it. - In TradingView open a chart and click the Pine Editor tab at the bottom of the screen.
- Create a new blank indicator, select all of the default code and paste over it.
- Click Add to chart.
- Click Save to keep it in your scripts, so you can add it later from the Indicators menu.
Works on the free TradingView plan; your plan’s limit on indicators per chart still applies.
Changelog
-
v1.0.0 TV New November 30, 2026
- Published on TradeKit
Buyer reviews
No reviews yet.
Only verified buyers can review. Reviews are moderated before publishing.
Only verified buyers can review. Reviews are moderated before publishing.
Sign in to write a reviewFAQ
What settings for XAUUSD?
What conversion rate for USDJPY on a USD account?
Why is the risk after rounding lower than mine?
Are spread and commission included?
How do I change entry or stop?
Related products
More Money managers and tools from the same family
Risk warning