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 protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.