I would like to know how its possible to for loop the for loop of another bar index?
for(int Period = 0; Period <= CurrentBar;barIndex++)
{
for(int barIndex = Period; barIndex <= CurrentBar;barIndex++)
{
If there is 100 bar only Period 100 is looped not Period 1, 2, 3, etc.
Ty

Comment