Strategy based on stochastic oscillator. I used 2 EMA's (slow = 50
and
fast = 20) to estimate trend. If fast EMA is higher than slow trend
is
up and vice versa. Orders are opened only in accordance with the
trend. If stochastic oscillator cross the level 20 from down to up
(and trend is up) then opening order BUY. If stochastic cross level
80
from up to down then open order SELL. There is set SL=50 pips, but no
TP. Order is close if stochastic come to the opposite level (from 20
to 80 or from 80 to 20). I added protection of profit. If profit is
25
pips then robot to close half order and set SL on the opening price.
Strategy use the GBPJPY pair.