I have created a chart to display the output; testing the values manually today as the indicator plots, it is right on the money and the graphical is rendering correctly and as expected..
Nevertheless, when I try to add this indicator to my market analyzer so that i can a. backtest using the market analyzer and b. record certain values to hone my in-development strategy, I get either:
-- error messages like "NaN" or "InfiniteM", or
-- a totally unrelated result like Close[0]; //calculate on bar update set to true.
My calculation, if and when correctly output, would be a multiple of the expected volume traded, where 0.50 would mean half as much volume as I expected went off and 2.5 would mean that I expected one million to trade but the instrument actually traded 2.5MM during the period.
I can be more specific if needed but let's start here. Any help greatly appreciated.
Regards.
Comment