Download MetaTrader 5

Muilti-Currency Backtesting

To add comments, please log in or register
Are you accustomed to using the standard library? MQL5 has one!
falsedave
63
falsedave 2013.01.01 15:16 

Trying to learn and develop an EA using MT5       

 Using this code I can load all the pairs in MarketWatch and it works fine. But everytime you visually backtest the EA it opens an H1 window and an M15. window. Even though the EA istelf is set to be trading M1. I would just like a M1 window for all pairs. Also its not very fast to start up is there not a quicker way to do this ?

 if(SymbolInfoInteger(pair+Suffix,SYMBOL_SELECT)==true)
           {
            PairCount++;
            ArrayResize(Pair,PairCount);
            Pair[PairCount-1]=pair;

           }

 

Thanks

Dave 

phi nuts
2184
phi nuts 2013.01.01 16:29  
falsedave:

Trying to learn and develop an EA using MT5       

 Using this code I can load all the pairs in MarketWatch and it works fine. But everytime you visually backtest the EA it opens an H1 window and an M15. window. Even though the EA istelf is set to be trading M1. I would just like a M1 window for all pairs. Also its not very fast to start up is there not a quicker way to do this ?

 if(SymbolInfoInteger(pair+Suffix,SYMBOL_SELECT)==true)
           {
            PairCount++;
            ArrayResize(Pair,PairCount);
            Pair[PairCount-1]=pair;

           }

 

Thanks

Dave 

It's called help file, usually pop out when F1 is pressed : please read "using a template" section in here http://www.metatrader5.com/en/terminal/help/tester/visualization/visaulization_view/visualization_view_chart.

From there, I'm guessing that your default template in 1 hour chart.  

And falsedave, next time use use SRC button to post the code

 

To add comments, please log in or register