MT5 indicators← Pooled Rank Balance 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

Pooled Rank Balance

It finds the relative rank of the current close over a long period and a short period, and smooths their difference with 6 for the current bar and 4 for the previous bar. Read the relative difference of the ranks against 0.5. This 1 line alone does not determine the absolute level of each rank or the direction of the market.

Indicator name: Pooled Rank BalanceMetaTrader 5Subwindow (fixed at 0–1)

Long and short ranks → smooth the difference at 6:4 → difference from 0.5

Price (synthetic data, 120 bars)Displayed value (0–1)0.20.50.7
Schematic of calculated values (synthetic data). This is not an actual terminal screen.
1

Above 0.5The smoothed rank difference is on the side where the long rank is higher. It does not mean the long rank is in the upper half and the short rank in the lower half.

2

Below 0.5The smoothed rank difference is on the side where the short rank is higher. It does not represent a rise or fall of the market.

3

Near 0.5The smoothed rank difference is small. This also happens when both ranks are high or both are low, or when the differences of the current and previous bars cancel out. It does not necessarily mean a sideways market.

Range 0–10.5 is the reference for the rank differenceGuide lines at 0.2 and 0.7Not a rate of profit
1

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.

Settings change example: these items are changed
Short period (InpShortPeriod)10 → 20
Long period (InpLongPeriod)252 → 100

No other settings were changed. The left is the default settings and the right is the changed example. At phone width, they are stacked from the top in the same order.

