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.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.