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
The ArrayMax() function.
This function returns the value of the maximum element of the array.
The ArrayMin() function.
This function returns the value of the minimum element of the array.
Hello, found a couple of your ZigZag functions on the forum. This is exactly what I need. I decided to check the functionality of these functions, so I made an Expert Advisor that just calls this function in the comment. ZigZag bar number = so-and-so. The problem is that the function only shows the bar number of the zigzag if it is not on zero bar. If the zigzag is on a zero bar, it shows the bar of the previous zigzag. And I need it to show at zero bar. In other words, I want to know when the new zigzag has appeared.
The code of the Expert Advisor is given below:
function shows the bar number of the zigzag only if it is not on zero bar.
If the zigzag is on zero bar, it shows the bar of the previous zigzag.
And I need it to show at zero bar. In other words, I want to know when a new zigzag has appeared.
ok... corrected for zero bar
I apologise for my post to the author, I wrote in vain, as I won't be using this code anyway, as I have my own libc with everything I need. And because for such a long time there was no unequivocally negative feedback, it means that the author's code satisfies. Just couldn't stand it :), sorry.
There are a lot of clever people, but clever and kind people are few. You, on the other hand, don't put out your library, even though you think you code better, while Igor puts out for free almost all of his work.
There are many smart people, but few smart and kind ones. You don't put out your library, even though you think you code better, while Igor puts out almost all of his work for free.
I've already written why. Because my code is not completely universal. If I can find something to post, I'll do it for sure
The ArrayAvg() function.
This function returns the average arithmetic of the array elements.
ok... corrected for the zero bar.
Thank you very much. Something with the internet at work, couldn't thank you earlier.
The ArrayAvGeom() function.
This function returns the geometric mean of the array elements.
The ArrayAvGeom() function.
This function returns the geometric mean of the array elements.
Dear KimIV , thanks for the function!
Is it realistic to write the same kind of function to calculate the mode?