Reversal width and trailing width are separate
Trend Factor acts on the state reversal, and Stop Factor acts on the distance of the line.
Judges high/low reversals using a weighted true range, and builds stepwise trailing levels from a separate ATR.
Reversal width and trailing width are separateTrend Factor acts on the state reversal, and Stop Factor acts on the distance of the line.
Measures the pullback from the extremeIn the up state it updates the extreme of the lows, and in the down state the extreme of the highs, and judges the reversal.
The level is 1/3 of the distanceThe candidate is low − distance/3, or high + distance/3.
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.
Trend Factor acts on the state reversal, and Stop Factor acts on the distance of the line.
In the up state it updates the extreme of the lows, and in the down state the extreme of the highs, and judges the reversal.
The candidate is low − distance/3, or high + distance/3.
Judges high/low reversals using a weighted true range, and builds stepwise trailing levels from a separate ATR.
The weighted TR for the reversal judgment uses weights W to 1, newest first. While trailing, the line updates to the candidate on bars where low − full distance is at or above the previous level (in the down state, high + full distance is at or below the previous level). When the state reverses, it always moves to the candidate.
Before the weighted TR is ready, the TR of the starting bar fills in. The first direction is decided by the 2 closes just before the start, and depends on where the history begins. If the reversal conditions on both sides are met one after the other on 1 bar, the later up judgment applies.
Load the history in MT5, and first apply only this product to the chart.
Trend Factor acts on the state reversal, and Stop Factor acts on the distance of the line.
Load the default and the change example on separate charts and compare them under the same conditions.
The current bar changes as its high, low and close update. Follow the conditions on closed bars at past times.
| Included file | Purpose / location |
|---|---|
| TRI_Range_Reversal_Stop.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 10 inputs. Change them in the Inputs tab of the properties window. The English item names and input names defined in the source are shown together.
InpTrendATRInpTrendFactorInpStopATRInpStopFactorInpDrawAsInpShowSignalsInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYEven if the name contains Stop or Signal, it does not place, modify or close orders. There are no notifications or emails either.
The current bar is updated. Values and the initial state can change with added history, the data provider, the symbol and the timeframe.
A point is the smallest display unit of the symbol. It is not always the same as pips.
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.
Before the weighted TR is ready, the TR of the starting bar fills in. The first direction is decided by the 2 closes just before the start, and depends on where the history begins. If the reversal conditions on both sides are met one after the other on 1 bar, the later up judgment applies.
Check the ranges in the settings. Inputs for modes not in use must also be within range.
The weighted TR for the reversal judgment uses weights W to 1, newest first. While trailing, the line updates to the candidate on bars where low − full distance is at or above the previous level (in the down state, high + full distance is at or below the previous level). When the state reverses, it always moves to the candidate.
Use separate charts, or change 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 weighted TR for the reversal judgment uses weights W to 1, newest first. While trailing, the line updates to the candidate on bars where low − full distance is at or above the previous level (in the down state, high + full distance is at or below the previous level). When the state reverses, it always moves to the candidate.
Before the weighted TR is ready, the TR of the starting bar fills in. The first direction is decided by the 2 closes just before the start, and depends on where the history begins. If the reversal conditions on both sides are met one after the other on 1 bar, the later up judgment applies.
Only the MT5 platform and this manual. No account authentication, external indicators or DLLs are needed.