Green: short average is above
The state where the average of the previous 2 bars is above the average of the previous 5 bars and the score exceeds Up Level.
Determines the direction from the difference between the averages of the previous 2 and 5 closes, and places arrows on bars that meet the score condition. Some cases where the direction condition stops holding are distinguished with orange dots.
Green: short average is aboveThe state where the average of the previous 2 bars is above the average of the previous 5 bars and the score exceeds Up Level.
Red: short average is belowThe state where the average of the previous 2 bars is below the average of the previous 5 bars and the score exceeds Down Level.
Orange dots are conditional neutralizationThey appear only when the previous state was up or down, the current state is neither, and 50<score<60.
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.
The state where the average of the previous 2 bars is above the average of the previous 5 bars and the score exceeds Up Level.
The state where the average of the previous 2 bars is below the average of the previous 5 bars and the score exceeds Down Level.
They appear only when the previous state was up or down, the current state is neither, and 50<score<60.
Determines the direction from the difference between the averages of the previous 2 and 5 closes, and places arrows on bars that meet the score condition. Some cases where the direction condition stops holding are distinguished with orange dots.
D1 is the average close of the previous 2 bars and D2 that of the previous 5 bars. The score is 54.528 + 12,575 × |D1−D2| ÷ the close 1 bar back. Up if D1>D2 and score>Up Level, down if D1<D2 and score>Down Level, otherwise neutral. No arrow appears when the score equals the level. With Direction Change Only=false, an arrow is placed on each bar that meets the condition; with true, on bars whose direction differs from the previous one. This includes a direction appearing from neutral. When the state becomes neutral and 50<score<60, an orange dot is placed below the bar if the previous state was up, or above the bar if it was down. No orange dot appears on a direct switch from up to down.
Judgment starts from the 6th bar of history. The direction itself depends on the previous 5 bars; direction changes and orange dots also use the previous direction, so they normally depend on the previous 6 bars. The direction before the first judgment is neutral. If the close 1 bar back is 0, that bar shows nothing and is neutral. With positive prices, the score for an average difference of 0 is 54.528, and the default 56 is the condition that the average difference exceeds about 0.0117% of the previous close. The score is not a probability of rising or a rate of return. With negative prices, the sign of the denominator changes and this percentage reading cannot be used. If the arrow levels are set to 60 or more, no orange dot appears on bars with no arrow and a score of 60 or more.
Load the history in MT5, and first apply only this product to the chart.
The state where the average of the previous 2 bars is above the average of the previous 5 bars and the score exceeds Up Level.
Put the default and the change example on separate charts, with the same symbol, timeframe and history.
Even with false, within the same bar under normal conditions, the direction and whether a dot appears do not change; the position moves with the current bar's high and low. With true, no arrows or dots are placed on the latest bar. History corrections are a separate matter.
| Included file | Purpose / location |
|---|---|
| TRI_Close_Average_Gap_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 8 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpUpLevelInpDownLevelInpChangeOnlyInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
Even with false, within the same bar under normal conditions, the direction and whether a dot appears do not change; the position moves with the current bar's high and low. With true, no arrows or dots are placed on the latest bar. History corrections are a separate matter.
Up arrows are drawn 10 pixels below the low, and down arrows 10 pixels above the high. This is not a fixed distance in price.
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.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Judgment starts from the 6th bar of history. The direction itself depends on the previous 5 bars; direction changes and orange dots also use the previous direction, so they normally depend on the previous 6 bars. The direction before the first judgment is neutral. If the close 1 bar back is 0, that bar shows nothing and is neutral. With positive prices, the score for an average difference of 0 is 54.528, and the default 56 is the condition that the average difference exceeds about 0.0117% of the previous close. The score is not a probability of rising or a rate of return. With negative prices, the sign of the denominator changes and this percentage reading cannot be used. If the arrow levels are set to 60 or more, no orange dot appears on bars with no arrow and a score of 60 or more.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
D1 is the average close of the previous 2 bars and D2 that of the previous 5 bars. The score is 54.528 + 12,575 × |D1−D2| ÷ the close 1 bar back. Up if D1>D2 and score>Up Level, down if D1<D2 and score>Down Level, otherwise neutral. No arrow appears when the score equals the level. With Direction Change Only=false, an arrow is placed on each bar that meets the condition; with true, on bars whose direction differs from the previous one. This includes a direction appearing from neutral. When the state becomes neutral and 50<score<60, an orange dot is placed below the bar if the previous state was up, or above the bar if it was down. No orange dot appears on a direct switch from up to down.
Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.
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.
D1 is the average close of the previous 2 bars and D2 that of the previous 5 bars. The score is 54.528 + 12,575 × |D1−D2| ÷ the close 1 bar back. Up if D1>D2 and score>Up Level, down if D1<D2 and score>Down Level, otherwise neutral. No arrow appears when the score equals the level. With Direction Change Only=false, an arrow is placed on each bar that meets the condition; with true, on bars whose direction differs from the previous one. This includes a direction appearing from neutral. When the state becomes neutral and 50<score<60, an orange dot is placed below the bar if the previous state was up, or above the bar if it was down. No orange dot appears on a direct switch from up to down.
Judgment starts from the 6th bar of history. The direction itself depends on the previous 5 bars; direction changes and orange dots also use the previous direction, so they normally depend on the previous 6 bars. The direction before the first judgment is neutral. If the close 1 bar back is 0, that bar shows nothing and is neutral. With positive prices, the score for an average difference of 0 is 54.528, and the default 56 is the condition that the average difference exceeds about 0.0117% of the previous close. The score is not a probability of rising or a rate of return. With negative prices, the sign of the denominator changes and this percentage reading cannot be used. If the arrow levels are set to 60 or more, no orange dot appears on bars with no arrow and a score of 60 or more.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.