Check the lines
Identify the blue ADX and the green and red DI.
Overlays dots that compare 2 kinds of width on ADX, DI and the DI difference, so that different information can be read separately in 1 window.
Look at the blue line and ±DIBlue is ADX, the green line is +DI and the red line is −DI.
Bars are the DI differenceIf +DI−−DI is 0 or above, the bar is greenish; if negative, reddish.
Ocher dots are the width comparisonShown on bars where the deviation width is smaller than the TR average width.
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.
Identify the blue ADX and the green and red DI.
The bars are the DI difference, not the ADX value.
Whether a dot appears depends on the width inequality; the dot height is a display setting.
The dots are not a containment check that also compares the center position of the price bands; they are the result of comparing only the 2 widths.
Based on the exponentially smoothed calculation that uses the same formula as the MT5 standard ADX. It is not the Wilder method.
+DI−−DI is drawn from 0. 0 or above is MediumSeaGreen; negative is LightCoral.
A dot appears when Bands Deviation × population standard deviation of the close < Keltner Factor × simple average of TR. The 2 periods can be set separately.
Squeeze Dot Level is a number for placing the dots where they are easy to see. It does not show the size of the width difference, a price target or a direction.
Check the labels ADX, +DI, −DI and DI Difference.
The default is −15. Being below does not mean a negative direction.
Check the 4 inputs on the Bands side and the Keltner side.
When testing only the dot position, change only Dot Level.
| Included file | Purpose / location |
|---|---|
| TRI_ADX_Squeeze.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 are 6 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpPeriodInpBandsPeriodInpBandsDeviationInpKeltnerPeriodInpKeltnerFactorInpDotLevelADX starts from bar 2n+1 counted from the oldest, and DI and the difference from bar n+1. The dots start once the longer of the Bands and Keltner bar counts is available.
When the widths are equal, no dot is drawn. The same applies when both widths are 0.
On the latest bar, lines, bars and dots can change. It does not issue alerts or place orders.
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.
Not shown unless the width condition holds. Also check the history and periods.
Move Dot Level within −100 to 100. This does not change the detection condition.
It compares only the widths without using the center line position, and TR is also a simple average. Do not assume it is the same as other products from the name alone.
Check the English message in the Experts tab, and set the periods, multipliers and drawing position back within the allowed range.
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.
B=d×sqrt(Σ(C−average C)²/p), K=f×ΣTR/k. p is the Bands period and k is the Keltner period. A dot is placed only when B<K. The denominator of the standard deviation is p, not p−1.
Because it does not compare the center line calculation or the absolute positions of the upper and lower bands, it is not a formula that determines whether the whole Bollinger Bands lie inside the Keltner Channel.
DI difference, ADX, ±DI and the dot position are separate drawn values. The dot buffer holds the set height when the condition holds, and EMPTY when it does not.