PROTECTED SOURCE SCRIPT
[DEM] Momentum Supertrend Signal (With Backtesting)

[DEM] Momentum Supertrend Signal (With Backtesting) is designed to generate buy and sell signals by combining SuperTrend trend analysis with consecutive price momentum patterns and timing filters to identify high-probability entry points with reduced signal frequency. It also includes a comprehensive backtesting framework to evaluate the historical performance of these signals. The indicator overlays directly on the price chart, plotting signals and displaying performance statistics in a table. The strategy generates buy signals when price shows three consecutive closes higher than the previous close while the SuperTrend indicates a bullish trend (direction = -1), with an additional requirement that at least 5 bars have passed since the last buy signal, while sell signals are triggered when price shows three consecutive lower closes during a SuperTrend bearish trend (direction = 1) with the same 5-bar spacing requirement, creating a momentum-confirmation system that filters for sustained directional movement while preventing excessive signal generation through integrated timing controls and backtesting analysis.
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。