I have programmed a derivate of an RVI indicator. See attachment. It does run on many instruments Like the EURUSD but sometimes like the ES it generates the error message
"Error on calling 'CalculateMinMax' method on bar 7088: The calculation results in unrenderable values."
When I print the values its ok until it prints NaN (not a number)? I think I'm missing something but can't get right.
Could somebody have a look at the code and maybe provide a hint?
PS this happens when +1 year of ie. 15min data is loaded into the chart or strategy analyser.
Thanks
Comment