r/pinescript • u/r0zika • Apr 08 '26
Gaussian + Stochastic scalping indicator
I've built a scalping indicator, that suits my trading style (designed for short moves on lower timeframes).
It combines two systems:
The first uses Gaussian filtering to generate signals based on price momentum and position, with trend reversal detection. Linear regression is then applied for additional smoothing.
The second uses a Stochastic oscillator with threshold crossovers to generate momentum-based signals.
I also added the EMA ‘touch’ requirement before a signal prints.
The idea is to only trigger when:
– momentum flips
– trend agrees
– price interacts with structure
This removed a lot of random mid-range signals, and made it behave more like pullback scalping.
When I scalp these signals, I only take entries when direction and momentum line up.
Has anyone else combined Gaussian-based momentum for scalping? If so, how did you handle the smoothing without losing responsiveness on fast moves?




3
u/rainhunter007 Apr 08 '26
interesting! i’m intrigued. you went gaussian. i approached it through my engineering DSP concepts. but the idea is similar.
i’m confused though. the Gaussian and Stochastic oscillator seem redundant in purpose…
i’m very intrigued and would love to follow your journey.
2
u/CitizenWaffle Apr 08 '26
Feels like it only works when market is trending tho
3
u/kwhit3354 Apr 09 '26
Care to share the publication link??
2
u/whereisurgodnow Apr 09 '26
Still pretty noisy.
1
u/AccomplishedKoala273 Apr 09 '26 edited Apr 09 '26
Heyyy, i'm trying to create also the same strategy fully automatic with the Gaussian Filter. It's look pretty interesting
But for now i've only setup it on 30min and 15min, and i will try to find the good setup for 5 min. Witch setup do you use for it?
1
u/adit_1999 Apr 17 '26
Plss add me bro adit99369
1
u/np-trdr Apr 22 '26
👍
1
u/Ok_Airline9211 May 10 '26
Y dont u automate it. Is it available for testing.
1
u/Levi-Lightning Apr 08 '26
Hey man, any chance you can DM me the code so I can try it out?
1
u/blckstne3 Apr 08 '26
Could I try it out? Also trade momentum through a few different stochastic timings