Formula ZIG ZAG PEAKS

Da traderpedia.
Jump to navigation Jump to search

Zig-Zag Peaks.
Categoria: Nuovi/Ibridi
Formula per MetaStock™:

INIZIO FORMULA
Periods := Input("Time Periods",1,1000,5);
If(Ref(Zig(C,periods,%),1),<,Zig(C,periods,%),If(Zig(C,periods,%),>,Ref(Zig(C,periods,%),-1),Zig(C,periods,%),0),0)
FINE FORMULA

Vedi anche: