My first EA

 
 

Add to my precedent post

The EA doesn't run on backtest but it runs on demo live, always for only 1 trade.

What can I change ?

 

first off, i don't trust the strategy tester in metatrader 4 for several reason that are still all over this forem and have been for the past month.

secondly, if you want this ea to run in the bactester, maybe you should see what the problem exacly is. there is a tab in the tester titled "journal" click here and see what it says. some problems may be the testers money issue. if you use too big of lot sizes, it'll say "no money availiable" or if it doesn't and the problem is the same, it'll run when you put in bigger starting balances, and not when you use smaller ones.

Reason: