BOS CHoCH Structure Auto
- Indicatori
-
Valentina Pagkalaki
As a trader, I needed some tools and indicators to help me with my decision-making however, I couldn't find any that I was completely satisfied with, so I decided to create them myself. Every indicator I share is one that I use personally, and it is a pleasure for me to share them with you. - Versione: 1.0
- Attivazioni: 5
Short description
Automatic market structure for MT4: HH, HL, LH, LL, EQH and EQL levels with clear BOS and CHoCH detection and closed-bar alerts.
Full description
BOS - CHoCH Structure maps the market structure on your chart automatically, so you can see the trend and the moment it changes without drawing a single
line by hand.
The indicator finds the confirmed swing highs and lows and classifies each one as HH, HL, LH, LL, EQH or EQL. Every swing becomes a horizontal level that stays
open until price interacts with it. When a level is broken, the indicator tells you what kind of break it was:
• BOS (Break of Structure): price breaks a level in the direction of the current trend, which confirms that the trend continues.
• CHoCH (Change of Character): price breaks a level against the current trend. This is the first sign that the trend may be reversing.
• TOUCH: price reached the level but did not close beyond it. The level was tested but not broken.
Every line carries a clean label centred on its visible part, and the labels re-position automatically when you zoom, scroll or resize the chart.
Key features
• Automatic swing detection based on a ZigZag engine. Default settings are 18 / 5 / 5. If you need smaller movements, set the ZigZag to 12 /5 /3 — but keep in
mind that there may be more noise, and you might get confused regarding the ranges if you aren't experienced.
• Classification of swings as HH, HL, LH, LL, EQH and EQL, each with its own colour.
• BOS and CHoCH detection based on the trend that is active at the moment of each break.
• A break needs a closed candle beyond the level. You can require 1 to 5 consecutive closes to filter false breakouts.
• Levels stay open until they are broken. Broken lines end exactly at the breaking candle, so your chart stays clean and readable.
• Alerts on closed bars only: popup, push notification to your phone and sound. You get each event once, without duplicates.
• The most recent, still-forming swing is not drawn. Levels appear only once the swing is confirmed.
• Optional ON/OFF button on the chart, which you can place in any corner.
• Timeframe selection: you can show the structure on the current chart timeframe or on one specific timeframe only.
• Several copies can run on the same chart. Use the InstanceTag input, for example for different settings.
• All colours, line width, label size and label spacing can be changed.
• Lightweight: no DLLs, no external files and no internet connection required.
How to use it
1. Attach the indicator to any chart: Forex, Gold, Indices, Crypto or any other symbol, on any timeframe.
2. Follow the trend: a series of BOS in one direction confirms the trend.
3. Watch for a CHoCH: it is an early warning that the trend may be changing. Many traders wait for a CHoCH and then look for entries in the new direction on a
lower timeframe.
4. Use the open levels (HH, HL, LH, LL) as targets, as stop-loss references, or as areas where price may react. (most HL, LH act aw magnets for sweep liquidity)
5. Turn on push notifications so you know about every BOS or CHoCH without watching the screen.
Input parameters
Parameter
Timeframe : Timeframe on which the structure is calculated and displayed (Current = chart timeframe)
ZigZagDepth / Deviation / Backstep : Swing detection sensitivity (default 18 / 5 / 5) - You can also use the 12 / 5 / 3
HistoryBars : Number of bars to calculate
MaxPivotsToDraw : Number of recent swings to display
InstanceTag: Unique name, so you can use more than one copy on the same chart
LineWidth: Width of the level lines
BreakConfirmationCloses : Closed candles required to confirm a break (1–5)
EnablePopupAlerts/EnablePushNotifications/EnableSoundAlerts / AlertSound : Alert settings
ShowLineLabels/LabelFontSize/LabelGapPixels : Label settings
ShowOnOffButton/ ButtonCorner/ButtonOffsetX/ButtonOffsetY : ON/OFF button settings
Colours : HH, LH, HL, LL, EQH, EQL, Touch, BOS, CHoCH
Notes
• Swing points are confirmed by the ZigZag logic, so a level appears only after its swing is complete.
This is normal for any structure tool and keeps the history reliable.
• This indicator is an analysis tool. It is a very good guide for familiarizing yourself with the structure of the market.
It does not open trades and it does not guarantee profits. Always use proper risk management.
