Multiple timeframes
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
Jannik