In rotational trading, bo.ExitTrade in CBT forces replacement of the position exited. Trying to figure out how to exit only and NOT enter a replacement position. I tried pos.BarsInTrade( ) thinking that a value of zero seems to imply that the position was just bought.
That is, was thinking of using pos.BarsInTrade( ) of zero to set sig.PosScore to zero thinking that doing so would cause AB to not replace position exited. Yet, pos.BarsInTrade( ) does not seem to be available when a position is just entered into (i.e., for a zero value as covered in AB Help). Correct? Any ideas on what to concentrate on when one wants CBT to just exit a position when the position's ranking falls to a certain level (say, 10th in the ranking) and not rotate would be appreciated.
