Reading the dot conditions
Both AO and MFI are required.
Records with green and red dots the bars where the sign of AO and the level of MFI agree. The 2 EMAs are for reference and are not used to decide the dots. The dots are not arrows that show price direction.
Green dotAO is positive and MFI is at or above the upper level. The dot is below the low.
Red dotAO is negative and MFI is at or below the lower level. The dot is above the high.
Blue and orange lines2 EMAs. They are shown independently of the dots.
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.
Both AO and MFI are required.
The EMAs do not affect the dot calculation.
They do not mean that a new event occurred on every bar.
Cross-checks the sign of AO and the level of MFI on the same bar, and shows with dots when they agree.
SMA 5 of the median price − SMA 34. Positive and negative values are used; if it is exactly 0, no dot appears.
Uses changes in the typical price and tick volume. It is not a value that directly shows actual money inflow or actual traded volume.
Green is AO>0 and MFI≥ upper level; red is AO<0 and MFI≤ lower level. Each bar is judged independently.
The default is EMA 8 and 21 of the open. Each can be hidden with period 0.
The EMAs are a reference display; the dots are the AO and MFI condition.
Read the upper and lower levels and Closed Bars Only.
AO and MFI can be checked in the Data Window.
| Included file | Purpose / location |
|---|---|
| TRI_AO_MFI_Marks.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 8 inputs. Change them on the Inputs tab of the properties. The English display name and the input name in the code are shown together.
InpFastEMAInpSlowEMAInpLinePriceInpMFIPeriodInpUpperLevelInpLowerLevelInpClosedBarsOnlyInpArrowGapIf AO is exactly 0, no dot appears. The dot may change depending on the sign of a rounded value very close to 0, so the dots are not necessarily always the same as the standard AO display.
MFI is 100 even when both the positive and negative flows in the aggregation period are 0. Do not read 100 as actual money inflow.
By default, a dot is shown on the closed bar once the next bar has started. With false, judgment is also made while the bar is forming, and dots can appear and disappear partway through.
EMA starts from the 1st bar, AO from the 34th bar, MFI from bar m+1, and dots from bar max(34,m+1) onward. 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.
Dots require the history that AO and MFI need, and both conditions. The line periods are not settings that increase the dots.
While the condition holds, a dot is placed on every bar. It is not a method that draws only the first 1 bar.
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.
TP=(high+low+close)/3. If TP is higher than the previous one, TP×tick volume is added to the positive flow; if lower, to the negative flow; the latest m changes are summed. If the negative flow is 0, the value is 100; otherwise 100−100/(1+positive/negative). A bar with the same TP is added to neither.
The EMAs are 2 lines that exponentially smooth the selected price. AO is calculated from the median price and MFI from the typical price and tick volume; the EMA settings are not used for the dots.
AO, MFI with periods 14, 10 and 5, and EMAs of the open with 8, 21, 5 and 13 and of the close with 8 and 21 have been cross-checked against the MT5 standard values. The sign of extremely small values does not always match, and agreement of the dots for all settings is not guaranteed.