Look at direction and position
Up arrows are below the low; down arrows are above the high.
Shows up and down arrows on bars where the order of +DI and −DI switched.
Read the up arrowWhen it switches to +DI being larger, a green arrow appears below the bar's low.
Read the down arrowWhen it switches to −DI being larger, a red arrow appears above the high.
Check whether the bar is closedThe default is closed bars only. With false, arrows on the forming bar also change.
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 for explaining the display. 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.
Up arrows are below the low; down arrows are above the high.
Standard and Hull differ in how DI is processed after calculation.
When the forming bar is also shown, arrows appear, disappear and change position.
This display records switches in the DI order. The arrows alone do not specify a trading action.
Based on the DI calculation of the MT5 standard ADX family, it compares +DI and −DI. The height of ADX is not used in the arrow condition.
Uses DI with period n and DI with period n/2 rounded down, and compares 2 × short DI − long DI. It is not a method that calculates a full general HMA.
On bars where DI values are equal, the direction of the last non-equal state is held. A switch is counted when the order changes to the opposite.
Shifted outward from the high or low by a number of pixels. It is not a price difference or a value in pips.
Check the display with closed bars only set to true and alerts left at false.
Up marks are below the low and down marks are above the high. The gap is in pixels.
Hull with period 15 and Standard with 14 differ in several conditions.
A function that notifies you of a switch on the latest closed bar. Past marks at the time of attaching are not notified.
| Included file | Purpose / location |
|---|---|
| TRI_DI_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. 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 5 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpPeriodInpDiTypeInpClosedBarsOnlyInpArrowGapInpAlertRight after attaching or reinitializing, past switches are not notified. After that, it notifies only when a switch occurs on a new latest closed bar.
Even when several bars advance at once, it looks only at the 1 latest closed bar. There is no email or push sending function.
The initial section up to period n and the first direction are not treated as switches. Marks appear only after both the required history and the switch condition are met.
It is recalculated on the forming bar, on history updates and on settings changes. Permanent non-repainting is not guaranteed.
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.
They do not appear unless DI switches on a closed bar. Check the number of history bars, the method and Closed Bars Only.
InpAlert is false by default. Past switches at the time of attaching are not notified; only a switch on the latest closed bar is covered.
Adjust the gap from 0 to 100 pixels. Also check the chart's zoom level and the size of the candles.
Period 1 cannot be used. Set the period back to 2 or more 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.
+DI > −DI is +1, +DI < −DI is −1, and equal values hold the last non-0 direction. A mark is placed on a bar where there was a non-0 direction before and it changed to the opposite side.
The up arrow buffer holds the low and the down arrow buffer holds the high, and they are shifted up or down by PLOT_ARROW_SHIFT. The arrow tips on screen are not designed to be used as limit prices.
Alerts are checked when the time of the latest closed bar is newer than the last alert-tracking time. Recalculating history and resending past alerts are kept separate.