1. 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 :)
    Dismiss Notice

Question Where errors here code ?

Discussion in 'Belajar MQL dari Nol' started by ESTERGON, 08 Apr 2016.

  1. ESTERGON

    ESTERGON New Member

    Equity
    Credit
    Ref Point
    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);
    }
     
  2. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
    I'd need the complete code to find the error.
     
  3. jinji

    jinji Member Credit Hunter

    Equity
    Credit
    Ref Point
    I think this code from EA?
     
  4. Trancexe

    Trancexe Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    error? :think:
     
  5. ESTERGON

    ESTERGON New Member

    Equity
    Credit
    Ref Point
    [​IMG] mq4 code not workıng
     

    Attached Files:

  6. AutoProfit

    AutoProfit Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Have you got its solution?
    Send you mq4 file to my email [email protected]
    Will help you soon.

    Sent from SoeHoe.ID mobile apps
     
  7. HendroFX

    HendroFX Moderator Moderator

    Equity
    Credit
    Ref Point
    WARNING!!!. Tolong di diskusikan di sini saja pak...
     
  8. AutoProfit

    AutoProfit Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    no big deal.
    siap
     
  9. AutoProfit

    AutoProfit Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    c
    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.
     

Share This Page