Please edit your post and use the code button (Alt+S) when pasting code.
EDIT your original post, please do not just post the code properly in a new post.
MatlabCoder98:
that zigzag value always equal zero .
what is my error in zigzag output?
It is always (usually?) zero on bar zero. Look at your complete output and find the last bar with a non-zero value.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I write a script to print zigzag point in windows
but result is : 2020.12.08 00:26:28.344 userindicator (1) SP500m, H4: 205 0
that zigzag value always equal zero .
what is my error in zigzag output?
thank you for replying. god bless you
i want to find 5 junction points based on zigzag function.