N prices line up in the same direction
The default of 6 prices means 5 consecutive increases or decreases. If an equal value appears in between, the run is not formed.
Draws arrows on bars where the selected price rises or falls consecutively for the specified count, and shows the change from 3 bars back with separate points.
N prices line up in the same directionThe default 6 means 5 consecutive increases or decreases. If an equal value occurs in between, the sequence is not met.
An arrow on every bar while the condition continuesGreen is a consecutive increase and red a consecutive decrease. It is not limited to bars where the state switches.
Dots show the change from 3 bars earlierA blue dot records an increase, and an orange dot a decrease, of at least the specified size. Independent of the run condition.
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 default of 6 prices means 5 consecutive increases or decreases. If an equal value appears in between, the run is not formed.
Green is a consecutive increase, red a consecutive decrease. They are not limited to the bars where the state switches.
A blue dot records an increase, and an orange dot a decrease, of at least the specified size. Independent of the run condition.
Draws arrows on bars where the selected price rises or falls consecutively for the specified count, and shows the change from 3 bars back with separate points.
The price X is Weighted Close=(high+low+close+close)/4 or Typical=(high+low+close)/3. If Run Length values of X strictly increase from the oldest, an up arrow is placed; if they decrease, a down arrow. With Show Change Marks=true, a Rise (blue) dot is placed at X when X[t]−X[t−3] is at least Change Size×point, and a Fall (orange) dot when the opposite difference is at least the same size.
Arrows start from the Run Length-th bar at the earliest, dots from the 4th bar. Because arrows and dots use separate conditions, only one of them may appear. A change of exactly Change Size is also included in the dots. With Change Size=0 and a price equal to that of 3 bars earlier, both the Rise and Fall values are set at the same position and the dots overlap. There is no line connecting the prices.
Load the history in MT5, and first apply only this product to the chart.
The default of 6 prices means 5 consecutive increases or decreases. If an equal value appears in between, the run is not formed.
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_Price_Run_Marks.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.
InpRunLengthInpPriceInpShowChangeInpChangeSizeInpClosedBarsOnlyInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYIt does not place, modify or close orders. There are no notifications or emails either.
With Closed Bars Only=false, whether a mark appears and where it is placed change with the price of the forming bar. Even with true, it is not guaranteed to stay unchanged through recalculation of the past caused by corrections or filling-in of history.
The arrows are offset from price X as the reference, upward ones 10 pixels below and downward ones 10 pixels above. The blue and orange dots are X itself. They are not at the low or high positions, and arrows and dots may come close together or overlap.
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.
Arrows start from the Run Length-th bar at the earliest, dots from the 4th bar. Because arrows and dots use separate conditions, only one of them may appear. A change of exactly Change Size is also included in the dots. With Change Size=0 and a price equal to that of 3 bars earlier, both the Rise and Fall values are set at the same position and the dots overlap. There is no line connecting the prices.
Check the ranges and combinations in the settings. Keep the inputs for unused methods within range as well.
The price X is Weighted Close=(high+low+close+close)/4 or Typical=(high+low+close)/3. If Run Length values of X strictly increase from the oldest, an up arrow is placed; if they decrease, a down arrow. With Show Change Marks=true, a Rise (blue) dot is placed at X when X[t]−X[t−3] is at least Change Size×point, and a Fall (orange) dot when the opposite difference is at least the same size.
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.
The price X is Weighted Close=(high+low+close+close)/4 or Typical=(high+low+close)/3. If Run Length values of X strictly increase from the oldest, an up arrow is placed; if they decrease, a down arrow. With Show Change Marks=true, a Rise (blue) dot is placed at X when X[t]−X[t−3] is at least Change Size×point, and a Fall (orange) dot when the opposite difference is at least the same size.
Arrows start from the Run Length-th bar at the earliest, dots from the 4th bar. Because arrows and dots use separate conditions, only one of them may appear. A change of exactly Change Size is also included in the dots. With Change Size=0 and a price equal to that of 3 bars earlier, both the Rise and Fall values are set at the same position and the dots overlap. There is no line connecting the prices.
Only MT5 itself and this manual. Account authentication, external indicators and DLLs are not required.
Arrows use a run of N prices; dots use the price difference from 3 bars earlier. Dots do not use Run Length. The price difference is converted to points, and with Change Size=0 and equal prices, the blue and orange dots overlap at the same position.