trader place line above highest candle of price action for uptrend or lowest candle for downtrend
no trades
no trade - if price above line (named gold line) and above 55ma - buy 0.1 group 1
no trade - if price below line (named gold line) and below 55ma - sell 0.1 group 2
if trade
group1 & price below 55ma & price below line - open sell 0.2 group 3 (add break even) draw line above highest candle since group 1 first trade
group2 & price above 55ma & price above line - open buy 0.2 group 4 (add break even) draw line below lowest candle since group 2 first trade
and keep opening opposite trades (4-5 turns the final trade is closing with loss) (can i add this losses to the "profit target"?)
if profit close all......reset the variable
my problem is that now it places the line in a "set number of candles" and if in zig - zag price action if 105 candles have passed like pic above my ea draw the line in the middle