On 14.06.2009, 15:31:51 Herman wrote:
> adding these restraints i get a good match and no out of range errors:
>
>     firstBar = Max( 0, Status( "firstvisiblebar" ) );
>     lastBar  = Min( BarCount - 1, Status( "lastvisiblebar" ) );
>     periods = Max( 4, periods );

Yes, that helped. Thanks  a lot!

Greetings

Thomas

Reply via email to