Default settingsShort period (InpShortPeriod): 10 / Long period (InpLongPeriod): 252
Pooled Rank Balance: MT5 screen with default settings
Default settings (10, 252) — The upper pane is the price and the lower pane is this product. Read which band the value is in, using the dotted lines at 0.2 and 0.7 as references.
View the screen in detail at full size
Pooled Rank Balance: MT5 screen with default settings (actual size)
Settings change exampleShort period (InpShortPeriod): 20 / Long period (InpLongPeriod): 100
Pooled Rank Balance: MT5 screen with a settings change example
With the periods changed to 20 and 100 — The same situation, with the short period changed to 20 and the long period to 100. The display start position moves to the left, and the way the values swing also changes.
View the screen in detail at full size
Pooled Rank Balance: MT5 screen with a settings change example (actual 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".

2

How to read it in 30 seconds

Above 0.5The smoothed rank difference is on the side where the long rank is higher. It does not mean the long rank is in the upper half and the short rank in the lower half.
Below 0.5The smoothed rank difference is on the side where the short rank is higher. It does not represent a rise or fall of the market.
Near 0.5The smoothed rank difference is small. This also happens when both ranks are high or both are low, or when the differences of the current and previous bars cancel out. It does not necessarily mean a sideways market.
The current bar and closed barsOn the current bar, the value changes each time the high, low or close moves. Even if the value once goes beyond 0.2 or 0.7, it may have returned by the time the bar closes.
0.7↑
Rank difference large on the positive sideThe band where the smoothed difference of the long rank minus the short rank is far to the positive side.
0.5
Smoothed rank difference is smallIt does not mean that both ranks are high or low, or that the market is moving sideways.
0.2↓
Rank difference large on the negative sideThe band where the smoothed difference of the long rank minus the short rank is far to the negative side.
3

What it measures

Measures the position within the ordering over a long and a short length

It puts all the highs, lows and closes of the period's bars into 1 pool (3 times as many values as bars). It counts how many values in the pool are smaller than the current close and divides by the number of values to turn it into a position from 0 to 1. It finds this for 2 lengths, long and short, and averages "the long position" and "1 minus the short position". Finally, it mixes the current value and the value of 1 bar earlier at 6 to 4 and shows the result.

Rank = (number of values among the highs, lows and closes of the last N bars that are smaller than the current close) ÷ (3N − 1). Combination = (long rank + (1 − short rank)) ÷ 2. Displayed value = 0.5 + 0.5 × {0.6 × (current long rank − short rank) + 0.4 × (previous bar's long rank − short rank)}.

Above 0.5

The smoothed rank difference is on the side where the long rank is higher. It does not mean the long rank is in the upper half and the short rank in the lower half.

Below 0.5

The smoothed rank difference is on the side where the short rank is higher. It does not represent a rise or fall of the market.

Near 0.5

The smoothed rank difference is small. This also happens when both ranks are high or both are low, or when the differences of the current and previous bars cancel out. It does not necessarily mean a sideways market.

This value alone cannot determine the future direction or the success of a trade. Read it together with the price chart.
4

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.

Scene 1

Rose above the 0.7 line

Indicator
The smoothed difference between the long rank and the short rank is far to the positive side.
Price
Check the price movement over both the long and the short period. Do not judge a pullback from this value alone.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use a rise above 0.7 alone as a reason to buy. It can happen even while the price keeps falling.
Scene 2

Fell below the 0.2 line

Indicator
The smoothed difference between the long rank and the short rank is far to the negative side.
Price
Check the price movement over both the long and the short period. Do not judge a rebound from this value alone.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use a fall below 0.2 alone as a reason to sell.
Scene 3

Moving near 0.5

Indicator
The smoothed rank difference is small. This includes cases where both ranks are high or both are low, and where the differences of the current and previous bars offset each other.
Price
Check separately whether the price has a direction or is moving sideways. This cannot be decided from values near 0.5 alone.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use a crossing of 0.5 itself as a signal.
Scene 4

Stays near an end (0 or 1)

Indicator
The smoothed difference between the long and short ranks is large. It is not a value that shows only one of the ranks.
Price
Check whether the price's highs or lows keep being renewed within the period.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not read it as a fixed overheated or undervalued level, or as a rate of profit.
5

Actual decision steps

1

Choose the symbol and timeframe

Choose the symbol and timeframe, and confirm that at least as many bars of history as the long period are displayed.

2

Read the position relative to the reference

Using 0.2, 0.5 and 0.7 as references, read which band the current value is in.

3

Cross-check against the price evidence

Check the price movement over both the long and the short period on the price chart.

4

Decide how to treat the current bar

The value of the current bar moves. Decide in advance whether to read on closed bars or to wait for the bar to close.

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.

6

Installation and checking the package contents

Included fileLocation and purpose
TRI_Pooled_Rank_Balance.ex5The indicator itself for MetaTrader 5. Place it in MQL5/Indicators.
TRI_Pooled_Rank_Balance_Manual.htmlThe 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.

1

Open the data folder

In MT5, select "File → Open Data Folder".

2

Place the indicator file

Place the included TRI_Pooled_Rank_Balance.ex5 in MQL5/Indicators.

3

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.

4

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.

7

Settings

There are 2 calculation inputs. Open the properties from the Indicators List and change them there.

Fast period

Input name
InpShortPeriod
Default
10
Allowed range
An integer from 1 to 10000. Out of range, the indicator cannot be applied.
Description
The number of bars for measuring the recent relative rank. The usual naming of short and long assumes settings where the short period is smaller than the long period, but equal values and a reversed order can also be entered.

Slow period

Input name
InpLongPeriod
Default
252
Allowed range
An integer from 1 to 10000. Out of range, the indicator cannot be applied.
Description
The number of bars for measuring the position over the longer view. A larger value requires a longer history.

Line color and width

Default
Red (Crimson) solid line, width 2. The display range of the subwindow is fixed at 0–1, with gray dotted lines at 0.2 and 0.7.
Where to change
You can adjust it on the Colors tab of the properties.
How to read
Using 0.2, 0.5 and 0.7 as references, read which band the value is in.
8

Usage specifications

Where the display starts

Display starts from the bar after as many bars as the longer of the short and long periods have passed. With the defaults, the first displayed bar is the 253rd bar counted from the oldest bar. Bars before that have no value.

Value range

The value is always 0 or greater and 1 or less. The display range of the subwindow is also fixed at 0–1.

Unit

There is no unit. It is the long/short rank difference, smoothed and converted to 0–1. Compare levels under the same period and history conditions.

When identical values appear

Values equal to the close are not counted as “smaller values”. If the high, low and close are all the same over the required period, the long and short ranks are both 0, and the displayed value is 0.5.

Handling of the current bar

The current bar is recalculated each time the high, low or close moves. When the bar closes, its value is also fixed.

Additions and corrections to history

If the data provider adds or corrects past bars, recalculation runs from that range.

When removing

Select this product in the Indicators List and delete it. This product has no recovery procedure using a license file.

9

Troubleshooting and usage notes

The line is not displayed

The number of bars displayed may be smaller than the long period. Make the long period smaller, or load the history and then check.

Always stuck at 0 or 1

The long period may be too long or too short compared with the market's cycle. Change the period and check.

The display does not change after changing the settings

If a value is outside the allowed range (integers from 1 to 10000), this product is not applied. Check whether it remains in the Indicators List.

The left side disappeared after making the long period larger

The position where the display starts is determined by the longer period. Increasing the period moves the display start to the right by that amount.

The same value was entered for the short and long periods

The calculation also works with the same value. In that case, the long rank and the short rank are equal, so the calculated value is 0.5.

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

Technical information and specification details

Calculation approach and display specifications

It puts the highs, lows and closes of the period's bars into 1 pool, divides the number of values smaller than the current close by (3 × bars − 1), and turns it into a position from 0 to 1. It averages the long position and 1 minus the short position, mixes the current value and that of 1 bar earlier at 6 to 4, and shows the result. It uses 1 buffer for drawing and 1 internal buffer for calculation. It does not use other indicators, external libraries, communication or order functions.

ItemContent
Version1.00
PlatformMetaTrader 5
Display1 red line in a subwindow (fixed at 0–1), gray dotted lines at 0.2 and 0.7
UnitNone (a ratio from 0 to 1)
Copyright noticeTrilogy 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.