MT5 indicators← Clear Swing Histogram 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

Clear Swing Histogram

Separates the up and down states by color and shows, as bars in a separate window, the distance from the switching boundary to the high or low.

Indicator name: Clear Swing HistogramMetaTrader 5Separate window

Both green and red are 0 or above. Read the direction from the bar color

Red bars are also drawn above 0Up distanceDown distance0It is not an oscillator that shows a trading direction by its sign
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Green barThe price difference of the high in the up state minus the highest of the lows.

2

Red barThe price difference of the lowest of the highs in the down state minus that bar's low.

3

Small barA state in which the distance to the boundary is small. Reaching 0 alone does not necessarily mean a reversal.

No calculation inputsPrice difference, non-negativeDirection shown by color
1

Display in MT5 (default settings)

A screen with default settings and only this product loaded. There are no inputs for calculation conditions. The settings section below is for the brand display.

Default settings
Clear Swing Histogram default settings
Green is the up state, red the down state. Both draw the price difference as 0 or more. Calculation conditions are fixed, and there is no example of changed settings.
View the screen in detail at full size
Clear Swing Histogram default settings (full size)

Published example: M1. An example to explain the display. The published image is a screen from before the brand display was added. The calculation and drawing conditions are the same, and the packaged version has display settings for brand text and a QR code. Details can be checked in the full-size view. Also check the vertical axis and units of the separate window. Except for products with a fixed scale, the scale changes with the settings and the display range.

2

How to read it in 30 seconds

Look at the color

Up is green and down is red. Even red bars are not negative bars.

Look at the height

A tall bar shows that the price is far from the boundary of that state. It is not the duration of the state.

Distinguish 0 from a reversal

If the value equals the boundary, the distance can be 0. The color switches when the boundary is strictly crossed.

3

What it measures

Uses the same state rules as Clear Swing Lines. What it measures is the price difference to the boundary, not a percentage or a number of points.

Up distance

That bar's high − the highest of the lows held in the up state.

Down distance

The lowest of the highs held in the down state − that bar's low.

Reversal and restart

When the previous boundary is crossed, the state switches and the boundary restarts from that bar's value. It does not show negative bars.

Range where comparison is possible

Because these are price differences, do not compare bar heights of different symbols, price levels or timeframes as strength on the same scale.

4

Situations for reading the display

Green bars shrink

Indicator
The difference between the high and the up-state boundary has become smaller.
Cross-check
Look at the movement of both the high and the boundary.
Check
Distinguish a shrinking distance from a color reversal.
Caution
It does not necessarily change to down.

Red bars grow

Indicator
The difference between the down-state boundary and the low has widened.
Cross-check
Compare with the price low.
Check
Read it as the distance in the down state.
Caution
It does not show the size of a future decline.

Bars where no bar is visible

Indicator
If the distance is 0, the bar height is also 0.
Cross-check
Look at the bars before and after and the price range.
Check
Even if no color seems to be shown, the calculation has not necessarily stopped.
Caution
0 is not a neutral trading judgment.

Height differs when the screen changes

Indicator
The scale of the separate window may have changed.
Cross-check
Check the numbers on the vertical axis.
Check
Do not compare by pixel height alone.
Caution
The price difference and the height on screen are different things.
5

Steps for checking the display

1

Look at the default screen

Check the 0 line and the green and red bars in the separate window.

2

Check the target bar

Start reading from the color and distance of closed bars.

3

Compare with the price

Match up with the high and down with the low.

4

Compare conditions separately

The calculation conditions are fixed. When comparing across timeframes, also check the scale of the price differences.

6

Installation and checking the package contents

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

Brand and QR

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Allowed range
true / false
Description
Switches the display only. The calculation conditions do not change.

Brand position

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Allowed range
Top left / Bottom left / Bottom right / Top right
Description
The default is bottom left.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Allowed range
Integer (pixels)
Description
Default 10. Negative numbers are treated as 0, and values above 4000 as 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Allowed range
Integer (pixels)
Description
Default 10. Negative numbers are treated as 0, and values above 4000 as 4000.
8

Usage specifications

Current bar and history

The high, low and close of the current bar move. Because the calculation is redone when history is added or corrected or settings are changed, past display may also change.

Does not place orders

This product is for display. It has no function to automatically execute trades, exits, stop orders or notifications.

Can be used on its own

The state calculation is inside this product. There is no need to install Clear Swing Lines separately.

Initial state

Starts by treating the oldest bar as a down state. A match is not guaranteed when the loaded history differs.

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

Red is above 0

This is the correct display. The down direction is shown by the red color, and the bar value is a non-negative distance.

Want to change the period

There are no period or sensitivity inputs. The 4 items in the settings are for the brand display.

Bars are small

Check the vertical axis. A price difference of 0 or small values are hard to see on screen.

Color changes during the bar

If the high or low of the latest bar changes, the state is recalculated. Distinguish it from closed bars.

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

State rules

In the up state, it tracks the highest of the lows and switches to down when the high falls below it. In the down state, it tracks the lowest of the highs and switches to up when the low rises above it.

Displayed values

A value is output only for one of up and down. The other side is an empty value.

Unit

The vertical axis is the price difference. No ratio, percentage or point conversion is applied.