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

Re: [amibroker] Sort and rank an array - vbscript or jscript



PureBytes Links

Trading Reference Links

Hi Dave,
I think Quotes Plus does most of that.
You would just have to rank your own system.
QP does the RS, EPS, Industry Group, Beta etc

Dennis

dpweir wrote:
> Thanks Tomasz
> 
>  
> 
> What would be really kewl, but probably too computer processing 
> intensive would be if you could have a watchlist, say the ASX300, and 
> compared it too the ASX300 index, and was able to show its “relative 
> strength ranking” … based on whatever formula you use, and you could 
> display it on the chart, like how IBD does, shown on this page
> 
>  
> 
> http://www.investors.com/dsa/
> 
>  where the one in the picture has a ranking of 87.
> 
>  
> 
> Is that possible ?
> 
>  
> 
> Regards
> 
>  
> 
> Dave
> 
>  
> 
>  
> 
>  
> 
> ------------------------------------------------------------------------
> 
> *From:* amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] *On 
> Behalf Of *Tomasz Janeczko
> *Sent:* Saturday, 24 September 2005 11:36 PM
> *To:* amibroker@xxxxxxxxxxxxxxx
> *Subject:* Re: [amibroker] Sort and rank an array - vbscript or jscript
> 
>  
> 
> Hello,
> 
>  
> 
> PositionScore does work on watch list as well and allows to enter trades 
> being within top 80% of your rank.
> 
> How?
> Let's assume you watch lists consists of 100 symbols.
> 
> You set the FILTER in AA to contain only your watch list,
> 
> and
> 
> use
> 
> SetOption("MaxOpenPositions", 20 );
> 
> PositionSize = -5; // 5% = 100% / 20 positions
> 
>  
> 
>  
> 
> 20 open positions out of 100 symbols represent exactly symbols that are 
> ranked 80% and more.
> 
>  
> 
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> 
>     ----- Original Message -----
> 
>     *From:* dpweir <mailto:dpweir@xxxxxxxxxx>
> 
>     *To:* amibroker@xxxxxxxxxxxxxxx <mailto:amibroker@xxxxxxxxxxxxxxx>
> 
>     *Sent:* Saturday, September 24, 2005 1:23 PM
> 
>     *Subject:* [amibroker] Sort and rank an array - vbscript or jscript
> 
>      
> 
>     Hello
> 
>     I was wanting to sort and rank an array of all the symbols and
>     corresponding value, example RS or close, in a watchlist.
> 
>     I have knocked together an AFL script that does this, using example
>     code from the AFL library, however it is incredibly slow on a
>     watchlist of 300 symbols.
> 
>     I was wondering if it was faster to do this using/ jscript/ (sort
>      method?) or /vbscript /(quick sort algorithm ?), and if example
>     code could be provided.
> 
>     Also I realise on the Amibroker library there is an example of both
>     sort and rank, but there appears to be no doumentation on how to use
>     this in the library or in the mailing list.
> 
>      
> 
>     I realise there is positionscore, however it does not appear to do
>     what I require in this instance, to me it only appears useful when
>     you are comparing a few securities with each other, and it does not
>     rank an entire watchlist, filtering a trade to within the top 80% of
>     a value based on rank.
> 
>      
> 
>     Regards
> 
>      
> 
>     Dave
> 
>      
> 
>      
> 
>     ------------------------------------------------------------------------
> 
> 
> 
> 
> 
>     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
>     Investment management software
>     <http://groups.yahoo.com/gads?t=ms&k=Investment+management+software&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=_XXUzbE9l5lGlZNcMu4KNQ>
>     	Real estate investment software
>     <http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+software&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=5_sgDczz3ArKGMtJ9tFSJA>
>     	Investment property software
>     <http://groups.yahoo.com/gads?t=ms&k=Investment+property+software&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=_N6zcwefgp4eg5n6oX5WZw>
> 
>     Software support
>     <http://groups.yahoo.com/gads?t=ms&k=Software+support&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=MJ2jP31F3n64RDZkDadU8w>
>     	Real estate investment analysis software
>     <http://groups.yahoo.com/gads?t=ms&k=Real+estate+investment+analysis+software&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=GmF8PlAJASx0wrSaX5-Zlw>
>     	Investment software
>     <http://groups.yahoo.com/gads?t=ms&k=Investment+software&w1=Investment+management+software&w2=Real+estate+investment+software&w3=Investment+property+software&w4=Software+support&w5=Real+estate+investment+analysis+software&w6=Investment+software&c=6&s=200&.sig=aMgGsKT4w29dMAYUzQUKzg>
> 



------------------------ 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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/