hello all,
for the exploration of daysleft in N-day bar i tried this one-
for( i = 1; i <=9; i++ )
{
TimeFrameSet(i*indaily);
daysleft=(i-barcount%i);
Filter= 1;
AddColumn(daysleft, "DL");
TimeFrameRestore();
}
but the results were quite different from actual.
possible reason is barcount (no. of bars available) is different from the number of bars , Amibroker consider for developing N-day bar....
so now i request to all seniors and experts that what can be the right afl for this situation?
THANKS & REGARDS.
for the exploration of daysleft in N-day bar i tried this one-
for( i = 1; i <=9; i++ )
{
TimeFrameSet(i*indaily);
daysleft=(i-barcount%i);
Filter= 1;
AddColumn(daysleft, "DL");
TimeFrameRestore();
}
but the results were quite different from actual.
possible reason is barcount (no. of bars available) is different from the number of bars , Amibroker consider for developing N-day bar....
so now i request to all seniors and experts that what can be the right afl for this situation?
THANKS & REGARDS.