Hello,

I use SetForeign (as below) using the 'Open' of the day and have about 8 -
10 what I call beta stocks, add their change for the day then do a RSIa of
an EMA then plot. I believe the change from the days open is the most
important, not what happen from the end of yesterday.

Beware, very cpu intensive using SetForeign.

Hope this helps.




SetForeign( "AXP-NYSE", True );
AXPOpen = TimeFrameGetPrice( "O", inDaily, 1 );
AXPClose = Foreign( "AXP-NYSE", "close", 1 );
AXPChange =  AXPClose - AXPOpen;
AXPPerCentChange = ( AXPChange / AXPOpen ) ;

Etc. .........

RestorePriceArrays();


Jerry Gress
Stockton, Ca.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of droskill
Sent: Friday, November 07, 2008 7:37 AM
To: [email protected]
Subject: [amibroker] Relative Performance indicator

Maybe I'm understanding the relative performance indicator
incorrectly, but I have it up right now comparing the SPY with SMH and
SMH is actually below SPY - shouldn't this be the other way around?

Another question: does anyone have an indicator that simply displays
the price movements of a group stocks/indices and just show percentage
movements for the day?  Meaning - I'm using this intraday to track the
performance of a number of indices and I want to show percentage
increase rather than pricing data - thoughts appreciated.


------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links



Reply via email to