I've been lazily assigning variables to past values of NT indicators as a way of easily calculating 3 value moving averages to whatever set of double or int numbers I'm working with. This method is also used for custom values that are combinations of indicator values to capture signals from multiple indicators.
My question is: can I bypass this process of declaring/assigning values in my custom, non-managed strategy and use arrays and/or lists to store previous values and calculate 3,5 or even 10 value averages of assigned values?
I know I'll probably need to post some code, but I'm away from my Dev laptop and figured
I'd start the question via mobile phone to see if anyone had a quick answer.
Thanks in advance for any replies!
Comment