OPEN-SOURCE SCRIPT

Sizing Guide

Updated
This indicator helps you defining your max sizing, depending on the max $$$ amount you're willing to risk against a specific exponential moving average (or VWAP, default is the 13ema).
You can define your max risk amount and your max allowed sizing. The indicator would suggest the best sizing in order to risk only up to the amount you are comfortable with on a potential trade.
Moreover, the column bar would turn yellow/red if the divergence is above a certain threshold (default are yellow > 1.50% and red > 2.75%, green otherwise).
Release Notes
To be more accurate, it now bases its size guide value off of the high/low of the previous candle instead of the current price which is way easier to manage for certain strategies.
Release Notes
In this latest version, I added the possibility to show the sizing for the pullback strategy (by enabling the "Sizing for Pullback" checkbox). It will only work properly in real-time, since the calculation takes into account the current hod/lod that will get overwritten over time as that trading day goes by (in case it makes a new hod/lod).
DivergenceMoving AveragesOscillatorspullbackpullbackbuypullbackspullbacksellpullbacktraderisksizing

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer