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

Combines the indicator values calculated from the open, high, low and close into 1 candle. This is not a price candle; it represents the spread and range of the indicator values.

Indicator name: Oscillator CandlesMetaTrader 5Separate window

Read indicator values, not price, in candle form

4 values → indicator candleGreen, red and gray compare the indicator's open and close
Schematic diagram of how to read it. This is not an actual terminal screen.
1

Choose the indicatorChoose 1 type from RSI, CCI and High-Low Location.

2

How the open is madeOpen Price is the indicator value of the open series; Previous Close is the indicator value of the previous bar's close series.

3

Color and wicksThe color comes from the indicator candle's open and close; the wicks are the maximum and minimum of the component values.

Not a price candleNo average line by defaultNo notifications
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
Indicator to calculate
InpOscillator
RSI → High-Low Location
Candle open
InpOpenMode
Open Price → Previous Close
Average period
InpAveragePeriod
0 → 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 settingsInpOscillator = RSI / InpOpenMode = Open Price / InpAveragePeriod = 0
Oscillator Candles default settings
RSI 14, Open Price. The RSI of 4 price series combined into candles.
View the screen in detail at full size
Oscillator Candles default settings (actual size)
Settings change exampleInpOscillator = High-Low Location / InpOpenMode = Previous Close / InpAveragePeriod = 3
Oscillator Candles settings change example
Changed to High-Low Location and Previous Close, with an average period of 3 added. Wicks at the top and bottom edges can overlap the window frame, and values near 100 can overlap the heading.
View the screen in detail at full size
Oscillator Candles settings change example (actual size)

Published example: M1. This is an example to explain the display. The example with changed settings is not a set of recommended values. Details can be checked in the actual-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 displayed range.

2

How to read it in 30 seconds

Look at the shape

The indicator value of the high series does not necessarily become the candle's high as is.

Read the color

Green if the indicator close is higher than the indicator open, red if lower, and gray if equal.

Add an average

Setting Average Period to 1 or more draws the simple average of the indicator close.

3

What it measures

Applies the same calculation method to 4 price series and arranges the results in candle form.

Open Price

Calculates the indicator on each of the open, high, low and close series. The candle's open and close use the 2 corresponding values, and the top and bottom use the maximum and minimum of the 4 values.

Previous Close

Replaces only the open with the indicator value of the previous bar's close. The top and bottom are the maximum and minimum of the high series, the low series, the replaced open and the close.

High-Low Location

Expresses the position within the range of the highest high and lowest low of the latest Period bars on a scale of 0 to 100. The 4 series use a common range, and if the range is 0, each series' value is 50.

CCI

Calculated by dividing each price series' own deviation from its average by the mean absolute deviation. If all prices in the period of that series are the same, it is 0.

4

Situations for reading the display

The color differs from the price

Indicator
Even when the price candle is downward, the indicator can be green.
Cross-check
Compare the indicator-side open and close.
Check
This is because RSI and CCI change differently for each series.
Caution
With High-Low Location and Open Price, it matches the price direction.

Reading gray candles

Indicator
The indicator's open and close are the same.
Cross-check
Check the Candle Open setting.
Check
With RSI and Previous Close, a bar whose price close is the same as the previous one is also gray.
Caution
The price open being equal to the close does not by itself make the candle gray.

Long wicks

Indicator
Values of the high and low series are also included in the candle.
Cross-check
Read the body and wick values separately.
Check
Even if the high does not change, the RSI of that series can stay near its earlier value and the wick can extend.
Caution
Do not read the wick length as the size of the price change.
5

Steps for checking the display

1

Choose the calculation type

Check Oscillator. The level lines and the vertical axis differ by type.

2

Choose how the open is made

Check Candle Open and keep in mind what the color is compared against.

3

Read the 4 values

The window heading shows open, high, low and close in that order. When the average is drawn, it appears 5th.

4

Check the average and the actual size

The average line is the simple average of the close series. Check thin wicks and gray shapes in the actual-size image.

6

Installation and checking the package contents

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

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.

Indicator to calculate

English item name
Oscillator
Input name
InpOscillator
Default
RSI
Allowed range
RSI / CCI / High-Low Location
Description
Choose the calculation type. It does not guarantee equal values with standard indicators.

Calculation period

English item name
Period
Input name
InpPeriod
Default
14
Allowed range
2〜1000
Description
The number of bars used to calculate each series.

Candle open

English item name
Candle Open
Input name
InpOpenMode
Default
Open Price
Allowed range
Open Price / Previous Close
Description
Choose the value of the current open series or the value of the previous bar's close series.

Average period

English item name
Average Period (0 = off)
Input name
InpAveragePeriod
Default
0
Allowed range
0〜1000
Description
0 hides it. 1 or more gives the simple average of the candle close. With 1, it is the same as the close value.
8

Usage specifications

Number of bars before display starts

RSI starts from bar Period+1, or bar Period+2 with Previous Close. CCI and High-Low Location start from bar Period, or bar Period+1 with Previous Close. The average starts Average Period−1 bars after that start.

Color conditions

Green means indicator close > indicator open, red the reverse, and gray equal. With RSI and Previous Close, bars whose close price is the same as the previous one are also gray. The color is the result of comparing indicator values, not a forecast of price direction.

Changes while forming

Values, colors and the average change while the bar is forming. The open series of RSI and CCI is fixed at the start of the bar, but the open series of High-Low Location changes as the range widens. The open for Previous Close is the previous closed value.

Vertical axis and levels

When newly attached, RSI is 0 to 100 with levels 70/50/30, High-Low Location is 0 to 100 with 80/50/20, and CCI is automatic with +100/0/−100. Read the levels as scale marks.

Start of the history

For RSI, values and colors on the older side may change if the first loaded bar changes. CCI and High-Low Location are determined by the values of windows that have the required period.

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

Displays, marks and notifications are records of calculation results. They do not direct trading decisions and do not guarantee future price movements.

9

Troubleshooting and usage notes

Nothing is displayed

Check the number of bars required for the chosen type and Candle Open. If out of range, it does not calculate, and the reason appears in English in the Experts tab.

The top and bottom are hard to see

Wicks at 0 and 100 can overlap the window frame, and candles near 100 can overlap the heading text. Check at actual size or by changing the window height.

Values differ from standard indicators

A flat window for CCI is 0, and for RSI, when the average decline is 0, it is 100 if there are gains and 50 if both are 0. High-Low Location is also 50 when the range is 0. Uniform equality with the standard is not assumed.

Sections where the value does not change

CCI becomes 0 only after the latest Period bars of that series are all the same. RSI usually stays near its earlier value, but with extremely long periods of no change it can be affected by numerical calculation.

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

RSI and the 4 candle values

Each of the 4 price series has its own averages of gains and losses. Initially they are the average of Period changes, and after that the previous average is carried over. The RSI of the high series is not always the maximum.

Range 0 in High-Low Location

Each series' value is 50. However, with Previous Close the open is the previous bar's value, so the whole candle for that bar does not necessarily become a cross at 50.

Average and initialization

The average is the simple average of the candle close series. It starts once Average Period drawable candles are available. Initial blanks are not averaged as 0.

Distinguishing from standard indicators

There are product-specific rules for an RSI average decline of 0, a flat window in CCI and range 0 in High-Low Location. With the standard RSI on close, some sections give different values, but we do not generalize the same difference to other prices. CCI can also differ due to rounding.