2 conditions added to the DI above/below relationship
By default, DI Period is 14 and ADX is required to exceed 30. The comparison with a past close is not used.
Adds an ADX level and a comparison with a past close to the above/below relationship of DI, and shows with arrows the bars where the side that met the conditions reversed. They do not necessarily appear on the same bar as a simple DI crossing.
2 conditions added to the DI above/below relationshipBy default, DI Period is 14 and ADX is required to exceed 30. The comparison with a past close is not used.
Bars where the conditioned side reversedFrom the upper side to the lower side gives a red down arrow; from the lower side to the upper side gives a green up arrow. No arrow appears when a side is first decided.
Bars that do not meet the conditions waitOn bars where the DIs are equal or that do not pass the filters, the last decided side is kept. No mark does not mean the calculation has stopped.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: M1. This is an example for explaining the display. The published images are screens from before the brand display was added. The calculation and drawing conditions are the same, and the packaged version has display settings for the brand text and the QR code. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.
By default, DI Period is 14 and ADX is required to exceed 30. The comparison with a past close is not used.
From the upper side to the lower side gives a red down arrow; from the lower side to the upper side gives a green up arrow. No arrow appears when a side is first decided.
On bars where the DIs are equal or that do not pass the filters, the last decided side is kept. No mark does not mean the calculation has stopped.
Adds an ADX level and a comparison with a past close to the above/below relationship of DI, and shows with arrows the bars where the side that met the conditions reversed. They do not necessarily appear on the same bar as a simple DI crossing.
The upper side is +DI>−DI and the lower side is +DI<−DI. If ADX Level is not 0, both sides require ADX>the specified level. If Momentum Bars is 1 or more, the upper side also needs current close>the close the specified number of bars back, and the lower side current close<the close the specified number of bars back. Equal values do not pass. A green up arrow is placed on the bar where the upper side comes after the lower side that was remembered until then, and a red down arrow in the reverse case. On bars that meet neither condition, the remembered side is not changed. Even if the DIs cross while the filters are not passed, the state is not changed at that point, and a mark may appear later on a bar where all conditions for the opposite side line up.
Counting the first bar of the history as bar 1 and letting B be the larger of DI Period and Momentum Bars, state judgment starts from bar B+1. Because no mark is shown for the first state, arrows appear on bar B+2 or later at the earliest. By default, the state starts at bar 15 and marks at bar 16 at the earliest, but they can come later depending on the conditions. The latest bar is subject to Closed Bars Only. Because the history is recalculated from the start each time, past states may change with the history start position or corrections.
For each bar, the larger of the upward and downward price movements is taken, and if they are equal both are set to 0. That is converted into a ratio to the true range and exponentially smoothed with coefficient 2/(period+1) to give +DI and −DI. ADX exponentially smoothes the absolute value of the ratio of their difference over the same period. The lines are not displayed and are used only to judge the conditions.
This is a separate product that uses the same DI calculation as Standard in DI Cross Arrows. It adds ADX and close comparison filters and draws only reversals of the side that passed the filters. It does not have the Hull-style and Alert of the original product. With ADX Level=0 and Momentum Bars=0, both filters can be removed. A side-by-side comparison with the original product in the terminal has not been performed.
Load the history in MT5, and first apply only this product to the chart.
By default, DI Period is 14 and ADX is required to exceed 30. The comparison with a past close is not used.
Put the default and the change example on separate charts, with the same symbol, timeframe and history.
Closed Bars Only defaults to true. With false, marks on the forming bar can change, so distinguish them from the record on closed bars.
| Included file | Purpose / location |
|---|---|
| TRI_DI_Filtered_Cross_Arrows.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 9 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.
InpPeriodInpMomentumBarsInpAdxLevelInpClosedBarsOnlyInpArrowGapInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
Counting the first bar of the history as bar 1 and letting B be the larger of DI Period and Momentum Bars, state judgment starts from bar B+1. Because no mark is shown for the first state, arrows appear on bar B+2 or later at the earliest. By default, the state starts at bar 15 and marks at bar 16 at the earliest, but they can come later depending on the conditions. The latest bar is subject to Closed Bars Only. Because the history is recalculated from the start each time, past states may change with the history start position or corrections.
Green up arrows are below the low, and red down arrows above the high. The distance is the number of pixels specified by Arrow Gap (default 8). It is not a price difference or points. At 0, they overlap the high and low positions.
Shows Produced by Trilogy Inc. and a QR code to https://www.trgy.co.jp/. When the same medium is used on the same chart, the display is shared. There is no account authentication.
This product draws only the up and down arrows. If you want to check DI, ADX, moving averages and so on as values separately, display each indicator separately and check its calculation method and settings.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Counting the first bar of the history as bar 1 and letting B be the larger of DI Period and Momentum Bars, state judgment starts from bar B+1. Because no mark is shown for the first state, arrows appear on bar B+2 or later at the earliest. By default, the state starts at bar 15 and marks at bar 16 at the earliest, but they can come later depending on the conditions. The latest bar is subject to Closed Bars Only. Because the history is recalculated from the start each time, past states may change with the history start position or corrections.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
This is a separate product that uses the same DI calculation as Standard in DI Cross Arrows. It adds ADX and close comparison filters and draws only reversals of the side that passed the filters. It does not have the Hull-style and Alert of the original product. With ADX Level=0 and Momentum Bars=0, both filters can be removed. A side-by-side comparison with the original product in the terminal has not been performed.
Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.
The first side is only remembered and no mark is placed. It waits until the conditions for the opposite side line up.
It must exceed the level. 0 does not mean “ADX>0”; it is a special setting that disables the ADX filter.
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.
The upper side is +DI>−DI and the lower side is +DI<−DI. If ADX Level is not 0, both sides require ADX>the specified level. If Momentum Bars is 1 or more, the upper side also needs current close>the close the specified number of bars back, and the lower side current close<the close the specified number of bars back. Equal values do not pass. A green up arrow is placed on the bar where the upper side comes after the lower side that was remembered until then, and a red down arrow in the reverse case. On bars that meet neither condition, the remembered side is not changed. Even if the DIs cross while the filters are not passed, the state is not changed at that point, and a mark may appear later on a bar where all conditions for the opposite side line up.
Counting the first bar of the history as bar 1 and letting B be the larger of DI Period and Momentum Bars, state judgment starts from bar B+1. Because no mark is shown for the first state, arrows appear on bar B+2 or later at the earliest. By default, the state starts at bar 15 and marks at bar 16 at the earliest, but they can come later depending on the conditions. The latest bar is subject to Closed Bars Only. Because the history is recalculated from the start each time, past states may change with the history start position or corrections.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.
This is a separate product that uses the same DI calculation as Standard in DI Cross Arrows. It adds ADX and close comparison filters and draws only reversals of the side that passed the filters. It does not have the Hull-style and Alert of the original product. With ADX Level=0 and Momentum Bars=0, both filters can be removed. A side-by-side comparison with the original product in the terminal has not been performed.
+DI, −DI and ADX start from 0 at the oldest bar. If TR=0, that bar's direction ratio is 0, and if +DI+−DI=0, DX is 0. Equal DI values, equal closes and ADX exactly at the level do not pass the conditions. Greater/less comparisons are made without any tolerance.