EA not opening orders

 

Hello all,

I'm extremely new to this. My apologies in advance for my blunders. :)

So i was able to write an EA code using online articles and 2 Expert Advisors (one was courtesy of Satyam who developed an EA for me and TradersGift which i got online).

I think that I've got everything right with only 9 conversion warnings. Unfortunately, it isn't opening any orders.

I've attached the idea i was trying to create along with the EA code.

Thanks a lot for the assistance and time.

Files:
MyEA.mq4  32 kb
 
emeka Mbanefo:

Hello all,

I'm extremely new to this. My apologies in advance for my blunders. :)

So i was able to write an EA code using online articles and 2 Expert Advisors (one was courtesy of Satyam who developed an EA for me and TradersGift which i got online).

I think that I've got everything right with only 9 conversion warnings. Unfortunately, it isn't opening any orders.

I've attached the idea i was trying to create along with the EA code.

Thanks a lot for the assistance and time.

Your OpenBuyOrder() and OpenSellOrder() functions are never called.
 
Alain Verleyen:
Your OpenBuyOrder() and OpenSellOrder() functions are never called.

Thanks so much for your reply.


I think i've fixed that and some other things. Not sure if that is enough.

Files:
MyEA.mq4  32 kb
Reason: