Download MetaTrader 5
To add comments, please log in or register
Order a robot or an indicator for MetaTrader. The Freelance service will help you!
Yedeki Au
1716
Yedeki Au 2015.05.02 07:18 

Hi,

Could you please tell me what should i do to make an EA available for only strategy tester?

Where and what  should i add to the source code?

Thanks...

Stuart Browne
5605
Stuart Browne 2015.05.02 07:20  
beyhan dinc:

Hi,

Could you please tell me what should i do to make an EA available for only strategy tester?

Where and what  should i add to the source code?

Thanks...

if (IsTesting())
{
   // Do something
}
else
{
   // Do nothing
}
Yedeki Au
1716
Yedeki Au 2015.05.02 10:00  
Stuart Browne:

Thank you very much.

Best Regards...

Stuart Browne
5605
Stuart Browne 2015.05.02 10:09  
beyhan dinc:

Thank you very much.

Best Regards...

Very welcome ;-)
/
To add comments, please log in or register