Sanjayt is right. Just study SetForeign() and that should do. No need to try
digging out those older posts, it's actually quite straight forward.
Please remember, however, that those "chart sheets" are primarily design to
display different indicators for a single symbol. What you are trying to do is
considered a grey area of AB functionality. If you use SetForeign() then the
only way to change the ticker is to do it from AFL, eg. using ParamStr()
function (then use r-click - parameters). Here is example (change "SPY" to any
ticker you want):
/*** START ***/
// Plot foreign ticker
tkr = ParamStr("Ticker", "SPY");
SetForeign(tkr);
Title =
"\\c25"+Name()+
"\\c11 "+Interval(2)+" "+Date()+
"\\c34 "+FullName()+
"\\c-1 O="+O+
" H="+H+
" L="+L+
" C="+C;
Plot(C, "", colorDarkYellow, styleCandle);
SetChartOptions(0, chartShowDates);
/*** END ***/
Lester
--- In [email protected], "Sanjay Thakkar" <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> Try with Setforeign.
> It will work.
>
> Regards
> -sanjayt
>
> --- In [email protected], "richcb750" <rwennis@> wrote:
> >
> > Thanks for your advice, but I tried that and it seems like the
> symbol
> > stays the same for each of the different sheets. How can I make
> each
> > sheet display a different symbol?
> >
> > Thanks.
> >
> > --- In [email protected], "Mohammed" <softnews2003@> wrote:
> > >
> > > Hi,
> > >
> > > If I understood your question this is the answer.
> > >
> > > In sheet one add candlestick chart and in sheet tow add bar
> chart. Than
> > > select (File --> New --> Linked chart).
> > > Than form Window select tile horizontally.
> > >
> > >
> > > Regards