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

Heiken_Ashi_Smoothed_Chl - MetaTrader 5 Script - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

Heiken_Ashi_Smoothed_Chl - indicator for MetaTrader 5

The indicator Heiken_Ashi_Smoothed has two colored channels built based on the mean square deviation of the highest and lowest price of the indicator candle. In order for the indicator to display correctly, you should check the "Top Chart" checkbox in the chart properties.

 Enter Smooth_Method HMA_Method=MODE_JJMA; //Average method
Input integer H length = 30 ; //Average depth
Input integer phase = 15 ; // average parameter,
//---- For JJMA in the range -100 ... +100, it will affect the quality of the conversion process;
//---- For VIDIA, it is the CMO period, and for AMA, it is the slow moving average period.
Input unit BB length = 10 ; // Bollinger band period
Enter double the band deviation = 1.0 ; //deviation

The indicator uses classes from the library SmoothAlgorithms.mqh (to be copied to terminal_data_catalog\MQL5\Include), and the article describes in detail how to use this class for the intermediate calculation of the average price series without using additional buffers .

Heiken_Ashi_Smoothed_Chl - indicator for MetaTrader 5

Figure 1. Indicator Heiken_Ashi_Smoothed_Chl


Attachment download

📎 Heiken_Ashi_Smoothed_Chl.mq5 (19.98 KB)

📎 SmoothAlgorithms.mqh (130.2 KB)

Source: MQL5 #22671

Verification code Refresh