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 Request for Coding of new EA

Discussion in 'Belajar MQL dari Nol' started by Hoosain, 10 Jan 2018.

  1. Hoosain

    Hoosain New Member

    Equity
    Credit
    Ref Point
    Hi, I would greatly appreciate it if any coder could code the following EA. I have searched on Google but have been unable to find a suitable EA.

    The EA has to do the following:

    It must place a BUY Stop and a SELL Stop order at a specific time at a specific distance from the OPEN Price. For example let's say we are on the USDZAR pair and at 08:00 the OPEN Price is 12.36102. The EA must the place a BUY Stop at 12.39102 and a SELL Stop at 12.33102. That is 300 pips away distance.

    If the BUY order for example triggers and is profitable then the SELL Stop pending order must be deleted and vice versa.

    The EA must contain the following fields:

    1. Time to place orders
    2. Distance at which to place orders
    3. Must have Magic Number so that EA can trade on multiple pairs

    It does not need Take Profit, Stoploss, Trailing stops etc as I have another EA which manages those settings.

    Thank you.
     
  2. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
    here you go
     

    Attached Files:

  3. Hoosain

    Hoosain New Member

    Equity
    Credit
    Ref Point
    Hi arby1108, Thank you so much for coding the EA. I will test it on Monday when the markets are open and let you know if it is working fine. Thank you once again. Much appreciated.
     
  4. M Member

    M Member New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi There, i have got a mq4 file for an EA. i was wondering if you can add some options in it. What i am looking for the EA to is once a trade is in profit it can put a trailing stop and create an another trade.
    Is it possible please?
    Thanks
     
  5. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
    all is posible, send me the EA to check what can I do
     
  6. M Member

    M Member New Member Credit Hunter

    Equity
    Credit
    Ref Point
    please find the attached.
     

    Attached Files:

  7. blackking

    blackking Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I think ea that requested based on trap strategy when news high impact will released
    sometime I do it manually when news NFP will released, put pending order buy stop and sell stop before news been released
     
  8. M Member

    M Member New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi, Did you check the EA? is it possible to do the changes I requested?
     
  9. Hoosain

    Hoosain New Member

    Equity
    Credit
    Ref Point
    Hi arby1108, Is it possible you can post the MQL file of the EA you created for me please. I am trying to learn MQL and would like to have a look at the code in an attempt to learn. Thank you
     
  10. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
    here you go
     

    Attached Files:

  11. M Member

    M Member New Member Credit Hunter

    Equity
    Credit
    Ref Point
  12. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
  13. Hoosain

    Hoosain New Member

    Equity
    Credit
    Ref Point
    Hi arby1108, Thank you very much! I really appreciate you sharing the EA.
     
    • Like Like x 1
  14. arby1108

    arby1108 Member Credit Hunter

    Equity
    Credit
    Ref Point
    you are welcome my friend
     
    • Like Like x 1
  15. Nat4n

    Nat4n New Member

    Equity
    Credit
    Ref Point
    Hello arby1108!

    I'l be very greatful if you to add some functions in an Ea.

    I have an EA that Close Pending Orders on Time.
    I'd like to ask you adding two more functions:

    1º - Close Pending Orders on Take Profi: True/False

    *This function should work only for the pair in wich the price reaches the Take Profit.
    If at others pairs, the price do not reaches the take profit, the pending orders remain active.

    2º - Close on Time: False/True

    Thank you very much in advance!
     

    Attached Files:

Share This Page