OPEN-SOURCE SCRIPT

ATR based Stop and Take-Profit levels in realtime

Updated
Little tool to quickly identify stops and take-profit levels based on Average True Range. User can change ATR multipiers, as well as the ATR length used. Green and red lines show these levels; plot is visible over last 8 bars only to reduce clutter. Label showing the current ATR, up above the last bar
Release Notes
-Added Dynamic Boxes. When you add indicator to chart; click on chart to set an 'Entry start' time. Thereafter you can slide this vertical blue dotted line as you like, or input current time/date.
-Dynamic RR box based off realtime bar (repainting) or previous bar (no repainting): toggle choice.
-User can toggle on/off long/short; as well as the original TP/SL lines and ATR label.
Release Notes
-update cover chart; code comments
Release Notes
-fixed vertical line issue
Release Notes
-minor fix vertical line
Release Notes
-minor fix
Release Notes
-added tooltips
ATRAverage True Range (ATR)boxesdynamicrewardriskriskrewardRRRstoplosstakeprofit

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?


You can buy me a coffee here...

PayPal.Me/twingall
BTC: 3JrhUwNRnKyqhaa1n1AXKeAubNeEFoch6S
ETH erc20: 0x4b0400B1c18503529ab69611e82a934DDe4Ab038
ETH bep20: 0x1F0f03F184079bb1085F8C9dF3a8191C9f5869B3

Disclaimer