Freakish no enough money error

 

Hi all,

I've backtested my EA without any problems for nearly a week now. However, after 1 day of live trading (24th december), I tried backtsting the EA again with the exact same code and parameters, same symbol and data, and the same starting balance in the expert properties ($1000). Infact, same everything as before.

But this time, my EA places no trades, and I'm getting a "no enough money" error in my journal, with details below:

2007.12.26 05:42:04 2007.02.15 13:00 Tester: pending order is deleted [no enough money]
2007.12.26 05:42:04 2007.02.15 13:00 Tester: PrevBalance: 1000.00, PrevPL: 0.00, PrevEquity 1000.00, PrevMargin: 0.00, NewMargin: 1199, FreeMargin: -199.33

Please I'd appreciate some help here, as this is driving me potty, since the whole setup used to work before. And please, what is NewMargin? And why would it suddenly become 1199?

Thanks, people.

 
During Christmas holidays week usually margin are increased in 3 times. Set more great value of initial balance in Strategy Tester.
 

I've backtested my EA without any problems with straighthold trader. However, after 1 day of live trading too, I tried backtsting the EA again with the exact same code and parameters, same symbol and data, and the same starting balance in the expert properties ($100), on another PC because of keyboard problem.

But this time, my EA places no trades, and I'm getting a "no enough money" error in my journal

In fact, the calculation of the order seems to false the number of lot is 0,01 and the new margin is 1534 $, it requires 100 * amount required ??? The calculzated amount is wrong!!!

could you help me ?

Thanks, all