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

Re: [amibroker] I've made the switch



PureBytes Links

Trading Reference Links

upsidetarget wrote:
> Indicator 3:
> 
> I call this my Performance vs market strength indicator. I have found
> that it is great at predicting interim tops.
> 
> ((ROC(5) + ROC(22) + ROC(63))/3)-((ROC(5),S&P500 + ROC(22),S&P500 +
> ROC(63),S&P500)/3)
> 
> 
> Thanks to all,
> 
> Michael
> 
> 

sp500 = Foreign( "^GSPC", "C" );
i =
(
	(ROC(C,5) + ROC(C,22) + ROC(C,63)) /3)
		-
	((ROC(sp500,5) + ROC(sp500,22) + ROC(sp500,63))/3)

;


Plot( i, "Multi-layered ROC vs S&P 500", IIf(i>=0, colorGreen,
colorRed), styleHistogram );

Filter = Cross( i, 0.0 ) OR Cross( 0.0, i );
AddColumn( C, "Close" );
AddColumn( i, "Relationship" );

Short = Cross( i, 0.0 );
Cover = Cross( 0.0, i );


Is this what it's supposed to look like?


-Matt


Please note that this group is for discussion between users only.

To get 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/
 

PNG image