RE: [amibroker] Re: Ranking trade signals before entry day

2007-04-12 Thread David Smith
9:03 PM To: [EMAIL PROTECTED] Subject: [amibroker] Re: Ranking trade signals before entry day Perhaps this ranking function is of help to you: function XSecRanksVarSet(List, Crit, Lookback) { global PercRank; if (Crit==1) CurrInd=RSI(Lookback); else if (Crit==2) CurrInd=ROC(C,Lookback); for (

[amibroker] Re: Ranking trade signals before entry day

2007-04-12 Thread vlanschot
Perhaps this ranking function is of help to you: function XSecRanksVarSet(List, Crit, Lookback) { global PercRank; if (Crit==1) CurrInd=RSI(Lookback); else if (Crit==2) CurrInd=ROC(C,Lookback); for (j = 0;( Naam = StrExtract( List, j ) ) != "" ; j++ )