Hello,
I keep getting the error 130 and found this article about it.
https://www.earnforex.com/guides/ordersend-error-130/
I would like to implement this code but is not clear to me what the entry value contains.
if (Entry - Bid < StopLevel * _Point) Entry = Bid + StopLevel * _Point;
if...
I get sporadic 130s when using an MA as my stop loss value, so I want to write something that will check for all OrderModify() calls when I have a change in my take profit (or stop loss) values, like:
retval = OrderModify( OrderTicket(), OrderOpenPrice(), Valid_SL(MyCalcSL,OrderType())...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.