code mql4 to mql5 - page 2

 
onewithzachy:

 that Ctrade trade.sell (or trade.buy) doesn't have slippage, so we may end up in requotes. 

Just use for that the method SetDeviationInPoints()
 
onewithzachy:

BTW,  I think that's a copy paste typo, you usually calculate TP for sell base on Bid price :).

I don't think so, check your statement yourself :)
 
Rosh:
Just use for that the method SetDeviationInPoints()

Yay !!!, Rosh, that's mighty fast reply. I type with 10 fingers but the other 9 is on strike so ...  :).

Alright I'll write the code later. Mostly I write CI so this is actually my first order send business :)

 
Rosh:
I don't think so, check your statement yourself :)

You mean my codes ?. LOL, How come I didn't notice that.

very LOL. I'll correct it later :) 

 
onewithzachy:

You mean my codes ?. LOL, How come I didn't notice that.

very LOL. I'll correct it later :) 

thank you all I learn many things but it's not easy for me.
is what I can put another piece of code to translate?
I prefer to ask you because I want to try your patience and your availability.
friendly