ZigZag free
Description
The zigzag is an Indicator that is usually used as a filter of small price momements.
Notification Publishing copyrighted material is strictly prohibited. If you believe there is copyrighted material in this section you may use the Copyright Infringement Notification form to submit a claim.
Formula / Source Code
u s i n g S y s t e m ; u s i n g c A l g o . A P I ; u s i n g c A l g o . A P I . I n t e r n a l s ; n a m e s p a c e c A l g o . I n d i c a t o r s { [ I n d i c a t o r ( I s O v e r l a y = t r u e , A c c e s s R i g h t s = A c c e s s R i g h t s . N o n e ) ] p u b l i c c l a s s Z i g Z a g : I n d i c a t o r { [ P a r a m e t e r ( D e f a u l t V a l u e = 1 2 ) ] p u b l i c i n t D e p t h { g e t ; s e t ; } [ P a r a m e t e r ( D e f a u l t V a l u e = 5 ) ] p u b l i c i n t D e v i a t i o n { g e t ; s e t ; } [ P a r a m e t e r ( D e f a u l t V a l u e = 3 ) ] p u b l i c i n t B a c k S t e p { g e t ; s e t ; } [ O u t p u t ( "