First look at the 2 rows of the same color
Check the price zone with the upper and lower edges as 1 pair. Do not read a single point as a trading signal.
Confirms peaks and troughs with the bars on the left and right, and creates zones sized by the price range. An indicator for reading 2 price zones each above and below, and the changes in their state from touches and breaks.
Read the upper and lower edges as a pair2 rows of points of the same color are the upper and lower edges of 1 zone. It is not a filled rectangle.
Color is not strengthThe 1st zone above is Crimson and the 2nd is DarkOrange. Below, they are SeaGreen and DodgerBlue. For a zone that contains the close, its resistance or support role is also used to classify it as above or below.
The state changes with touches and breaksA touch is not simply the number of times price reached the zone, but the number of times a later fractal meeting the conditions was confirmed. The size of the state code is not a future rebound probability.
Compares the default settings and a settings change example on a screen with only this product applied.
This is an example for explaining the display. M1 on the screen is the timeframe display at the time the display examples were made and does not show the frequency of occurrence on actual 1-minute bars. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the included version has display settings for the brand text and QR. The settings change example is not a recommended value. Details can be checked in the actual-size display. Also check the price scale of the main chart and the positions of the candles.
Check the price zone with the upper and lower edges as 1 pair. Do not read a single point as a trading signal.
A candidate can be used only after the Fast number of bars on the right is complete. By default, the indicator waits for 7 bars on the right to close.
Besides ending and lifetime, a zone also becomes invisible because of display filters or because it dropped out of the nearest 2 zones.
It measures price zones built from confirmed local peaks and troughs, and the later history of touches and breakouts.
The average true range of 7 bars up to the peak or trough bar is multiplied by Fuzz, and half of that is used as the width basis. It does not measure supply and demand from volume or order size.
A zone starts in the weak state. If the peak or trough also holds in the Slow window on the left and right, the weakness is cleared. However, the display code gives priority to the touch history, so a zone can be internally weak even if it is Verified.
In a resistance role, a break is when the high strictly goes beyond the upper edge; in a support role, when the low strictly goes beyond the lower edge. If the zone is weak, it ends. If it is not weak, the role reverses on the 1st break, and it ends when the next break comes without a reset by a touch.
A touch is added when the price of a later fractal matching the role is inside the zone, and there is no in-zone fractal of the same kind in the 10 bars before it. A touch resets the break count to 0, so a role reversal is not necessarily 1 per lifetime.
Check the meaning of the display starting from 7 and 15 bars on each side and Fuzz 0.75.
The 2 zones above and 2 zones below are ranks on that bar. Do not track the same zone by color alone.
Check the display settings for Weak, Untested and Turncoat. Even when the display is turned off, the internal zone calculation continues.
Changing the width, the bars on each side or the lifetime also recalculates past results.
| Included file | Purpose / location |
|---|---|
| TRI_Fractal_Supply_Demand_Zones.ex5 | The MT5 main file. Place it in MQL5/Indicators. |
The ZIP contains only 1 item, the main file. The manual is opened from the product page on the site. Source code is not included. MT5 only; registration, account authentication and placing a license file are not required. Use it without changing the file name.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. When comparing different settings, using separate charts makes checking easier.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
Using this product does not require allowing DLLs. When removed, this product's drawings are cleared.
There are 13 inputs. Change them on the Inputs tab of the properties. The English item names defined in the source are shown together with the input names.
InpFastInpSlowInpFuzzInpExtendInpBackInpShowWeakInpShowUntestedInpShowTurncoatInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYBy default only closed bars are processed. With normal updates using the same inputs and the same history, past output values are not changed. History additions or settings changes may recalculate the whole.
A zone that contains the close is classified as upper if its role is resistance, and lower if its role is support. An upper zone is not necessarily entirely above the close.
Zones are not merged. Up to 300 zones are held internally, and when full, new zones are not added. Existing zones are not automatically pushed out from the oldest.
For a new zone, breaks from the bar after the center up to the confirming bar are also checked. If it is broken as a weak zone in that interval, it may not appear on the screen.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check for insufficient history, the wait for bars on the right, a break before confirmation, the display settings, lifetime, and the nearness rank. The larger Fast is, the later the display starts.
The color corresponds to above/below and rank. It is not a color coding by the zone's own strength.
A price touch alone is not enough. A later fractal must be confirmed, inside the zone, and meet the spacing condition for the previous 10 bars.
Strength is not drawn as a line or text; it is held as a value in the data output. The product specifies the Data Window item names, but the display has not been verified.
If the first display does not appear, check history loading and the input ranges. If an earlier display has stopped updating, first check the price feed and the terminal's connection status.
On each bar: lifetime end → weakness cleared by Slow confirmation → breaks on that bar → touches by Fast confirmation → new zone creation and break check from just after the center → display rank decision. If a break and a touch occur on the same processing bar, the break is judged first, and a zone that disappeared there is not revived by the touch.
Equal values on the older side are allowed; equal values on the newer side exclude the peak or trough. New zones are created from center index 7 onward. If high and low fractals hold at the same time, the high side takes priority. ATR is the simple average of the true range of the latest 7 bars including the center.
4 or more touches = 4 Proven, 1 to 3 touches = 3 Verified, 0 touches with reversal history = 1 Turncoat, no reversal history with weakness cleared = 2 Untested, others = 0 Weak. It does not mean that internal weakness is cleared in numerical order.
0 to 7 are Upper 1 upper/lower edge, Upper 2 upper/lower edge, Lower 1 upper/lower edge, Lower 2 upper/lower edge (symbol 158). 8 to 11 are Strength in the same order (DRAW_NONE). The 1st zone is width 2 and the 2nd is width 1. Empty values are EMPTY_VALUE.
The published images and numbers were checked on the product before the brand display was added. For the product with the brand display, we confirmed that the calculation part is the same, but the on-screen display has not yet been verified. Intermediate calculation values, the subwindow name and Data Window display, and behavior with long history or symbols with different price digits have not been verified.