Assuming your stop and profit values have been adjusted for 4/5 digit Brokers then yes, they are equivalent.
Yes only slippage, as stop and profit are ok.
Thank you RaptorUK.
//++++ These are adjusted for 5 digit brokers. int pips2points; // slippage 3 pips 3=points 30=points double pips2dbl; // Stoploss 15 pips 0.015 0.0150 int Digits.pips; // DoubleToStr(dbl/pips2dbl, Digits.pips) int init(){ if (Digits % 2 == 1){ // DE30=1/JPY=3/EURUSD=5 forum.mql4.com/43064#515262 pips2dbl = Point*10; pips2points = 10; Digits.pips = 1; } else { pips2dbl = Point; pips2points = 1; Digits.pips = 0; } // OrderSend(... Slippage.Pips * pips2points, Bid - StopLossPips * pips2dbl :

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi everyone,
long time ago I did not care much about the "slippage" limit in ordersend/orderclse, during the conversion of EAs from four to five digit brokers. My question is whether these orders are equivalente, either a 2 point spread in four digit or 20 point in five digit broker:
Four digit eurusd:
-OrderSend(Symbol(),OP_BUY,1.0,Ask,2,_normalize(Ask-stop),_normalize(Ask+profit),"",0,0,0);
-OrderClose(OrderTicket(),1.0,Ask,2,White)
Five digit eurusd:
-OrderSend(Symbol(),OP_BUY,1.0,Ask,20,_normalize(Ask-stop),_normalize(Ask+profit),"",0,0,0);
-OrderClose(OrderTicket(),1.0,Ask,20,White)
Should I assume this is Ok?
Thank you.
am.