PureBytes Links
Trading Reference Links
|
Thanks Ticiano and Roy for help! When you get home I will test this formula.
One day (who knows...rs) I hope to help others, as you did to me.
Regards,
Gelo
2009/5/19 Roy Larsen <rlarsen@xxxxxxxxxx>
Hi Ticiano
You're right in a way - PREV is always a puzzle that needs to be solved if a solution is possible. With this formula I have the advantage of having seen the solution a number of times before, and so I'm showing you the answer sheet that I originally copied from Ross Kovacs (thanks Ross).
Regards
Roy
----- Original Message -----
Sent: Wednesday, May 20, 2009 11:54 AM
Subject: Re: [EquisMetaStock Group] Fisher Yur4ik formula
Hi Roy !
Thanks a lot.
I feel that always when you see a PREV statement it´s like a puzzle that you have to solve.
Congratulations !
Regards,
Ticiano
2009/5/19 Roy Larsen <rlarsen@xxxxxxxxxx>
Hi Ticiano
If your code is right, and I suspect it is, then the PREV lines are both exponential moving averages and the revised formula below will execute much faster with PREV removed. The values appear to be slightly off and this is accounted for by 0.33 and 0.67 factors in the original formula being closer to 0.33333 and 0.66667 when the Mov() function is used to generate the EMA. Wilders() with Periods values of 3 and 2 respectively would return the same values as Mov()
pr:=(H+L)/2; len:=8; maxh:=HHV(pr,len); minl:=LLV(pr,len);
val1:=Mov(2*((pr-minl)/(maxh-minl)-.5),5,E);
value1:=If(val1>.99,.999,If(val1<-.99,-.999,val1));
fish:=Mov(Log((1+value1)/(1-value1)),3,E); fish;
Regards
Roy
----- Original Message -----
Sent: Wednesday, May 20, 2009 7:08 AM
Subject: Re: [EquisMetaStock Group] Fisher Yur4ik formula
Hello Gelo,
Problably this will help you:
pr:=(H+L)/2; len:=8; maxh:=HHV(pr,len); minl:=LLV(pr,len); val1:=.33*2*((pr-minl)/(maxh-minl)-.5)+.67*PREV; value1:=If(val1>.99,.999,If(val1<-.99,-.999,val1)); fish:=.5*Log((1+value1)/(1-value1))+.5*PREV;
fish;
I don´t know if this is the one that you want.
Abraços,
Ticiano Rêgo
2009/5/19 Gelo Gelo <gelobr@xxxxxxxxx>
[Attachment(s) from Gelo Gelo included below]
Hello everybody!
I'm "new" here. I made my registration for some time, but I was just looking to learn something ...until now. So let me first, introduce myself...
I'm from Brazil and started to negotiate stocks a few months ago. Also started to use Metastock and Metatrader a few months, and I still can not understand the language of these programs. So I need some help...
I'm trying to transform an indicator from Metatrader to Metastock. The indicator is "Fisher Yur4ik". The formula of this indicator is in the file attached below.
I hope someone can help me.
Regards,
Gelo
__________ NOD32 4088 (20090519) Information __________
This message was checked by NOD32 antivirus system. http://www.eset.com
__________ NOD32 4089 (20090519) Information __________
__._,_.___
__,_._,___
|