OPEN-SOURCE SCRIPT

ATR Control

This indicator shows the following values:
*ATR value of the current symbol
*Size of the full position based on the maximum risk set
*Three sizes that are percents of the full size already present in this indicator


Customizable settings are:
  • Show/hide single rows
  • ATR Timeframe
  • ATR Lenght
  • First percent of the split to apply
  • Second percent of the split to apply
  • Maximum risk


The last percent is automatically calculated using the first two.
Example:
Full size: 500
First percent: 10
Second percent: 40
The third percent is calculated as 100 - first percent - second percent = 50

The split sizes shown are: 50/200/250
ATRAverage True Range (ATR)sizes

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?

Disclaimer