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
Is it possible to take the values of an indicator and put them into an array so that the values of the indicator can be looped through. I have tried for a while to find a way to do this but can't work it out.
Below iis the core of the code for an indicator to mark spike highs (it allows for bars with equal tops within the spike pattern)
Can I put the values of SpikeHi[] for the most recent 20 or so bars into an array so that I can loop through them to look for particular patterns of highs (e.g. look for higher spike highs or lower spike highs etc.)