how to combine indicators with different period

 

Hi..

How could i combine two indicator which are running different period in one EA ?.

As example I want to combine 2MA indicator. The first MA running based on period one hour and the second MA running based on period four hour.

Could some body guide me ?


Thank you

bh_hensem

 
Have you RTFM? What is the second argument to iMA? learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
Reason: