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

Re: [amibroker] ADDING %R to builtin price graph



PureBytes Links

Trading Reference Links




Ron,
 
Is this what you want to do:
 

/* Williams %R and 9 day Mov.avg.*/
/* by Anthony Faragasso */
MaxGraph =10<FONT 
size=2>;
Plot(C,<FONT color=#ff00ff 
size=2>"close",colorBlack,styleCandle|styleOwnScale);
R = ((HHV<FONT 
size=2>(H,14) - C) 
/(HHV (H,<FONT 
color=#ff00ff size=2>14) -<FONT color=#0000ff 
size=2>LLV (L,<FONT color=#ff00ff 
size=2>14))) *-<FONT color=#ff00ff 
size=2>100;
Graph0 = R;
Graph1 =-30;
Graph2 =-70;
Graph3 =-90;
Graph4 =-10;
Graph5=MA(R , 
9);
Graph5Style = 1<FONT 
size=2>+4;
Graph5Color =1<FONT 
size=2>;
Graph0Style=1<FONT 
size=2>+4;
Graph1Style =Graph2Style= <FONT color=#ff00ff 
size=2>1;
//Graph3Style =Graph4Style =2;//comment out Green Histogram
//Graph3Color = Graph4Color =5;//comment out Green
Graph2Color = Graph1Color =<FONT color=#ff00ff 
size=2>12;
/*x = BarsSince( Cross( r, MA( r, 9)));*/
/*y = BarsSince( Cross( MA(r, 9), r));*/
/*Graph8 = ( x == 0 OR y == 0 ) * 30;*/
Title =Name() + 
" -Williams %R: " 
+" % R Line " 
+"("+ <FONT 
color=#0000ff size=2>WriteVal ( 
Graph0,format=1.2<FONT 
size=2>)+")"+ 
" Signal Line " + 
""+<FONT 
color=#ff00ff size=2>"("+<FONT color=#0000ff 
size=2>WriteVal(Graph5,format=<FONT color=#ff00ff 
size=2>1.2)+<FONT color=#ff00ff 
size=2>")" +" , 
" + Date<FONT 
size=2>( );
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  mrdavis9 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker tips 
  Sent: Thursday, June 12, 2003 1:49 
  AM
  Subject: [amibroker] ADDING %R to builtin 
  price graph
  
  Thanks to Anthony for this version of the %R 
  indicator.  I would like to make a custom indicator by combining the 
  builtin price graph with this %R indicator created by Anthony.  I would 
  also like for the green verticle lines to not showup in this desired custom 
  price graqh.  All suggestions will be appreciated.  Ron 
  D
  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 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
  
<BLOCKQUOTE 
><FONT 
  face="Courier New">---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.489 
  / Virus Database: 288 - Release Date: 
6/10/2003






Yahoo! Groups Sponsor












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



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.