MT5 indicators← Gann HiLo Plus 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

Gann HiLo Plus

Uses the averages of highs and lows as boundaries and shows the average line or dots according to the direction state.

Indicator name: Gann HiLo PlusMetaTrader 5On the price chart

Average up to the previous bar → compared with the close → the average on the opposite side is shown

1Blue line and direction dots2Close used for comparison3Gray dotted line
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Blue line and direction dotsDraws the average of lows in the upward state and the average of highs in the downward state.

2

Close used for comparisonThe close of the previous bar is the default. It can also be switched to the close of the current bar.

3

Gray dotted lineOptionally shows the other average. It is not a fill.

Display on the chartCompare the default with the change exampleNo trading or order functions
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
Number of bars for the average / Period
InpPeriod
10 → 20
Close that sets the direction / Close that turns the trend
InpClose
Close of the previous bar → Close of the current bar
Drawing style / Draw As
InpDrawAs
Line → Dots
Show the other average / Show the Other Average
InpShowOther
false → true

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 settingsInpPeriod = 10 / InpClose = Close of the previous bar / InpDrawAs = Line / InpShowOther = false
Gann HiLo Plus default settings
Period = 10, Close of the previous bar, Draw As = Line, Show the Other Average = false.
View the screen in detail at full size
Gann HiLo Plus default settings (actual size)
Settings change exampleInpPeriod = 20 / InpClose = Close of the current bar / InpDrawAs = Dots / InpShowOther = true
Gann HiLo Plus settings change example
Period = 20, Close of the current bar, Draw As = Dots, Show the Other Average = true. Shows green and orange-red dots and a gray dotted line.
View the screen in detail at full size
Gann HiLo Plus 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 line and direction dots

Draws the average of lows in the upward state and the average of highs in the downward state.

Close used for comparison

The close of the previous bar is the default. It can also be switched to the close of the current bar.

Gray dotted line

Optionally shows the other average. It is not a fill.

3

What it measures

Uses the averages of highs and lows as boundaries and shows the average line or dots according to the direction state.

Reference average

Takes the simple average of highs and of lows over Period bars each. Each bar always uses the average up to 1 bar before it.

Holding the direction

If the specified close is above the average of highs, the state is upward; if below the average of lows, it is downward. Between the averages or equal to a boundary, the previous state is kept.

Drawing position

The average of lows in the upward state and the average of highs in the downward state. Whether the line rises or falls is separate from the direction state. There is also no guarantee that the line always stays away outside the candlesticks.

Current and previous close

With Close of the previous bar, the inputs used for that bar's display are all available when the bar starts. With Close of the current bar, the direction and the side drawn can change during the bar because of the forming close.

4

Situations for reading the display

Reading the direction state

Indicator
Blue line and direction dots
Cross-check
Look at the display position, the direction dots and the price movement separately.
Check
Compare before and after with the same settings.
Caution
This is not an explanation for using color switches or line crosses as trading signals.

Compare by changing settings

Indicator
Close used for comparison
Cross-check
Cross-check the input fields with the list of change examples.
Check
Check what was changed, 1 item at a time.
Caution
The change example is not a recommended setting, and the effect of changing several conditions is not attributed to a single cause.
5

Steps for checking the display

1

View the default display

First, with the default settings, check the meaning of the lines and dots and the initial blank area.

2

Check the inputs

Check the step method, the number of bars for the average, the close used and the drawing style in the Inputs tab.

3

Check the changes separately

Align the settings and timeframe, and observe closed bars and the forming bar separately.

6

Installation and checking the package contents

Included filePurpose / location
TRI_Gann_HiLo_Plus.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. When comparing different settings, using separate charts makes checking easier.

4

Check the settings and display

First check with the default values. Changes and removal are done from the chart's 'Indicators List'.

Using this product does not require allowing DLLs. When removed, this product's drawings are cleared.

7

Settings

There are 4 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.

Number of bars for the average

English item name
Period
Input name
InpPeriod
Default
10
Allowed range
1 to 1000
Description
The number of bars used for the simple averages of highs and lows. Each bar refers to the average up to 1 bar before it.

Close that sets the direction

English item name
Close that turns the trend
Input name
InpClose
Default
Close of the previous bar
Allowed range
Close of the current bar / Close of the previous bar
Description
Chooses the current bar or the previous bar. In both cases, the average is referenced at the previous bar.

Drawing style

English item name
Draw As
Input name
InpDrawAs
Default
Line
Allowed range
Line / Dots / Line and Dots
Description
A blue line, dots for each direction, or both. The calculation and direction judgment do not change.

Show the other average

English item name
Show the Other Average
Input name
InpShowOther
Default
false
Allowed range
true / false
Description
Draws the average of highs in the upward state and the average of lows in the downward state as a gray dotted line.
8

Usage specifications

Start

No values appear on the oldest Period bars. From the next bar on, nothing is shown until the close crosses either the upper or the lower average and the first direction is set.

When using the previous close

With normal price updates, the value does not change during the latest bar. However, this does not mean it stays unchanged through recalculation caused by additions or corrections to past data or by settings changes.

The other average

You can compare the gap between the 2 averages. Other Average is not a fixed name for the usual high average / low average; the side that is drawn switches with the direction.

Timeframe and functions

It calculates on the chart's timeframe. It does not specify a higher timeframe, send notifications, place orders, trade automatically or modify stop orders.

For on-screen display only

The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.

9

Troubleshooting and usage notes

The start is blank even though there is history

In addition to preparing Period bars, it waits until the direction is first decided. If the close stays between the averages, the line may not appear yet.

Dots or the gray line are not visible

Check Draw As and Show the Other Average. The default is the blue line only.

Positions of the line and the price

The averages are found from past bars. Even if the positions of the line and the candlesticks swap when the price moves sharply, that alone does not show a calculation error.

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

hp = SMA of highs over Period bars up to the previous bar, lp = the same SMA of lows. If the selected close c is greater than hp, the direction is +1; if smaller than lp, the direction is −1; otherwise the previous direction is kept. The initial direction is 0.

Period 1 and the previous close

With normal OHLC data, the previous close is within the high-low range of the same bar. Combining Period = 1 with Close of the previous bar does not decide the first direction, and nothing is displayed. This is not a lack of history but a calculation property of this combination.

Output

With direction +1, Activator/Rising = lp and Other Average = hp. With direction −1, Activator/Falling = hp and Other Average = lp. With direction 0, there are no values. Series hidden by the drawing style still keep their internal calculated values.

Settings and images

Line and Dots can also be selected. The published images are an example with the default line only and an example with dots plus the other average. They do not show a result checked on a screen displaying both lines and dots.

Scope not yet verified

The window name and the actual display in the Data Window, and how it looks during long runs on real symbols or with long history, are not yet verified. Input names and calculation conditions are described based on the implementation.