Is it possible to use BarHistory as a parameter to AddParameter instead of using TimeSeries?. I want to create an indicatory based on price and volume.
Rename
Yes, of course.
CODE:
//generate parameters protected override void GenerateParameters() { AddParameter("Source", ParameterTypes.BarHistory, null); AddParameter("Period", ParameterTypes.Int32, 20); }
Thanks, the "null" was what I was missing for 3rd parameter
Your Response
Post
Edit Post
Login is required