MT5 indicators← High Low Power Ratio product page日本語の取扱説明書

This product is in preparation for release. Product files are not yet distributed; the manual is published so that you can review its content. This manual is an English translation of the Japanese manual. Images (screens and figures) are not translated and may contain Japanese text or earlier names.

For Trilogy users

High Low Power Ratio

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.

Indicator name: High Low Power RatioMetaTrader 5Separate window

The high is compared with the average of highs, and the low with the average of lows

High / high average · low / low averageRaise each ratio to the 5th powerDraw High Ratio and Low Ratio around 1Values after raising to the 5th power. Not the rate of price change itself
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Blue-gray: High RatioHigh ÷ average of highs, raised to the 5th power.

2

Orange: Low RatioLow ÷ average of lows, raised to the 5th power.

3

The reference is 1.0For normal prices with a positive average, above 1 means above the average and below 1 means below the average.

Reference 1.0Ratio shown raised to the 5th powerColors distinguish high and low
1

MT5 display and examples of changed settings

Compares the default settings and a settings change example on a screen with only this product applied.

Settings change example: these items are changed
Averaging period
InpPeriod
15 → 5
Averaging method
InpMethod
Simple (SMA) → Linear weighted (LWMA)

All other inputs remain at their defaults. On a PC, the default is on the left and the change example on the right; at smartphone width they appear in the same order from top to bottom.

Default settingsInpPeriod = 15 / InpMethod = Simple (SMA)
High Low Power Ratio default settings
SMA15. The blue-gray high ratio and the orange low ratio move around 1.0.
View the screen in detail at full size
High Low Power Ratio default settings (full size)
Settings change exampleInpPeriod = 5 / InpMethod = Linear weighted (LWMA)
High Low Power Ratio settings change example
Changed to LWMA 5. The averaging method and period have changed, and the small swings of both lines have also changed.
View the screen in detail at full size
High Low Power Ratio settings change example (full size)

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.

2

How to read it in 30 seconds

Reference

Look at the silver 1.0 line.

Separate the 2 lines

The averages in the denominator also differ between the high and the low.

Distance from the reference

It is not the ratio itself before being raised to the 5th power.

3

What it measures

A value of 1.005 does not mean price is 0.5% away. It is the ratio raised to the 5th power.

High side

High Ratio=(high ÷ moving average of highs)⁵.

Low side

Low Ratio=(low ÷ moving average of lows)⁵. The average of closes is not used.

Effect of the 5th power

If the average is positive and the high is 0.1% above the average, 1.001⁵≒1.005.

Zero or negative average

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.

4

Situations for reading the display

Both of the 2 lines above 1

Indicator
Each price is above its average (when the average is positive).
Cross-check
Consider the high average and the low average separately.
Check
Check the price position.
Caution
Tiny differences near 1 also arise from rounding.

The lines swap positions

Indicator
The ratios to their respective averages have swapped.
Cross-check
Keep this separate from which of the high and low is larger in absolute price.
Check
Confirm that the 2 denominators are different.
Caution
The high ratio is not necessarily always above the low ratio.
5

Steps for checking the display

1

Apply with the defaults

Look at the 1.0 level and the lines in 2 colors.

2

Check what the ratio refers to

Distinguish whether it is the high line or the low line.

3

Compare the averaging conditions

Check the comparison example with the period and method changed.

6

Installation and checking the package contents

Included filePurpose / location
TRI_High_Low_Power_Ratio.ex5The 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.

1

Extract the ZIP

Extract the ex5 main file rather than leaving it in the compressed file.

2

Open the data folder

In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.

3

Apply this product

Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.

4

Check the settings and display

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.

7

Settings

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.

Average period

Name shown on screen
MA Period
Input name
InpPeriod
Default
15
Allowed range
1–1000 bars
Description
The same period is used for both the high average and the low average.

Averaging method

Name shown on screen
MA Method
Input name
InpMethod
Default
Simple (SMA)
Allowed range
SMA, EMA, SMMA, LWMA
Description
The same method is used for both averages.
8

Usage specifications

Forming bar and recalculation

While 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.

Conditions for comparison

Compare with the same symbol, timeframe, settings and loaded history. The display is not a forecast of future price movement.

First display

SMA, SMMA and LWMA start from bar MA Period, and EMA from the 1st bar. The default starts from the 15th bar.

Period 1

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.

Rounding

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.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

Looks overlapped with 1

The averaging period may be 1, or price may be close to the average. The display shows 5 decimal places.

Nothing is shown after entering inputs

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.

10

Technical information and specification details

Averaging methods

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.

Display

High Ratio is SteelBlue and Low Ratio is DarkOrange. The silver dotted line is 1.0. There are no notifications.