Quote:
|
Originally Posted by igorad
Hi,
I think that all problems with Fish are solved.
From myself I shall notice, that the formula of calculation WPR (or Stochastic) is put in a basis of the indicator.
Igor.
|
Try to change formula to
Fisher[shift] = 0.5*MathLog((1.0+Value[shift])/(1.0-Value[shift]));
you'll get more faster Zero cross ..
And also Ln((1+x)/(1-x))>0 only then x>0.... so we dont need Fisher[shift]..at all
The point in Fisher : Fisher[i]<Fisher[i+1] or Fisher[i]>Fisher[i+1]
and you use
" price =iMA(NULL,0,1,0,0,Price,shift);
if (smax-smin==0.0) double wpr=1.0; else wpr=(price-smin)/(smax-smin);
Value[shift] = 0.33*2*(wpr-0.5) + 0.67*Value[shift+1]; " .... its giving signals late mate