Help - New to MQL4

 

Hi All, 

I'm pretty new to MQL4 and I'm learning to code an EA on my own. However, I don't quite understand why my orders are opening at a price way higher than the pips on the charts. Can anyone explain to me please? Thank you in advance :)

Files:
Picture1.png  218 kb
 

Buy trades are opened at Ask. Chart prices are Bid.

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.

 
Keith Watford:

Buy trades are opened at Ask. Chart prices are Bid.

Topics concerning MT4 and MQL4 have their own section.

In future please post in the correct section.

I have moved your topic to the MQL4 and Metatrader 4 section.

Ahhh I see... Thank you lots!! :)
Reason: