Hello Tomasz.
I am trying to use new AmiBroker 5.30 with my data and have difficulties with AUX1 and AUX2 fields. I have local 1 hour DB (no plugins, just ASCII imported). And I am trying to assing AUX1 value. I am running Scan for all symbols with following code (Code just composed from your examples): SetBarsRequired(sbrAll, sbrAll); buy = 0; tst = 123; AddToComposite(tst, "1_"+Name(), "1", atcFlagResetValues); AddToComposite(tst, Name(), "1", atcFlagResetValues); As result I got 1_XXX symbols with AUX1 equal to 123 - this is correct. But value AUX1 for initial symbols XXX are still 0. >From you mail (see below) I understood that last line (for Name()) also have >to work. But it isn't :( What I do wrong? Thank you in advance. BR, Vlad --- In [email protected], "Tomasz Janeczko" <gro...@...> wrote: > > Not necesarily. If you use existing symbol name it will write to existing. > Specfically if you use AddToComposite( array, Name(), "1", atcFlagResetValues > | atcFlagEnableInExplore ) > it will write data to *current* symbol and operate in explore mode too. > > Recommended reading: > http://www.amibroker.com/guide/h_workspace.html > http://www.amibroker.com/guide/a_addtocomposite.html > > Best regards, > Tomasz Janeczko > amibroker.com
