Blue solid line
Set 1 of upper and lower lines. The default is 0.1%.
Displays up to 3 sets of upper and lower lines placed a fixed percentage away from a moving average.
Based on the MAThe center is calculated from the period, method and price.
Specify percentagesDeviation 1 to 3 specify the percentages of the upper and lower lines.
Center displayThe center line can be displayed with Show Moving Average.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-minute chart (M1). This is an example for explaining the display. 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.
Set 1 of upper and lower lines. The default is 0.1%.
Set 2 is an orange dashed line, and set 3 is a SteelBlue dotted line. Hidden when set to 0.
Hidden by default. Setting Show Moving Average to true displays it as a dashed line.
These lines apply a fixed percentage to the center price. This is not a product that calculates the width according to the dispersion of prices.
Deviation = 0.1 means 0.1%. The upper and lower lines become M×1.001 and M×0.999.
Even with the same percentage, the distance changes when the center price changes. It is not specified in points.
MA Method changes how the center is calculated. The upper and lower lines apply the same percentage formula to that center.
Check the upper and lower lines for Simple, 14, Close and Deviation 1 = 0.1.
Enter positive percentages in Deviation 2 and 3. The center is displayed with Show Moving Average.
0.1 and 1 differ in distance by a factor of 10. For lines that go off the screen, also check the display scale.
| Included file | Purpose / location |
|---|---|
| TRI_MA_Envelopes_Plus.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 7 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpPeriodInpMethodInpPriceInpDeviation1InpDeviation2InpDeviation3InpShowMiddleThe current bar is included in the calculation. The latest displayed values change with price updates.
There is no function to specify a higher timeframe. Changing the timeframe or the history range also changes what is calculated.
EMA is calculated from the oldest bar, and the others once MA Period bars are available. Changing the start of the history may affect EMA and SMMA values.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check the input ranges and the number of history bars. If an input is out of range, loading is refused and the reason is written to the Experts log.
Check the combination with the background and the display scale. Details of the published images can be checked in the full-size view.
If the percentage is large, the lines fall outside the display range of the price chart. Reduce the percentage or check the price scale.
With negative prices, the upper/lower relationship of Upper and Lower in the formula is reversed. Do not judge the position from the labels alone.
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.
Upper and lower of each set = M × (1 ± Deviation/100). With Deviation = 100, the result of the Lower formula is 0. Even if the center is hidden, it is used to calculate the upper and lower lines.
Close = close, Open = open, High = high, Low = low, Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. Simple is a simple average, Exponential is exponential smoothing, Smoothed is a smoothed moving average, and Linear Weighted is an average that weights newer bars more heavily.
The inputs and calculations in this document are based on the product's implementation. The actual display in the Data Window and the input screen, and how it looks during long operation on actual symbols or with long history, have not been verified.