Indicators: Ideal ZigZag

 

Ideal ZigZag:

This is a simple but very fast ZigZag with no suspended or wrong peaks. The indicator is designed for use in EAs. Peaks retrieval has been time-optimized.

Author: Андрей

 

Thank you! You can see from the graph that it draws very correctly! Do you have a version for 4four? I would like to try it! Good luck!

 
borilunad:

Thank you! You can see from the graph that it draws very correctly! Do you have a version for 4four? I would like to try it! Good luck!

Yes, of course, here -- https://www.mql5.com/en/code/10671
 
TheXpert:
Yes, of course, here -- https://www.mql5.com/en/code/10671
Thank you very much! Please don't be angry. It'll be fine. Good luck.
 

I'm sorry to bother you here, as I'm banned on 4etwerk! Is this the "Top Taken" version of the indicator or should it be used together with the main one? It is not clear to me how to combine them? And if combined, or not, how to call them with an Expert Advisor? In general, I hope for your help! Thank you!

 
borilunad:

Is this the "Taking Vertices" version of the indicator or should it be used in conjunction with the main indicator? It is not clear to me how to combine them?

No, taking vertices is exactly taking vertices.

If you work with an indicator (in an Expert Advisor, for example), then you can correctly find out information on vertices only in the proposed way.

I.e. a cycle with a run through history to find vertices does not work. This was done deliberately and on purpose.

This is a peculiarity of the indicator. Not to say that it is bad :) .

 
TheXpert:

No, taking vertices is exactly taking vertices.

If you work with an indicator (in an Expert Advisor, for example), you can correctly find out information on vertices only in the proposed way.

I.e. a cycle with a run through history to find the vertices does not work. This was done deliberately and on purpose.

This is a peculiarity of the indicator. Not to say that it is bad :) .

Something I am dull! What should I do? In the indicator basically there is no name in the code, by which to call in the Expert Advisor. There is in the "Taking vertices", but how to connect it all with the Expert Advisor? Sorry, this is not a typical case! Can you explain step by step, please!
 

Call by filename in the directory.

https:// www.mql5.com/ru/docs/indicators/icustom

 
Karlson:

Call by the name of a file in the directory.

https:// www.mql5.com/ru/docs/indicators/icustom

Thank you! But I'm on 4four!
 
borilunad:
Thank you! But I'm on a four!
It's pretty much the same.
 
TheXpert:
It's about the same there.
I know that! Please explain: Is the main indicator needed? If yes, how to call it if there is no name for it in the code or is it written only for separate windows? And "Taking vertices", if necessary, insert a code snippet into the EA or also use it as a separate indicator and also call it with the EA? Should I use 2 indicators or one? This case is atypical for me, so I am confused about something. For you it is simple and for me it will be simple with your explanation! No judgement! Maybe my EA is missing just your indicator!