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

Re: [amibroker] How can I plot an index ratio?



PureBytes Links

Trading Reference Links

-- "scourt2000" <stevehite@xxxxxxxxxxx>  wrote

> stockcharts.com allows plot index ratios (e.g., $BKX:$DJUS, $BTK/
> $COMPQ, etc.) which are very informative.   How can I make this same 
> kind of plot in Amibroker?

Steve,

BKX_DJUS = Foreign("Your BKX ticker", "C") / Foreign("Your DJUS ticker", "C");

Plot(BKX_DJUS, "Index ratio", color, style);

-Franco
 

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/