Keyword Analysis & Research: mt4 ordersend error 130

Keyword Analysis

Keyword Research: People who searched mt4 ordersend error 130 also searched

Frequently Asked Questions

What is ordersend error 130 in MetaTrader 4?

The OrderSend Error 130 appears in MetaTrader 4 when an Expert Advisor can’t execute a marker order as expected. Also known as the Invalid Stop (ERR_INVALID_STOPS) in MQL jargon, the Error 130 happens when the TakeProfit and StopLoss levels are set to close to the current market price. Where does this error come from?

What is MT4 error 130?

/ MT4 Error 130: How to Fix Invalid Stops What is MT4 error 130? The MT4 error 130 is an OrderSend error code of the MetaTrader 4 platform. A trading platform shows this error code when an Expert Advisor fails to execute an order according to expectations. This error is also known as invalid stops.

What is the ordersend error code on the MT4?

For direct buy orders, if your stop-loss limit is greater than the asking price and the take profit level is lower than the bidding price, the MT4 will still show the OrderSend error code.

What does error number 130 mean?

error number 130 means Invalid stops. so that means there is a problem with the stops you set with the ordersend function. I suggest you set it like that: int order = OrderSend ("XAUUSD",OP_SELL,0.01,Bid,3,Bid+20*Point,tp,"",0,0,Red); so you could use Point instead of hard coding it.

Search Results related to mt4 ordersend error 130 on Search Engine