Forum

How to Get ASK and BID prices for 5 || 3 digits

Hi, I need help to get Ask and Bid prices for 5 digits broker. double vbid = MarketInfo(Symbol(),MODE_BID); double vask = MarketInfo(Symbol(),MODE_ASK); This code return just the 0.0000 value, but my rates are at 5 digits. Please help

Help on Code

Hi does somebody could help me? I want the EA to set a Pending Sell Stop Order when I open manually a Buy Market Order, why this code isnt working? // External extern double LotSize = 0.1; extern double StopLoss = 150; extern double TakeProfit = 120; extern double PendingPips = 30; extern int