Keith,
Thanks for your kind words.
If you open a 'New Blank Chart' and either double-click on an AFL, or
drag an AFL onto the chart, you will create an auto-numbered copy in
the DD folder in either case.
That's because these actions are shortcuts for Insert.
The only way to Insert Linked is to right-click on the AFL and choose
Insert Linked explicitly.
If you wish the use of Insert Linked, you are going to have to break
all double-click and dragging habits and form a new habit of choosing
Insert Linked manually every time.
- Progster
--- In amibroker@xxxxxxxxxps.com,
Keith McCombs <kmccombs@xx.> wrote:
>
> Progster --
> Excellent explanation of Insert vs Insert Linked; something that
has
> always confused me.
>
> I believe that the auto numbering of afl code is for drag and drop
> only. I always use Insert and not Insert Linked (never drag and
drop,
> just code in the Custom folder) and there is no auto numbering
then.
> -- Keith
>
> progster01 wrote:
> >
> >
> > Alan,
> >
> > AB Layouts (which is probably what you mean by a chart here)
are
> > constructed from AFL code, which is inserted into the Layout
in one of
> > two ways: Insert, or Insert Linked.
> >
> > Layouts constructed with Insert Linked AFL are all pointing
to and
> > using the very same AFL file. If that file is changed by any
operation
> > at all (editing, drag-drop, ...) then _all_ the Layouts using
that
> > file will be impacted by the change.
> >
> > OTOH, when Layouts are constructed with Insert, the
originating AFL is
> > copied to the Drag-Drop folder and a number is appended to
the file
> > name. This is where the Layout then points. Layouts so
constructed are
> > pointing to different AFL files, and (at least in this
respect)
> > changing one will not change the others. But, again in this
case, if
> > you want to apply a correction to all such charts, you need
to edit
> > each of the files in the Drag-Drop folder individually.
> >
> > IOW, Layouts are not self-contained. The AFL which draws them
is not
> > "inside" the Layout, it is "outside". The implications of
this are
> > profound.
> >
> > - Progster
> >
> > --- In amibroker@xxxxxxxxxps.com
<mailto:amibroker%40yahoogroups.com>,
> > Alan <alan@> wrote:
> > >
> > > Please excuse my ignorance as I am a new user of
AMIBroker. I am trying
> > > to save a stock chart with trendlines, text, etc on it
so I can
> > retrieve
> > > it at a later time and be able to continue working on
it. At the same
> > > time I want to save other charts as well. Some charts
will have the
> > > same stock symbol but different time frame. I cannot
figure out how to
> > > do this properly. When I tray to keep each chart as a
layout it seems
> > > that when I change the layout with the daily chart
another layout with
> > > the weekly chart using the same stock symbol is also
changed. When I
> > > try to save the layouts with different names the same
problem. Can
> > > someone help me with this problem? Alan,
> > >
> >
> >
>