PROTECTED SOURCE SCRIPT
[DEM] Moving Average Signal (With Backtesting)

[DEM] Moving Average Signal (With Backtesting) is designed to generate buy and sell signals using a highly configurable moving average system with over 20 different moving average types (including EMA, SMA, HMA, ALMA, McGinley, TRAMA, and others) combined with dynamic upper and lower bands based on standard deviation or ATR multipliers. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting the moving average with upper and lower bands while coloring bars green when price is above the upper band, red when below the lower band, and purple when between the bands. The strategy generates buy signals when price crosses above the upper band after being below it for one bar but above it for the previous three bars (indicating a breakout after brief consolidation), and sell signals under opposite conditions with the lower band, creating a momentum-based system that filters for sustained moves beyond the moving average envelope while offering extensive customization options and integrated backtesting metrics.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。