EA TRADES ON BACKTEST BUT NOT ON DEMO
-
EA TRADES ON BACKTEST BUT NOT ON DEMO
-
@xbuilder Can you please provide some more info?
-
@l-andorrà The block 'Check type (last closed) must be Sell' doesn't work
I think it's a bug.
But ''Check type (last closed) must be Buy' does work. -
What is wrong with this project ?
https://fxdreema.com/shared/859MpskY
The EA doesn't take any trade.
If I change 'Check type (last closed) must be Sell' to ''Check type (last closed) must be Buy' it does work. -
@xbuilder when there are 0 trades in history, the block doesnt know what to do. You have to make a special condition for that situation
https://fxdreema.com/shared/FIZBCbM7e -
@roar The EA take trades now. It takes a buy then when the buy is closed it takes another buy etc. But it should normally take just one first buy and then stop because last closed type must be a sell.
-
@xbuilder oh, I think I used the wrong function.
Change OrdersTotal() to OrdersHistoryTotal() -
@roar with OrdersHistoryTotal() it takes no trade.
-
@xbuilder you have it exactly like this?
https://fxdreema.com/shared/IZ8G2uG3eI do get a trade.

-
@roar It takes a trade only on strategy tester but not on demo
-
@xbuilder developing the EA would be faster using the tester... In any case, change your group filter in each blue block
