MT5 indicators← VW Range Position 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

VW Range Position

Measures, on a scale of 0 to 100, where a volume-weighted representative price lies within the range of recent price movement, fills the area between a fast line and a slow line, and shows it in a subwindow.

Indicator name: VW Range PositionMetaTrader 5Subwindow

Volume-weighted price → position within the range → band between the fast and slow lines

Price (synthetic data, 120 bars)Displayed value (band of the position from 0 to 100)50
Schematic of calculated values (synthetic data). This is not an actual terminal screen.
1

Green bandThe fast line is above the slow line. The color shows which of the 2 lines is higher, and does not directly show a rise from the previous bar.

2

Red bandThe fast line is at or below the slow line. The color shows which of the 2 lines is higher, and does not directly show a fall from the previous bar. When they are equal, the width of the band is 0.

3

Height of the bandShows the position within the recent range. The higher it is, the closer to the upper side of the range.

0–100 by calculationWeighted by volumeGuide line at 50Not a trading signal
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
Bars for measuring the range (InpPeriod)10 → 20
Bars for the weighted average (InpAverage)5 → 8

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 settingsBars for measuring the range (InpPeriod): 10 / Bars for the weighted average (InpAverage): 5
VW Range Position: MT5 screen with default settings
Default settings (10, 5) — The upper pane is the price and the lower pane is this product. Read the height and color of the band against the dotted line at 50.
View the screen in detail at full size
VW Range Position: MT5 screen with default settings (actual size)
Settings change exampleBars for measuring the range (InpPeriod): 20 / Bars for the weighted average (InpAverage): 8
VW Range Position: MT5 screen with a settings change example
With the numbers of bars changed to 20 and 8 — The same situation, with the range changed to 20 and the weighting to 8. The band becomes smoother, and the display also starts later.
View the screen in detail at full size
VW Range Position: 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

Green bandThe fast line is above the slow line. The color shows which of the 2 lines is higher, and does not directly show a rise from the previous bar.
Red bandThe fast line is at or below the slow line. The color shows which of the 2 lines is higher, and does not directly show a fall from the previous bar. When they are equal, the width of the band is 0.
Height of the bandShows the position within the recent range. The higher it is, the closer to the upper side of the range.
Closed bars and the current barOn the current bar, the value changes each time the price and volume move. The color of the band can also switch in the middle of a bar.
3

What it measures

Measures the position of the volume-weighted price

First, 1 bar at a time, it finds a representative price by multiplying the close by 2, adding the high and low, and dividing by 4. Next, it averages that representative price over the last few bars, using each bar's volume as the weight. Prices of bars with more volume are reflected more strongly. Then it expresses, from 0 to 100, where this weighted price lies between the minimum and maximum of a set number of recent bars. Finally, this position smoothed 1 time with a linear weighted average is the fast line, and the fast line smoothed 1 more time is the slow line, and the area between the 2 lines is filled.

Representative price = (2 × close + high + low) ÷ 4. Weighted price = Σ (volume × representative price) ÷ Σ volume. Position = (weighted price − minimum in the period) ÷ max (maximum in the period − minimum, 1 point) × 100. Fast line = linear weighted average of the position. Slow line = linear weighted average of the fast line.

Green band

The fast line is above the slow line. The color shows which of the 2 lines is higher, and does not directly show a rise from the previous bar.

Red band

The fast line is at or below the slow line. The color shows which of the 2 lines is higher, and does not directly show a fall from the previous bar. When they are equal, the width of the band is 0.

Strip height

Shows the position within the recent range. The higher it is, the closer to the upper side of the range.

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

The band changed from red to green

Indicator
The state changed from the fast line being at or below the slow line to being above it. Check separately whether the value itself is rising or falling.
Price
Check on the price side as well whether the lows are rising.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use the color change alone as a buy signal.
Scene 2

The band changed from green to red

Indicator
The state changed from the fast line being above the slow line to being at or below it. Check separately whether the value itself is rising or falling.
Price
Check on the price side as well whether the highs are falling.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not use the color change alone as a sell signal.
Scene 3

The band stays stuck at a high position

