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 Close all positions EA

Discussion in 'Expert Advisor atau Robot Forex' started by Bobzee, 07 May 2020.

  1. Bobzee

    Bobzee Member Credit Hunter

    Equity
    Credit
    Ref Point
    Please can someone send a close all positions EA to me here. It could be a semiautomatic trade manager that I can use to close all open positions all in one. Installed on one Chart only.
    [email protected]
     
  2. mkowa

    mkowa Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    You may use this one I wrote. It closes all positions if loss or profit per Lot is occured. Just set "ObserveMagic" to false and profit or loss to a value that all positions will be closed.
     

    Attached Files:

  3. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    i just coded kind of this about some minute a go for someone
    u can try
    https://soehoe.id/goto/post?id=397804#post-397804
    just set parameter "show total pips" to false , it will only show "close all" button on chart
     
    • Like Like x 1
  4. jtvsagarreddy

    jtvsagarreddy New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thanks
     
  5. rskdev

    rskdev Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    Here, this one will close all trades on all charts, even pending orders fast! Put it in your scripts folder.>
     

    Attached Files:

  6. Reo Wijaya

    Reo Wijaya Member Credit Hunter

    Equity
    Credit
    Ref Point
    I am using this one...very good, simple but perfect
     
  7. jtvsagarreddy

    jtvsagarreddy New Member Credit Hunter

    Equity
    Credit
    Ref Point
    Fast closing?.................I like it. I will check. Thanks.
     
  8. Bobzee

    Bobzee Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thanks
     
  9. Bobzee

    Bobzee Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thanks
    Thanks a lot
     
  10. Bobzee

    Bobzee Member Credit Hunter

    Equity
    Credit
    Ref Point
    :ok:
     
  11. redhawk

    redhawk Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    It closes all positions of the chart where I added the EA (es. EURUSD) or for all trades opened in the account (all pairs)?
     
  12. mkowa

    mkowa Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    It closes all positions of all pairs OR all positions of all pairs with a magic number in the settings. You can set it.
     
    • Like Like x 1
  13. tranvanngan

    tranvanngan New Member

    Equity
    Credit
    Ref Point
    Could you please to code for me an EA close all trade base on number of trades or lot size??
    Thank you very much
     
  14. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    can you explain more details ??
    i assume ..
    base lot size : EA will close all order which have X lot size
    number of trades : ?????
     
  15. tranvanngan

    tranvanngan New Member

    Equity
    Credit
    Ref Point
    Thank for your reply
    all trades reach x lot, the ea will close all order
     
  16. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    you can close all manually by button
    or
    auto close with define max lot or max trade on parameter
     

    Attached Files:

    • Like Like x 1
  17. tranvanngan

    tranvanngan New Member

    Equity
    Credit
    Ref Point
    You are the best
    Thank you very much
     
  18. nico30pay

    nico30pay Member Credit Hunter

    Equity
    Credit
    Ref Point
    hello, very good bot, the only thing could you include a sl? that is to say that it closes when it reaches -100 $ for example?
     
  19. tranvanngan

    tranvanngan New Member

    Equity
    Credit
    Ref Point
    Pardon me!! Could you please make this EA lose the orders of attached symbol chart only
    Thank you for all you did!!
     
  20. stadevata

    stadevata Active Member Credit Hunter

    Equity
    Credit
    Ref Point
    not tested
     

    Attached Files:

Share This Page