Kittamet Sirinyamas: I want to use moving average’value of 10-50 period,Does I need to declare 40 buffers and 40 handles?
- There are forty-one (41) values between [10 … 50]. You need to remember 41 handles.
- Only if you need to access more than one MA at a time. Otherwise, just reuse one buffer.
Hi,experts
I doubt if we can change parameters of indicator during the ea/script is running?
as we know,we need to declare (ma_Period,symbol) them in Onit() firstly before using.
Let say I want to use moving average’value of 10-50 period,Does I need to declare 40 buffers and 40 handles?
thank you very much