Details for the EA, look the the sreenshot for the bar-numbers. For Sell setup: 1) for bar1,2,3 and 4 = bar high is lower than MA (black) and the bars must be in a row. 2) EMA28-high (green) lower MA (black) 3) bar 1 high greater EMA28-low (red) and close lower EMA28-low (red) 4) bar 2,3 and 4, high lower EMA28-low (red) 5) bar 2,3 and 4 range (open - close) lower than bar 1 range (high - low). 6) updownbar period lower updownbar average period 7) updownbar average periode lower "zero" 0 When 1-7 is fulfilled place a sell limit order on EMA28-high level, as long as updownbars period lower updownbars average periode. Each bar following bar 4, and fulfilled (6+7) will adjust new the sell limit order to the current EMA28-high (green) level. When updownbars periode greater updownbars average periode the sell order will be cancel and a new setup fulfilled (1-7) is needed. The sell limit order will be with stop los, take profit an trailing stop. If the order is executed the position will be closed by take profit, or stop los or trailing stop or bar close greater MA Only one position should be open. For Buy setup: 1) for Bar 1, 2,3 and 4 = bar low is greater than MA (black) and the bars must be in a row. 2) EMA28-low (red) greater MA (black) 3) bar 1 low lower EMA28-high (green) and close greater EMA28-high (green) 4) bar 2,3 and 4, low greater EMA28-high (green) 5) bar 2,3 and 4 range (open - close) lower than bar 1 range (high - low). 6) updownbar period greater updownbar average period 7) updownbar average periode greater "zero" 0 When 1-7 is fulfilled place a buy limit order on EMA28-low level, as long as updownbars period greater updownbars average periode. Each bar following bar 4, and fulfilled (6+7) will adjust new the buy limit order to the current EMA28-low (red) level. When updownbars periode lower updownbars average periode the buy order will be cancel and a new setup fulfilled (1-7) is needed. The buy limit order will be with stop los, take profit an trailing stop. If the order is executed the position will be closed by take profit or stop los or trailing stop or bar close lower MA Only one position should be open. The variables are: Lot size Stop Los Trailing stop Take profit Order direction long/short EMA high EMA low MA Comment field needed updownbars indikator is added. If you have further questions please contact me.