SAR Martingale MA price channel

 

Hi all

 

I have been searching and searching, even tried myself and failed to find / code an ea based on:

 

BUY

Price closes above Moving average EMA High 20 ... AND ... SAR below price bar ... 0.1 lots with adjustable TP

 If that fails then a sell position is initiated

 SELL 

 Price closes below Moving average EMA Low 20 ... AND ... SAR above price bar ... 0.3 lots with adjustable TP 

If that fails then Buy 0.6 lots etc etc.

 

When profit is hit no more trades are placed until next signal in opposite direction, starting from 0.1 lots again.