Qualcuno può controllare questa cosa?
A me pare impossibile aver fatto un TS con un'equity del genere.
Da qualche parte ci deve essere sicuramente un errore (oppure ce l'abbiamo fatta

).
Il TS gira sul daily, sul derivato.
Le condizioni sono sempre le stesse:
- buy quando il Macd-Sbit è long (1) e il DSS < 5 (2);
- sell quando il Macd-Sbit è short (1) e il DSS > 95 (2);
- trailing stop inserito di 100 punti (cioè con il minifib si perdono al massimo 100 euro a trade).
Potete provare a rifare il TS con un'altra piattaforma e controllare i risultati?
Codice:
DEFPARAM CumulateOrders = False // Posizioni cumulate disattivate
slw=3
pds=7
ratio=ExponentialAverage[3](close)/ExponentialAverage[7](close)
divi=highest[pds](ratio)-lowest[pds](ratio)
a=exponentialaverage[slw]((ratio-lowest[pds](ratio))/divi)*100
divi2=highest[pds](a)-lowest[pds](a)
dss=exponentialaverage[slw]((a-lowest[pds](a))/divi2)*100
myMACD = MACD[48,72,6](close)
// Condizioni per entrare su posizioni long
cMACDlong=myMACD>0
cDSSlong=DSS<5
IF cMACDlong and cDSSlong THEN
BUY 1 SHARES AT MARKET
ENDIF
// Condizioni per entrare su posizioni short
cMACDshort=myMACD<0
cDSSshort=DSS>95
IF cMACDshort and cDSSshort THEN
SELLSHORT 1 SHARES AT MARKET
ENDIF
if longonmarket and cDSSshort then
sell at market
endif
if shortonmarket and cDSSlong then
exitshort at market
endif
set stop trailing 100
Vedi l'allegato 522717
Vedi l'allegato 522718
Vedi l'allegato 522719