Keith thank you - you are right about it should be
B= (bsB>bsS);
S= (bsB<=bsS);

But how to start these arrays. I mean that it impossible to count B and S 
without previous byy and sell. So i need something like 'fake' first buy and 
sell. 
But how ? B[0]=true , S[0]=false ??

--
regards
raskoks

Reply via email to