Skip to main content
Cart Log in Sign up
Money manager Prop-safe

Risk Box: position size from entry, stop and risk %

Set entry, stop and target on a TradingView chart and a table shows the lot size, cash risk and risk-to-reward ratio.

Platform

License

Price

≈

Version

You own this product. Go to My products
Get the demo

  • Automatic, instant delivery once payment confirms
  • Free updates for every future version
  • 12 months of technical support
  • Refunds under a transparent policy
  • Pay with USDT, BTC, ETH and more
  • Free: no payment, download it right now

Risk warning: Trading financial markets carries a risk of losing capital, and past performance does not guarantee future results. Terms & conditions

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.

Works with every broker

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

Input parameters
ParameterDefaultDescription
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

  1. Unzip the download. It contains RiskBox.pine and a short readme.
  2. Open RiskBox.pine in a text editor such as Notepad and copy all of it.
  3. In TradingView open a chart and click the Pine Editor tab at the bottom of the screen.
  4. Create a new blank indicator, select all of the default code and paste over it.
  5. Click Add to chart.
  6. 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

  1. 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 review

FAQ

What settings for XAUUSD?
Set Units per lot to your broker’s gold contract size, usually 100 ounces. Lot step is usually 0.01. On a USD account the conversion rate stays 1.
What conversion rate for USDJPY on a USD account?
The quote currency is yen, so enter the value of one yen in dollars: 1 divided by the current USDJPY price. At 150 that is about 0.00667.
Why is the risk after rounding lower than mine?
Size is always rounded down so it never exceeds your risk cap. A large gap means the lot step is big relative to the position.
Are spread and commission included?
No. Risk is calculated from the entry-to-stop distance only. In a prop challenge leave a little room for costs.
How do I change entry or stop?
Drag the lines on the chart or type new values in the indicator settings. The table recalculates on every change.

Related products

More Money managers and tools from the same family

Compare Compare now