My EA runs very slow when testing. It uses only SMAs. Please help me with it!

 

According to the championship, "At the stage of Registration, we are going to detect such incorrectly written Expert Advisors providing certain test time limitations in the eight-month interval in the "Every tick" mode. If the EA's testing time exceeds 5 minutes, this EA will not be allowed to participate int the contest."

My EA runs more than 20 minutes with a test of 3 months. I use only with SMA and six "IF" statements and one caculation of add and minus. Anyone can help me with it? Thanks a lot.

 

Run speed depends on the speed of the PC that is running the test...

Make sure you are not doing unnecessary recalculations with the SMA...

Don't use visual mode for your time estimate...

 
There is bad written custom indicator can slow EA testing also.
 
can help me setting my EA in meta4trader....my EA can't run in real account......can help me please?
 
rudi:
can help me setting my EA in meta4trader....my EA can't run in real account......can help me please?

See IsTradeAllowed()

 
phy:

Run speed depends on the speed of the PC that is running the test...

Make sure you are not doing unnecessary recalculations with the SMA...

Don't use visual mode for your time estimate...

Thanks for your help. And what is visual mode? How do I know I used visual mode?

 

"How do I know I used visual mode?"

VisualMode check box is checked during Strategy Tester run.

 
Please avoid use of many external variables.
 
phy:

"How do I know I used visual mode?"

VisualMode check box is checked during Strategy Tester run.

I found it, thanks.

Reason: