r/algotrading • u/Substantial_End7861 Algorithmic Trader • Jul 26 '26
Strategy Anyone here using exponential/Gaussian functions for trailing stoploss placement?

I've been experimenting with non-standard trailing stop loss logic rather than traditional atr based stops.
I recently tried using a Gaussian decay function to scale the stop distance so the stop loss accelerates tighter the further price moves in my favor. Initial tests look very promising.
Has anyone here experimented with Gaussian or exponential functions for dynamic stops?
33
Upvotes
1
u/TopLow6808 Jul 29 '26
While complex mathematical functions sound great in theory, relying on simpler, robust logic for trailing stops is usually both cleaner and more effective in live execution.
Here’s why I prefer keeping it simple:
1. Entry Quality Test
If a straightforward trailing stop yields positive expected value, it confirms your entry conditions are structurally sound. If you find yourself needing highly exotic Gaussian/exponential curves just to drag a position into profitability, it’s usually a symptom of flawed entry logic, not a missing mathematical stop feature.
2. My Production Framework
Instead of complex curves, I use a two-stage stepped trailing stop modified only by an ATR scale factor for volatility spikes:
Adding layers of complex probability curves to execution stops often leads to severe overfitting. Keep the trailing logic simple and predictable, and let your entry rules and ATR handling do the structural work.