- Joined
- 16 January 2008
- Posts
- 111
- Reactions
- 0
The following code works if I iterate forward through the for loop but doesn't work as illustrated below, iterating backwards.
for( i = Barcount; i > 0; i-- )
{
a = C;
}
Plot( a, "", 1,1);
I want to loop through the bars from newest to oldest, examining information from selected bars. Any idea how to do this?
Regards
john
for( i = Barcount; i > 0; i-- )
{
a = C;
}
Plot( a, "", 1,1);
I want to loop through the bars from newest to oldest, examining information from selected bars. Any idea how to do this?
Regards
john