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

FW: [AmiBroker] Formula Help



PureBytes Links

Trading Reference Links




Try 
this...
<FONT 
color=#008000 size=2>
//Stan Harley %R Indicator

x=6;
Avg2=5;
R = ((HHV(H,x) - C) /(<FONT 
color=#0000ff>HHV (H,x) -LLV 
(L,x))) * -100;
R= R +100<FONT 
face=Tahoma>;
R1 = (MA(R,Avg2));
Plot(R1,<FONT 
color=#ff00ff>"S-H%R",<FONT 
color=#ff00ff>6,<FONT 
color=#ff00ff>4);<FONT face=Tahoma 
color=#0000ff>
Plot(<FONT face=Tahoma 
color=#ff00ff>75,<FONT face=Tahoma 
color=#ff00ff>"75",<FONT 
face=Tahoma color=#ff00ff>10,<FONT 
face=Tahoma color=#ff00ff>1<FONT 
color=#000000>);
Plot(<FONT face=Tahoma 
color=#ff00ff>50<FONT 
color=#000000>,"<FONT face=Tahoma 
color=#ff00ff>50"<FONT 
color=#000000>,2<FONT 
color=#000000>,1<FONT 
color=#000000>);
Plot(<FONT face=Tahoma 
color=#ff00ff>25,<FONT 
color=#ff00ff>"25<FONT 
color=#ff00ff>",<FONT 
color=#ff00ff>10,<FONT 
color=#ff00ff>1);
 
Mr. 
Valley
<FONT face=Tahoma 
size=2>-----Original Message-----From: Franco Gornati 
[mailto:francogornati@xxxxxx]Sent: Friday, December 26, 2003 12:00 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: 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 
100FrancoSend 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 


Yahoo! Groups Links
  To visit your group on the web, go to:<A 
  href="">http://groups.yahoo.com/group/amibroker/  

  To unsubscribe from this group, send an email to:<A 
  href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx  

  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 



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 Sponsor


  ADVERTISEMENT











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.