Blue and red
Blue is the upper-side condition and red the lower-side condition. The condition used depends on the mode.
Colors bars by a chosen criterion: where the close lies within 1 bar, whether the open and close are at opposite ends, or whether the body exceeds a specified size.
Blue and redBlue is the upper-side condition and red the lower-side condition. The condition used depends on the mode.
Ratio and pointPositions are ratios of the range; Body Size is an absolute size in the symbol's points.
Boundaries are neutralBars equal to a threshold are not counted as blue or red.


The published images are display examples from before the brand display was added. The product has display settings for the brand text and QR code, but the screen with the brand display has not yet been verified. The timeframe shown in the image does not indicate how often this appears on that timeframe in practice. Marks at the edges may be cut off outside the screen.
Mode = Open and Close Ends、Close Position Percent of Range (1 to 49) = 33、Open and Close Ends Percent of Range (1 to 49) = 25、Body Size in Points (0 to 100000) = 7、Show Neutral Candles = true、Closed Bars Only = true。
The 4 brand display items are not included in the capture.
Blue is the upper-side condition and red the lower-side condition. The condition used depends on the mode.
Positions are ratios of the range; Body Size is an absolute size in the symbol's points.
Bars equal to a threshold are not counted as blue or red.
Colors bars by a chosen criterion: where the close lies within 1 bar, whether the open and close are at opposite ends, or whether the body exceeds a specified size.
Blue if the close is within the specified % of the top of the high-low range, red if within the same percentage of the bottom (boundaries excluded).
Blue if the open is in the bottom zone and the close in the top zone. Red if the open is in the top zone and the close in the bottom zone. Otherwise neutral.
Blue if close − open exceeds the specified points, red if it exceeds them on the negative side. It uses the direction as well as the absolute size of the body.
In the two modes that use ratios, bars with high = low are neutral.
Blue is the upper-side condition and red the lower-side condition. The condition used depends on the mode.
Use the same symbol, timeframe and history, and first change only one input. Use separate charts for comparison, and check the Mode and vertical axis of each screen.
If there are few colors, check that the end conditions and the body condition are not being confused, and check the Mode and units.
This display alone does not decide whether to trade. The colors, lines and arrows represent the calculation conditions in this manual; they are not a forecast of future price movement or an instruction to buy or sell.
At first, do not change the inputs; cross-check the colors and display location against the default screen above.
With Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.
Mode: Close Position → Open and Close Ends. The comparison images may include more than one change.
The angle of lines and visible differences change with the screen zoom. Check the settings together with the price scale and the vertical axis of the separate window.
| ZIP contents | Location / role |
|---|---|
TRI_Bar_Shape_Bars.ex5 | MQL5/Indicators in MT5. Only 1 item: the indicator itself. |
The manual opens on the product's own page on the site. The ZIP does not include the manual or source code. It is for MT5 only and cannot be used in MT4. The site edition has no account authentication or license file settings.
Prepare the extracted EX5. Do not place it while it is still compressed.
Place the EX5 in MQL5/Indicators via 'File → Open Data Folder'.
Refresh the Navigator or restart the terminal, and apply it to the target chart. DLL permission is not required.
Change the settings or remove it from the chart's 'Indicators List'. Enabling automated trading is not required.
There are 10 items in total: 6 product-specific items and 4 brand display items. English names are based on the input definitions. Enter numbers in half-width characters. Keep inputs that the mode does not use within range as well.
InpModeInpClosePercentInpEndsPercentInpBodyPointsInpShowNeutralInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYWith Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.
Settings changes, additions to or corrections of the history, and reloading redo the calculation. This is not a guarantee that "closed bars never change under any circumstances".
A common display is shared among products of the same medium on the same chart. If several are loaded, the settings of the registration that enabled the display first are used, so changing one may not change the appearance.
This product does not place orders or trade automatically. It does not guarantee accuracy as a trading signal or profits.
If there are few colors, check that the end conditions and the body condition are not being confused, and check the Mode and units.
Check whether the required number of history bars is available, whether the forming bar is hidden, and the input ranges and mode. Also check the terminal's Experts tab for input errors.
Check the price feed and the connection status. Changing settings for an unused mode does not change the display.
The appearance changes with the symbol, history, timeframe, inputs and scale. Even when compared with the full-size image, the marks are not necessarily at the same positions or of the same count.
Points are different from pips. With 5 decimal places and Point=0.00001, 7 points is 0.00007. On a different symbol, the same number gives a different price width.
The published images and values were checked with the product before the brand display was added. The screen display of the product with the brand display has not yet been verified. Whether the values match other indicators with the same name, the Data Window display, and behavior with long histories or with symbols that have different price digits have not been verified.
Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. The unit of periods is the number of chart bars.