indicator stop loss reads the value of a named indicator column at
entry time and uses that as the stop price. The stop is set once at
entry - it doesn't follow the indicator.
Shape
"stop_loss": {
"type": "indicator",
"indicator": "bb_lower"
}Params
indicator- column name to read as the stop price.
Usage
- Bollinger lower band as a long stop for mean-reversion entries.
- Keltner channel as a stop for momentum entries.
- Donchian low as a swing-low stop for breakout entries.
Pitfalls
- The stop is fixed at entry. A "swing low" stop based on an indicator value won't trail with the indicator. If you want trailing, use a trailing stop modifier or a different exit type.
- Indicator value at entry can be unfavorable. If the indicator is currently above price (for a long), the engine will reject the entry or use a sane fallback - check your strategy logs.
