
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
After publishing couple of times, here I am asking for a suggestion! :-)
I am working on an indicator based on the ZigZag, but in order to draw some nice rectangles, I should need the time at wich the maximum/minimum has been created.
I am able to get the ZigZag values through this function
However, to calculate the time I am just using this function:
In which the caller specifies whether he is looking for time of a peak of valley.
Is there a more elegant approach to this??
Thanks!! :-)
David