Error 130 bites again........Help! - page 3

 
RaptorUK:



No idea how or why, but it works now. No one else could figure it out but I did. If you have a better solution that works, please let us know.
 
RBG:

No idea how or why, but it works now. No one else could figure it out but I did. If you have a better solution that works, please let us know.
http://www.google.com/search?q=site:forum.mql4.com error 130
 
SellNow("EURUSD", Bid + (50 * Point) ,SL,TP,1.0);
:
void SellNow(string Sym, double price, double SSL,double STP, double lotSize){
   OrderSendEx(Sym, OP_SELL, lotSize, price,open_slippage, SSL, STP, "Test" , 111, 0, Red);
You can't open a Sell order at Bid + 50 points. You MUST open at the Bid. Error=130
 
RBG:

No idea how or why, but it works now. No one else could figure it out but I did. If you have a better solution that works, please let us know.
With respect, if you don't know why you haven't figured it out. And you most probably haven't addressed your issue . . .
Reason: