OPEN-SOURCE SCRIPT

Simplicity

A simple all in one indicator. Combines a simple moving average with an ATR-based money management system. Simply buy when a candle closes above the MA, and sell when it closes below. Set first TP at 1ATR and initial SL at 1.5-1ATR. When price hits 1st TP, exit half of your position. Use the MA to trail your stop on the other half of the position.
Simple Moving Average (SMA)

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