This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

StopLoss Problems


Back to topics list
avatar
242
GT48aec42c270a6 2007.05.08 07:44 
I'm getting error #130, "Invalid stops"

I know you're going to ask for my code, but I can assure you my stops are set at a minimum of 10 pips away from the entry. MarketInfo states stop level is at 5 pips.

Off the top of your head, does anyone know what might be causing this problem??
avatar
4464
Slawa 2007.05.08 10:53 
How near from market was your order? Order may be freezed in MarketInfo(OrderSymbol(),FREEZE_LEVEL) points to current price.
avatar
242
GT48aec42c270a6 2007.05.10 06:07 
wow, i didn't even know about that.
Thanks man, I do appreciate your timely response.
Go metatrader!
avatar
242
GT48aec42c270a6 2007.05.10 06:15 
Actually, that doesn't appear to be the problem.
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets