1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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

Suggestion I will make a Free EA with your Indicator

Discussion in 'Expert Advisor atau Robot Forex' started by winidecorw, 12 Jan 2018.

  1. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    When the arrow appears for the first time each reversal (only open when the first arrow appears in a trend)
    When reaching 07 oders, close all pending (Both take profit or stoploss)
    upload_2019-6-25_12-4-46.png
     
    Last edited: 25 Jun 2019
    • Informative Informative x 1
  2. balaram

    balaram Member Credit Hunter

    Equity
    Credit
    Ref Point
    Dear Master plg request once again, sorry if you free plg will do, thank you sir
     
  3. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    upload_2019-6-25_12-15-45.png
    See, it only Open limit oders

    and not close pending oders when take profit or stoploss
    upload_2019-6-25_12-22-11.png
     
    Last edited: 25 Jun 2019
    • Informative Informative x 1
  4. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I coded when it reached to max order=7, then close all pending orders.
    You also want to delete pending orders when some orders are closed with sl/tp?
     
    • Agree Agree x 1
  5. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    Yes, an fix open sell oder, it's not have stop oders
     
  6. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I backtest with default and looks OK

    upload_2019-6-25_14-33-53.png
     
  7. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    But error with Sell oders.
     
  8. moon78

    moon78 New Member

    Equity
    Credit
    Ref Point
    Very good EA. Thanks Mr Tanaka
     
  9. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    sorry, I don't understand.
    Above picture is correct? When do you want to delete all pending orders?
     
  10. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    [​IMG]
    With sell oder only limit oders opened.
     
  11. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    OK, please test this.
     

    Attached Files:

    • Winner Winner x 1
  12. Boy pasmo

    Boy pasmo Member Credit Hunter

    Equity
    Credit
    Ref Point
    it doesn't matter really whether buy order or sell order is closed first.

    for as long as a position (whether buy or sell) is closed, then a new "buy and sell order" is placed
     
  13. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    Have not closed all orders when profit or loss reached
    upload_2019-6-25_12-48-41.png
     
  14. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    I see it's opened duplicate order.
    upload_2019-6-25_12-56-33.png
     

    Attached Files:

  15. brucelee

    brucelee Member Credit Hunter

    Equity
    Credit
    Ref Point
    Yes sir. thank so much :)gggggggggggggggggggggggggggggggggggg
    Yes sir. thank so much :)
     
  16. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Duplicate order is due to indicator signal. This is repaint and many buy or sell signal continuously.
    If you want to avoid this, you can use order pips distance.
     
  17. Hoang Anh Tuan

    Hoang Anh Tuan Member Credit Hunter

    Equity
    Credit
    Ref Point
    I have use pip distance but it have open duplicate, please fix and code close all pending oder when target profit or stoploss.
     
  18. brucelee

    brucelee Member Credit Hunter

    Equity
    Credit
    Ref Point
    [QUOTE = "tanaka akiko, bài đăng: 319545, thành viên: 33635"] OK, bạn có muốn đóng tất cả các đơn đặt hàng sau khi Mất của bạn lên tới $ 200?
    Bạn muốn chỉ đóng cùng một ma thuật # (chỉ trên cùng một biểu đồ)? [/ QUOTE]
    on all charts have the same magic number, the same currency pair. thank you
     
    Last edited: 25 Jun 2019
  19. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Really? I don't see duplicated order...
    I changed code to delete pending orders when the order was closed with sl or tp.
     

    Attached Files:

  20. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Which EA?
     

Share This Page