Edward Pottasch wrote: > adding > > setbarsrequired(10000,10000) > > to the code will help. > > Also your loop can be replaced with: > > bi = barindex(); > Line = iif(bi < 10 or bi > 100,0,1);
perfect, thank you! it was not simple to find out the function SetBarsRequired() without read several and boring pages of help.
