CHANGE LANGUAGE | Home > Doc > Indicatori per Metastock > Stops

Indicatori per Metastock

Filters

Cicle

Guppy

Kase peak Oscillator

KST

MACD Weekly

Stop

Indicatori per Metastock©

Stops

i Due Stop i più famosi: Trailing e Chandelier. utile per migliorare il proprio sisttema.

Download

Codice Stops Trailing

Stop1:=If( PREV < L,
If(( H - 3*ATR(10) ) >= PREV,
( H - 3*ATR(10) ),
PREV),
( H - 3*ATR(10) ));

Stop2:=If( PREV < L,
If(( C - 2.5*ATR(10) ) >= PREV,
( C - 2.5*ATR(10) ),
PREV),
( C - 2.5*ATR(10) ));

StopLong:=If(Stop1>Stop2,Stop1,Stop2);

Stop1:=If( PREV > H,
If(( L + 3*ATR(10) ) <= PREV,
( L + 3*ATR(10) ),
PREV),
( L + 3*ATR(10) ));

Stop2:=If( PREV > H,
If(( C + 2.5*ATR(10) ) <= PREV,
( C + 2.5*ATR(10) ),
PREV),
( C + 2.5*ATR(10) ));

StopShort:=If(Stop1<Stop2,Stop1,Stop2);

If(BarsSince(L<Ref(StopLong,-1))>BarsSince(H>Ref(StopShort,-1)),StopLong,StopShort);

Codice Stop Chandelier

loss:=Input("Loss",0,1000,2);
If(C=PREV,PREV,If(((Ref(C,-1)<PREV)AND (C<PREV)),
Min(PREV,C*(1+loss/100)),
If((Ref(C,-1)>PREV) AND (C>PREV),
Max(PREV,C*(1-loss/100)),If(C>PREV,C*(1-loss/100),
C*(1+loss/100)))))

Esempi

DJ 600

Cambio Euro / Dollaro

Cambio Euro / Dollaro

PerformanceTrading.it ed il suo contenuto sono di esclusiva proprietà degli autori. E' vietata la riproduzione anche parziale di qualsiasi parte del sito senza autorizzazione, compresa la grafica e il layout. Prima della consultazione del sito leggere il disclaimer nella sezione [info].