I keep getting a "No overload for method 'Add' takes '2' arguments" for my multiple time frame script as soon as I add
Add (PeriodType.Minute, 5);
to the Initialize() section, as per the documentation.
To troubleshoot, I created an "empty" script. I went Tools, New NinjaScript, Indicators, Next, Next, etc, Finish. Then inside the code I only added the statement above in the appropriate section. When compiling, I keep getting the error. Why is that?
Thanks.
Comment