- ago
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.
0
431
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
Yes, of course.
CODE:
//generate parameters protected override void GenerateParameters() { AddParameter("Source", ParameterTypes.BarHistory, null); AddParameter("Period", ParameterTypes.Int32, 20); }
0
Best Answer
- ago
#2
Thanks, the "null" was what I was missing for 3rd parameter
0

Reply

Bookmark

Sort