PureBytes Links
Trading Reference Links
|
Herman did you try it with WLNUM = 1 in stead of 0 ?
Ton.
BTW what about ...
// Check maximum number in Watchlist for MaxTickerNum
for( MaxTickerNum = 0; ( StrExtract( List, MaxTickerNum ) ) != ""; MaxTickerNum++ )
----- Original Message -----
From: Herman
To: amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, January 23, 2007 10:26 AM
Subject: Re: [amibroker] Re: Slide show of stock charts
I use the simple code below.
best regards,
herman
RefreshRate = Param("Chart Update rate",0,0,10,1);
RequestTimedRefresh( RefreshRate );
TimerTick = Status("RedrawAction");
WLNum = Param("WatchList Number",0,0,64,1);
MaxTickerNum = Param("Max. Ticker Number",50,1,100,1);
List = CategoryGetSymbols( categoryWatchlist, WLNum );
TickerNum = StaticVarGet("TickerNumber");
if( IsNull( TickerNum ) ) StaticVarSet("TickerNumber", 0);
if( TimerTick )
{
TickerNum = StaticVarGet("TickerNumber");
if( TickerNum <= MaxTickerNum ) StaticVarSet("TickerNumber",++TickerNum);
else StaticVarSet("TickerNumber", 0);
}
Ticker = StrExtract( List, Tickernum);
SetForeign(Ticker);
Plot(C,"",1,128);
Title = "\n#"+NumToStr( TickerNum,1.0,False) +" "+Ticker;
Tuesday, January 23, 2007, 4:06:44 AM, you wrote:
> Dingo (d) has created a very useful script which I think fits your
> purposes. Download it as the AB-beta usergroup:
> http://finance.groups.yahoo.com/group/amibroker-beta/files/dingo%27s%
> 20Folder/
> PS (d, you're still here?)
> --- In amibroker@xxxxxxxxxxxxxxx, "willsharris" <willsharris@xxx> wrote:
>> I have a list of tickers with buy and sell dates. I would like
>> Amibroker to display each stock chart and display arrows on Buy and
>> Sell dates. Is it possible to do it using Amibroker? Would appreciate
>> any help.
> 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
>
> Yahoo! Groups Links
> http://groups.yahoo.com/group/amibroker/
> Individual Email | Traditional
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
> mailto:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
> http://docs.yahoo.com/info/terms/
>
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.5/645 - Release Date: 1/22/2007 4:10 PM
|