Download MetaTrader 5

Available For Only Strategy Tester

To add comments, please log in or register
Have you developed a profitable strategy? Share it with millions of traders via Signals!
Yedeki Au
1742
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
5800
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
1742
Yedeki Au 2015.05.02 10:00  
Stuart Browne:

Thank you very much.

Best Regards...

Stuart Browne
5800
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