Been trying to have my afl procedure wait until the backfill is complete.
However, only
the AA has a backfill wait, and I'm not using the aa.
I have the following procedure but it doesn't work. I was hoping that the
barcount
would contain the size of the data (not only the number of points in the
chart). Any
suggestions?
Did tried setbarsrequired, but it always returned that size (10000).
tosec returns the number of seconds from Now(4).
do
{
//SetBarsRequired(10000,10);
temp = BarCount;
timesecs = tosec(Now(4));
do
{
for( b = 1; b < 50000; b++ )
{
a=exp(3.1415171837212349387);
}
}
while (tosec(Now(4))<= timesecs +5); //AB doesn't have a wait function
temp1= BarCount;
}
while (temp!=temp1);