OPEN-SOURCE SCRIPT
Updated

ATR based Stop and Take-Profit levels in realtime

41174
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

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.