PureBytes Links
Trading Reference Links
|
Hi Larry,
yes I see. In this case I think that the logic of %R is such that
R = ((C - LLV(L,x)) / (HHV(H,x) - LLV(L,x))) *100
is more straightforward.
Franco
----- Original message -----
From: larypowell <larypowell@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Received: 26/12/2003 20.23.27
Subject: RE: [amibroker] Formula Help
> Franco, I tried this and it changed the shape of the plot. The solution
> Pal mentioned did what I was looking for, thanks for the help.
>
>
>
> Larry M. Powell
>
>
>
> -----Original Message-----
> From: Franco Gornati [mailto:francogornati@xxxxxx]
> Sent: Friday, December 26, 2003 12:00 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: Re: [amibroker] Formula Help
>
>
>
> > The following plots correctly except the numbers are all negative. I
> would
> > like them to be positive. This is essentially a moving average of the
> > Williams %R, so it is range bound. I have tried using ABS but it changes
> > the shape of the plot.
> >
> >
> >
> > //Stan Harley %R Indicator
> >
> >
> >
> > x=6;
> >
> > Avg2=5;
> >
> >
> >
> > R = ((HHV(H,x) - C) /(HHV (H,x) -LLV (L,x))) * -100;
>
> Just looking more carefully, replace -100 with 100
>
> Franco
>
>
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> <http://docs.yahoo.com/info/terms/> Service.
>
>
----- End of original message
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/
|