Ciao Roberto, aiuto!!!!
non capisco perchè la strategia apre solo posizioni long su qualsiasi TF
e non capisco che variabili posso ottimizzare.
Autore Nicolas 4 anni fa.
Potresti aiutarmi?
Grazie
Se non chiedo troppo, puoi postare una strategia sul TURTLE SOUP?
Grazie
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DEFPARAM CumulateOrders = false
ID = high < high [ 1 ] and low > low [ 1 ]
rang = range
NR4 = rang< range [ 1 ] and rang< range [ 2 ] and rang< range [ 3 ]
if ID and NR4 then
test = 1
hh = highest [ 4 ] (high )
ll = lowest [ 4 ] (low )
endif
if test = 1 then
BUY 1 SHARE AT hh STOP
SELL 1 SHARE AT ll STOP
endif
if longonmarket then
SELL AT ll STOP
test = 0
elsif shortonmarket then
EXITSHORT AT hh STOP
test = 0
endif