Indicator
The weighted price keeps staying in the upper side of the recent range.
Price
Check whether the price is staying in the recent high band.
Consideration
Cross-check against the price evidence and your trading plan made in advance.
Exclusion condition
Do not treat a continuing high position as evidence of overheating.
Scene 4

The band is thin and the color switches quickly

Indicator
The fast line and the slow line are close, and the change in position is not clear.
Price
See whether the price is 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 treat frequent color switching as grounds that the market has turned.
5

Actual decision steps

1

Choose the symbol and timeframe

Choose the symbol and timeframe, and confirm that at least the required number of bars of history are displayed.

2

Read the position relative to the reference

Read the height and color of the band against the dotted line at 50.

3

Cross-check against the price evidence

Check the same situation on the price chart as well, and compare it with the renewal of highs and lows.

4

Decide how to treat the current bar

On the current bar, both the value and the color move. 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_VW_Range_Position.ex5The indicator itself for MetaTrader 5. Place it in MQL5/Indicators.
TRI_VW_Range_Position_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_VW_Range_Position.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.

Bars for measuring the range

Input name
InpPeriod
Default
10
Allowed range
An integer from 2 to 10000. Out of range, the indicator cannot be applied.
Description
Specifies over how many bars the minimum and maximum of the weighted price are taken. A larger value gives the position within a wider range.

Bars for the weighted average

Input name
InpAverage
Default
5
Allowed range
An integer from 2 to 1000. Out of range, the indicator cannot be applied.
Description
Serves both as the number of bars weighted by volume and as the number of bars for smoothing the 2 lines. A larger value makes the band smoother, and the display also starts later.

Line color and width

Default
Green (LimeGreen) when the fast line is above the slow line, otherwise red (Crimson). The area between the 2 lines is filled with width 3, with a gray dotted line at 50.
Where to change
You can adjust it on the Colors tab of the properties.
How to read
Read the height and color of the band against the dotted line at 50.
8

Usage specifications

Where the display starts

Display starts from the bar after a number of bars equal to 3 times “weighted average count − 1” plus “range measurement count − 1” have passed. With the defaults, the first displayed bar is the 22nd bar counted from the oldest bar.

Volume used

It is the tick count recorded by MetaTrader 5. It is not the traded quantity, and how it appears differs by data provider. If the total tick count in the calculation window is 0, it switches to a simple average of the typical price.

Value range

Calculated with normal finite prices and a positive point, the position and the 2 smoothed lines are mathematically in the range 0–100. If the width is less than 1 point, the denominator is set to 1 point, so the value does not exceed 100 for this reason. Display rounding and tiny floating-point errors are a separate matter. The display range is not fixed.

Band color

Green if the fast line is above the slow line; red otherwise. When the values are equal, red is assigned, but the band width is 0 and it may not be visible. The color does not directly indicate a rise or fall from the previous bar.

Handling of the current bar

The current bar is recalculated each time the price or volume moves. When the bar closes, its value and color are 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 band is not displayed

The number of bars displayed may be insufficient. Make the 2 numbers of bars smaller, or load the history and then check.

The band stays toward a low position

If the range within the period is less than 1 point, the denominator is 1 point. Small differences are not stretched to fill 0 to 100. If the range is 0, the position is 0.

The band is barely visible

When the fast line and the slow line are close, the band becomes thin. A larger number of bars for the weighted average makes a difference more likely to appear.

The values differ from another terminal

Tick counts differ depending on the data provider. Compare using the same history from the same provider.

The display does not change after changing the settings

If a value is outside the allowed range (range 2–10000, weighting 2–1000), this product is not applied.

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 settings, 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 takes a volume-weighted average of the representative price, converts its position between the recent minimum and maximum into 0 to 100, applies 2 stages of linear weighted averaging to make a fast line and a slow line, and fills the area between them in different colors. To keep the denominator from becoming 0, the width of the range has a lower limit of 1 point. It uses 2 buffers for drawing plus 1 for color specification, and 4 internal buffers for calculation. It does not use other indicators, external libraries, communication or order functions.

ItemContent
Version1.00
PlatformMetaTrader 5
DisplayA band filled in green and red in a subwindow, gray dotted line at 50
UnitNone (a position from 0 to 100)
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.