• Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)

Question Where errors here code ?

ESTERGON

New Member
Credits
0
Code:
   if (price_148 != 0.0 && BUY_ISLEM) {
      if (li_88 == 0) price_224 = NormalizeDouble(Ask + SELLS_BUYS_MESAFE * Point, Digits);
      else price_224 = NormalizeDouble(Ask + NESTAVIT * Point, Digits);
      if (NormalizeDouble(price_148 - TASIMA_MESAFESI * Point, Digits) > price_224 && price_224 <= NormalizeDouble(price_124 - ISLEM_MESAFESI * Point, Digits) ||
         price_124 == 0.0 || TREND_ACIK && li_88 == 0 || price_224 >= NormalizeDouble(price_116 + ISLEM_MESAFESI * Point, Digits) || price_224 <= NormalizeDouble(price_124 - ISLEM_MESAFESI * Point,
         Digits)) {
         if (!OrderModify(ticket_108, price_224, 0, 0, 0, clrNONE));

      }
   }
   if (price_156 != 0.0 && SELL_ISLEM) {
      if (li_92 == 0) price_224 = NormalizeDouble(Bid - SELLS_BUYS_MESAFE * Point, Digits);
      else price_224 = NormalizeDouble(Bid - NESTAVIT * Point, Digits);
      if (NormalizeDouble(price_156 + TASIMA_MESAFESI * Point, Digits) < price_224 && price_224 >= NormalizeDouble(price_132 + ISLEM_MESAFESI * Point, Digits) ||
         price_132 == 0.0 || TREND_ACIK && li_92 == 0 || price_224 <= NormalizeDouble(price_140 - ISLEM_MESAFESI * Point, Digits) || price_224 >= NormalizeDouble(price_132 +
         ISLEM_MESAFESI * Point, Digits)) {
         if (!OrderModify(ticket_112, price_224, 0, 0, 0, clrNONE));
         else Print("", price_0, "", price_224);
      }
   }
   return (0);
}
 
url]
mq4 code not workıng
 

Attachments

  • ex4 test.gif
    ex4 test.gif
    21.5 KB · Views: 20
  • mq4 test.gif
    mq4 test.gif
    23.7 KB · Views: 19
c
Code:
   if (price_148 != 0.0 && BUY_ISLEM) {
      if (li_88 == 0) price_224 = NormalizeDouble(Ask + SELLS_BUYS_MESAFE * Point, Digits);
      else price_224 = NormalizeDouble(Ask + NESTAVIT * Point, Digits);
      if (NormalizeDouble(price_148 - TASIMA_MESAFESI * Point, Digits) > price_224 && price_224 <= NormalizeDouble(price_124 - ISLEM_MESAFESI * Point, Digits) ||
         price_124 == 0.0 || TREND_ACIK && li_88 == 0 || price_224 >= NormalizeDouble(price_116 + ISLEM_MESAFESI * Point, Digits) || price_224 <= NormalizeDouble(price_124 - ISLEM_MESAFESI * Point,
         Digits)) {
         if (!OrderModify(ticket_108, price_224, 0, 0, 0, clrNONE));

      }
   }
   if (price_156 != 0.0 && SELL_ISLEM) {
      if (li_92 == 0) price_224 = NormalizeDouble(Bid - SELLS_BUYS_MESAFE * Point, Digits);
      else price_224 = NormalizeDouble(Bid - NESTAVIT * Point, Digits);
      if (NormalizeDouble(price_156 + TASIMA_MESAFESI * Point, Digits) < price_224 && price_224 >= NormalizeDouble(price_132 + ISLEM_MESAFESI * Point, Digits) ||
         price_132 == 0.0 || TREND_ACIK && li_92 == 0 || price_224 <= NormalizeDouble(price_140 - ISLEM_MESAFESI * Point, Digits) || price_224 >= NormalizeDouble(price_132 +
         ISLEM_MESAFESI * Point, Digits)) {
         if (!OrderModify(ticket_112, price_224, 0, 0, 0, clrNONE));
         else Print("", price_0, "", price_224);
      }
   }
   return (0);
}

Is this decompile EA?
decompile is an illegal business

I tell you,
The function to modify orders, but not stable for broker with requote price.
This is a very simple code but not support for good EA.
 
Back
Top