Buonasera a tutti, mi servirebbe un aiuto su una condizione di verifica.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Pattern=close>close[1]
ifpatternthen
a=1
else
a=0
endif
ifnotonmarketanda=1then
buy1contractatmarket
endif
Il mio problema è il seguente, io dovrei testare sia a=1 che a=0 per evitare di dover ogni volta cambiare, è possibile farlo una sola volta. Ovvero trovare il modo che nello stesso becktest posso verificare sia la condizione a=1 che la condizione a=0
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.