Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
8138
Rating:
(26)
Published:
2012.12.27 11:56
Updated:
2023.03.29 13:42
i-klprice.mq5 (9.13 KB) view
\MQL5\Include\
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

A trend indicator drawn on the basis of the advanced Keltner channel.

Indicator input parameters:

//+-----------------------------------+
//| Indicator input parameters        |
//+-----------------------------------+
input Smooth_Method MA_Method1=MODE_SMA;  // Averaging method
input uint Length1=100;                   // Moving Average smoothing depth
input int Phase1=15;                      // Moving averages parameter
input Smooth_Method MA_Method2=MODE_JJMA; // Candlesticks size averaging method
input uint Length2=20;                    // Averaging candlesticks depth
input int Phase2=100;                     // The parameter of smoothing candlesticks size
input double Deviation = 2.0;             // Coefficient of channel expansion
input uint Smooth=20;                     // Smoothing period

input Applied_price_ IPC=PRICE_CLOSE;     // Price constant
input int UpLevel=+50;                    // Upper level
input int DnLevel=-50;                    // Low level
input int Shift=0;                        // Horizontal shift of the indicator in bars

The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article "Averaging price series for intermediate calculations without using additional buffers".

Fig.1 The i-KlPrice indicator.

Fig.1 The i-KlPrice indicator.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1352

Renko Renko

The renko (renko) chart in a separate subwindow. No matter on what chart timeframe the indicator is attached, the renko is drawn on close price of М1 timeframe.

Exp_ColorMomentum_AMA Exp_ColorMomentum_AMA

The Expert Advisor drawn on the basis of the change of direction of the ColorMomentum_AMA indicator.

Disparity Index Disparity Index

Disparity Index (difference index) displays the difference between the close price and chosen Moving Averages in percentage. It is recommended to use in combination with the other candlestick models

Exp_ColorLeManTrend Exp_ColorLeManTrend

The Exp_ColorLeManTrend trading system is based on changes of the trend direction displayed by the ColorLeManTrend indicator