[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Coding Problem, can someone find my mistake?



PureBytes Links

Trading Reference Links

Hi Nigel, in case you ( or anyone) would have a collection of all 
Ehlers stuff in  tradestation or Mstock Language. could you send it 
to me
that I update the Ehlers dll
if not I'll find them in traders tips...


stephane


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Are these sufficient?  Straight translation from 
> http://trader.online.pl/MSZ/e-w-Fisher_Transform.html
> 
> It really doesn't take much effort to translate MS code.
> 
> 
> - --8<--
> /* ib
> Fisher Transform with ROC.afl
> */
> 
> // from http://trader.online.pl/MSZ/e-w-Fisher_Transform.html
> 
> 
> pr=(H+L)/2;
> len=10;
> maxh=HHV(pr,len);
> minl=LLV(pr,len);
> 
> val1=AMA2(2*((pr-minl)/(maxh-minl)-.5),0.33, 0.67);
> 
> value1=IIf(val1>.99,.999,IIf(val1<-.99,-.999,val1));
> 
> fish=AMA2(log((1+value1)/(1-value1)), 0.5, 0.5);
> 
> Plot(fish, "Fisher", colorRed);
> Plot(10*(fish-Ref(fish,-1)), "ROC (x10)", colorBlue);
> - --8<--
> 
> - --8<--
> /* ib
> Fisher Transform with Signal.afl
> */
> 
> // from http://trader.online.pl/MSZ/e-w-Fisher_Transform.html
> 
> pr=(H+L)/2;
> len=10;
> maxh=HHV(pr,len);
> minl=LLV(pr,len);
> 
> val1 = AMA2(2*((pr-minl)/(maxh-minl)-.5), .33, .67);
> 
> value1=IIf(val1>.99,.999,IIf(val1<-.99,-.999,val1));
> 
> fish=AMA2(log((1+value1)/(1-value1)), 0.5, 0.5);
> 
> Plot(fish, "Fisher", colorRed);
> Plot(Ref(fish,-1), "Signal", colorBlue);
> - --8<--
> 
> 
> 	Cheers,
> 		Nigel
> 
> 
> On Tue, 10 Feb 2004 20:37, Johan wrote:
> > Someone who has and donīt mind sharing John Ehlers Fisher 
transform
> > formula?
> >
> > Itīs both Fisher transform + Roc of the transform.
> >
> > Thank you
> >
> >
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (GNU/Linux)
> 
> iD8DBQFAKKzsBbmcM2pfckkRAreZAKDJ7jOWSfVF6vfCyFMjQoz/7jHmxwCgoCE4
> 99tjD6caUWOsdwWx+jZJQHk=
> =wxez
> -----END PGP SIGNATURE-----



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/