This strategy trades on EURUSD currency pair.
Opened position's amount is 25 percent of free margin.
It has input parameter d: distance in points.
Strategy uses fixed stop loss 4*d points and take profit d points.
It is not use any indicators.
Trading logic based on the values of current price p0 and three last
extremums p1,p2,p3 (where p1 - last extremum, p2 - previous to p1, p3
- previous to p2).
When p2-p3>d*4 pips and p2-p1>d*2 pips and p0-p1>d pips,
trading signal to buy appears.
When p3-p2>d*4 pips and p1-p2>d*2 pips and p1-p0>d pips,
trading signal to sell appears.
If there are no opened positions, new order submit.
If |p1-p2|>d*4 pips, then p1,p2,p3 values reset to p0.