Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

i-KlPrice - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

i-KlPrice - indicator for MetaTrader 5

The trend indicator is based on the Advanced Keltner Channel .

Indicator input parameters:

//+------------------------------------------------+
//|Indicator input parameters|
//+------------------------------------------------+
Input Smooth_Method MA_Method1= Mode_SMA ; // Average method
Input unit length 1= 100 ; // Moving average smoothing depth
Enter integer stage 1= 15 ; // moving average parameters
Enter Smooth_Method MA_Method2=MODE_JJMA; // Candlestick size averaging method
Enter unit length 2= 20 ; // average candlestick depth
Enter integer stage 2 = 100 ; // parameters for smoothing the candlestick size
Enter double deviation = 2.0 ; // channel expansion factor
Input unit smoothing = 20 ; // smoothing period

Input Application_Price_IPC= PRICE_CLOSE ; // Price constant
Input integer upper level = + 50 ; // upper level
Input integer Dn level =- 50 ; // low level
Enter integer shift = 0 ; // horizontal movement of the indicator in bars

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

i-KlPrice - indicator for MetaTrader 5 .

Figure 1 i-KlPrice indicator.


Attachment download

📎i -klprice.mq5 (9.13 KB)

📎 smoothalgorithms.mqh (134.03 KB)

Source: MQL5 #1352

Verification code Refresh