OPEN-SOURCE SCRIPT

ATR SL Visualization (on chart)

Updated
This indicator plots 2 sets of dots (and lines) based on your chosen ATR multiplier (Average True Range).

Generally, when trading on the daily timeframe a good rule of thumb is to use the ATR * 1.5 (the default setting of this indicator).

I created this indicator to quickly test other indicators but I also find it helpful in live trading.

How to use this indicator:

Your trade system provides an entry signal. The red dot (can be connected line in options) would be used as the stop loss for either a long or short.

Then the dot on the other side would be your first 1:1 target.

The blue line is the same ATR multiplier as a target (default but can be modified).

Using an additional tool like the horizontal ray can be helpful to see the exact location the SL might be hit or where the target might hit.

When drawing your ray ensure you’re using the right entry candle.

For instance, in a long scenario you would typically be entering a trade after your signal candle closes. So draw the ray at the point in price on the next candle for both stop loss and target.

Also use these dots (lines) as guides provides an easy way to plot SL and targets if you want to use the Long or Short tool.

For my trade systems I don’t use price targets (I exit when structure or indicators reveal to exit) but I do find it helpful to graph when testing. When something moves in my favor either the ATR or the ATR * 1.5 I take profit and typically move up my stop loss to break even or trailing.

The other strategy that could be possible but have not tested is as long as the SL is making a new high moving up a hard stop to the ATR SL each day the trade goes in your favor.

This should be obvious but if you want to use just the true ATR edit the multiplier to be 1.0
Release Notes
This includes options to turn off and on the lines
ATRAverage True Range (ATR)profittargetsstoplossstopsVolatility Stop

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?


Get the best... join my Discord: discord.gg/WgjsxVz
Also on:

Disclaimer