htondkar:
I'm trying to create an indicator that uses zigzag as it's base and adds some extra features on top of that. but the zigzag lines don't show up correctly.
here's my code:
What am I doing wrong here?
Thank you in advance
Insert this line (highlighted) so that zeros are ignored:
SetIndexBuffer(0,linesBuffer,INDICATOR_DATA); PlotIndexSetDouble(0,PLOT_EMPTY_VALUE,0); ZigZagHandle=iCustom(NULL,0,"Zigzag",12,5,3,3,0);
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'm trying to create an indicator that uses zigzag as it's base and adds some extra features on top of that. but the zigzag lines don't show up correctly.
here's my code:
What am I doing wrong here?
Thank you in advance