stop loss. I keep getting invalid sl/tp. (error 130)
The above cannot set or adjust - i get error 130 , Invalid stops.
- NormalizeDouble(Bid, Digits)
- Ichimoku EA
ssn:
The above cannot set or adjust stop loss. I keep getting invalid sl/tp. (error 130)
The above cannot set or adjust stop loss. I keep getting invalid sl/tp. (error 130)
OK, so what was the Bid, Ask, new SL price and Stoplevel at time you tried to place the OrderModify and what OrderType() ?
Does your OrderModify() comply with thiss ? Requirements and Limitations in Making Trades
This is part of the logs in 'Expert' tab
2013.03.06 15:26:25 ea XAGUSD,M15: buy sl: 28.56, current sl: 0, open price: 28.694, current price: 28.73
With a spread of 0.04, this seems reasonable.
ssn:
This is part of the logs in 'Expert' tab
2013.03.06 15:26:25 ea XAGUSD,M15: buy sl: 28.56, current sl: 0, open price: 28.694, current price: 28.73
What was your Stoplevel ?
Have you tried changing this . . .
return(NormalizeDouble(MathAbs(_ticks),8)); // change to return(NormalizeDouble(MathAbs(_ticks), Digits));

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