TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
Futures Indicators

How to Use the Stochastic Oscillator in Futures A Crossover, a Move Below 80 and a Price Break

Follow 38 fictional five-minute MES candles. The price markers and table use completed candles, with timestamps in Eastern Time.

Quick Answer

Stochastic measures where the close sits within the recent high-to-low range. A %K cross below %D, a drop below 80 and a close below a price level are three separate events. They can occur on different candles.

Start 7-Day TrialCompare the marked candles

What changed after stochastic crossed down?

Synthetic MES 5-minute candles. Times are bar closes in ET.

The markers match the completed-bar readings in the table. The dashed line shows the 6,008.25 pullback reference. It was first marked at 11:30 ET and is drawn across the chart for orientation.

Calculate the 14, 3, 3 lines from the price bars

For each completed bar, subtract the lowest low of the last 14 bars from the close. Divide by the difference between the 14-bar highest high and lowest low, then multiply by 100. Smooth three raw readings with a simple average to get %K. Take a three-bar simple average of %K to get %D.

At 11:20 ET, the 14-bar high is 6,009.25, the low is 5,998.00 and the close is 6,008.50. The raw value is 100 × (6,008.50 − 5,998.00) ÷ (6,009.25 − 5,998.00), or 93.33. The table shows the smoothed %K of 96.40 and %D of 97.40 for that candle.

Read the crossover and the price level separately

At 11:15 ET, %K is just above %D. Marker 1 at 11:20 shows %K crossing below %D, with both still above 80. Yet price reaches a higher close of 6,011.25 by marker 2. Above 80 describes where price has been closing in its recent range and can persist during a trend.

The 11:20 and 11:25 candles share a 6,008.25 low. Mark it at 11:30 once the next candle has a higher low. At marker 3, %K falls below 80 while price closes above that reference. The wick at 12:05 touches the level and the candle closes above it. At marker 4, the 12:10 candle closes below it at 6,007.75.

Completed MES closes and stochastic readings
Close ETMES%K%D
11:156,009.0097.9197.87
1 · 11:206,008.5096.4097.40
2 · 11:356,011.2597.8496.83
3 · 12:006,009.7573.5682.54
4 · 12:106,007.7547.7460.96

Match the settings in TradingView and NinjaTrader

In TradingView, add the built-in Stochastic study and set the K length to 14, K smoothing to 3, and D length to 3. Use standard candles on the same dated contract and interval. In NinjaTrader Desktop, add Stochastics and set Period K to 14, Period D to 3 and Smooth to 3.

Compare completed bars after enough history is loaded for both smoothing steps. Stochastic uses the high-to-low range of price. Stoch RSI applies the range calculation to RSI values. Check which study is on the chart if your readings differ.

Practice using stochastic as a filter

Before replay, write down which event your rule needs: a %K/%D cross, an exit from the 80 or 20 zone, or a close through a price reference marked in advance. Advance one candle at a time and log each event separately. If the rule requires a price break, record the time it actually became eligible.

Include sessions where the oscillator stays near an extreme and sessions where price reverses quickly. Keep the original price rule fixed and compare the same setup with and without the oscillator filter. Track which opportunities it removes and any delay it introduces alongside simulated costs.

Sources

Official References

Platform details on this page were checked against these official resources.

TradingView Stochastic formula and inputsVerify the 14-bar range and the two smoothing inputs.NinjaTrader Stochastics referenceCheck the %K, %D and smoothing periods.
Related Guides

Keep Building the Rule System

Compare with RSI on a futures chart

See two different price outcomes after an oscillator recovers from oversold.

Read a MACD signal-line cross

Compare a histogram zero cross with the MACD line crossing zero.

Practice using TradingView Bar Replay

Check what you knew before revealing the next bar.

FAQ

Common Questions

Can stochastic cross down while it is still above 80?

Yes. In the MES example, %K falls below %D at 11:20 ET while both remain above 80. %K first falls below 80 later, at noon.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.