Yes, Jannik, this is one of the nice things in MetaTrader - you can specify the time frame for all technical indicator calls:
example:
Macd_5_min=iMACD(NULL,5,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Macd_hourly=iMACD(NULL,60,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Macd_daily=iMACD(NULL,1440,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Then you can make your indicator based on these values:
Hope this helps,
Hugh
example:
Macd_5_min=iMACD(NULL,5,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Macd_hourly=iMACD(NULL,60,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Macd_daily=iMACD(NULL,1440,12,26,9,PRICE_CLOSE,MODE_MAIN,1);
Then you can make your indicator based on these values:
Hope this helps,
Hugh

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Jannik