Spécifications
I need a professional MT5 custom indicator that builds and displays a full Kagi chart, along with continuation-based alert signals.
Part 1: Kagi Chart Construction
The indicator must:
-
Construct a proper Kagi chart structure
-
Support:
-
Reversal by fixed price
-
Reversal by percentage
-
-
Maintain correct:
-
Yang (bullish thick line)
-
Yin (bearish thin line)
-
Shoulder (local high)
-
Waist (local low)
-
-
Draw:
-
Yang lines (thick, bullish)
-
Yin lines (thin, bearish)
-
Bend points (top/bottom)
-
-
Allow overlay on price chart
Part 2: Continuation Signal Logic (Very Important)
Signals must be based on Kagi structure, not standard price swings
BUY (Yang Continuation)
-
Kagi is in Yang (bullish) phase
-
A pullback occurs (price retraces but does NOT break previous waist)
-
After pullback, give BUY signal only when:
→ Price breaks above previous Yang high (shoulder) + buffer
SELL (Yin Continuation)
-
Kagi is in Yin (bearish) phase
-
A pullback occurs (price retraces but does NOT break previous shoulder)
-
After pullback, give SELL signal only when:
→ Price breaks below previous Yin low (waist) − buffer
Part 3: Chart Display
-
Draw Kagi lines (Yang/Yin)
-
Highlight:
-
Current Yang high (buy level)
-
Current Yin low (sell level)
-
-
Show:
-
BUY arrows on breakout
-
SELL arrows on breakout
-
Part 4: Inputs Required
-
Kagi timeframe
-
Reversal type (price / percentage)
-
Reversal value
-
Break buffer (points)
-
Wick or close break option
-
Enable/disable alerts
-
Show/hide Kagi lines
-
Colors for Yang/Yin
Part 5: Alerts
-
MT5 popup alert
-
Optional mobile push notification
Important Rules
-
No signal on first impulse
-
Signal only after pullback + breakout
-
Only one signal per setup
-
Logic must strictly follow Kagi structure (Yang/Yin)
Objective
This is a precision trading tool, not a generic indicator.
Accuracy of Kagi structure and signal logic is more important than speed.
Automation/EA may be developed later after validation.