Job finished
Specification
Hello,
i want to make an ea from my strategy
my strategy is
Buy:
when there are 3 red candles and after them comes green candle and after them the ninth candle in one condition, if the ninth candle one of its points at least is between the highest of the 3 red candles to the lowest of the 3 red candles then make buy order and also if the ninth candle close is not over the highest of the 3 red candles.
close all buy orders if there is new sell order and only close the orders with profit and keep the loss orders open
if the loss orders reached down for example 200 points ( make it variable ) then make new sell order with triple size of the buy order lot and make TP and SL for the new sell and if it reached TP or SL close also the buy order
...................................
Sell:
when there are 3 green candles and after them comes red candle and after them the ninth candle in one condition, if the ninth candle one of its points at least is between the highest of the 3 green candles to the lowest of the 3 green candles then make sell order and also if the ninth candle close is not lower the lowest of the 3 green candles.
close all sell orders if there is new buy order and only close the orders with profit and keep the loss orders open
if the loss orders reached up for example 200 points ( make it variable ) then make new buy order with triple size of the sell order lot and make TP and SL for the new buy and if it reached TP or SL close also the sell order
..................
add auto lot size for example i put 0.01 or 0.02 lot size for each 100 usd
thank you