WHY IS MY EA ONLY TAKING SELL TRADES?
-
c060e25f-66a7-4eaf-ba00-44e2e9c6fb9a-Eagle.mq5 3a782484-8313-4381-9243-8acb4b2418bc-Eagle.ex5
Please can anyone view this and tell me why the EA only takes sell trades and doesnt take buys?
-
https://fxdreema.com/shared/DGhlBNqxd
Please can anyone view this and tell me why the EA only takes sell trades and doesnt take buys? -
Your conditions aren't set up correctly, you are expecting 2 crosses on the same candle to happen, not very likely, remove two of your conditions, and test with that.
-
Thank you so much @jstap, What I want is, different candles crossing the EAs in the same direction, just like I highlighted in the image below

-
As it is, I want the different green candles to cross both MAs before it will take a buy
-
Then you will need to use something like flags, when 1 crosses you turn flag a true, so when 2 crosses, both are true, this will take back testing on visual to get right, you also need to set flags false on opposite cross.
-
can you assist do that please?
-
If you make a start, and share a test project.