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);
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.
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
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