I need some insight. I have an indicator that uses the following code:
dperiod = HomodyneDiscriminator(Close)[0];
dperiod = Math.Round(dperiod);
period = (int)dperiod;
double newvalue = EhlersSuperSmoother(Close,ssalpha)[0];
newvalue = newvalue/1000.0;//dividing to give transform smaller numbers to digest
Plotit.Set(newvalue);
Fishmod.Set(FisherTransform(Plotit,period)[0]);
I plot the Fishmod on the chart, it works fine, a good indicator. When I use the same lines of code in a strategy the values differ. Using print statements I see that the period and Plotit values are the same between the indicator and strategy. The Fishmod values start off close and then get more askew as the strategy runs. Any ideas what to look for?
Mike


Comment