MT5 indicators← Price Velocity 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

Price Velocity

Shows with 3 lines how many points per 1 bar the median price, low and high have changed since a set number of bars earlier. It can also be switched to an acceleration mode that reads changes in velocity.

Indicator name: Price VelocityMetaTrader 5Separate window

First check the mode and units, then read above and below 0

Compare the median price, low and high with Span bars earlierPrice difference ÷ Span ÷ point = velocityAcceleration = difference of velocity from Span bars earlier ÷ SpanLine color is the price type. Read the sign by the position relative to the 0 line
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Blue solid line: MedianUses each bar's median price (high + low) ÷ 2.

2

Orange and blue-gray dotted lines: Low/HighThe changes in the low and the high respectively. The colors have no positive or negative meaning.

3

Velocity and accelerationVelocity is the change in price; acceleration is the change in velocity. Their units differ.

Velocity: points/barAcceleration: points/bar²Above or below 0 is positive or negative
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
Calculation mode
InpMode
Velocity (velocity) → Acceleration (acceleration)

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 settingsInpMode = Velocity (velocity)
Price Velocity default settings
Velocity with Span 2. The solid blue line for the median price and the dotted lines for the high and low move around 0.
View the screen in detail at full size
Price Velocity default settings (full size)
Settings change exampleInpMode = Acceleration (acceleration)
Price Velocity settings change example
Changed to Acceleration with Span still 2. The window name also becomes Price Acceleration, and it draws the change in velocity rather than velocity.
View the screen in detail at full size
Price Velocity 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

Mode

First check whether it is Velocity or Acceleration.

Span

Compares the current value with Span bars earlier.

0 line

Read whether each line is above or below 0.

3

What it measures

Even when velocity is positive, acceleration can be negative, for example when an upward move weakens.

Velocity

Divides the price difference between now and Span bars earlier by Span and converts it into the symbol's point units.

Acceleration

Divides the difference between the current velocity and the velocity Span bars earlier by Span again.

Difference between high and low

In velocity mode, High−Low shows how many points per 1 bar the bar's range has changed since Span bars earlier.

Caution with acceleration

In acceleration mode, High−Low is the further change of that range change. Do not read High being above as meaning the range is wide.

4

Situations for reading the display

Velocity positive, acceleration negative

Indicator
Price is higher than Span bars earlier, and velocity is lower than Span bars earlier.
Cross-check
Compare the mode and values at the same point in time.
Check
Separate what the sign refers to.
Caution
Do not read the sign of acceleration directly as price going up or down.

The high and low lines moved apart

Indicator
In velocity mode, this shows a change in range.
Cross-check
Look at the range of the bar Span bars earlier and of the current bar.
Check
Check the sign and size of High−Low.
Caution
Watch for tiny rounding differences and confusion with acceleration mode.
5

Steps for checking the display

1

Look at the default velocity

Tell apart the blue solid line and the 2 dotted lines.

2

Compare with Span bars earlier

Check the price difference between the current bar and the target bar.

3

Switch to acceleration

Compare while also checking the change in units and window name.

6

Installation and checking the package contents

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

Number of bars to compare

Name shown on screen
Span
Input name
InpSpan
Default
2
Allowed range
1–1000 bars
Description
Used for both velocity and acceleration as the comparison interval and for conversion to a value per 1 bar.

Calculation method

Name shown on screen
Mode
Input name
InpMode
Default
Velocity (velocity)
Allowed range
Velocity / Acceleration
Description
Velocity is velocity; Acceleration is the change in velocity.
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.

Start of drawing

Velocity starts from bar Span+1, and acceleration from bar 2×Span+1. With the default Span 2, velocity starts at the 3rd bar and acceleration at the 5th bar.

Meaning of point

A point is the smallest displayed unit of the symbol. For a 5-digit price it is usually 0.00001; distinguish it from a pip.

Right after a new bar

The high and low of a new bar have not yet spread apart, and their velocities may have opposite signs.

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

Values do not match another indicator

This is a different calculation from Momentum, which calculates a ratio of closes. Check the units, price type and Span.

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

Formula

For each price series x, V[i]=(x[i]−x[i−W])÷W÷point. Acceleration is (V[i]−V[i−W])÷W. x is the median price, low and high.

Display

Median is a DodgerBlue solid line; Low is DarkOrange and High is SteelBlue dotted lines. Velocity is shown with 2 decimal places and acceleration with 4. There are no notifications.