ihsanxx:
Hello,
Im new in mq4 languages..Can someone help me to remove this error from my EA?
2012.07.25 09:30:41 2011.09.12 00:36 EA Kapan Menunggu EURUSD,M1: OrderModify error 130
This is the line for modifiy order
Thanks
This is the another line for modify order
void TrailingAlls(int ai_0, int ai_4, double a_price_8) { int li_16; double l_ord_stoploss_20; double l_price_28; if (ai_4 != 0) { for (int l_pos_36 = OrdersTotal() - 1; l_pos_36 >= 0; l_pos_36--) { if (OrderSelect(l_pos_36, SELECT_BY_POS, MODE_TRADES)) { if (OrderSymbol() != Symbol() || OrderMagicNumber() != Magic) continue; if (OrderSymbol() == Symbol() || OrderMagicNumber() == Magic) { if (OrderType() == OP_BUY) { li_16 = NormalizeDouble((Bid - a_price_8) / Point, 0); if (li_16 < ai_0) continue; l_ord_stoploss_20 = OrderStopLoss(); l_price_28 = Bid - ai_4 * Point; if (l_ord_stoploss_20 == 0.0 || (l_ord_stoploss_20 != 0.0 && l_price_28 > l_ord_stoploss_20)) OrderModify(OrderTicket(), a_price_8, l_price_28, OrderTakeProfit(), 0, Aqua); } if (OrderType() == OP_SELL) { li_16 = NormalizeDouble((a_price_8 - Ask) / Point, 0); if (li_16 < ai_0) continue; l_ord_stoploss_20 = OrderStopLoss(); l_price_28 = Ask + ai_4 * Point; if (l_ord_stoploss_20 == 0.0 || (l_ord_stoploss_20 != 0.0 && l_price_28 < l_ord_stoploss_20)) OrderModify(OrderTicket(), a_price_8, l_price_28, OrderTakeProfit(), 0, Red); }
thanks in advance !
We don't help with De-Compiled Code.
ihsanxx:
Your EA ? did you write it ? did you buy it ? was it given to you ? no ! you stole it or you downloaded it from someone that stole it . . .
Hello,
Im new in mq4 languages..Can someone help me to remove this error from my EA?
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
Hello,
Im new in mq4 languages..Can someone help me to remove this error from my EA?
2012.07.25 09:30:41 2011.09.12 00:36 EA Kapan Menunggu EURUSD,M1: OrderModify error 130
This is the line for modifiy order
Thanks