MQL4 Reference
Predefined variables
Bid
|
double Bid
The latest known buyer's price (offer price, bid price) of the current symbol. The RefreshRates() function must be
used to update.
See also MarketInfo().
Sample:
if(iRSI(NULL,0,14,PRICE_CLOSE,0)>75)
{
OrderSend("EURUSD",OP_SELL,Lots,Bid,3,Ask+StopLoss*Point,Bid-TakeProfit*Point,
"My Order #2",3,D'2005.10.10 12:30',Red);
return(0);
}
|
|
|