DEV Community

David Smith
David Smith

Posted on

MT4 Expert Advisor Development

It's a grid strategy.

  • Can we make it as market order as the grid.
  • So the EA will basically use hidden buy stop & sell stop and only open market trade when that level reached. (as below chart) and open both buys and sells.
  • if the grid is in positive of $50 every $5 we want to trail it and dont open any other trades.
  • entry will be activates as the EA is placed on a chart.
  • so when the market goes up the sells open bigger and buys are smaller in lot sizes.
  • so when the market goes down the buys open bigger and the sells get smaller in lot sizes.
  • so we need to have distanced to be changeable not fixed. like 10,10,20,30,45,55,60 and so on.
  • We need a close all trades when it reaches positive amount , the target amount in $$ dollars.
  • We need a protect equity as the grid will close all trades when it get to a negative $$ dollar.
  • we need a trailing stop loss, so when it reaches xx$$ dollars in positive we want to trail it by xx$$ until it closes.
  • when trailing starts no other orders should open until the grid id closed and starts again.

If someone can do this, I want to contact with him. Thanks

Top comments (0)