Stochastics myStoch = Stochastics(Closes[tf1], stochLineD_Period, stochLineK_Period, stochSmooth);
complies and operates ok in an indicator.
The same line gets gets an error 118 in a strategy "Stochastics is a method but is used as a type."
What do I need to change to get this line to compile in a strategy?
Thanks
Comment