First check zero
Read the direction of the moving average change from plus and minus. This product does not directly color bullish and bearish candlesticks.
Shows the change of a moving average as a value per 1 bar. An indicator in which you choose the method, the comparison interval and the scale, and tell the value ranges apart by 3 colors.
DirectionAbove zero the average is rising; below zero it is falling.
SizeThe absolute value of a bar is the average change per 1 bar over the selected span.
ColorDivided into green, red and silver at ±Threshold. The colors are not signals that instruct a decision.
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 to explain the display. The example of changed settings is not a recommended value. Details can be checked in the full-size view. Also check the vertical axis and units of the separate window. Except for products with a fixed scale, the scale changes with the settings and the display range.
Read the direction of the moving average change from plus and minus. This product does not directly color bullish and bearish candlesticks.
Price is in price units; ATR is a ratio to the recent average of the true range. It is neither a number of points nor an angle.
Green is values above +Threshold, red is values below −Threshold, and silver is everything in between. Only when Threshold is 0 is silver limited to the value 0.
It is the change of the average divided by the number of bars compared. It is not the visual angle seen when the chart is zoomed in or out.
AMA changes the smoothing constant according to the efficiency of price change. SMA is a simple average, EMA is exponential smoothing, and SMMA is a smoothed moving average.
The difference between the current average and the average Span bars earlier is divided by Span. Increasing it gives the average change over a longer span, but it does not necessarily become smoother. With AMA and Span 1, the same update amount as the previous version is used.
The Price slope is divided by the simple average of the true range over ATR Period bars. It can be compared as a ratio to the recent range, but it does not necessarily have the same meaning for different symbols or settings. Bars where ATR is 0 are empty.
Threshold changes only the color, not the value. When you change the scale, the unit of the threshold also changes. With Price, the same threshold means different things depending on the price level of the symbol.
Check the zero line and the bars in the separate window. The value of the latest bar changes while it is forming.
Check MA Method, MA Period, Applied Price and Span. AMA also uses Fast Period, Slow Period and Smoothing Power.
Select Scale, and for ATR check ATR Period. Specify Threshold in the units of the selected scale.
After reading the direction and size of the bars, check which range the color indicates. Do not treat the display as a forecast of future prices.
| Included file | Purpose / location |
|---|---|
| TRI_MA_Slope_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. Place only 1 instance of the same product on 1 chart.
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.
InpMethodInpPeriodInpFastPeriodInpSlowPeriodInpPowerInpPriceInpSpanInpScaleInpAtrPeriodInpThresholdWith MA Period as N and Span as S, counting from the older side, the first value is at bar N+S for AMA, SMA and SMMA, and at bar S+1 for EMA. If Scale is ATR, ATR Period bars must also be available. Nothing is shown when ATR is 0.
The latest bar changes while it is forming. AMA, EMA and SMMA carry over the initial value from the older side, so if the start of the loaded history changes, the values may be affected.
With the default inputs, the values are the same as Adaptive MA Slope. The colors and drawing style differ from the older version, and results with a changed method, price, Span or scale are not necessarily the same.
It only displays colors and a zero line. There are no arrow, sound, pop-up notification or automatic order functions.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check that the number of history bars covers the set period and Span. Nothing is displayed either when the average true range is 0 with Scale ATR.
Set all inputs within the allowed range, including unused items. A message starting with "MA Slope Plus:" appears in the Experts log.
When Threshold is greater than 0, values from −Threshold to +Threshold inclusive are silver. Values exactly on the boundary are also silver.
Smoothing Power and Threshold are not included in the name. Check them in the Inputs tab. Do not use the DataWindow to check the settings.
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 general, it is (current average − average Span bars earlier) ÷ Span. AMA with Span 1 directly uses the update amount smoothing constant × (current applied price − previous average). For the old section shorter than MA Period, AMA uses the price as the initial value; after that it calculates the constant from the efficiency ratio.
SMA is calculated from the bar where an average over the full period can be obtained. EMA uses the oldest price as the initial value and updates with the factor 2/(N+1). SMMA uses the simple average over the period as the initial value and then updates with (previous average×(N−1)+current price)÷N.
Median=(high+low)/2, Typical=(high+low+close)/3, Weighted=(high+low+close×2)/4. The true range is high−low on the first bar, and after that max(high, previous close)−min(low, previous close).
Price is shown with the symbol's display digits plus 2, and ATR with 4 decimal places. The rounding on screen differs from the internal calculated values. Calculation load with large periods, and operation with every broker and every history, are not guaranteed.