PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Arthur,
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>X=10*roc(fish,1);
<FONT face=Arial color=#0000ff
size=2>
As I
recall MS offers Roc in percent or dollars...
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Arthur Sawilejskij
[mailto:arthur@xxxxxxxxxxxxxxx]Sent: Tuesday, March 23, 2004 7:58
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: Re: [amibroker]
TRANSLATION OF AN EASY LANGUAGE FORMULAI've seen the
indicator with the following line appended to it - I think it is
metastock10*ROC(fish,1,$)How does this translate to
AFL?ThanksArthur>Hello,>>Translated
code:>>Price=
((H+L)/2);>Len=10;>>MaxH=HHV(Price,Len);>MinL=LLV(Price,Len);>Value1=AMA(
2*((Price-MinL)/(MaxH-MinL)-.5), 0.5 );>Value1 = Min( Value1, 0.9999
);>Value1 = Max( Value1, -0.9999 );>Fish= AMA2(
0.25*log((1+Value1)/(1-Value1)), 1, 0.5 );>>Plot(Fish, "Fisher",
colorRed);>Plot( Ref(Fish,-1),
"Trigger",colorBlue);>>>Best regards,>Tomasz
Janeczko>amibroker.com>----- Original Message ----->From:
"renilange" <reni.lange@xxxxxxxx>>To:
<amibroker@xxxxxxxxxxxxxxx>>Sent: Wednesday, March 24, 2004 12:25
AM>Subject: [amibroker] TRANSLATION OF AN EASY LANGUAGE
FORMULA>>>> Could somebody translate this ELA formula in
AFL??>> It is a really great indicator,called Fisher Transform, I saw
it>> work by a friend of mine using Tradestation.>> It is
really worth to translate it!>>>> Thxs.
Reni>>>> Inputs:
Price((H+L)/2),>>
Len(10);>>>> Vars:
MaxH(0),>>
MinL(0),>>
Fish(0);>> MaxH=Highest(Price,Len);>>
MinL=Lowest(Price,Len);>>
Value1=.5*2*((Price-MinL)/(MaxH-MinL)-.5)>> +
.5*Value1[1];>> If Value1> .9999 then Value1 = .9999;>>
If Value1< .9999 then Value1 = -.9999;>> Fish=
0.25*Log((1+Value1)/(1-Value1)) + 5* Fish[1];>>>> Plot1
(Fish, "Fisher");>> Plot2(Fish[1],
"Trigger");>>Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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 the Yahoo! Terms of Service.
|