Indicator for storing price of seconds ago in array. Array doesn't work.
Good afternoon!
I'm trying to build an indicator that stores the price of each second ago in an array. Then, I intend to get the price of, for example, 5 seconds ago, accessing the array L[5].... I made this code below, but I can't access the array. If it's L[0], then it works....
Where am I going wrong or what is missing? Someone help me?!
Thank you all!
- How to get the price from 5 seconds ago?
- Store highest and lowest prices in an array
- I need help with my function please

You are missing trading opportunities:
- Free trading apps
- Free Forex VPS for 24 hours
- 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