Look at the shape
The indicator value of the high series does not necessarily become the candle's high as is.
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.
Choose the indicatorChoose 1 type from RSI, CCI and High-Low Location.
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.
Color and wicksThe color comes from the indicator candle's open and close; the wicks are the maximum and minimum of the component values.
Compares the default settings and a settings change example on a screen with only this product applied.
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.
The indicator value of the high series does not necessarily become the candle's high as is.
Green if the indicator close is higher than the indicator open, red if lower, and gray if equal.
Setting Average Period to 1 or more draws the simple average of the indicator close.
Applies the same calculation method to 4 price series and arranges the results in candle form.
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.
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.
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.
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.
Check Oscillator. The level lines and the vertical axis differ by type.
Check Candle Open and keep in mind what the color is compared against.
The window heading shows open, high, low and close in that order. When the average is drawn, it appears 5th.
The average line is the simple average of the close series. Check thin wicks and gray shapes in the actual-size image.
| Included file | Purpose / location |
|---|---|
| TRI_Oscillator_Candles.ex5 | The 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.
Extract the ex5 main file rather than leaving it in the compressed file.
In MT5, open MQL5/Indicators from 'File → Open Data Folder' and place the included ex5 there.
Refresh the Navigator or restart MT5, and apply it to the target chart. Place only 1 instance of the same product on 1 chart.
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.
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.
InpOscillatorInpPeriodInpOpenModeInpAveragePeriodRSI 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.
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.
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.
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.
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.
This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.
Displays, marks and notifications are records of calculation results. They do not direct trading decisions and do not guarantee future price movements.
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.
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.
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.
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.
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.
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.
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.
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.