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

RE: [amibroker] Re: Anyone have any ideas on how to calc an angle on a 34 EMA?



PureBytes Links

Trading Reference Links

Scout, if you use the on screen angle of a line then it will change during
zooming in/out of the chart. Using the angle of price/bar provides a
consistent approach that will remain the same regardless of how many bars
are viewed. For charting this is more important and is anything but
arbitrary as it is a consistent axis scale across all charts.
Maybe you just need to set up a price/bar that would give you a suitable 1:1
reference

Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia 

-----Original Message-----
From: scourt2000 [mailto:stevehite@xxxxxxxxxxx] 
Sent: Thursday, 25 December 2003 8:10 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Anyone have any ideas on how to calc an angle on a
34 EMA?



Thanks for the code Anthony.

I think this isn't working out the way I expected because what's 
being measured on the x and y axis is not the same unit.   There 
needs to be a common reference point.  If you take an angle tool 
from a paint-type package, and, as long as one uses the same width 
to height viewing ratio with all charts measured (their images), the 
angles will make sense (e.g., the measurements are pixels to pixels 
when calculating the slope of a line).  However, the angles are 
being calculated incorrectly with this Amibroker code because the x- axis is
some arbitrary unit (a price bar) whereas the y-axis is a 
price measurement.   

Is this making sense?

Steve




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 ---------------------~--> Buy
Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer
at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/ 


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/