EA that needs some tweaking--works and makes a little profit
-
I've been tweaking and trying different things to this EA for nearly a year now, it seems to be doing what I want, it makes some profit, but still needs work to be more profitable, it relies on the user creating a support and resistance horizontal line (I created an EA for this to run before I load it) and then when it breaks it gets ready (starts counting bars) if after 1 bar it has not crossed the previous bar high it creates a pending order horizontal lines and a pending order, if it retraces past the median of the breaking candle it cancels the pending order, if a trade is triggered it uses the lines to create SL and TP 1:1, and once 50% is hit it takes half off and moves SL to break even. I would love some input and if anyone wants to tweak to make better, that would be great.
I create resistance and support on H4 and run EA on H1 One this I cannot figure out, once the trade is done I have to hit reset to clear lines, but the new lines created are still the next number, so for example, when resistance1 is created and I hit reset to restart, when another line is created its called reistance12--is there a way to reset that? -
-
@bmarchand reverse yes/no inside all "draw line" blocks. This way the lines will be redraw with original name without increase number.

-
Nice, Thanks
-
So the name of the line would be exactly as in name here and never go to 11 or 12

-
Yes.....