Have following code:
Buysig = buy conditions; Sellsig = Sell conditions; InTrade = Flip(Buysig,Sellsig); Buy = Buysig AND Ref(Intrade,-1)==0; Sell = Sellsig AND Ref(Intrade,-1)==0; I obtain much better results (higher profit, longer and fewer trades) with the inclusion of Ref(Intrade,-1)==0 in the formula. Can anyone tell me why? Thanks, Nick