Gray dashed line
The moving average of the selected price.
Overlays upper and lower lines derived from the average of price and the average of bar ranges.
CenterDetermined by MA Period, Method and Price.
WidthAverages either high − low or the true range, which includes the previous close.
MultiplierMultiplier applies to the width without moving the center.
Compares the default settings and a settings change example on a screen with only this product applied.
Example shown: 1-minute chart (M1). This is an example for explaining the display. The settings change example is not a recommended value. Details can be checked in the full-size view. Please also check the price scale of the main chart and the positions of the candlesticks.
The moving average of the selected price.
DarkOrange solid lines. The distance from the center is average range × multiplier.
High-Low Average and Average True Range treat sections where the price jumped differently.
The upper and lower distances are determined by a simple average of each bar's range, not by the dispersion of prices.
Takes a simple average of each bar's high − low over Range Period bars.
Takes a simple average of max(high, previous close) − min(low, previous close). Only the oldest bar uses high − low.
MA Method is the center method. The range average remains a simple average even if MA Method is changed.
Check the 3 lines for Simple, 10, Typical, High-Low Average, 10 and a multiplier of 1.
Decide whether to look at the range within the bar or to include the previous close as well.
Change the center period and the range period 1 at a time.
| Included file | Purpose / location |
|---|---|
| TRI_Keltner_Channels_Plus.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. When comparing different settings, using separate charts makes checking easier.
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 6 inputs. Change them on the Inputs tab of the properties. The English item names and input names defined in the source are shown together.
InpMAPeriodInpMethodInpPriceInpRangeTypeInpRangePeriodInpMultiplierThe current bar is included in the calculation. The latest displayed values change with price updates.
There is no function to specify a higher timeframe. Changing the timeframe or the history range also changes what is calculated.
The 3 lines are shown once both the center and the range can be calculated. An EMA center starts from the oldest bar, but the range needs Range Period bars.
The display is a record of calculation results. It does not direct trading decisions and does not guarantee future price movements.
Check the input ranges and the number of history bars. If an input is out of range, loading is refused and the reason is written to the Experts log.
Check the combination with the background and the display scale. Details of the published images can be checked in the full-size view.
Check Range Type, Range Period and Multiplier. Changing the center's MA Method does not change the averaging method for the range.
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.
Upper and lower = M ± Multiplier × Σr/Range Period. For SMA, LWMA and SMMA, the center starts once MA Period bars are available; EMA uses the oldest price as its seed.
Close = close, Open = open, High = high, Low = low, Median = (high + low)/2, Typical = (high + low + close)/3, Weighted = (high + low + close×2)/4. Simple is a simple average, Exponential is exponential smoothing, Smoothed is a smoothed moving average, and Linear Weighted is an average that weights newer bars more heavily.
The inputs and calculations in this document are based on the product's implementation. The actual display in the Data Window and the input screen, and how it looks during long operation on actual symbols or with long history, have not been verified.