Hi,
will short if upper band gets crossed, exit short if middle band is crossed.
Stop loss 8000Yen has to be adjusted to the number of contracts (Multiply)
No Long function, would only mean small profit and often be stopped out, lots of false triggers for long in this system.
Let me know what you think.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DEFPARAM CumulateOrders = False
indicator1 = close
indicator2 = BollingerUp [ 20 ] (close )
c1 = (indicator1 >= indicator2)
IF c1 THEN
SELLSHORT 1 CONTRACT AT MARKET
ENDIF
indicator3 = close
indicator4 = Average [ 20 ] (close )
c2 = (indicator3 <= indicator4)
IF c2 THEN
EXITSHORT AT MARKET
ENDIF
SET STOP $LOSS 8000