Multiple timeframe order

 
In one EA, can I make two oreders based on different timeframes within one tick?
for example
1 one order is made based on iMA(NULL,PERIOD_M1,20,0,MODE_SMMA,PRICE_MEDIAN,i);
2 another order is made based on iMA(NULL,PERIOD_D1,20,0,MODE_SMMA,PRICE_MEDIAN,i);

If yes, Strategy tester backtest one timeframe by one time frame?
Cannot it backtest at the same time?

tks in advance
 
In one EA, can I make two oreders based on different timeframes within one tick?
for example
1 one order is made based on iMA(NULL,PERIOD_M1,20,0,MODE_SMMA,PRICE_MEDIAN,i);
2 another order is made based on iMA(NULL,PERIOD_D1,20,0,MODE_SMMA,PRICE_MEDIAN,i);


Yes, you can do it. But you have to be sure that there is history on both timeframes.

If yes, Strategy tester backtest one timeframe by one time frame? Cannot it backtest at the same time?


You can backtest on any timeframe.
Reason: