View Single Post
  #7 (permalink)  
Old 09-24-2007, 05:42 AM
wolfe's Avatar
wolfe wolfe is offline
Senior Member
 
Join Date: Jan 2006
Posts: 678
wolfe is on a distinguished road
Quote:
Originally Posted by ralph.ronnquist View Post
Check the logic for "limit"...

As it currently stands: apart from at the first start() call, the counted_bars value will always be in the vicinity of Bars, while All_Bars by the looks of it remains 10, and therefore limit becomes a large negative number.

Maybe you wanted
PHP Code:
limit MathMinAll_BarsBars counted_bars); 
or something similar?
Thank you for your suggestions, I am going to change All_Bars to 0 and try your limit logic in place of what is currently there. I hope this will solve the problem. Thank you for taking your time to try and help me.
Reply With Quote