DasanC

Bandpass Filter v2

Attempts to detect trends based on detrended cycles, instead of momentum or price action!

If you enable bar painting, then uptrends will be painted in lime green, then dark green to signify the cycle is ending.
Downtrends will be painted in bright red, then maroon to signify the cycle is ending.

Reducing fast limit will allow the indicator to respond much faster to cycle changes, but may cause more weak signals.
Increasing slow limit will "hold on to" cycles for a longer time & allow trends to extend through small periods of consolidation.

Tweak these settings to your style of trading!

Good settings for scalping:
14, 35

Good settings for intraday:
30, 60
40, 80

Good settings for swing trades:
20, 200 (gets into trade earlier)
50, 120

Ultimately, you'll have to decide the best limits for each security.

Cheers,
DasanC


Need Indicators/Strategies for TradingView? -> t.me/pinescripters_jobs
General questions about Pinescript? -> t.me/pinescripters
Script protégé
Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.
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.

Vous voulez utiliser ce script sur un graphique ?