Green / red
Green means the difference is 0 or more; red means it is negative.
2 tracking lines that approach the close under different conditions. Their difference is converted to points and shown as bars. The color is decided by the sign of the difference, not by whether it increased from the previous bar.
SignPositive if the continuation side is above the return side, negative if below.
HeightShows the distance between the 2 lines in points.
Constant heightOn bars where the close does not change, the lines do not move either, and the difference remains.
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.
Green means the difference is 0 or more; red means it is negative.
The distance converted using the symbol's point.
Even if price does not move, a difference between lines that opened earlier can remain.
Shows only the distance between 2 lines that follow the same update rules as Dual Trigger Channel.
If the close is above the line and above the previous close, or below the line and below the previous close, the line moves toward the close by 1/F of the distance.
If the close is above the line but below the previous close, or below the line but above the previous close, the line moves toward the close by 1/F.
(continuation side−return side)/point. This product does not draw the lines themselves.
With 1, the line moves to the close on a bar that meets the update condition. The larger it is, the smaller the tracking ratio of 1 update.
This product uses points. Avoid simply comparing values across different symbols.
Color shows which line is above; height shows the distance.
Change only F on the same history and check how the values change.
| Included file | Purpose / location |
|---|---|
| TRI_Dual_Trigger_Gap.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.
InpFactorThe 2 lines both use the oldest loaded close as their starting point. If the history starts differently, the value for the same bar may differ.
The oldest bar is only the starting point and its bar is empty. Display starts from the 2nd bar, and the value of the latest bar is updated as the close changes.
The update formula is the same as Dual Trigger Channel, but an exact match when attached at the same time, or across all history and all conditions, 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.
Check that there are at least 2 bars of history. If the difference is exactly 0, the bar height is 0 as well.
This is because the point, history and prices differ. Do not treat the same points as the same price width.
An input outside the allowed range is refused at startup. Check the English reason shown on the Experts tab of the Toolbox, not an explanation on the chart, and confirm by returning to the default values.
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.
With the previous continuation line a, return line b, previous close q and current close c, the continuation condition is (c>a and c>q) or (c<a and c<q). The return condition is (c>b and c<q) or (c<b and c>q). The matching line is updated to previous value+(c−previous value)/F, and otherwise it is kept.
Gap=(continuation line−return line)/point. 0 or more is ForestGreen, negative is Crimson. Values are shown with 1 decimal place. Only values up to the current bar are used, and it is recalculated when history or inputs change.