|
QQQQ = Foreign("QQQQ","Close"); myDivergence = sign(C - Ref(C,-1)) != sign(QQQQ - Ref(QQQQ,-1));
Buy = Sell = Short = Cover = 0; //Change as you wish, but above allows Explore to run with no rules
Filter = 1; AddColumn(myDivergence,"Divergence from QQQQ",1.0); //The above will be 1 for any ticker diverging between itself and the QQQQ. -- Terry
-----Original Message-----
In an explore, I want to see a divergence against another symbol.
For example if my symbol (say AAPL) was down for the day, but QQQQ was up I want to show a divergence in an exploration.
Is this possible to do?
------------------------ Yahoo! Groups Sponsor --------------------~--> Try Online Currency Trading with GFT. Free 50K Demo. Trade 24 Hours. Commission-Free. http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM --------------------------------------------------------------------~->
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 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/
<*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
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 other support material please check also: http://www.amibroker.com/support.html
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- RE: [amibroker] how do I compare two or more symbol prices toge... Terry
