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 protegido
Este script é publicado como de código fechado e você pode usá-lo livremente. Você pode favoritá-lo para utilizá-lo em um gráfico. Você não pode visualizar ou modificar seu código fonte.
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.

Quer usar esse script no gráfico?