Forum

Time of tick is wrong?

I get the current tick and alert the time: if (! SymbolInfoTick ( _Symbol , latest_price)) { Alert ( "Error getting the latest price quote - error:" , GetLastError (), "!!" ); return ; } Alert ( "Opening price: " , latest_price.bid, " at: " , latest_price.time_msc, " "

How to get indicator drawing info

I am using this indicator https://www.mql5.com/en/code/777?source=terminal5_codebase and it draws arrows on the chart. If I mouse over the arrow, it shows a time and a value. How do I get that info? This is what I have so far. It gets me the most recent indicator value, but I need the time: string

How to create a stoploss/takeprofit order

You can see the request had accurate values... Any ideas why it's taking the order but not applying the stops? 2012.03.15 09:59:51 Core 1 2012.03.12 00:06:00 market sell 0.10 EURUSD (1.31175 / 1.31194 / 1.31175)//does this mean it didn't accept my stop loss and take profit values ? 2012.03.15