Hi,
I am currently working on an indicator that uses ADX data from different time periods. In the attached indicator I am attempting to populate arrays with data from these different time periods. When I use the Print formula to look a the data, I am getting irregular data from the array I have populated. Am I missing something as it relates to properly using arrays? I don't understand why I have big gaps in the data. I am using MetaTrader 4.
I am currently working on an indicator that uses ADX data from different time periods. In the attached indicator I am attempting to populate arrays with data from these different time periods. When I use the Print formula to look a the data, I am getting irregular data from the array I have populated. Am I missing something as it relates to properly using arrays? I don't understand why I have big gaps in the data. I am using MetaTrader 4.
Attached File(s)