Salve, vorrei testare una strategia con l’impiego, tra l’altro, dell’Indicatore Stocastico (20,3,3), ma non riesco a definire correttamente l’incrocio delle due linee che lo composngono (%K e %D), potete aiutarmi? Grazie
ciao. Ecco un esempio di esempio:
stok=Stochastic[20,3](close)
stod=Stochasticd[20,3,3](close)
if not onmarket then
if stok crosses over stod and stok<20 then
buy 1 contract at market
elsif stok crosses under stod and stok>80 then
sellshort 1 contract at market
endif
endif
set stop %loss 5
set target %profit 5
Grazie mille Ivan, per la gentilezza e tempestività, come sempre.
Giuseppe