Hi TJ and all, I am trying to write code that moves stops for breakeven and trailing stops. My understanding, is that using normal backtester mode, AB removes redundant signals first pass and then computes the portfolio. No problem with this.
What I would like to know is what process occurs when using backtester raw mode since the redundant signals are kept. Say an early signal is not taken because not enough equity. Then the next signal can be taken. The breakeven is different for both entry signals. When does AB decide which signals to take. As this would affect the breakeven stop and whether a sell signal is raised. I see it could happen only during the portfolio part of the backtester. This is why I'm confused since I don't think AB works this way. If I'm right, I think it would need CBT to code this. Many thanks for you help. f
