仕事が完了した
指定
The indicator must generate a signal (alert / push notification) only when all conditions below are met simultaneously.
1. H4 OrderBlock Detection
The indicator must identify the most recent valid orderblock on the H4 timeframe:
Bullish OB: the last bearish candle before a bullish Break of Structure (BOS).
Bearish OB: the last bullish candle before a bearish BOS.
The orderblock zone should be displayed on the chart as a rectangle.
The M15 chart (main working timeframe) must reference this H4 OB.
OB H4 must have an imbalance.
2. Liquidity Sweep (inside the H4 OB)
On the M15 chart, detect when price takes liquidity (sweeps a previous swing high/low) while price is within the H4 OB zone.
For buy setup: price sweeps a previous low inside a bullish OB.
For sell setup: price sweeps a previous high inside a bearish OB.
Sweep is confirmed when a candle closes beyond the swing and then returns back (reclaim)
If the price closes outside the H4 OB area, then the entire concept is invalid. Liquidity must be gathered within the H4 OB.
3. ChoCH
After the sweep, detect a Change of Character in the opposite direction:
BUY setup: Sweep of a low → CHoCH bullish (price breaks minor high).
SELL setup: Sweep of a high → CHoCH bearish (price breaks minor low).
CHoCH confirms structural reversal.
4. Alerts
When CHoCH appears, price closes below low/above high, I want to get an alert/notification from the mt5 app. For example: EURUSD m15 choch.
Break of Structure (BOS H4)
A candle close above/below the last swing high/low with at least 2 swing confirmation candles.
OB only draw the newest, closest ones. Below and above the price, the most current ones.
The CHoCH can be located inside or outside the OB. This is shown in the appendices.