PureBytes Links
Trading Reference Links
|
Dingo,
I am having some problems with this and hope you can help. Here is
what I did:
1. Placed the file in my AmiBroker directory and make a shortcut
Target: "C:\Amibroker\SlideShow.vbs" 98:0
Start In: "C:\Amibroker"
2. Noticed the following lines in code so I changed the first one to
what is shown below make a dummy afl with the WtchLstScan.afl name.
Const cstABPath = "C:\Amibroker"
Const cstFrmlaName = "\WtchLstScan.AFL"
The afl I created is below.
// WtchLstScan
Filter = 1;
AddTextColumn(FullName(),"Name",1.2);
AddColumn(O,"Open",1.2);
AddColumn(H,"High",1.2);
AddColumn(L,"Low",1.2);
AddColumn(C,"Close",1.2);
AddColumn(V,"Volume",1.2);
AddColumn(OI,"Interest",1.2);
Buy = 1;
Sell = 0;
3. I set up the afl in #2 above because I do not use a scan to create
fund rankings (as of yet). AmiBroker does this for me by changing
Settings > Report to Summary and then do an Individual BackTest for
the Range selected (in my case from 5/17/2004 to 8/13/2004. So, I
run this Individual Backtest on my watchlist, sort based on UPI with
the highest UPI at the top. This process works just fine.
4. Then, I leave AmiBroker and its AA window open with the fund
ranking still listed, go to my Desktop and click on the short cut. I
authorize the script and it asked me to save any unsaved formulas in
AA window. There is no need to save it so I click YES. It comes back
with line 337, char 13, subscript out of range and then closes AB.
Bert
--- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> I'm finishing up the script this evening. Will post it in the files
section
> when ready and post a message here.
>
> d
>
>
> _____
>
> From: Bert Steele [mailto:bistrader@x...]
> Sent: Saturday, August 14, 2004 8:13 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: RE: [amibroker] Re: Watchlist sorting
>
>
> How do I do this?
>
> dingo <dingo@xxxx> wrote:yes that's what i meant. What you would do
> is export your results to a
> file. Then rather than click the watchlist to see the chart you
would run
> the script via a shortcut. In that shortcut you'd have a param
indicating a
> delay between tickers. If the delay = 0 then you'll have a small
msgbox to
> click ok to see the next ticker. With this technique you get to
control the
> presentation of each ticker. If the delay > 0 then it will pause
that many
> seconds before showing the next ticker's chart.
>
> d
>
>
> _____
>
> From: bistrader [mailto:bistrader@x...]
> Sent: Friday, August 13, 2004 9:39 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Watchlist sorting
>
>
> I am not exactly sure what you mean by "slide show" but I guess it
> could be called that.
>
> Lets say that with my last sort that VINEX and FISMX are the top
> international funds based on my UPI ranking. Then, VINEX would be
> listed first, FISMX would be listed second and so forth in the
> Watchlist. Then, when I clicked on the international watch list
and
> used my downarrow key to go though the funds, then VINEX would be
> viewed first on the chart, followed by FISMX, followed by .. so
> forth. So, if this is what you mean by a slide show then, yes,
this
> is what I would like to do.
>
>
>
> Regards,
>
> Bert
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> > are you looking for a way to do a "slide show" in that sorted
> order? I'm
> > working on a VBscript that will do a slide show for a watchlist.
> If that's
> > what you're after I'll think about a mod to allow you to feed the
> slide show
> > a text file of tickers that you can sort in any order you like.
As
> you're
> > aware by now watchlists are sorted in alfa order.
> >
> > d
> >
> >
> > _____
> >
> > From: Bert Steele [mailto:bistrader@x...]
> > Sent: Friday, August 13, 2004 9:15 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: RE: [amibroker] Re: Watchlist sorting
> >
> >
> > Dingo,
> >
> > Periodically, I sort a watchlist of international mutual funds
> based on UPI
> > for a specified period. Then, until the next sort which will
> probably be in
> > 2 weeks or so, I would like to view each of the funds starting
with
> the top
> > UPI funds. Of course, I can do this by sorting the watchlist via
a
> scan or
> > exploration, but it would be nice if the sort that I completed
(in
> the
> > recent past) was represented in the order of the funds in my
> international
> > watchlist.
> >
> > Bert
> >
> > dingo <dingo@xxxx> wrote:
> > Have you stated why you want them sorted? What are you trying to
do?
> >
> > d
> >
> >
> > _____
> >
> > From: Bert Steele [mailto:bistrader@x...]
> > Sent: Thursday, August 12, 2004 11:37 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: Re: [amibroker] Re: Watchlist sorting
> >
> >
> > I am tired and had a lot of typos. In any case, there is no other
> > alternative today other than watchlists in alpha order.
> >
> > Bert Steele <bistrader@xxxx> wrote:The is list symbols in a
> watchlist
> > other than in alpha order. I have tried and tried, but there is
not
> > alternative today.
> >
> > lamplowman <lamplowman@xxxx> wrote:I could save it as a text file,
> > but then how would I use it.
> >
> > I could also select the chart directly from the scan window after
> it
> > has been sorted, which is what I do now. But that window even
> shrunk
> > takes up too much visual space on the screen.
> >
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "Dave Merrill" <dmerrill@xxxx>
> > wrote:
> > > Watchlists are inherently in no particular order. They're
> > basically just a
> > > set of on-off flags in each ticker, saying whether that ticker
is
> > in each
> > > watchlist.
> > >
> > > Could you save the results to a text file?
> > >
> > > Dave Merrill
> > > I'm wondering if there is any way when doing a scan/explore
and
> > > sorting the results, that they can be saved to a watchlist in
> the
> > > sorted order.
> > >
> > > It appears that AB automatically sorts watchlists in alpah
> order.
> > >
> > > Peter
> > >
> > >
> > > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> > Yahoo! Groups SponsorADVERTISEMENT
> >
> >
> > ---------------------------------
> > 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 the Yahoo! Terms of
> Service.
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> > Yahoo! Groups SponsorADVERTISEMENT
> >
> >
> > ---------------------------------
> > 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 the Yahoo! Terms of
> Service.
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - 100MB free storage!
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
>
<http://us.ard.yahoo.com/SIG=129j0dtul/M=298184.5285298.6392945.300117
> 6/D=gr
> >
>
oups/S=1705632198:HM/EXP=1092454621/A=2164331/R=0/SIG=11eaelai9/*http:
> //www.
> > netflix.com/Default?mqso=60183351> click here
> >
> > <http://us.adserver.yahoo.com/l?
> M=298184.5285298.6392945.3001176/D=groups/S=
> > :HM/A=2164331/rand=672284447>
> >
> >
> > _____
> >
> > 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
> > <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>
> >
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> Service
> > <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> > Yahoo! Groups SponsorADVERTISEMENT
> >
> >
> > ---------------------------------
> > 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 the Yahoo! Terms of
> Service.
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
>
<http://us.ard.yahoo.com/SIG=129esn3j0/M=298184.5285298.6392945.300117
> 6/D=gr
> >
>
oups/S=1705632198:HM/EXP=1092532490/A=2164331/R=0/SIG=11eaelai9/*http:
> //www.
> > netflix.com/Default?mqso=60183351> click here
> >
> > <http://us.adserver.yahoo.com/l?
> M=298184.5285298.6392945.3001176/D=groups/S=
> > :HM/A=2164331/rand=742360209>
> >
> >
> > _____
> >
> > 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
> > <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>
> >
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> Service
> > <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<http://us.ard.yahoo.com/SIG=129l7nbdn/M=298184.5285298.6392945.300117
6/D=gr
>
oups/S=1705632198:HM/EXP=1092533933/A=2164331/R=0/SIG=11eaelai9/*http:
//www.
> netflix.com/Default?mqso=60183351> click here
>
> <http://us.adserver.yahoo.com/l?
M=298184.5285298.6392945.3001176/D=groups/S=
> :HM/A=2164331/rand=341488566>
>
>
> _____
>
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
> Yahoo! Groups SponsorADVERTISEMENT
>
>
> ---------------------------------
> 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 the Yahoo! Terms of
Service.
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
>
> [Non-text portions of this message have been removed]
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
>
>
> Yahoo! Groups Sponsor
>
> ADVERTISEMENT
>
>
<http://us.ard.yahoo.com/SIG=129ksg0cq/M=298184.5285298.6392945.300117
6/D=gr
>
oups/S=1705632198:HM/EXP=1092615171/A=2164330/R=0/SIG=11eamf8g4/*http:
//www.
> netflix.com/Default?mqso=60183350> click here
>
> <http://us.adserver.yahoo.com/l?
M=298184.5285298.6392945.3001176/D=groups/S=
> :HM/A=2164330/rand=367781899>
>
>
> _____
>
> 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
> <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
>
> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/
|