0, 50, 100%
The low, midpoint and high of the preceding range. A scale for reading the position of the lines.
Maps several oscillators onto a range built from the preceding highs and lows and displays them. Read the position within the range, not the price of the line.
The range uses only preceding barsUses the highs and lows of Box Bars bars. The current bar is not included in building the range.
Watch the units of the linesThe numbers of the displayed lines are values converted to price. The original oscillator values are not displayed directly.
Do not read by up and down aloneBecause the range also moves with a new bar, the line can move up even when the original value falls.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: M1. This is an example to explain the display. The example of changed settings is not a recommended value. Details can be checked in the full-size view. Also check the price scale of the main chart and the position of the candlesticks.
The low, midpoint and high of the preceding range. A scale for reading the position of the lines.
24, 38, 50, 62 and 76% are scale marks for the indicator's position, not price targets.
While the bar is forming, the range is fixed and the lines update. On a new bar, the range is also rebuilt.
Even though they are drawn on the same chart as the current price, the lines represent a different calculation.
Builds the midpoint and width from the highest high and lowest low of the preceding Box Bars bars. With the default 49 bars, the levels and the 3 default lines are drawn from the 50th bar.
A height of 62% corresponds to a value of 62 for each. The calculation window for the position within high-low is a separate period that includes the current bar. MFI uses tick volume.
50% is CCI 0. 62% is 8 times CCI Period, 76% about 17.3 times and 100% about 33.3 times. With the default 14, these are about 112, 243 and 467. ±100 does not coincide with the level lines.
Blue is RSI, teal is CCI, purple is the position within high-low, the orange dashed line is its average and gold is MFI. Silver is the levels, with only 50% as a solid line. The colors distinguish the line types.
First check the 3 default lines and the levels. When it gets crowded, turn off the lines you do not need with the inputs.
Read which levels the line is between. For CCI, the correspondence of values changes with the period.
The example on the right changes several items. Check all the differing settings before comparing.
Covers new closed bars after notifications are turned ON. Read notifications as records of the calculation.
| Included file | Purpose / location |
|---|---|
| TRI_Oscillators_On_Price.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 16 inputs. Change them on the Inputs tab of the properties window. The English display names are shown together with the input names in the code.
InpBoxBarsInpShowRSIInpRSIPeriodInpRSIPriceInpShowCCIInpCCIPeriodInpCCIPriceInpShowLocationInpLocationPeriodInpLocationPriceInpLocationSlowingInpLocationAverageInpShowMFIInpMFIPeriodInpShowLevelsInpAlertCrossThe lines and the 24 to 76% levels are not support/resistance or price targets. 24, 38, 62 and 76% also differ from 23.6, 38.2, 61.8 and 76.4%.
No separate window header appears. The line values handled in drawing buffers, such as those for RSI and CCI, and in the Data Window are values converted to price, not the original indicator values.
It evaluates the drawn RSI, CCI, position within the high-low range and MFI against the 24, 38, 50, 62 and 76% levels. The average, 0% and 100% are excluded. Notification evaluation continues even if the levels are hidden.
The latest closed bar is evaluated when the next bar updates. The first calculation only records. Even if several bars advance because of a disconnection or similar, intermediate bars are not notified retroactively.
While the value equals the level, the previous side is kept, and a notification is sent when it moves to the opposite side. Because of a range width of 0 or display rounding, a notification may be sent even if no crossing is visible on screen.
The RSI line uses a smoothing state carried over from the past, so if the start of the history changes, past values can also change.
The value of the latest bar changes while it is forming. Past values may also be recalculated when history is added or corrected, so this is not a guarantee of no repainting.
Inputs for unused lines and methods are also checked against the allowed range. Simply turning off the display does not cause invalid periods or similar values to be ignored.
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 required number of history bars and the inputs for the lines to show. With out-of-range inputs it does not start, and 1 line giving the reason in English appears in the Experts tab.
Open the actual-size view of the real screen and check the line colors and the vertical axis.
The latest bar is forming. If past prices or the start of history change, values after recalculation can also change.
The vertical axis of the price chart does not expand automatically to fit this product's lines. If lines or levels go outside the display range, adjust the chart's vertical axis to check them.
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.
Levels start at bar Box Bars+1. RSI and MFI start at bar max(Box Bars, each period)+1. CCI starts at bar max(Box Bars, period−1)+1. The position within high-low starts at bar max(Box Bars, period+Slowing−2)+1. The average starts at bar max(Box Bars, period+Slowing+Average−3)+1.
With the range midpoint C and width R, RSI and MFI are C+(value−50)R/100, the position within high-low is C+(ratio−0.5)R, and CCI is C+CCI×(0.015/period)R. The range is rebuilt on every bar. Apart from rounding, the lines stay within the range.
The position within high-low is 50% when the sum of the ranges over Slowing bars is 0. MFI is 100 when downside flow is 0. When the average decline is 0, RSI is 100 if there are gains and 50 if both are 0, which may differ from the MT5 standard. Including CCI, we do not guarantee the same values as the standard.
Oscillators On Price: [line name] crossed above the [level] level ([symbol] [timeframe], [date and time]). For the downward direction, crossed below. If there are several, notifications are sent in line order and in ascending order of level. It uses the terminal's Alert and is also recorded in the Experts tab. There is no function for sending email or push notifications.