MT5 indicators← Price Line Side Bars 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 Line Side Bars

Chooses one of five rules for the relation to a reference line or smoothed series, and classifies candlesticks as blue, red or silver. The lines used for the comparison are not drawn.

Coloring by position relative to a reference lineMetaTrader 5Main chartSite edition, no account authentication

Coloring by position relative to a reference line

STEP 1Choose a reference
STEP 2Compare position / series
STEP 3Color the candles
1

Blue / redThe upper-side condition of each mode is blue, and the lower-side condition is red.

2

SilverCases such as equal values, or a bar straddling the reference, are neutral.

3

Hull is a different comparisonHull Trend does not compare whether the price is above or below a line; it compares Hull's intermediate series with its smoothed series.

The figure explains the processDisplay only, no order functionsCreated by Trilogy
1

Checking the display

Settings change example: Mode: Kijun Line → Hull Trend

Everything not listed stays at the default. On a PC the order is 'Default, Change example' from left, and on a smartphone from top. The change example is not a set of recommended values.

Default settings
Price Line Side Bars default screen
Defaults: Kijun Line period 34. Colors continue based on the position of the close and the high-low midpoint.
Settings change example
Price Line Side Bars change example
Changed to Hull Trend. With period 20, the comparison changes to the intermediate series of the close versus its smoothed series.

The published images are display examples from before the brand display was added. The product has display settings for the brand text and QR code, but the screen with the brand display has not yet been verified. The timeframe shown in the image does not indicate how often this appears on that timeframe in practice. Marks at the edges may be cut off outside the screen.

Check all inputs of the change example

Mode = Hull Trend、Kijun Period (1 to 500) = 34、Hull Period (4 to 500) = 20、Hull Price = Close、Band EMA Period (1 to 500) = 6、Candle EMA Period (1 to 500) = 50、Show Neutral Candles = true、Closed Bars Only = true。

The 4 brand display items are not included in the capture.

2

30-second guide

Blue / red

The upper-side condition of each mode is blue, and the lower-side condition is red.

Silver

Cases such as equal values, or a bar straddling the reference, are neutral.

Hull is a different comparison

Hull Trend does not compare whether the price is above or below a line; it compares Hull's intermediate series with its smoothed series.

3

What it measures

Chooses one of five rules for the relation to a reference line or smoothed series, and classifies candlesticks as blue, red or silver. The lines used for the comparison are not drawn.

Kijun Line

Blue if the close is above the midpoint of the highest high and lowest low of the recent period, red if below.

Hull Trend

raw = 2×LWMA(integer part of period/2) − LWMA(period). Compares raw with raw smoothed by an LWMA over the integer part of √period.

EMA Band Thirds / Candle vs EMA

The former divides the space between the high EMA and the low EMA into thirds: blue if the close is in the upper 1/3, red if in the lower 1/3. The latter classifies by whether the whole bar is above or below the close EMA.

Previous Day Midpoint

Compares the close with the midpoint of the previous day's high and low, with days divided by chart time. The first loaded day and the day after it are empty; from then on, the complete range of the previous day is used.

4

Reading scenarios

When you want to classify the display

The upper-side condition of each mode is blue, and the lower-side condition is red.

When you want to switch conditions and compare

Use the same symbol, timeframe and history, and first change only one input. Use separate charts for comparison, and check the Mode and vertical axis of each screen.

The display differs from what you expected

A bar can be red even when it is bullish. The color shows the relation to the selected reference, not whether the bar is bullish or bearish.

This display alone does not decide whether to trade. The colors, lines and arrows represent the calculation conditions in this manual; they are not a forecast of future price movement or an instruction to buy or sell.

5

Check procedure

1

Start from the defaults

At first, do not change the inputs; cross-check the colors and display location against the default screen above.

2

Distinguish the timing of bars

With Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.

3

Change only the target condition

Mode: Kijun Line → Hull Trend. The comparison images may include more than one change.

4

Check values and units

The angle of lines and visible differences change with the screen zoom. Check the settings together with the price scale and the vertical axis of the separate window.

6

Installation and package contents

ZIP contentsLocation / role
TRI_Price_Line_Side_Bars.ex5MQL5/Indicators in MT5. Only 1 item: the indicator itself.

The manual opens on the product's own page on the site. The ZIP does not include the manual or source code. It is for MT5 only and cannot be used in MT4. The site edition has no account authentication or license file settings.

1

Extract the ZIP

Prepare the extracted EX5. Do not place it while it is still compressed.

2

To the MT5 data folder

Place the EX5 in MQL5/Indicators via 'File → Open Data Folder'.

3

