Strategies / S35
Stochastic 20/80
Buy the stochastic under 20, sell over 80.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +109% | +602% | 0.48 | -65.4% | 62.7% | 1,083 |
| Stocks, 1d | +781% | +28K% | 0.57 | -34.3% | 69.8% | 1,547 |
| Forex, 1d | -17.6% | +3.1% | -0.15 | -28.0% | 61.5% | 948 |
| Commodities, 1d | +315% | +1,833% | 0.45 | -46.3% | 65.9% | 891 |
| Indices, 1d | +177% | +878% | 0.36 | -46.0% | 72.4% | 891 |
The exact rule
- Go long when Stochastic(14) is below 20.
- Exit the long when Stochastic(14) is above 80.
- Declared timeframe: 1d.
Explain it with Ask AI (Premium, on a desktop)
Watch it trade
This runs the same engine in your browser on the latest candles, with your own costs. Press Replay to watch every entry and exit arrive bar by bar.
Download
Pine ScriptFor TradingView
Paper botRuns on the Bot API, no real money
Python backtestOne file, no dependencies
READMEThe rule in plain words
Want it to run by itself? Read the automate guide, and use paper money first.
Related strategies
Bollinger DipBuy a close under the lower band, exit at the mid-line.Bollinger Fade Long & ShortFades both bands back to the mid-line.Stretch Below SMA 20Buy 2% below the 20 SMA, sell back at it.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.