German Gerardo Sanchez Lobo / Publications
Forum
iClose(NULL,0,0), iLow(Null,0,0), iHigh(NULL,0,0), iOpen(NULL,0,0) give me the same value = iOpen(NULL,0,0)
Hello: I need your help, When I put: PRINT ( iClose (NULL,0,0), iLow(Null,0,0), iHigh(NULL,0,0), iOpen(NULL,0,0)), the result is the equal, iOpen(NULL,0,0). Why?. But when I put (iClose(NULL,0,1), iLow(Null,0,1), iHigh(NULL,0,1), iOpen(NULL,0,1)) the result is OK. The problem is with the parameter
iLow(NULL,0,0) give me a Open Value
Hello: The expression " iLow (NULL,0,0) show me a Open Value of bar. Do you know what is the reason?. I need the low value of currently bar. Thanks. Regards
What means POINT?
Hello: What means exactly this expression:? Ask + TakeProfit*Point, If Ask = 1.2850 and TakeProfit = 50, what is the calculation? 1.2850 + 50*(1.2850) = .... Thanks for your support. Sincerely Regards
Question about Exit (For Buy or Sell)
Hello: I am learning about MQL4. I would like to do this question: 1.- I can Exit, ( Buy Position ) with this statement? If Ask > Ask + TakeProfit*Point then OrderClose (OrderTicket(),OrderLots(),Bid,3,Red) 2.- I can Exit, (Sell Position) with this statement? If Bid < Bid + StopLoss*Point then