PROTECTED SOURCE SCRIPT
Mis à jour Donchian Channel - trend filter

Strategy based on Donchian Trend filter indicator:

Which in turn is derived from custom Donchian Channel indicator:

Few extra paremters added:
EntryType
ExitType

Which in turn is derived from custom Donchian Channel indicator:

Few extra paremters added:
EntryType
- Breakout : Entry on first confirmation of trend.
- Pullback : After confirmation of trend, wait till price comes back to mid band before entry.
- Combined: Prefer pullback entry. But, if price breaks higher band more often, then go long on breakout. Parameter EntryBreakoutStrength + TrendCountLimit is used for measuring repeated breakout and possibility of not getting pullback signal.
ExitType
- Reversal : Exit upon complete trend reversal
- Choppy : Exit when trend becomes neutral and candles are colored in silver
- Midband: Exit when price hits midband. Please note, this option should not be used in conjunction with EntryType - Pullback or Combined
- Combined: Uses UpCount/DownCount along with ExitMidBandRange and ExitChoppyRange values to determine where to exit. High UpCount or DownCount means, instrument has trended for long - in this case early exit is favourable. If TrendCount is higher than ExitMidBandRange, then exit upon touching MidBand. If TrendCount is higher than ExitChoppyRange, then exit when trend becomes choppy. If not, wait till reversal.
Notes de version
Updated logic to resolve conflicts on MidExit and PullbackEntryNotes de version
Minor corrections in logic to avoid error.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.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
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.
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
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.