Look at the height
Read the ADX value. A tall bar does not mean the price rose.
Shows the size of ADX as bar height and whether +DI or −DI is larger as bar color.
Height is ADXEven an upward bar is not the amount of a price rise.
Color is the DI comparison+DI ≥ −DI is green, +DI < −DI is red. Equal values are green.
Compare with the same periodChanging the period changes both height and color.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-minute chart (M1). This is an example to explain the display. The settings change example is not a recommended value. Details can be checked in the full-size view. The vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.
Read the ADX value. A tall bar does not mean the price rose.
Green means +DI is at or above −DI; red means −DI is larger.
Within the same symbol, timeframe and period, check the change from the previous bar.
Shows the comparison of the directions and ADX, which smooths the imbalance of their difference, as separate aspects of 1 bar.
DI is calculated from the extensions of each bar's high and low and TR; DX, the normalized DI difference, is exponentially smoothed to calculate ADX.
The color is determined only by whether the smoothed +DI or −DI is larger; it does not show whether ADX rose or fell.
Horizontal lines that make the scale easier to follow. Do not read crossing them alone as an instruction to act.
Based on the formula of the MT5 standard ADX, this product turns that ADX into colored bars. It is not the Wilder method.
First check the separate window's name and the period.
Look at ADX in the Data Window and at the meaning of green and red.
When you try 7 from the settings change example, keep a separate chart with the original 14 for comparison.
The value and color of the current bar are updated, so do not confuse it with closed bars.
| Included file | Purpose / location |
|---|---|
| TRI_ADX_Direction_Histogram.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. Place only 1 instance of the same product on 1 chart.
First check with the default values. Changes and removal are done from the chart's 'Indicators List'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
There is 1 input. Change it on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpPeriodWhen the high, low or close changes with a new price, the height and color also change.
For period n, bars are displayed from bar 2n+1 counted from the oldest. With 14 it is the 29th bar; with 7 it is the 15th bar.
It is display only; there are no alerts, emails or push notifications.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.
At least 2n+1 bars of history from the oldest are needed. Check that loading is complete, and check the input range.
The standard one uses lines; this product uses colored bars. Compare with the same period and ADX values.
The color is the comparison of smoothed DI, not the candle's open and close.
Set the period back to 1 to 500 and check the English message in the Experts tab.
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.
Of the positive high extension and low extension, only the larger one is taken; if they are equal, both are 0. TR is the maximum of high − low and the distances from the previous close. DM/TR×100 is smoothed with the coefficient 2/(n+1) to get DI, and DX=100×|+DI−−DI|/(+DI+−DI) is smoothed with the same coefficient. A denominator of 0 gives 0.
Same formula as the MT5 standard ADX. Under the comparison conditions of periods 14 and 7, the ADX values match. This does not guarantee a match on all symbols and timeframes, or a match with the standard ADX Wilder. The colors are specific to this product.
A color histogram that uses the ADX value and a color index. Distinguish the rounded values shown on screen from the internal double-precision values.