Техническое задание
I need a developer to add Supply & Demand zone detection + drawing to my existing MT5 indicator. No rewrite. No restructuring. Just clean, precise integration into the current logic.
I will attach the indicator file.
1. DEMAND ZONE DETECTION (BUY continuation)
A Demand Zone must be created when:
-
A bullish displacement candle creates a Bullish FVG
-
The origin of the displacement (the last bearish candle before the displacement) becomes the Demand Zone
-
Zone boundaries:
-
Upper: Open of the last bearish candle
-
Lower: Low of the last bearish candle
-
-
The zone must sit below the Bullish FVG
-
The zone extends right until invalidation
-
Invalidation: a candle closes below the entire zone
2. SUPPLY ZONE DETECTION (SELL continuation)
A Supply Zone must be created when:
-
A bearish displacement candle creates a Bearish FVG
-
The origin of the displacement (the last bullish candle before the displacement) becomes the Supply Zone
-
Zone boundaries:
-
Lower: Open of the last bullish candle
-
Upper: High of the last bullish candle
-
-
The zone must sit above the Bearish FVG
-
The zone extends right until invalidation
-
Invalidation: a candle closes above the entire zone
3. VISUAL REQUIREMENTS
-
Draw zones as rectangles
-
Demand: green tint (low opacity)
-
Supply: red tint (low opacity)
-
Extend zones to the right until invalidation
-
Zones must NOT repaint once confirmed
-
Must not interfere with existing FVG drawing
-
Must be visually clean and lightweight
4. INTEGRATION RULES
-
Must integrate cleanly with existing FVG logic
-
Must not break or alter current indicator behavior
-
Must not introduce lag or heavy CPU load
-
Must update only on new displacement events
-
Must remain stable (no flickering, no repainting)
5. DELIVERY REQUIREMENTS
-
Clean, readable code
-
No rewrite of existing structure
-
Only add the new logic
-
Keep all existing inputs and visuals untouched
-
Provide comments explaining the new functions