Download MetaTrader 5
To add comments, please log in or register
Add our channel to friends and follow the news!
Dave Hughes
16
Dave Hughes 2014.09.28 04:40 

I am switching from MT4 to MT5 and have very little experience with the new way of coding. In MT4 I used Hull Moving average to smooth other indicators (for example Stochastic). What I did in MT4 I modified the code from moving averages.mq4 to calculate HMA on an array instead of Price. I was wondering whether it is possible in MT5 to just use the HMA indicator that can be found in Codebase and pass the Stochastic buffer to it without writing custom code like I did for MT4.

Any help and an example will be greatly appreciated.



Jose Miguel Soriano
4896
Jose Miguel Soriano 2014.09.28 22:08  
ddh43:

I am switching from MT4 to MT5 and have very little experience with the new way of coding. In MT4 I used Hull Moving average to smooth other indicators (for example Stochastic). What I did in MT4 I modified the code from moving averages.mq4 to calculate HMA on an array instead of Price. I was wondering whether it is possible in MT5 to just use the HMA indicator that can be found in Codebase and pass the Stochastic buffer to it without writing custom code like I did for MT4.

Any help and an example will be greatly appreciated.



When a custom indicator is called from the mql5 program, applied_price parameter or handler other indicator must be spent the last after all the input parameters provided by the custom indicator.

To see iCustom () 

/
To add comments, please log in or register