PROTECTED SOURCE SCRIPT

[DEM] Momentum Supertrend Signal (With Backtesting)

11
[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.

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.