Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
It's ok
Thank you
-
You edit the code and compile it.
-
You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
No free help (2017)Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum (2018)We're not going to code it for you (although it could happen if you are lucky or the issue is interesting).
No free help (2017)
-
You edit the code and compile it.
-
You haven't stated a problem, you stated a want. Show us your attempt (using the CODE button) and state the nature of your difficulty.
No free help (2017)Or pay someone. Top of every page is the link Freelance.
Hiring to write script - General - MQL5 programming forum (2018)We're not going to code it for you (although it could happen if you are lucky or the issue is interesting).
No free help (2017)
Task: Omit 2nd fractal if 2 consecutive identical fractals is calculated.
use↓
if(dCurrent>=High[i+1] && dCurrent>=High[i+2] && dCurrent>High[i-1] && dCurrent>High[i-2])
instead of this↓
if(dCurrent>=High[i+1] && dCurrent>=High[i+2] && dCurrent>=High[i-1] && dCurrent>=High[i-2])
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Everyone
Hello
Here it is my question to you:
How to modify the Fractal indicator code (I mean the conventional Bill Williams Fractals) in order to it omits the 2nd fractal of 2 consecutive identical fractals.
Task: Omit 2nd fractal if 2 consecutive identical fractals is calculated.
I appreciate any contribution in advance
Bests
Ali