| 
 PureBytes Links 
Trading Reference Links 
 | 
| 
 Thanks Graham :) 
  ----- Original Message -----  
  
  
  Sent: Friday, August 12, 2005 2:55 
  PM 
  Subject: Re: [amibroker] Question for 
  Graham > Trend Detection 
  
  hi Steve
  "PrD = C; PrL = H/2+L/2; PrdD = PrdL = 
  PrdM = Param("Prd",12,2,40,1);
  permax = Max(prdd,prdl);
  Rs = 
  IIf( BarIndex()<permax, 0, Rise(PrD, PrdD, PrL, PrdL) );"
  see 
  function Rise in last line abopve I must admit not very well written, and 
  was an early edition of the code and an abridged version of the overall 
  system code. So some items might seem surplus to requirements. But it draws 
  a coloured bar chart if nothing else
 
 
  -- 
   Cheers Graham AB-Write >< Professional AFL Writing 
  Service Yes, I write AFL code to your requirements http://e-wire.net.au/~eb_kavan/ab_write.htm
  
  
Please note that this group is for discussion between users only. 
 
To get support from AmiBroker please send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
For other support material please check also: 
http://www.amibroker.com/support.html 
 
  
  
 
  
    
  YAHOO! GROUPS LINKS
 
 
    
 |   
 |