When enabled, the engine exits any open position the moment trend detection flips to a direction opposite the trade.
Shape
"trend_reversal": {
"enabled": true
}Usage
- Trend strategies that should give back accumulated profit rather than ride a reversal.
- Cleaner than a fixed-distance trailing stop when the trend flip is a more meaningful exit signal than the price-distance drawdown.
Requires trend_detection
Set trend_detection.method to something other than none for
this to do anything.
Pitfalls
- Whippy trend flips in chop close positions repeatedly. Pair with a regime filter so this only triggers in trending markets.
- Reversal exit + ATR target can fight each other. The first to fire wins; check trades table exit reason to see which is closing your positions.
