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

Re: [amibroker] Re: AmiBroker 4.58.0 BETA released



PureBytes Links

Trading Reference Links




Pricechange = C-Ref(C,-x);
#bars has to be same value of x that you use for 
price change...
 
So complete formula is:
 
Angle = atan(Pricechange/#bars) * 
180/Pi;
 
where 

pi=4*<FONT 
color=#0000ff size=1>atan(<FONT color=#ff00ff 
size=1>1);
RTD=180/Pi; //Radian to 
degrees
DTR=Pi/180; // Degree 
to Radians
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  <A title=steve2@xxxxxxxxxxxxxxxxxxxx 
  href="">Steve Almond 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Friday, July 09, 2004 12:28 
PM
  Subject: Re: [amibroker] To all you 
  amibroker guru's
  
  Ara,
   
  Excuse the simple questions. 
  1. How do I specify the "#of bars" ? Say I want the angle over a 5 bar 
  period. Can I say:
  
  ang=atan(C-Ref(C,-5));
  Plot(ang,"angle5",1,1); 
  2. How does AB show 'PI'? To get degrees, do I need:
  Plot(2*PI*ang,"angle deg",1,1); 
   
  Steve
   
  ----- Original Message ----- 
  From: "Ara Kaloustian" <<A 
  href="">ara1@xxxxxxxxxx>
  To: <<A 
  href="">amibroker@xxxxxxxxxxxxxxx>
  Sent: Friday, July 09, 2004 7:30 PM
  Subject: Re: [amibroker] To all you amibroker guru's
  > use> > angle=atan(price/#of bars); result is 
  in radians> > ----- Original Message ----- > From: 
  "gunovanengel" <<A 
  href="">gunovanengel@xxxxxx>> To: 
  <<A 
  href="">amibroker@xxxxxxxxxxxxxxx>> 
  Sent: Friday, July 09, 2004 11:24 AM> Subject: [amibroker] To all you 
  amibroker guru's> > > > Can you explain to me how thr 
  calculate the angle of a line in> > amibroker> >> 
  > Thanks> > Guno> >> >> >> 
  >> > Check AmiBroker web page at:> > <A 
  href="">http://www.amibroker.com/> 
  >> > Check group FAQ at:> <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html> 
  > Yahoo! Groups Links> >> >> >> 
  >> >> >> > > > > 
  ------------------------ Yahoo! Groups Sponsor --------------------~--> 
  > Yahoo! Domains - Claim yours for only $14.70> <A 
  href="">http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM> 
  --------------------------------------------------------------------~-> 
  > > Check AmiBroker web page at:> <A 
  href="">http://www.amibroker.com/> 
  > 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:> 
      <A 
  href="">http://docs.yahoo.com/info/terms/> 
   > > > Check AmiBroker web page 
  at:<A 
  href="">http://www.amibroker.com/Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


Check AmiBroker web page at:
http://www.amibroker.com/

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.