Initiate indicator per Indicators.GetIndicator
Created at 12 Aug 2022, 13:00
BE
Initiate indicator per Indicators.GetIndicator
12 Aug 2022, 13:00
Hey,
I try to use the TSV indicator in my cBot. Unfortunately, at the start of the Bot, the Log says "Crashed in OnStart with ArgumentException: Incorrect parameters count. (Parameter 'parameterValues')"
Now I wonder, which parameters I have to pass in the following method:
var tsv = Indicators.GetIndicator<TSV>(???);
Maybe someone can help me with this. Thank you!
firemyst
14 Aug 2022, 19:17
the indicator has 3 parameters, so you need to provide the 3 values in their expected order:
var tsv = Indicators.GetIndicator<TSV>(Length, MaType, MaPeriod);
@firemyst