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

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

author EAcpu | 4 reads | 0 comments |

Rainbow_HMA - indicator for MetaTrader 5

The Sixty Hull Moving Average (HMA) gradually changes periods on a single chart.

Indicator input parameters:

 //+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
Input unit starting length = 2 ; // first average depth
Input units start step = 2 ; // start step for average change
Input units end step = 6 ; // Last step of average change
Enter Applied_price_IPC=PRICE_QUARTER_; // price constant
Enter integer shift = 0 ; // indicator moves horizontally (in bars)
Enter integer price change = 0 ; // Vertical indicator moving points

The indicator uses classes from the SmoothAlgorithms.mqh library. How to use these classes is described in detail in the article "Average price series for intermediate calculations without using additional buffers" .

Rainbow_HMA - indicator for MetaTrader 5

Figure 1. Rainbow_HMA indicator


Attachment download

📎 smoothalgorithms.mqh (130.19 KB)

📎 rainbow_hma.mq5 (10.33 KB)

Source: MQL5 #13046

Verification code Refresh