MT5 indicators← Oscillator Zone 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

Oscillator Zone Bars

Selects one condition from five (%R, CCI, Stochastic, MACD and bands) and overlays the candlesticks in blue for the upper side, red for the lower side and silver for neutral.

Classifying candles by indicator levelMetaTrader 5Main chartSite edition, no account authentication

Classifying candles by indicator level

STEP 1Choose one mode
STEP 2Compare with the levels
STEP 3Bars to blue, red or silver
1

Upper / lower sideThe upper-side condition of the selected mode is shown in blue and the lower-side condition in red.

2

NeutralBars equal to a threshold, or neither above nor below, are silver. Neutral alone can also be hidden.

3

Outside the bandOnly Bollinger Zone looks at whether the whole bar, including wicks, is outside the band, not the close.

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

Checking the display

Settings change example: Mode: Williams %R Zone → CCI Level

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
Oscillator Zone Bars default screen
Defaults: Williams %R Zone, period 9, 30% from the edges. The upper and lower conditions and neutral are color-coded.
Settings change example
Oscillator Zone Bars change example
Changed to CCI Level. The condition becomes period 14 and ±100, and the silver sections also change.

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 = CCI Level、%R Zone Period (2 to 500) = 9、%R Zone Percent of Range (1 to 49) = 30、CCI Period (2 to 500) = 14、CCI Level (above 0 to 1000) = 100、Stochastic %K Period (1 to 500) = 30、Stochastic Slowing (1 to 500) = 10、Stochastic Upper Level (50 to 100) = 80、Stochastic Lower Level (0 to 50) = 20、MACD Fast EMA (1 to 500) = 12、MACD Slow EMA (2 to 500, above Fast) = 26、Bands Period (2 to 500) = 24、Bands Deviation (0.1 to 10) = 1、Show Neutral Candles = true、Closed Bars Only = true。

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

2

30-second guide

Upper / lower side

The upper-side condition of the selected mode is shown in blue and the lower-side condition in red.

Neutral

Bars equal to a threshold, or neither above nor below, are silver. Neutral alone can also be hidden.

Outside the band

Only Bollinger Zone looks at whether the whole bar, including wicks, is outside the band, not the close.

3

What it measures

Selects one condition from five (%R, CCI, Stochastic, MACD and bands) and overlays the candlesticks in blue for the upper side, red for the lower side and silver for neutral.

Williams %R Zone

Uses the highest high − lowest low of the recent period as the width. Blue if the close is strictly within Zone% of the top, red if within the same percentage of the bottom. A width of 0 is neutral.

CCI / Stochastic

CCI uses the average of the close and the mean absolute deviation, with the condition of strictly exceeding ±Level. Stochastic forms a ratio by summing the numerator and the denominator separately over Slowing bars, and compares it with the upper and lower levels.

MACD Sign

Blue if close EMA Fast − Slow is positive, red if negative, and neutral if 0. It is not a crossover with the signal line.

Bollinger Zone

The band is the close SMA ± Deviation × population standard deviation. Blue only when the bar's low is above the upper band, and red only when the high is below the lower band. The band itself is not drawn.

4

Reading scenarios

When you want to classify the display

The upper-side condition of the selected mode is shown in blue and the lower-side condition in 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

If no color appears even though the close has broken through the band, check whether the whole bar, including wicks, is outside the band.

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: Williams %R Zone → CCI Level. 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_Oscillator_Zone_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 19 items in total: 15 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
Williams %R Zone
Options / range
Williams %R Zone / CCI Level / Stochastic Level / MACD Sign / Bollinger Zone
Meaning and notes
Only one of the five is used.

%R period

English item name
%R Zone Period (2 to 500)
Input name
InpWprPeriod
Default
9
Options / range
2–500 bars
Meaning and notes
Range in which the highest high and lowest low are found.

%R top and bottom percentage

English item name
%R Zone Percent of Range (1 to 49)
Input name
InpWprZone
Default
30
Options / range
1〜49%
Meaning and notes
Width from each end. The larger it is, the narrower the neutral zone.

CCI period

English item name
CCI Period (2 to 500)
Input name
InpCciPeriod
Default
14
Options / range
2–500 bars
Meaning and notes
Window for the close average and the mean absolute deviation.

CCI threshold

English item name
CCI Level (above 0 to 1000)
Input name
InpCciLevel
Default
100.0
Options / range
Greater than 0 to 1000
Meaning and notes
A level that is symmetric for positive and negative values.

Stochastic period

English item name
Stochastic %K Period (1 to 500)
Input name
InpStochK
Default
30
Options / range
1–500 bars
Meaning and notes
Window for the high and low of %K.

Stochastic smoothing

English item name
Stochastic Slowing (1 to 500)
Input name
InpStochSlowing
Default
10
Options / range
1–500 bars
Meaning and notes
Number of bars over which the numerator and the denominator are summed.

Stochastic upper level

English item name
Stochastic Upper Level (50 to 100)
Input name
InpStochHigh
Default
80.0
Options / range
50–100, greater than the lower level
Meaning and notes
Blue if strictly above.

Stochastic lower level

English item name
Stochastic Lower Level (0 to 50)
Input name
InpStochLow
Default
20.0
Options / range
0–50, less than the upper level
Meaning and notes
Red if strictly below.

MACD fast period

English item name
MACD Fast EMA (1 to 500)
Input name
InpMacdFast
Default
12
Options / range
1–500 bars, less than Slow
Meaning and notes
Fast side of the close EMA.

MACD slow period

English item name
MACD Slow EMA (2 to 500, above Fast)
Input name
InpMacdSlow
Default
26
Options / range
2–500 bars, greater than Fast
Meaning and notes
Slow side of the close EMA.

Band period

English item name
Bands Period (2 to 500)
Input name
InpBandsPeriod
Default
24
Options / range
2–500 bars
Meaning and notes
Window for the close SMA and the population standard deviation.

Band deviation multiplier

English item name
Bands Deviation (0.1 to 10)
Input name
InpBandsDeviation
Default
1.0
Options / range
0.1〜10
Meaning and notes
Width of the upper and lower bands.

Neutral bars

English item name
Show Neutral Candles
Input name
InpShowNeutral
Default
true
Options / range
true / false
Meaning and notes
With false, only 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 false, the color of the forming bar changes.

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

If no color appears even though the close has broken through the band, check whether the whole bar, including wicks, is outside the band.

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

Changing the mode changes the quantity compared and its unit. Blue does not represent the same strength in every mode.

Specification note 2

Keep the inputs of unselected modes within range as well. There is no display of lines, bands or the indicators in a separate window.

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.