Order Price Open = 0.
if (OrderGetTicket(i)) { op = OrderGetDouble(ORDER_PRICE_OPEN); Comment(op); }
matheus: op is always equal to 0.0 a
That is not MT4 code, but you posted in the MQL4 section, (bottom of the Root page).
I will move this topic to the EA section as it is not related to MQL4
Hey all.
Can't seem to understand why my code doesn't work, anyone can help me see what am i doing wrong?
op is always equal to 0.0 and i have a limit order open (buy or sell, doesn't matter).
Thanks for the help :D