STOCHASTIC P Trading Guide
Last updated: February 27, 2026
The Stochastic (P) is a classic momentum oscillator that tracks the position of a security's closing price relative to its high-low range over a given period, allowing you to easily identify overbought and oversold conditions.
What does the indicator show?
- %K Line: The main, faster oscillator line reacting quickly to recent closing prices.
- %D Line: A moving average of the %K line, acting as a smoother signal line to reveal crossovers.
- Threshold Bands: A shaded background between the 80 (Overbought) and 20 (Oversold) index values.
Key Settings
- %K Length: The lookback period used to determine the highest high and lowest low for the base relative calculation.
- %K Smoothing: Period over which the raw %K ratio is smoothed before plotting, reducing noise.
- %D Smoothing: The period used to generate the slower signal line by averaging the smoothed %K.
How to use Strategy Parameters (Condition Source)
Within the Strategy Tester module, you can leverage the data from this indicator to create powerful logical conditions for trade entries and exits.
1. Oscillator Values
Direct numerical properties of the indicator's lines and their momentum.
%K— The current numerical value of the fast line.%D— The current numerical value of the signal line.%K Delta— The difference between the current %K and its previous value, indicating the speed and direction of the momentum.
Strategy Example: A classic short entry could check if %K crosses_below 80 (returning from an overbought state) or simply when %K crosses_below %D while in the upper zone.