Reading the values
Positive if the fast average is above, negative if below.
Colors the difference between a fast and a slow average by its increase or decrease and by whether it is above or below 0. The default values use the same formula as the Awesome Oscillator. You can also choose the method, price and periods, and a setting that averages each average once more.
HeightThe difference between the 2 moving averages. It is not converted to points.
Increase / decreaseIf the value is the same as on the previous bar, the earlier direction of increase or decrease is carried over.
Handling of 0With 4 colors, exactly 0 is also on the "0 or below" side.
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 settings change example is not a recommended value. Details can be checked in the full-size view. The vertical axis of the separate window is adjusted automatically for each image, so do not compare values by on-screen height alone.
Positive if the fast average is above, negative if below.
Shows whether the bar value rose or fell from the previous one.
Do not assume that calculations other than the default give the same values as the standard AO.
A display that lets you read the direction of the average difference and its increase or decrease separately in one bar.
Median=(high+low)/2. SMA 5 bars−SMA 34 bars, the same formula as the standard Awesome Oscillator.
Above 0: increase is SeaGreen, decrease is Tomato. 0 or below: increase is YellowGreen, decrease is DarkOrange.
The side of 0 is not used for color; there are only SeaGreen for increases and Tomato for decreases.
The fast and slow averages are each averaged once more with the same period and method before subtracting. It is not a setting that averages the difference series.
Read the histogram below, not the candlesticks.
Decide according to the 4-color table.
If you change the method or the 2-times averaging, treat it as a setting separate from the standard AO.
| Included file | Purpose / location |
|---|---|
| TRI_AO_Color_Histogram.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'.
This product does not require DLL permission or enabling automated trading. When removed, this product's drawings are cleared.
There are 6 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpFastPeriodInpSlowPeriodInpMethodInpPriceInpDoubleAverageInpColorsIf the value is the same as the previous one, the previous increase/decrease direction is kept. At the start of drawing there is nothing to compare with, so it is treated as an increase.
EMA starts from the 1st bar. Other methods start from bar Slow when applied 1 time, and from bar 2×Slow−1 when applied 2 times. The default is the 34th bar, and the published changed example is the 41st bar.
Because of rounding, values very close to 0 may remain. Tiny changes in value or color do not indicate the strength of price movement.
The latest value and color change during the bar. It is also recalculated on changes in history or inputs. There is no notification function.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
This product shows calculation results through plot buffers and does not place trade orders. It does not guarantee profit or future price movement.
Fast<Slow is required. Check the reason on the Experts tab and the input ranges.
With equal values, the previous direction of increase or decrease is carried over. Check the values including their digits.
An input outside the allowed range is refused at startup. Check the English reason shown on the Experts tab of the Toolbox, not an explanation on the chart, and confirm by returning to the default values.
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.
V=fast average−slow average. V>previous V is an increase, V<previous V is a decrease, and equal values keep the direction. 4 colors use the non-positive colors for V≤0; 2 colors do not use the sign.
The default values with 5/34, SMA, median and averaging 1 time have been cross-checked against the MT5 standard AO within tolerance. Rounding can split the sign of 0 or the increase/decrease decision, so colors can differ. This does not show full identity for other methods, periods, prices or averaging 2 times.