Thanks for your suggestion, Tomasz. Adding a check for the number of bars could be a solution.
Before I implement it (I'm quite wary of adding to codes which I do not full comprehend), are there other suggestions from other members who are using this Elder Triple Screen code done by Mr. Dennis Skoblar? Do your own experience match mine when there are not enough bars? - Winston --- In [email protected], "Tomasz Janeczko" <[EMAIL PROTECTED]> wrote: > > Maybe your code simply does NOT converge in such situation > and in fact this causes endless loop for real. > > If that's the case, why don't you simply add a check for minimum > number of bars? > > if( BarCount > 100 ) > { > do { .... > Best regards, > Tomasz Janeczko > amibroker.com
