You start wherever you want with two opposite positions 0.2 Lots with TP 20 and SL 40.Winning position double at the TP point from first position and the hedge position is half of the first-stay same size like before and so on.
Buy 0.2 at 1.00200,Sell 0.2 at 1.00200
If market goes up,at 1.00400 you have winning position buy,at this point you place Buy 0.4 L and Sell 0.2L and so on.At this point you have nothing to winn and also nothing to los.But if market goes down,you will place 20 pips down Sell 0.8 L and Buy 0.4.If market goes down,you will winn this sell 0.2L opened position and if you will,you can stop everything and go from start on,or you can further double positions.
I have traded so many times,but it is a little bit complicated,because I must be allways by the computer.
If anyone can make this EA,I will send him everything he want to make this real.