Results 1 to 3 of 3
 0 Attachment(s)    

Thread: Multiple order ea

  1. #1
    Junior Member
    Join Date
    Dec 2009

    Default Multiple order ea


    Could anyone help me with the code for this strategy?


    First case

    Using any indicator open an order (Buy or Sell)


    The close is the take profit.

    Second case and after

    If the price go against the opened order direction for the same take profit amount, another order will be opened with a lot value that should be 1.5 higher ( if possible one should have a way to adjust this externaly)


    When the price come back to the right direction the close will be at the open price of the last open order more any value of swap and comission.

    thanks in advance for the help

    Luis Neves

  2. #2


    Sounds like you are looking for a simple martingale with adjustable lot, and limit to one open order....with the first order using an indicator... There are many EA's already out there.. Just search Martingale. Warning they make big money and will wipe you out in a heartbeat LOL.

  3. #3


    This sounds like a combination of a Grid and Martingale. As BillR says, it's very dangerous but you could have a lot of fun along the way.

    There's already a thread on this board explaining how to add a Martingale - Add a martingale

    There are also several threads about grids and the permutations for adding positions are numerous. I think you'd be better to use the search to locate them all imo.

Similar Threads

  1. Replies: 2
    Last Post: 08-04-2014, 18:03
  2. Open oppsite order if order don't take profit
    By luisneves in forum MQL programming
    Replies: 0
    Last Post: 12-06-2012, 16:09
  3. Multiple MA cross EA?
    By jimmynz in forum Ideas for expert advisors
    Replies: 0
    Last Post: 04-22-2011, 00:28
  4. Multiple E A Question
    By JXBlack in forum Trading discussion
    Replies: 4
    Last Post: 02-19-2010, 15:39
  5. Balance/Equity EA for multiple EA's
    By claypot in forum Scripts and other tools
    Replies: 1
    Last Post: 04-25-2009, 15:05

Tags for this Thread

grid, how to, indicator, martingale, mql, profit, programming, simple, strategy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts