MQL4 Bid Predefined Variable
Overview
doubleRefreshRates() function must be used to update the bid price.Related Functions
RefreshRates()MarketInfo()See Also
Example Snippet
if(iRSI(NULL,0,14,PRICE_CLOSE,0)>75)
{
OrderSend("EURUSD",OP_SELL,Lots,Bid,3,NormalizeDouble(Ask+StopLoss*Point,Digits),NormalizeDouble(Bid-TakeProfit*Point,Digits),
"My order #2",3,D'2005.10.10 12:30',Red);
return(0);
}
Previous
arrow_back
Bars