try bigger than 0 instead ( icustom > 0)
try bigger than 0 instead ( icustom > 0)
enotrek, thanks for the fast response! I modified my original post to include your suggestion. Unfortunately, it still isn't getting the values. Anything else you can think of?
ups sorry, the _my would not work for your ;)
Z, that code was a huge help. The log is showing the proper values. Thanks for answering my question! Unfortunately, my EA still isn't trading... but that's another question, I'll post that in a new topic. At least I'm getting the right the zigzag values =)
For anyone in the future searching the forum for this same question, the first post reflects the working piece of code.
Z, that code was a huge help. The log is showing the proper values. Thanks for answering my question! Unfortunately, my EA still isn't trading... but that's another question, I'll post that in a new topic. At least I'm getting the right the zigzag values =)
For anyone in the future searching the forum for this same question, the first post reflects the working piece of code.
Hello!
alex, can you to show me the code for to find the last two value of zigzag?
thank you/
Dear forum,
I'm trying to get the previous two, fixed ZigZag values -- I've tried the method found here, but it doesn't seem to work. What I have now is this:
But the log is still showing "0.000000" for both values. Can anyone point out what's wrong?
Thanks for your help.
UPDATE :: This code, a modified version of the code from zzuegg's indicator, seems to do the trick:

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Dear forum,
I'm trying to get the previous two, fixed ZigZag values -- I've tried the method found here, but it doesn't seem to work. What I have now is this:
But the log is still showing "0.000000" for both values. Can anyone point out what's wrong?
Thanks for your help.
UPDATE :: This code, a modified version of the code from zzuegg's indicator, seems to do the trick: