Stochastic OTT (Stochastic Optimized Trend Tracker) is a momentum oscillator that applies the OTT trailing-stop logic to a smoothed Stochastic %K line. It plots the oscillator in its own pane together with an OTT line, and marks a Buy when %K crosses above the OTT line and a Sell when it crosses below. It is built to catch the turns of long, slow cycles rather than short-term noise.
The default lengths need a long history: the first several hundred bars of a chart are a warm-up period and differ from later values. Like any oscillator, it lags at sharp reversals and gives false crosses in tight ranges, so use it with trend and structure filters.
Indie port for TakeProfit of the open-source Pine Script v4 indicator published on TradingView in June 2021. The logic follows the original: Stochastic %K, VAR smoothing, OTT and the crossing signals. Values were compared with TradingView on the same candles and converge to the original after the warm-up period. Differences: the unused Source input and the shaded band between 1020 and 1080 are not included, and TradingView alertcondition() is replaced by platform alerts. Last updated: October 2026.
Original indicator: Stochastic Optimized Trend Tracker by KivancOzbilgic (created by Anıl Özekşi), TradingView. © KivancOzbilgic. Original licensed under the Mozilla Public License 2.0 (https://mozilla.org/MPL/2.0/). This is an independent Indie port of the published open-source script.
This indicator is a technical analysis tool for educational and informational purposes, not financial advice or a trading recommendation. Signals are calculated from past prices, can lag, repeat and fail, and do not guarantee future results. Trading financial instruments, especially with leverage, involves a high risk of loss. Test any settings on history and a demo account first, and never risk money you cannot afford to lose.
Comments