I have a bit AFL which writes the datetime, open, hour, low and some simple
indicator values etc to a text file for the period in which the Auotmatic
Analysis settings are set to.
The AFL simply loops through the bars writing each price/indicator field to an
open file handle.
I want to adapt this so it exports bars for a number of time frames - each
symbol and timeframe would have a separate file. I am not sure how to set each
export to a differnet timefrane.
The TimeFrame functions do not seem to alter the number of bars in the loop i.e.
for( i = 0; i < BarCount; i++ )
{
}
And I can not set the Automatic Analysis Periodity from within AFL before each
export.
If I could run more than one instance of the automatic analaysis on a timer
then hat would work, but this does not seem to be possible.
Any other ideas?