I have an indicator on the chart, it has nothing but this code below. When I first run it it prints out hundreds of times. When I clear the log window, it fills right up again. Why would it do that? Does clearing the log window cause the indicator to be reloaded and run all over again?
fvb = Status("firstvisiblebar");
lvb = Status("lastvisiblebar");
_TRACE(NumToStr(fvb));
_TRACE(NumToStr(vb));