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

Re: [amibroker] Sort the Array



PureBytes Links

Trading Reference Links

Franco,

Thank you for the link...I have tried to manipulate the sort formula
found there, but I am not Jscript literate...therefore, I have been
unable to produce any results..

Thank you
Anthony

Franco Fornari wrote:

>  Anthony,
>
> few days ago Tomasz suggested me to try a method described here:
>
> http://www.amibroker.com/members/traders/01-2003.html
>
> as far as I know, sorting is possible in JScript only, not in
> VBScript.
> Furthermore, as you will see, in JScript you can define the sorting
> order
> only if you use a formula as argument (Sort(argument)). If you run
> Sort()
> function without any argument, your array will be sorted in ascending,
>
> ASCII character order.
>
> Best regards,
>
> Franco
>
> ----- Original Message -----
> From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Friday, February 07, 2003 2:49 AM
> Subject: [amibroker] Sort the Array
>
>
> > Can anyone fill this in....I want to sort the array ( pricechange
> )...so
> > the output will be in ascending order...
> >
> > I know I could just click on the column heading after the results
> are
> > in......but that is not what I wish at this time.
> >
> > Thank you in advance.....it could be in Jscript or VBscript...
> >
> >
> > periods=9;
> > pricechange=ROC(Close,periods);
> >
> > EnableScript("JScript");
> >
> > <%
> >
> > // sort the array
> >
> > %>
> > Filter=1;
> > AddColumn(pricechange,"% Change");
> >
> > Anthony
> >
> >
> >
> >
> >
> >
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> >
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
>
>
>
>                    Yahoo! Groups Sponsor
                        ADVERTISEMENT


>
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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