Thread: MQL4 Learning
View Single Post
  #117 (permalink)  
Old 07-24-2007, 12:47 AM
MQL4 MQL4 is offline
Member
 
Join Date: Jul 2007
Posts: 41
MQL4 is on a distinguished road
if(bid == MarketInfo(Symbol(),MODE_BID)+10)

Thank You guys, it works! May I ask You another?

if(bid == MarketInfo(Symbol(),MODE_BID)+10)

It is intended that in a certain time the market recognized the price which is for example, x. And will sell 10 pips above this x. I tried this code, and it doesn't work.

Question#2
If within certain seconds the trade is not activated, what is the code syntax for disabling the trade?

Please help!!!

Thank You.

Last edited by MQL4; 07-24-2007 at 12:51 AM.
Reply With Quote