OPEN-SOURCE SCRIPT

ATR SL Buy/Sell w/ SMAs

Firstly I'd like to state that this script's ATR buy/sell source is from the public script library here:
ATR Trailing Stoploss


Additionally with the buy/sell signals from the original script, two more buy/sell conditions were added to give more entries/scaling in or out options. On top of that, two SMA lines were added, a 1 day moving average and a 5 day moving average.

This script is more so designed for scalping/scaling in and out of positions already made.

The SMAs add a level of confidence to the entry order, buy/sell triggers are not based on these SMAs.

For the confirmation on the entry, ideally you want a bullish cross on the SMAs, as well as the color of the SMA to correlate to the buy/sell color.
snapshot
snapshot
ATRautomatedbuybuysignalMoving AveragesSELLsellsignalTrend Analysis

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