With my understanding, I wont code the second loop the way you are doing. A forward-looking logic (MA based on cn-1, cn-2 index) is not very practical
As you can see, the coders that tried to assist you are not very clear of what you are doing. If you cannot post your source code, at least describe what you want this module to achieve instead of forcing everyone to think along the original idea you had.
What are you trying to find and when do you want it to be displayed?
As you can see, the coders that tried to assist you are not very clear of what you are doing. If you cannot post your source code, at least describe what you want this module to achieve instead of forcing everyone to think along the original idea you had.
What are you trying to find and when do you want it to be displayed?