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

RE: [amibroker] Relative Performance indicator



PureBytes Links

Trading Reference Links

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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of droskill
Sent: Friday, November 07, 2008 7:37 AM
To: amibroker@xxxxxxxxxxxxxxx
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




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

**** 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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/