Short = Bid + (50 * Point);
Long = Ask - (50 * Point);
spillstuff:
Trailing stop function stopped working. Still getting 130 error. I changed back as original.
Any other ideas I can try?
Rudy
I found the problem. The ea was calculating stops against all symbols.
I had to add a line to compare the symbol of the order with the symbol the ea was attached to.
Rudy

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
Please confirm if correct:
Sell order - stop = NormalizeDouble(Ask+Point*TrailingStop,Digits)
Buy order - stop = NormalizeDouble(Bid-Point*TrailingStop,Digits)
I am not sure why I'm getting error 130. Stops are in the ordermodify function.
Rudy