- OP_BUYSTOP/OP_SELLSTOP OrderSend with SL=0 and TP=0 return me error 130 (invalid stops!)
- What causes a position to close?
- Pending order didn't change to Open - only after client terminal reset (ERR_INVALID_TRADE_PARAMETERS)
just place valid sl/tp (more than 10 pips; 4 digit pips).
by the way, the brokers may established the different limitation so it is up to the broker sorry.
I want to open and order on MT4 but it says invalid sl/tp..what's causing this
Your SL/TP values are totally invalid or were caught in the "Broker Buffer ZOne" where Stops are too tight to be put... Check with your Broker, or search the documentation for Freeze Level...
;)
MODE_STOPLEVEL |
14 |
Stop level in points
A zero value of MODE_STOPLEVEL means either absence of any restrictions on the minimal distance for Stop Loss/Take Profit or the fact that a trade server utilizes some external mechanisms for dynamic level control, which cannot be translated in the client terminal. In the second case, GetLastError() can return error 130, because MODE_STOPLEVEL is actually "floating" here. |
Also want to check Freeze Level as @Minions Labs mentions.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use