![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Please not just the current fractal but based on my analysis, i may need the 4th lower fractal or the 10th upper fractal or any fractal with a range between the current and the 20th fractals. i want to be able to change the fractal index in the alert function to any number between 0 and 20 e.g at anytime within the code. ALL I NEED IS A CODE THAT WOULD COUNT THE LOWER AND UPPER FRACTALS BACKWARDS TO THE 20TH AND ASSIGN THEM TO AN ARRAY. i hope you'd understand my illustration .THANK YOU
Yes, now I get it. You need:
Yes, now I get it. You need:
ok thank you. i will correct that and give you feedback. Much grateful
I am trying too get into my array the fractals values, without zeros (like last lower fractal is the 0 in the array, 2. last is in 1 in the array....)
How is that? I don't get it.
How is that? I don't get it.
Read the indicator buffer, remove the zeros.