Hello,
See my previous response - you can't write composite to the very same
symbol.
With regards to temporary variables - you should definitely use STATIC
variables instead for that purpose.
They are much faster than composites.
Best regards,
Tomasz Janeczko
amibroker.com
On 2010-04-23 11:50, Vladislav Titov wrote:
Yes, I can import it from ASCII without any problem.
I know that I can temporary assign OHLCVI and AUX1/2 in AFL as you
wrote. But result of the operation isn't stored in amibroker's database.
I want to realize following scenario:
1. Run "Scan" to calculate some value for every bar.
2. Store this calculated value into amibroker's database.
3. Use this value for plotting charts and other facilities without
re-calculation.
From Tomasz's statement I have understood that it is possible via
AddToComposite functions. But it doesn't work. See example of AFL code
in one of my previous mail in this thread...
>
Hello,
I know that these fileds should store data imported through ascii
files, butis it possible to store values to these fields during a the
first phase of the backtest backtest and access them in the second phase.
for example:
Aux1=ATR(14);
thanks