Ciao a tutti.
Avrei bisogno la creazione di un indicatore con questi parametri,
per il LONG
– EMA21 > SMA200
– 20 < Stocastico (10;6;3) < 80 e in salita
– Prezzo (close) > EMA21
per lo SHORT
– EMA21 < SMA200
– 20 < Stocastico (10;6;3) < 80 e in discesa
– Prezzo (close) < EMA21
Grazie sempre per il supporto.
Fausto
JSParticipant
Veteran
Ciao,
Prova questo…
EMA21=ExponentialAverage[21](close)
SMA200=Average[200](Close)
Stochastic1063=Stochasticd[10,6,3](close)
C1=EMA21>SMA200
C2=Stochastic1063>20 and Stochastic1063<80
C3=Stochastic1063>Stochastic1063[1]
C4=Close>EMA21
Long=C1 and C2 and C3 and C4
C5=EMA21<SMA200
C6=Stochastic1063>20 and Stochastic1063<80
C7=Stochastic1063<Stochastic1063[1]
C8=Close<EMA21
Short=C5 and C6 and C7 and C8
Return Long as "Long", Short as "Short"
Graie mille.
Funzionea perfettamente.
Grazie ancora, Fausto