MT5 indicators← Ask Side Band 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

Ask Side Band

Shows 4 lines: the bar's high and median with the spread added, and the bar's median and low. It is not an indicator that reproduces the high and low of actual Ask ticks.

Indicator name: Ask Side BandMetaTrader 5Price chart

Add a width equal to the spread to the bar values

Bar median = (high + low) ÷ 2Width = spread points × price of 1 pointBlue: high + width / Green: median + widthGold: original median / Red: original low
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Choose the width typeChoose the spread recorded for each bar or a fixed number of points.

2

Read the 4 linesBlue and green are after the addition; gold and red are calculated from the original bar.

3

Keep it separate from the actual AskThe calculation adds 1 spread per bar. It is not a line built from a history of Ask ticks.

Unit is pointChoose bar record / fixedDoes not guarantee execution prices
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
Spread source
InpSpreadSource
Bar Spread (bar record) → Fixed (fixed)
Fixed spread
InpFixedSpread
10 → 25

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 settingsInpSpreadSource = Bar Spread (bar record) / InpFixedSpread = 10
Ask Side Band default settings
The default is Bar Spread. The blue line is partly cut off at the top edge of the screen. There are calculated values outside the display range as well; this does not indicate missing data.
View the screen in detail at full size
Ask Side Band default settings (actual size)
Settings change exampleInpSpreadSource = Fixed (fixed) / InpFixedSpread = 25
Ask Side Band settings change example
Change example with Fixed, 25 points. Parts of the blue and green lines are above the top edge of the screen. Check the values in the Data Window, and see the whole by adjusting the chart's price scale.
View the screen in detail at full size
Ask Side Band settings change example (actual size)

Example shown: 1-minute chart (M1). This is an example for explaining the display. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.

2

How to read it in 30 seconds

Blue and green

High + width, median + width. The width is set by the chosen spread source.

Gold and red

The original median and low. Changing the spread settings does not change their formulas.

Check the points

Price width = points × the symbol's _Point. It is not necessarily the same as a pip or the minimum trading step.

3

What it measures

Converts the spread into a price width and places it alongside lines derived from the candlesticks.

Formulas of the 4 lines

Blue = H + S, green = (H + L)/2 + S, gold = (H + L)/2, red = L. S is the price width of the spread. No Bid-side high line or Ask-side low line is drawn.

Bar Spread

Uses the spread recorded by the terminal for each bar. It does not apply the current spread to the whole history. The meaning and values of the record depend on the data provider.

Fixed

Uses the specified points for all bars. It is not a value that guarantees future or past actual spreads.

Estimated Ask line

Whether chart prices are based on Bid also depends on the symbol. This product does not read the current Ask or the highest Ask tick; it adds a width to the bar values.

4

Situations for reading the display

Lines overlap

Indicator
Green and gold overlap
Cross-check
Is that bar's spread 0?
Check
Check the values in the Data Window
Caution
A value of 0 does not necessarily mean a display fault.

The top of the blue line is not visible

Indicator
The line reaches the frame of the screen
Cross-check
The added line is higher than the bar
Check
Widen the display range of the price scale
Caution
A line cut off at the frame does not mean its value has an upper limit.
5

Steps for checking the display

1

Check the source

By default, the spread record of each bar is used.

2

Read the price width

Check the point unit and the symbol's digits.

3

Compare with the fixed width

Fixed Spread affects the drawn width only when Fixed is selected. The change example uses 25.

6

Installation and checking the package contents

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

Spread source

Name shown on screen
Spread Source
Input name
InpSpreadSource
Default
Bar Spread (bar record)
Allowed range
Bar Spread / Fixed
Description
Bar Spread uses the bar record; Fixed uses the specified value.

Fixed spread

Name shown on screen
Fixed Spread (points)
Input name
InpFixedSpread
Default
10
Allowed range
0–10000 points (integer)
Description
Used with Fixed. The input range is checked even with Bar Spread. It does not take fractional points.
8

Usage specifications

0 and changes

At 0, the green and gold lines overlap. If the forming bar's high and low or the recorded spread change, the lines also change.

Limits of use

Do not treat reaching a displayed line as the same as the actual Ask being reached, a fill, or an order condition being met. There are no notifications.

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 trade orders. It does not guarantee profit or future price movement.

9

Troubleshooting and usage notes

Changing Fixed Spread makes no difference

With Bar Spread, the fixed value is not used. Check the source selection.

It does not start

Check that the fixed value is a finite number within the range. The reason for rejection is shown in English on the Experts tab.

The added width differs from what you expected

Check that pips and points are not confused, and check the symbol's display digits and the bar spread record.

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

Price conversion

S = spread × _Point. _Point is 1 point in the symbol's price display. With Fixed, InpFixedSpread is used; with Bar Spread, the spread of that bar is used.

History and drawing

Calculates from the oldest bar. It shows 4 price lines and does not retrieve Ask tick history, place orders or send alerts.