MT5 indicators← Range Squeeze Dots 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

Range Squeeze Dots

Places orange-red dots above and below where the ranges and highs/lows of 3 bars meet the conditions, and a gold mark where ATRs of several periods meet the conditions. The 2 kinds of marks have separate conditions and do not predict direction or later price movement.

Indicator name: Range Squeeze DotsMetaTrader 5Main chart

Distinguishes the bar range condition and the ATR condition with 2 kinds of marks

Bar range and high/low / 5 kinds of ATREach condition is judged separatelyOrange-red: dots above and below / gold: mark at the bar's median priceThe 2 kinds of marks have separate conditions. They do not show direction or future movement
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Dots above and belowBars where the ranges of 3 bars do not widen in sequence and overshoots of the high and low are also within the conditions.

2

Gold markBars where the position and change of the medium-term ATR group and the short-term ATR meet several conditions.

3

By default, after the bar closesNo mark is shown on the forming latest bar. The previous bar is judged after a new bar starts.

Range is specified in pointsBars with the same range are also includedNot a mark that shows direction
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
Maximum bar range
InpMaxRange
250 → 10
Maximum ATR difference
InpMaxATRDiff
250 → 3

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 settingsInpMaxRange = 250 / InpMaxATRDiff = 250
Range Squeeze Dots default settings
Width limit 250 and ATR difference limit 250 points. The orange-red dots above and below and the gold marks are separate conditions.
View the screen in detail at full size
Range Squeeze Dots default settings (full size)
Settings change exampleInpMaxRange = 10 / InpMaxATRDiff = 3
Range Squeeze Dots settings change example
Changed to a maximum range of 10 and a maximum ATR difference of 3 points. In this display section, fewer bars qualify for marks. This is not a recommended setting.
View the screen in detail at full size
Range Squeeze Dots settings change example (full 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

Color and position

Distinguish the orange-red dots above and below from the gold mark at the bar's median price.

Unit

The range inputs are in points, not pips.

Target bars

If Closed Bars Only is true, no mark appears on the latest forming bar.

3

What it measures

A mark is a record of a bar that met the conditions. It does not foretell range expansion, price direction or the shape of the next bar.

Dots above and below

A bar becomes a candidate when the ranges of 3 bars do not widen in sequence (equal ranges included), the latest range is within the maximum, and the ratio of the previous 2 bars' ranges is also within the condition.

High and low condition

The amount by which the high exceeds the previous bar and the amount by which the low falls below the previous bar are rounded to points, and each is also checked to be 1 or less. The dots do not show strictly inside bars only.

Gold mark

Shown when the group of ATR 5, 7, 9 and 11 is at or below the 14-bar average of ATR 7, and the position and change of ATR 3 and other items are also within the conditions.

Sections without price movement

Consecutive bars with the same range also qualify for the dots above and below. A row of dots alone does not establish a special state or future movement.

4

Situations for reading the display

A row of dots above and below

Indicator
Bars that meet the conditions, including bars with the same range, continue.
Cross-check
Check the maximum range and the point value of that symbol.
Check
Look at whether there are dots together with the actual high-low range.
Caution
Do not predict expansion of price movement from the number of dots alone.

No mark on the latest bar

Indicator
By default, the forming bar is excluded.
Cross-check
Check Closed Bars Only.
Check
After the next bar starts, look at the display for the closed bar.
Caution
If false, marks on the forming bar appear and disappear.
5

Steps for checking the display

1

Check the unit

Set the range values after checking the symbol's display digits and point.

2

Distinguish the 2 kinds

The dots above and below and the gold mark do not need to appear together.

3

Compare setting differences

Change the maximums on the same symbol and timeframe, and check the difference in the target bars.

6

Installation and checking the package contents

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

Maximum bar range

Name shown on screen
Max Bar Range (points)
Input name
InpMaxRange
Default
250
Allowed range
1〜100000 points
Description
Maximum high−low of the latest bar for the dots above and below. The range is rounded to points for comparison, and a value exactly at the maximum is included.

Maximum ATR difference

Name shown on screen
Max ATR Difference (points)
Input name
InpMaxATRDiff
Default
250
Allowed range
1〜100000 points
Description
Maximum difference between the largest and smallest of ATR 5, 7, 9 and 11. Used in the gold mark condition. This difference is compared without rounding to an integer.

Closed bars only

Name shown on screen
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Allowed range
true / false
Description
true does not draw the 3 kinds of marks on the latest forming bar. false also judges the forming bar, and the display changes partway through.

Spacing of dots above and below

Name shown on screen
Dot Gap (pixels)
Input name
InpArrowGap
Default
8
Allowed range
0〜100 pixels
Description
Distance on screen by which the orange-red dots above and below are placed away from the high and low. It is not a price distance. It does not change the position of the gold mark.
8

Usage specifications

Meaning of points

A point is a price unit based on MT5's display digits. The default of 250 points corresponds to 25 pips for 5-digit FX, but it does not have the same meaning for other digit counts, gold, indices and so on. Check both limits to suit the symbol and timeframe.

Starting position

The dots above and below judge the condition from the 3rd bar, and the gold marks from the 20th bar. Even when the number of history bars is met, they do not appear unless the conditions are met.

Forming bar

Values and drawing change with the latest bar's high, low and close. They are also recalculated when history is added or corrected or settings change.

Conditions for comparison

Compare with the same symbol, timeframe, period and loaded history. The display is not a forecast of future prices.

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

Too many or too few dots

Bars with the same range are also included. Check the symbol's point, the timeframe, and the maximum range and maximum ATR difference.

Dots are far from the candlesticks

Dot Gap is in pixels. It is not a setting that keeps the price distance constant when the zoom changes.

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

Detailed conditions for the dots above and below

With r0, r1 and r2 as the high−low of 3 bars from newest (rounded to points), r0≤MaxRange, 5r2≤9r1, r0≤r1≤r2. In addition, when for each pair of adjacent bars the overshoot of the high upward and the overshoot of the low downward, rounded to points, are each 1 or less, dots are placed at the latest high and low.

Detailed conditions for the gold mark

With A_n as the n-bar simple average of the true range, mx=max(A5,A7,A9,A11), mn=min(same), M7=the latest 14-bar average of A7. When 2r0≤3r1, mx≤M7, (mx−mn)/point≤MaxATRDiff, mn≤A3≤M7, A3≥A3 of the previous bar, and A3<A11 are all satisfied, a mark is placed at the midpoint of the high and low.

Boundaries and recalculation

Near exact price or average thresholds, floating-point rounding may affect the judgment. Because recalculation also occurs on history corrections or additions and input changes, there is no guarantee that marks never change.