Risk RulerTradingView indicator
Pine v6real scriptCopy & pastesetup, guide included

TradingView indicator

Risk Ruler

Position size from your account, risk and stop

€29.99

Code by email, plus PDF guide

Buy now

Secure payment by Stripe

Type
Indicator: shows information on your chart. It doesn't buy or sell.
Format
Code by email, plus PDF guide
Delivery
Instant, by email and download
TradingView
TradingView account required

These tools describe past and current market data. Backtest results are hypothetical, can differ from real trading, and do not predict future results. Each strategy was tested on the market and timeframe named in its description. On other markets or timeframes the results will differ and can be losses, so check them in the Strategy Tester before use. Our figures come from our own backtest of the script's rules on the data named in each description. TradingView's Strategy Tester can show a shorter period and different figures, depending on your plan's history and data source. No tool gives signals to follow or personal advice.

Try it live

Drag the stop. See your size.

This is what Risk Ruler does on your chart. Drag the red stop line, set your account and how much you will risk, and the position size updates instantly.

Weekly prices from the Federal Reserve, US EIA and Robert Shiller (public domain). The demo values one unit at 1 euro per point; in TradingView the indicator uses your instrument's real point value.

The method behind it

What our books teach, put into the tool.

This tool does one job well. The thinking behind it comes from our books. Here is the short version.

  1. 01

    Start from the loss, not the balance

    Decide the most you will lose, then where you would be wrong. The position size is just the division left over, and Risk Ruler does it for you.

    Risk Management First · Chapter 4
  2. 02

    Small losses keep you in the game

    A 50% loss needs a 100% gain to recover. Keeping each loss small protects your ability to come back.

    Risk Management First · Chapter 2
  3. 03

    A stop is an instruction, not a guarantee

    Gaps and fast markets can fill you worse than planned, so size for the stop you set, and know what it cannot do.

    Risk Management First · Chapter 5

What it helps you do

  1. Size every trade from the amount you are willing to lose
  2. See the money at risk before you enter
  3. Set stops from volatility instead of a guess
  4. Spot when a position would need leverage

About this tool

Risk Ruler answers the question every trader should ask before entering: how big can this position be? You set your account size and the most you are willing to lose, choose how to place the stop, and it works out the position size, the money at risk and where your targets sit.

It draws the plan on the chart: entry, stop and three targets, with red and green zones and the money at each level. It handles shares, crypto, forex and futures, rounds the size to what you can actually trade, and warns you when the position needs leverage. It places no orders and gives no signals.

What it does
  1. Four ways to place the stop: ATR, percent, recent swing or your own price
  2. Risk as a percent of the account or a fixed amount
  3. Position size rounded to shares, lots or crypto units
  4. Entry, stop and three targets drawn with the money at each
  5. Panel with risk, stop distance, size, position value and leverage
  6. Alerts when price reaches the stop or the first target

What it's good for

  • Sizing every trade from a fixed amount you are willing to lose
  • Setting stops from recent volatility instead of a guess
  • Checking a trade's risk in money before you place it
  • Using one method across forex, crypto, stocks and futures

Recommended next