Hi, I've got problem with looping of my arrays ;-)
Let's look:
Buy= C1 AND CondBuy AND Ref(B,-1)
Sell=C2 AND CondShort AND Ref(S,-1)
bsB=BarsSince(Buy);
bsS=BarsSince(Sell);
B= (bsB<bsS);
S= (bsB>=bsS);
But i need B and S before Buy and Sell. How to start the array ?
Probably this is not a smart question - bu I stick on it.
--
Best regards
raskoks