Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

ZigZag BOS CHoCH Detection - indicateur pour MetaTrader 5

Vues:
1114
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Features:

  • Classic ZigZag swing detection (Depth / Deviation / Backstep) using the standard MQL5 ZigZag approach.
  • Automatic pivot tracking (recent swing points are stored internally for structure analysis).
  • Break of Structure (BOS) detection:
    • Marks continuation breaks in the same structure direction.
    • Draws a horizontal level and labels it "BOS".
  • Change of Character (CHoCH) detection:
    • Marks the first break against the previous structure direction.
    • Draws a horizontal level and labels it "CHoCH".
  • Clean chart objects:
    • Lines and labels are drawn directly on the chart for clear visibility.
    • Updates on new bars to avoid unnecessary redraws.


Parameters:

Parameter Name Description
InpLookback How many bars to scan when collecting recent ZigZag pivots for structure detection.
InpDepth ZigZag Depth (standard MQL5 ZigZag parameter).
InpDeviation ZigZag Deviation in points (standard MQL5 ZigZag parameter).
InpBackstep ZigZag Backstep (standard MQL5 ZigZag parameter).



Notes and Limitations:

  • ZigZag repaints: Like all ZigZag-based tools, swing points can update until a leg is confirmed. BOS/CHoCH levels may shift accordingly.
  • Close-based confirmation: Break detection is evaluated using candle closes relative to the relevant swing level.
  • Chart objects: BOS/CHoCH levels are drawn using chart objects (lines + text labels).
  • Performance: Very large lookback values may reduce performance on slower devices or low timeframes.


Screenshots:



Conclusion:

This indicator combines the reliability of the standard MQL5 ZigZag with clear BOS/CHoCH market-structure labeling. It’s a lightweight visual tool for traders who want swing-based structure confirmation directly on the chart.

Trend based on WPR Trend based on WPR

This indicator combine WPR and total profit/loss. I don't know how to tell you more about this indicator but you can try it.

Multi-timeframe RSI scanner with visual dashboard and alerts Multi-timeframe RSI scanner with visual dashboard and alerts

Production-ready multi-timeframe RSI scanner with intelligent alert retry system. Monitors up to 7 timeframes simultaneously, highlights convergence zones when 3+ TFs align, and now auto-retries failed notifications to ensure you never miss critical overbought/oversold setups.

WPR With TPSL WPR With TPSL

WPR indicator in chart window with TPSL

Timeframe Quality Analyzer Timeframe Quality Analyzer

Find Perfect Timeframe to trade