OPEN-SOURCE SCRIPT

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.
profittrailerSimple Moving Average (SMA)smagain

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal