Open-to-Median Power Ratio
Reads where the open lies relative to a weighted average of the median price, as a ratio based on 1. It is not an indicator that shows a period rate of change or return.
Above or below 1 → position of the open versus the average → confirm with the price too
Blue line above 1With positive prices, this shows that the open is higher than the weighted average of the median price.
Blue line below 1With positive prices, this shows that the open is lower than the weighted average of the median price.
Distance from 1The ratio of the open to the average is raised to the 5th power for emphasis. For example, a ratio of 1.01 becomes about 1.05101, which does not mean a 5.101% profit.
MT5 display and examples of changed settings
Only the price chart and this product are shown. Compare the default settings and the example of changed settings with the same symbol, timeframe and display range.
View the screen in detail at full size
View the screen in detail at full size
Example shown: synthetic data, 1-minute timeframe (M1). This is not the price movement of an actual symbol. The changed settings are an example to show the difference, not recommended values. You can enlarge it from "View the screen at full size".
How to read it in 30 seconds
What it measures
Measures the position of the open relative to the average of the median price
It takes the midpoint of each bar's high and low and calculates a linear weighted moving average (LWMA) in which more recent bars carry more weight. It divides the open by that average and shows the value raised to the 5th power. The gray dotted line at 1 is the reference where they are equal.
Blue line above 1
With positive prices, this shows that the open is higher than the weighted average of the median price.
Blue line below 1
With positive prices, this shows that the open is lower than the weighted average of the median price.
Distance from 1
The ratio of the open to the average is raised to the 5th power for emphasis. For example, a ratio of 1.01 becomes about 1.05101, which does not mean a 5.101% profit.
When to use it in decisions
Read in the order "indicator → confirm with price → consider → conditions that do not apply". This is not a trading instruction; it is a way to organize the material for your decisions.
Relatively high side
- Indicator
- Even above 1, there is no guarantee that the price will keep rising. Read it together with the movement of the highs and lows.
- Price
- Look at the movement of the price's highs and lows.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not use a value above 1 alone as a reason to buy.
Relatively low side
- Indicator
- Below 1 describes a position lower than the average. It is not a sell order or a forecast of a decline.
- Price
- Look at the movement of the price's highs and lows.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not use a value below 1 alone as a reason to sell.
Moving back and forth around the reference
- Indicator
- Small back-and-forth moves around 1 mean that the positional relationship is switching. Do not use crossings alone as a trading condition.
- Price
- Check whether the price is also moving back and forth in a narrow range.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not trade on crossings of 1 alone.
Values far from 1
- Indicator
- Raising to the 5th power emphasizes the difference. No fixed overbought or oversold levels are set.
- Price
- Distinguish price changes from the emphasis caused by the 5th power.
- Consideration
- Cross-check against the price evidence and your trading plan made in advance.
- Exclusion condition
- Do not read it as a fixed overheating level or a rate of profit.
Actual decision steps
Choose the symbol and timeframe
Choose the symbol and timeframe, and apply the indicator with a period of 15.
Read the reference display
Read whether the blue line is above or below the gray reference line at 1.
Cross-check against the price evidence
Cross-check against the highs and lows on the price chart, and do not decide the direction from the ratio alone.
Pay attention to the settings and the current bar
The value of the current bar moves, so distinguish it from the values of closed bars.
What to decide before entering
This product does not place or close orders. If you trade, decide your reasons, acceptable loss and exit conditions separately, and do not leave them to the indicator alone.
What to check while holding a position
Give priority to your plan made in advance and to the price movement. Do not postpone a stop-loss or exit just because the indicator moves up or down.
Installation and checking the package contents
| Included file | Location and purpose |
|---|---|
| TRI_Open_Median_Power_Ratio.ex5 | The indicator itself for MetaTrader 5. Place it in MQL5/Indicators. |
| TRI_Open_Median_Power_Ratio_Manual.html | The manual for this product. Open it in a browser. |
Extract the ZIP first. MT5 only. This product does not require placing a license file or account authentication. Use the files without renaming them.
Open the data folder
In MT5, select "File → Open Data Folder".
Place the indicator file
Place the included TRI_Open_Median_Power_Ratio.ex5 in MQL5/Indicators.
Place it on a chart
Refresh the Navigator or restart MT5, and apply this product to a chart of the symbol and timeframe you want.
Check the settings and display
Check with the default settings first. To change them, open this product's properties from the Indicators List. For the required number of history bars and where it is displayed, see Chapters 7 and 8.
To remove it, select this product in the chart's Indicators List and delete it.
Settings
There is 1 calculation input. Open the properties from the Indicators List and change it there.
LWMA Period
- Input name
- InpPeriod
- Default
- 15
- Allowed range
- An integer from 1 to 10000. Out of range, the indicator cannot be applied.
- Description
- Specifies how many recent bars' median prices are used to make the weighted average. The oldest bar has a weight of 1 and the latest bar a weight equal to the period. With 1, the value is the ratio to that bar's own median price.
Line color and width
- Default
- DodgerBlue, width 2. Shown in a subwindow.
- Where to change
- You can adjust it on the Colors tab of the properties.
- How to read
- Read the blue line against the gray dotted line at 1.
Usage specifications
Start of drawing
Display starts from the bar where a period's worth of history is available.
Bars that are not displayed
Bars where the open or the weighted average is 0 or less, and calculation results that are not finite, are not drawn. Negative prices are not supported.
Current bar
Even with the same open, the average changes as the high and low are updated, and the value moves.
Scale
It is a ratio raised to the 5th power, with 1 as the reference. It is not a percentage, a probability of rising, or a win rate.
When removing
Select this product in the Indicators List and delete it. This product has no recovery procedure using a license file.
Troubleshooting and usage notes
The line is interrupted
Check for insufficient history and for opens or averages of 0 or less. By specification, such bars are not drawn.
The values are not based on 100
The reference is 1. It is not a percentage display multiplied by 100.
The shape changes after changing the settings
When the period of the weighted average changes, the basis of comparison changes, so the values and shape change.
Notes on use
- The indicator is information calculated from past and current prices. It does not guarantee profit, the future direction or the success of a trade.
- It does not place orders, close positions, send alerts or send email.
- Changing the period, symbol or timeframe also changes the values. Distinguish changes in the current bar from recalculation caused by added or corrected history.
Technical information and specification details
Calculation approach and display specifications
Median M(t)=(H(t)+L(t))/2. The LWMA weights are 1 to N from oldest to newest within the period, with a weight total of N(N+1)/2. Output=(O(t)/LWMA(t))^5.
| Item | Content |
|---|---|
| Version | 1.00 |
| Platform | MetaTrader 5 |
| Display | 1 blue line in a subwindow, gray dotted line at 1 |
| Unit | Ratio (5th power) |
| Copyright notice | Trilogy Inc. |
Status of the general reading
The situations and steps on this page are examples of linking calculated values to observation of the price. They do not guarantee the future direction, full compatibility, non-repainting or a light calculation load.