Supply and demand indicators MT5
- Индикаторы
-
Xin You Lin
大家好!我是一名金融从业者、经济师、EA开发工程师,外文名:Golden Wings - Версия: 2.51
- Активации: 5
Title:FX-AIEA Supply and Demand Zone Indicator (MT5) — Technical Overview
Version: 2.51 | Platform: MetaTrader 5
Introduction
Supply and demand zones are considered a core manifestation of institutional order flow, providing a more direct reflection of buying and selling pressure than traditional support/resistance levels. This indicator attempts to automate the identification of high-probability supply and demand zones using an adaptive ZigZag algorithm, reducing the subjectivity and time associated with manual drawing.
Core Technical Features
-
Automated Zone Recognition: The indicator dynamically extracts significant peaks and troughs via a modified ZigZag algorithm to identify potential supply and demand areas. It utilizes the native MQL5 prev_calculated mechanism to recalculate and redraw zones upon new bar formation, and supports forced timeframe calculation via the Forced_TimeFrame parameter.
-
Boundary Modes: Supports both “Wide” (covering shadows) and “Narrow” (covering only the body) modes, configurable via the use_narrow_bands parameter to suit different trading styles.
-
Noise Filtering: The kill_retouch feature eliminates weak zones that are repeatedly tested without a valid breakout, improving zone reliability.
-
Performance & Customization: Supports custom colors, transparency, and price labels. It processes up to 2000 bars efficiently via batch loading.
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| Forced_TimeFrame | int | 0 | Forced calculation timeframe (0 = current) |
| use_narrow_bands | bool | false | Use narrow bands (body only) |
| kill_retouch | bool | true | Remove weak retouched zones |
| TopColor | color | clrRed | Supply zone color |
| BotColor | color | clrDeepSkyBlue | Demand zone color |
| Price_mark | color | clrDimGray | Price arrow color |
| Price_Width | int | 1 | Arrow width |
| Rectangle_fill | bool | true | Fill rectangle background |
| Rectangle_border_width | int | 1 | Rectangle border width |
Technical Discussion Points
-
Algorithm: The internal ZigZag parameters (period 13, deviation 8, backstep 5) are default values that may require adjustment based on market volatility.
-
Disclaimer: This tool serves as a technical analysis aid only and does not constitute investment advice. It contains no hidden code and makes no external network connections.
Note: Per MQL5 forum rules, direct advertising of products/signals and posting of technical analysis content are prohibited on the forum . This description is provided for general technical discussion.
