Skip to content
All library documents

Pivot Levels with ROC and Stochastic RSI Confirmation

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines a pivot level derived from the prior period’s high, low, and close with two momentum measures: Rate of Change (ROC) and Stochastic RSI. A long signal requires price above the pivot, a bullish Stochastic RSI K/D crossover, and positive ROC. A short signal requires price below the pivot, a bearish K/D crossover, and negative ROC. The code closes the opposing position before entering, so it can reverse direction. It also plots first resistance and support levels, although these levels do not appear in the entry rules.

The document explains the indicators and recommends parameter testing, out-of-sample checks, and stop or position management. Its stated backtest setup covers BTC-USDT futures over a published date range, but it gives no performance metrics. The narrative’s claim that crossing below the pivot with confirming momentum closes a position is less precise than the implementation, which opens a short. The strategy is framed as trend-following and may struggle in choppy markets; fixed indicator settings and tuning against historical data may also produce fragile signals. No evidence is provided that the signal filters improve returns or win rates.

Key ideas

  • The pivot is calculated from the previous period’s high, low, and close.
  • Long entries require price above the pivot, a bullish Stochastic RSI crossover, and positive ROC.
  • Short entries require price below the pivot, a bearish Stochastic RSI crossover, and negative ROC.
  • The code closes the opposite position when a new directional signal appears.
  • The document recommends out-of-sample validation because parameter tuning can overfit historical data.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.