tCI= Bars.Period.Value;
where tCI is defined as a private int , it compiles but my code blows out. The log says that bars in Progress cannot be accessed from within initialize. Is there some reason Bars.Period.Value cannot be accessed in the Initialize method. Ultimately I am trying to select the file name of the wave file that be used for certain alerts based on the chart compression. It seems logical to do that in initialize. Where am I going wrong?
thanks
Jerry
Comment