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

Bug Profitable MT4 ea but needs coder to debug flaw...

Discussion in 'Expert Advisor atau Robot Forex' started by mrguppyman, 17 Nov 2022.

  1. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi folks,

    I discovered an old ea coded by Akukaya in 2009 that uses the default MT4 psar indicator which is profitable initially but crashes out in mc after 2 - 3 days running on demo.

    The fatal flaw is that it will open numerous trades of up to 27...all from the same market level from random pairs.

    My settings used are tp=1000, ts=200, sl=200 (5 digit broker) and M30 in all major pairs. You can run on the default settings too but orders are closed by opposite trend.

    I have provided the MQ4 source file for any coder who will help in debugging this fatal flaw.

    Please note: This ea will mc yr real account if you use it as provided...
     

    Attached Files:

  2. lengendsh

    lengendsh Member Credit Hunter

    Equity
    Credit
    Ref Point
    How do you know "Profitable MT4 ea but needs coder to debug flaw..."? when "crashes out in mc after 2 - 3 days running on demo."...
     
  3. Sergey1970

    Sergey1970 Member

    Equity
    Credit
    Ref Point
    Is it necessary to limit the number of market orders? One by one or in all pairs? ((For example: 10 - for one pair or 20 total simultaneously open orders in the market?)
     
  4. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi lengendsh, thanks for replying...I had been through 2 demos already and in each case the ea opened 1 order for each pair and was closed by the start of the opposite trend...but suddenly it will open numerous trades (up to 27) all from the same spot causing mc. This will only happen 1 - 3 days after running the demo. It has happened to 2 different pairs.
    I suspect that it may be a bug in the ea code.
     
  5. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi Sergey1970, thanks for replying...yes it is necessary to limit the number of market orders to 1 for each pair and with its own magic number too.
     
  6. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Here I have attached a screenshotof the problem...
     

    Attached Files:

  7. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Basic indicator that used Parabolic Sar included repaint indicator.
    It is could gives false signal
     
  8. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi blackking, thanks for yr input. Do you have know any way to eliminate this random burst of market orders ? Thanks.
     
  9. kamel

    kamel Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    1/5,
    This is my review for this thread:
    this is the first time in 7 years of trading that I see someone talking about a robot bug instead of understanding that the robot is not good...
    In this case 100% of the robots you will find here have a bug...
    Let's be logical, SL + TP + RISK REWARD, find the coherence between these 3 things and don't talk about bug
     
    • Dumb Dumb x 1
  10. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi Kamel, good to have yr view but if you read my posts you will understand that it is about a technical bug...one in which the ea has been running fine for days opening 1 trade per pair and then suddenly opening dozens of trades from the same market level.

    It is not about SL + TP + RISK REWARD please try to help if you know something about MQL4...I am sure someone here can solve this technical problem...thanks.
     
  11. Jacek77

    Jacek77 Member Credit Hunter

    Equity
    Credit
    Ref Point
    Passed your query to Tanaka Akiko who is a coder, so He can help on this.
     
  12. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    проверка.
     
    Last edited: 14 Jul 2023
  13. Shipr

    Shipr New Member

    Equity
    Credit
    Ref Point
    from decompile and errors - fixed.
     

    Attached Files:

  14. mrguppyman

    mrguppyman New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thanks for yr help Shipr...I will forward test yr revised version and post back here !
     

Share This Page