Reference
Look at the silver 1.0 line.
Divides the high and low by their respective moving averages, raises the ratios to the 5th power, and shows them as 2 lines. The reference is 1.0, not 0.
Blue-gray: High RatioHigh ÷ average of highs, raised to the 5th power.
Orange: Low RatioLow ÷ average of lows, raised to the 5th power.
The reference is 1.0For normal prices with a positive average, above 1 means above the average and below 1 means below the 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 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.
Look at the silver 1.0 line.
The averages in the denominator also differ between the high and the low.
It is not the ratio itself before being raised to the 5th power.
A value of 1.005 does not mean price is 0.5% away. It is the ratio raised to the 5th power.
High Ratio=(high ÷ moving average of highs)⁵.
Low Ratio=(low ÷ moving average of lows)⁵. The average of closes is not used.
If the average is positive and the high is 0.1% above the average, 1.001⁵≒1.005.
If the average is 0, that line's value is not shown. If the average is negative, whether the value is above or below 1 cannot be read directly as price being above or below the average.
Look at the 1.0 level and the lines in 2 colors.
Distinguish whether it is the high line or the low line.
Check the comparison example with the period and method changed.
| Included file | Purpose / location |
|---|---|
| TRI_High_Low_Power_Ratio.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 2 inputs. Change them on the Inputs tab of the properties window. The English display names are shown together with the input names in the code.
InpPeriodInpMethodWhile the latest bar's price is moving, the displayed values and colors can also change. They are recalculated when history is added or corrected or settings change. Permanent non-repainting is not guaranteed.
Compare with the same symbol, timeframe, settings and loaded history. The display is not a forecast of future price movement.
SMA, SMMA and LWMA start from bar MA Period, and EMA from the 1st bar. The default starts from the 15th bar.
The average becomes the price itself, and for a nonzero price the value is 1. If the price is 0, the denominator is also 0, and that line is empty.
Even in sections with no price movement, the internal calculation may deviate slightly from 1. Do not treat very small differences alone as meaningful changes.
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 orders. It does not guarantee profit or future price movement.
The averaging period may be 1, or price may be close to the average. The display shows 5 decimal places.
Check the allowed range of the inputs and the number of history bars. Outside the range, the indicator does not start, and the reason is shown in English in the Experts tab of the Toolbox. No explanation is shown on the chart.
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.
SMA is the arithmetic mean over the calculation window, EMA uses a coefficient of 2÷(period+1), SMMA starts from the first SMA with a coefficient of 1÷period, and LWMA is a linear weighted average with more weight on newer bars.
High Ratio is SteelBlue and Low Ratio is DarkOrange. The silver dotted line is 1.0. There are no notifications.