Green: from down to up
When the filter changes from falling to rising, a green up arrow is placed on the low side.
Shows an arrow on bars where the value of a filter that multiplies prices by fixed weights changes from rising to falling or from falling to rising. The filter line can be shown if needed.
Green: from down to upWhen the filter changes from falling to rising, a green up arrow is placed on the low side.
Red: from up to downWhen the filter changes from rising to falling, a red down arrow is placed on the high side.
Flat values keep the previous directionWhile the same value continues, the direction does not change. No arrow is placed when the direction is first determined.
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.
When the filter changes from falling to rising, a green up arrow is placed on the low side.
When the filter changes from rising to falling, a red down arrow is placed on the high side.
While the same value continues, the direction does not change. No arrow is placed when the direction is first determined.
Shows an arrow on bars where the value of a filter that multiplies prices by fixed weights changes from rising to falling or from falling to rising. The filter line can be shown if needed.
With N the number of bars in the selected table and P the price, the filter F is 'current bar price×weight 0+price 1 bar earlier×weight 1+…+price N−1 bars earlier×weight N−1'. It is not divided by the sum of the weights. If F is greater than on the previous bar, the direction is up; if smaller, down; if equal, the previous direction is kept. An up arrow is placed only when the previous direction was down and the current one is up, and a down arrow only when the previous was up and the current one is down. It is not a cross of price and line, or a 0 cross of the value.
Line calculation starts from the bar where N bars are available. The direction is first set on the next bar, and if it changes to the opposite direction, an arrow can be placed on bar N+2 at the earliest. If it stays flat or keeps the same direction, it comes later. With Closed Bars Only=true, no arrow appears on the latest forming bar, so it waits further until the target bar closes. Each time, the direction is recalculated from the entire loaded history. Marks may change with the history start position, corrections or additions.
The 6 tables include negative weights, and no normalization by the sum of the weights is done. The line can go beyond the range of the price's highs and lows, and its values and response are not the same as a typical moving average. More bars do not necessarily mean fewer or later marks.
A separate product that uses the same 6 coefficient tables and price calculation as Fixed-Weight Filter Line. The original product shows the line, with a default of 45 Bars. This product defaults to 39 Bars with the line hidden, and adds direction-turn arrows. When comparing, match the table, price and history. Its calculation target differs from Fixed-Weight Filter Spread, which shows the difference in a separate window.
Load the history in MT5, and first apply only this product to the chart.
When the filter changes from falling to rising, a green up arrow is placed on the low side.
Put the default and the change example on separate charts, with the same symbol, timeframe and history.
Even with Closed Bars Only=true, the line with Show Line=true is updated up to the latest bar. Check the difference in what the arrows and the line update.
| Included file | Purpose / location |
|---|---|
| TRI_Fixed_Weight_Filter_Turn_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.
InpTableInpPriceInpShowLineInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
Line calculation starts from the bar where N bars are available. The direction is first set on the next bar, and if it changes to the opposite direction, an arrow can be placed on bar N+2 at the earliest. If it stays flat or keeps the same direction, it comes later. With Closed Bars Only=true, no arrow appears on the latest forming bar, so it waits further until the target bar closes. Each time, the direction is recalculated from the entire loaded history. Marks may change with the history start position, corrections or additions.
Green up arrows are 10 pixels below the low, and red down arrows 10 pixels above the high. This is not a fixed price width, and it is neither the line value nor a trading price. Changing the scale of the vertical axis changes the apparent price difference.
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 direction is decided by whether the difference is strictly positive, negative or 0. Even a small difference that looks flat may be counted as a change of direction. There is no tolerance setting for treating the difference as 0.
With Show Line=true, the line is drawn up to the latest bar regardless of Closed Bars Only. When the selected price updates, the line value also changes.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Line calculation starts from the bar where N bars are available. The direction is first set on the next bar, and if it changes to the opposite direction, an arrow can be placed on bar N+2 at the earliest. If it stays flat or keeps the same direction, it comes later. With Closed Bars Only=true, no arrow appears on the latest forming bar, so it waits further until the target bar closes. Each time, the direction is recalculated from the entire loaded history. Marks may change with the history start position, corrections or additions.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
A separate product that uses the same 6 coefficient tables and price calculation as Fixed-Weight Filter Line. The original product shows the line, with a default of 45 Bars. This product defaults to 39 Bars with the line hidden, and adds direction-turn arrows. When comparing, match the table, price and history. Its calculation target differs from Fixed-Weight Filter Spread, which shows the difference in a separate window.
Use separate charts, or adjust the brand position and margins. The images can also be checked at full size.
The default Show Line is false. Even after changing it to true, the line is not drawn until the number of bars in the selected table is available.
No mark is placed on the bar where the direction is first determined. Continuing in the same direction after a flat period is also not a turn. The latest bar is hidden with Closed Bars Only=true.
The 6 tables include negative weights, and no normalization by the sum of the weights is done. The line can go beyond the range of the price's highs and lows, and its values and response are not the same as a typical moving average. More bars do not necessarily mean fewer or later marks.
Check at full size, and on the terminal adjust the vertical scale and display 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.
With N the number of bars in the selected table and P the price, the filter F is 'current bar price×weight 0+price 1 bar earlier×weight 1+…+price N−1 bars earlier×weight N−1'. It is not divided by the sum of the weights. If F is greater than on the previous bar, the direction is up; if smaller, down; if equal, the previous direction is kept. An up arrow is placed only when the previous direction was down and the current one is up, and a down arrow only when the previous was up and the current one is down. It is not a cross of price and line, or a 0 cross of the value.
Line calculation starts from the bar where N bars are available. The direction is first set on the next bar, and if it changes to the opposite direction, an arrow can be placed on bar N+2 at the earliest. If it stays flat or keeps the same direction, it comes later. With Closed Bars Only=true, no arrow appears on the latest forming bar, so it waits further until the target bar closes. Each time, the direction is recalculated from the entire loaded history. Marks may change with the history start position, corrections or additions.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.
A separate product that uses the same 6 coefficient tables and price calculation as Fixed-Weight Filter Line. The original product shows the line, with a default of 45 Bars. This product defaults to 39 Bars with the line hidden, and adds direction-turn arrows. When comparing, match the table, price and history. Its calculation target differs from Fixed-Weight Filter Spread, which shows the difference in a separate window.
The 6 tables include negative weights, and no normalization by the sum of the weights is done. The line can go beyond the range of the price's highs and lows, and its values and response are not the same as a typical moving average. More bars do not necessarily mean fewer or later marks.