you can synchronize panes/windows by using a master pane and set the ticker symbol there. The other pans/chart will update if there is a ticker change. You can speed up tracking with RefreshAll(). You can also increment a common static index counter and have the chart track the ticker index when the counter false behind needs updating. You can also save the ticker in a static variable in you master chart (the one scanning the WL) and read it in all other panes/windows. many solutions...
not sure what your sequence does, but i haven't used this code for a long time. The ticker should be selected at the top of your code.
best regards,
herman
For tips on developing Real-Time Auto-Trading systems visit:
http://www.amibroker.org/userkb/
Saturday, February 9, 2008, 1:47:16 PM, you wrote:
> That code works great but Can this be fixed ???
> It doesn't change the other panes of the chart window, but only the
> pane which the price and this timer is applied to.
> I also find that there is a sequence to making this work with a price
> with many indicators in one pane:
> FIRST apply this timer (which inserts a blank pane with simply price).
> THEN apply my indicators which also includes a price format the way I
> like it in the same pane (plotforeign, SAR, MA, etc).
> NEXT start the timer by advancing more than 0.
> --- In amibroker@xxxxxxxxxxxxxxx, Herman <psytek@xxx> wrote:
>> 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@>
> 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
> 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
> <*> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
> <*> Your email settings:
> Individual Email | Traditional
> <*> To change settings online go to:
> http://groups.yahoo.com/group/amibroker/join
> (Yahoo! ID required)
> <*> To change settings via email:
> mailto:amibroker-digest@xxxxxxxxxxxxxxx
> mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
> <*> 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/
>
__._,_.___
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
__,_._,___
|