Hello guys!
Please I need your help on this project I have been struggling it for a while.
What I simply want to create is an EA that can open new trades after current open trades is in loss with a certain number of pips. And also create a new trade immediately the current trade closes with take profit.
The part which gives me headache is the one to open a new trade when the current trade is running in loss.
Here is the project: https://fxdreema.com/shared/QgeIbjn8b
I have created the exact thing I wanted and works perfectly well when tested on strategy tester for both buy and sell . Where the problem now lies is that the EA is not performing the same way on real life trading when installed on demo account. The block 8 (2nd sell) which suppose to open new trade after -20 pips of the first sell kept opening multiple trades on every tick. The block 22 (2nd buy) which suppose to open additional buy after -20 pips of the first buy in not working at all.
This is only happening on live trading when installed on demo account for testing. The EA is functioning perfectly well on strategy tester.
Please help me have a look and tell me what I did wrongly..