OPEN-SOURCE SCRIPT
ROC(2) Pivot (Linda Raschke)

A daily bias level based on Linda Bradford Raschke's adaptation of the Taylor Trading Technique. The indicator plots a single price level — the point where the 2-period rate of change flips sign — and colors it by the current bias direction.
Concept
George Douglas Taylor observed in the 1950s that markets tend to swing in 2–3 day cycles: a buy day, a sell day, a sell-short day. Raschke formalized this with a simple calculation that captures where short-term momentum shifts.
The pivot is known before the session opens because it uses only prior daily closes:
Pivot = (Yesterday's Close − Close 3 days ago) + Close 2 days ago
Price above the pivot → long bias. Price below → short bias. One number, one rule.
Features
- Pivot line with bias-colored shading (long/short fill between price and pivot)
- Info table showing current bias, pivot price, streak, and respect score
- Streak — how many consecutive days the bias has held the same direction.
- Respect score — over the last N completed sessions, how many times did price stay entirely on one side of the pivot vs. crossing through it? Higher respect = the pivot is acting as meaningful support/resistance
- Alerts for bias flips (price crossing the pivot)
- Configurable colors, line width, fill transparency, table position/size, dark/light theme
How to use it
Check the pivot before the session. If price is above, favor long setups. If below, favor short setups. Use your own entry signals — the pivot provides directional context, not entries.
The respect score helps gauge conviction: if the pivot has been respected 7+ out of 10 sessions, traders are treating that level seriously. If only 3–4, the market is chopping through it and the bias carries less weight.
Non-repainting behavior
The pivot line itself does not repaint — it is calculated entirely from prior daily closes and is fixed at the open. The streak and respect scores use only completed daily bars (no intraday repainting). The real-time bias (line color, fill, table) updates as price crosses the pivot during the session, which is intended behavior — it reflects the current state, not a prediction.
Credits
Based on the 2-Period Rate of Change concept from Linda Bradford Raschke (Street Smarts, Chapter 8) and George Douglas Taylor's Taylor Trading Technique (1950).
This indicator is a visualization and context tool — it does not generate buy/sell signals and is not a standalone trading system.
Concept
George Douglas Taylor observed in the 1950s that markets tend to swing in 2–3 day cycles: a buy day, a sell day, a sell-short day. Raschke formalized this with a simple calculation that captures where short-term momentum shifts.
The pivot is known before the session opens because it uses only prior daily closes:
Pivot = (Yesterday's Close − Close 3 days ago) + Close 2 days ago
Price above the pivot → long bias. Price below → short bias. One number, one rule.
Features
- Pivot line with bias-colored shading (long/short fill between price and pivot)
- Info table showing current bias, pivot price, streak, and respect score
- Streak — how many consecutive days the bias has held the same direction.
- Respect score — over the last N completed sessions, how many times did price stay entirely on one side of the pivot vs. crossing through it? Higher respect = the pivot is acting as meaningful support/resistance
- Alerts for bias flips (price crossing the pivot)
- Configurable colors, line width, fill transparency, table position/size, dark/light theme
How to use it
Check the pivot before the session. If price is above, favor long setups. If below, favor short setups. Use your own entry signals — the pivot provides directional context, not entries.
The respect score helps gauge conviction: if the pivot has been respected 7+ out of 10 sessions, traders are treating that level seriously. If only 3–4, the market is chopping through it and the bias carries less weight.
Non-repainting behavior
The pivot line itself does not repaint — it is calculated entirely from prior daily closes and is fixed at the open. The streak and respect scores use only completed daily bars (no intraday repainting). The real-time bias (line color, fill, table) updates as price crosses the pivot during the session, which is intended behavior — it reflects the current state, not a prediction.
Credits
Based on the 2-Period Rate of Change concept from Linda Bradford Raschke (Street Smarts, Chapter 8) and George Douglas Taylor's Taylor Trading Technique (1950).
This indicator is a visualization and context tool — it does not generate buy/sell signals and is not a standalone trading system.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Access my indicators and manual at: constantinpabst.com/
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Access my indicators and manual at: constantinpabst.com/
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.