The width is a % of the MA
MA×(1±Deviation/100) gives the original upper and lower levels.
Using upper and lower levels set a fixed % away from a moving average, it switches the side that trails according to the position of the close.
The width is a % of the MAMA×(1±Deviation/100) gives the original upper and lower levels.
Compared with the previous bar's levelWhen the close exceeds the previous upper level, the state is up; when it falls below the lower level, down.
Marks are offset by half an ATRThe mark for the start of an up state is at low − ATR/2, and for a down state at high + ATR/2.
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.
MA×(1±Deviation/100) gives the original upper and lower levels.
When the close exceeds the previous upper level, the state is up; when it falls below the lower level, down.
The mark for the start of an up state is at low − ATR/2, and for a down state at high + ATR/2.
Using upper and lower levels set a fixed % away from a moving average, it switches the side that trails according to the position of the close.
In an up state, the lower line is restricted to move upward only; in a down state, the upper line is restricted to move downward only. The ATR for the marks is the simple average of the true range over the same period as the MA.
The first MA period is used for preparation, and no line appears until the state is decided. The position of a mark is not necessarily the same as the value of the trailing line.
Load the history in MT5, and first apply only this product to the chart.
MA×(1±Deviation/100) gives the original upper and lower levels.
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_Trend_Envelopes_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 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.
InpMAPeriodInpMAMethodInpPriceInpDeviationInpShowSignalsInpTriBrandShowInpTriBrandCornerInpTriBrandXInpTriBrandYEven 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.
The first MA period is used for preparation, and no line appears until the state is decided. The position of a mark is not necessarily the same as the value of the trailing line.
Check the ranges in the settings. Inputs for modes not in use must also be within range.
In an up state, the lower line is restricted to move upward only; in a down state, the upper line is restricted to move downward only. The ATR for the marks is the simple average of the true range over the same period as the MA.
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.
In an up state, the lower line is restricted to move upward only; in a down state, the upper line is restricted to move downward only. The ATR for the marks is the simple average of the true range over the same period as the MA.
The first MA period is used for preparation, and no line appears until the state is decided. The position of a mark is not necessarily the same as the value of the trailing line.
Only the MT5 platform and this manual. No account authentication, external indicators or DLLs are needed.