kurette

SMAgain

SMAgain in ProfitTrailer is the strategy using the spread difference between the price and combination of fast SMA and slow SMA.

Buy value and time frame numbers are from popular setting, which can be modified in format.

If you set buy value positive for gain starategy, it is mostly between the price and slow SMA except one or two candle right after cross (sometimes three candles). In the time point indicated by "▲", the trailing for buy will start.

If you set buy value negative for gain starategy, it is mostly between the price and fast SMA except one or two candle right after cross (sometimes three candles). In the time point indicated by "▼", the trailing for buy will start.

This script is to help myself understand the buy strategies of ProfitTrailer.

Any comments and suggestions are welcome.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?