@chriswillson You will need a variable to increase lot size as soon as a trade is open in order to use it in case that opposite sell trade is to be open. You can find some inspiration with my martingale project (doing something like that):
@chriswillson I would try to combine different timeframes first. You can combine different timeframes in your EA by selecting them this way, for example: