Formula ZIG ZAG VALLEYS
Jump to navigation
Jump to search
Zig-Zag Walleys.
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