PureBytes Links
Trading Reference Links
|
Hi,
this is how I rank industries, I am sure there is a better way and perhaps there is some code in the AFL library....
for (i=0; i<218; i++) {
Compare=Foreign("~IND"+i,"C")/Foreign("~IND"+i,"I");
for (j=0; j<218; j++) { Change=Foreign("~IND"+j,"C")/Foreign("~IND"+j,"I"); add=IIf(Compare<Change,1,0); AddToComposite(add,"~IND"+i,"V", atcFlagCompositeGroup | atcFlagTimeStamp);
}
}
On 8/29/07, kose_u <umitkose@xxxxxxxxxxxxxxx> wrote:
thank you rl,
but unfortunately it is not what i want. i think i was not good enough
putting my problem into words clearly.
what i'm after is to find how a stock performed on 4th of July; was it
the one which raised the most was it the second or hundredth.
continually how did it do on the 5th of July; was it the tenth or was
it the fortieth. This goes on down the timeline. i am trying to see
this rank of stock next to it every day.
thank you anyway for your kind reply and concern
__._,_.___
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
__,_._,___
|