Specification
Hello,
I want to make a Simple Martingale EA:
1) Start initial trade instantly as soon as the EA is attached.
2) Direction: SELL / BUY / RANDOM / HEDGE.
NOTE: When Hedge is selected, The EA should take both BUY and SELL orders at the same time, and keep on adding levels of trades with multiplier, in
whichever direction it goes negative.
3) Initial Lots: Example: 0.01
4) Distance:
ATR with Multiplier / Manual
5) ATR Multiplier: Example: 2.0
6) Trade Multiplier: Example: 1.5
7) New Level: After Candle close / As soon as the
price reaches the specified distance.
8) Max Levels: Example: 10
9) Each Level: Multiple 0.01 / Single Trade
NOTE: The EA should add multiples of 0.01 at each level.
For this Example, the Trade Multiplier is 2, and initial lot is 0.01.
1st Trade: it should add 1 trade of 0.01.
2nd Trade: it should not directly place 0.02, rather it should add 2 trades of 0.01 each.
3rd Trade: it should not directly place 0.04, rather it should add 4 trades of 0.01 each.
4th Trade: it should not directly place 0.08, rather it should add 8 trades of 0.01 each.
And so on..
Also, I don't want any stop loss or take profit criteria, I'm going to manage the exits externally.
***MOST IMPORTANT FACTOR:***
Sometimes, I might close some positive or negative trades individually, even so I want the EA to look for the lot size of the nearest open trade and add
the new trade with the multiplier.
For Example:
I might have 5 levels of trades added:
1st Trade: 0.01 x 1 Trade
2nd Trade: 0.01 x 2 Trades
3rd Trade: 0.01 x 4 Trades
4th Trade: 0.01 x 8 Trades
5th Trade: 0.01 x 16 Trades
Now, If I manually close 4th and 5th level Trades (Partially or Fully), then it should add trades starting from 4 Trade level now, as level 3 is
the nearest open trade.
I want this job to be completed by this weekend itself.
I want 1 week of testing time, before releasing the payment, as there could be reworks.
Finally, I understand that it is a small job, but I would appreciate it, if we can get on call to discuss this properly.
Regards,
JOHN.