Job finished
Specification
EA should be based on my Grid strategy.
EA should never miss placing trades.
SETTINGS: Option for me to select for the EA to place only Buy Trades/only Sell trades/ both buy and sell trades simultaneously
Grid size should be specified by me (default is 2 pips)
maximum number of trades running for buy and sell trades each should be specified by me ( default 10 for buy trades and 10 for sell trades)
lot size should be allowed to change( default 0.01 lots)
STRATEGY:
STAGE 1:- When EA starts running place 1 BUY trade and 1 SELL trade at same time(at same market price). and proceed to stage 2.
STAGE 2 :-
PART1 (BUY TRADES ONLY)
step1- EA should execute buy trade for every grid as the market moves. If buy trade already there , then skip that grid( dont place buy trade)
when market moves back and in that grid if buy trade is missing (cancelled by me or closed by the EA), then place new buy trade.
step2- if previous buy trade is running in loss then close that trade only after reaching the next grid. and open new buy trade(at the next grid)
DISCLAIMER- only one buy trade per grid.
- and at the next grid if buy trade already placed then skip placing new trade.(Next grid might be in the upwards direction or downwards direction. it doesnt matter)
If loss buy trade closed , at the same time also close the oldest profit buy trade(the highest profit buy trade running at that time)
if there is no buy trades in profit, then close only the loss buy trade and skip closing profit buy trade.
DISCLAIMER: close profit buy trade only when closing loss buy trade.
step3- at once EA should be running 'X' number of buy trades('X' is input in settings)
On reaching a new grid, EA should place new buy trade at all times. If buy trades increase 10 the at the time of placing the new buy trade(11th buy trade). Ea should close the oldest buy trade open (highest profit buy trade open at that time)
So that at any given time only 'X' number of buy trades are running.
for eg, suppose 10 buy trades are running and market price reaches next grid, close the oldest running buy trade which is profit and open new buy trade at the new grid price.
PART2 (SELL TRADES ONLY)
step1- EA should execute sell trade for every grid as the market moves. If sell trade already there , then skip that grid( dont place sell trade)
when market moves back and in that grid if sell trade is missing (or cancelled by me or close by the EA), then place new sell trade.
step2- if previous sell trade is running in loss then close that trade only after reaching the next grid. and open new sell trade(at the next grid)
DISCLAIMER- only one sell trade per grid.
- and at the next grid if sell trade already placed then skip placing new trade.(Next grid might be in the upwards direction or downwards direction. it doesnt matter)
If loss sell trade closed , at the same time also close the oldest profit sell trade(the highest profit sell trade running at that time)
if there is no sell trades in profit, then close only the loss sell trade and skip closing profit sell trade.
DISCLAIMER: close profit sell trade only when closing loss sell trade.
step3- at once EA should be running 'X' number of sell trades('X' is input in settings)
On reaching a new grid, EA should place new sell trade at all times. If buy trades increase 10 the at the time of placing the new sell trade(11th buy trade). Ea should close the oldest sell trade open (highest profit sell trade open at that time)
So that at any given time only 'X' number of sell trades are running.
for eg, suppose 10 sell trades are running and market price reaches next grid, close the oldest running sell trade which is profit and open new sell trade at the new grid price.
HOPE YOU UNDERSTOOD MY SRATEGY.
THANK YOU