Apply to a chart

Refresh the Navigator or restart the terminal, and apply it to the target chart. DLL permission is not required.

4

Change / remove

Change the settings or remove it from the chart's 'Indicators List'. Enabling automated trading is not required.

7

Settings

There are 12 items in total: 8 product-specific items and 4 brand display items. English names are based on the input definitions. Enter numbers in half-width characters. Keep inputs that the mode does not use within range as well.

Mode

English item name
Mode
Input name
InpMode
Default
Kijun Line
Options / range
Kijun Line / Hull Trend / EMA Band Thirds / Candle vs EMA / Previous Day Midpoint
Meaning and notes
One of the five references is used.

Kijun period

English item name
Kijun Period (1 to 500)
Input name
InpKijunPeriod
Default
34
Options / range
1–500 bars
Meaning and notes
High/low window.

Hull period

English item name
Hull Period (4 to 500)
Input name
InpHullPeriod
Default
20
Options / range
4–500 bars
Meaning and notes
Length used for the intermediate series and its smoothing.

Hull price

English item name
Hull Price
Input name
InpHullPrice
Default
Close
Options / range
Close / Open
Meaning and notes
Affects Hull Trend only.

Band EMA period

English item name
Band EMA Period (1 to 500)
Input name
InpThirdsPeriod
Default
6
Options / range
1–500 bars
Meaning and notes
The EMA of the high and the EMA of the low.

Period of the EMA compared with the bar

English item name
Candle EMA Period (1 to 500)
Input name
InpBarEmaPeriod
Default
50
Options / range
1–500 bars
Meaning and notes
The close EMA of Candle vs EMA.

Neutral bars

English item name
Show Neutral Candles
Input name
InpShowNeutral
Default
true
Options / range
true / false
Meaning and notes
With false, the neutral overlay is skipped.

Show closed bars only

English item name
Closed Bars Only
Input name
InpClosedBarsOnly
Default
true
Options / range
true / false
Meaning and notes
With true, the forming bar is left empty.

Brand / QR display

English item name
Show Trilogy brand and QR code
Input name
InpTriBrandShow
Default
true
Options / range
true / false
Meaning and notes
This is a display-only setting. It does not change calculation results. If another product on the same chart has the display enabled, the shared display remains.

Brand corner

English item name
Brand position (chart corner)
Input name
InpTriBrandCorner
Default
Bottom left
Options / range
Top left / Bottom left / Bottom right / Top right
Meaning and notes
The chart corner where the brand text and QR code are placed.

Horizontal margin

English item name
Brand horizontal offset (pixels)
Input name
InpTriBrandX
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Horizontal distance from the selected corner. Negative values are corrected to 0, and values above 4000 to 4000.

Vertical margin

English item name
Brand vertical offset (pixels)
Input name
InpTriBrandY
Default
10
Options / range
Corrected to 0–4000 px
Meaning and notes
Vertical distance from the selected corner. If the screen is narrow, adjust the position or the value.
8

Usage specifications

Forming bar

With Closed Bars Only=true, the latest forming bar is blank. If set to false, the shape, color and marks of that bar change until it closes.

History and recalculation

Settings changes, additions to or corrections of the history, and reloading redo the calculation. This is not a guarantee that "closed bars never change under any circumstances".

Brand display

A common display is shared among products of the same medium on the same chart. If several are loaded, the settings of the registration that enabled the display first are used, so changing one may not change the appearance.

For on-screen display only

This product does not place orders or trade automatically. It does not guarantee accuracy as a trading signal or profits.

9

Troubleshooting

Points that are easy to get confused about in this product

A bar can be red even when it is bullish. The color shows the relation to the selected reference, not whether the bar is bullish or bearish.

No display

Check whether the required number of history bars is available, whether the forming bar is hidden, and the input ranges and mode. Also check the terminal's Experts tab for input errors.

The display does not update

Check the price feed and the connection status. Changing settings for an unused mode does not change the display.

Looks different from the image

The appearance changes with the symbol, history, timeframe, inputs and scale. Even when compared with the full-size image, the marks are not necessarily at the same positions or of the same count.

10

Specification details

Specification note 1

The reference lines are used only in the calculation. This product has no switch to display MA or band lines.

Specification note 2

Days are divided by chart time. Holidays, short days and missing history change the previous day's high and low.

Verified scope

The published images and values were checked with the product before the brand display was added. The screen display of the product with the brand display has not yet been verified. Whether the values match other indicators with the same name, the Data Window display, and behavior with long histories or with symbols that have different price digits have not been verified.

Products with a price selection

Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. The unit of periods is the number of chart bars.