Ask
double Ask
The latest known seller’s price (ask price) for the current symbol. The RefreshRates() function must be used to update.
Example:
if(iRSI(NULL,0,14,PRICE_CLOSE,0)<25)
{
OrderSend(Symbol(),OP_BUY,Lots,Ask,3,NormalizeDouble(Bid-StopLoss*Point,Digits),NormalizeDouble(Ask+TakeProfit*Point,Digits),
"My order #2",3,D'2005.10.10 12:30',Red);
return;
}See also
Last updated on