Hi.
How do i code CB2 and CS2 to make them same as CS1 and CB1 to not needing MTF?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
timeframe (30minutes , updateonclose )
L30 = Low
H30 = high
timeframe (Default ) //3 min
cb1 = (close crosses over H30)
cs1 = (close crosses under L30)
CB2 = close crosses over HIGHEST [ 10 ] (close )
CS2 = close crosses under Lowest [ 10 ] (close )
IF A= 1 then
IF CB1 THEN
BUY 1 CONTRACTS AT MARKET
ENDIF
IF CS1 THEN
SELLSHORT 1 CONTRACTS AT MARKET
ENDIF
endif
If A= 2 then
IF CB2 THEN
BUY 1 CONTRACTS AT MARKET
ENDIF
IF CS2 THEN
SELLSHORT 1 CONTRACTS AT MARKET
ENDIF
endif
SET STOP %LOSS 2
SET TARGET %PROFIT 2