[Bybit BTCUSD.P] 7Years Backtest Results. 2,609% +Non-Repainting📊 I. Strategy Overview: Trust Backed by Numbers
The ADX Sniper v12 strategy has been rigorously tested over 7 years, from November 14, 2018 to November 8, 2025, spanning every major cycle of the Bitcoin
BTCUSD.P futures market. This strategy successfully balances two often-conflicting goals: maximizing profitability while minimizing volatility, all supported by objective performance data.
This strategy has been validated across all Bitcoin (BTCUSD.P) futures market cycles over a 7-year period.
■ Visual Proof: Bar Replay Simulation
The chart above demonstrates actual entry and exit points captured via TradingView's Bar Replay feature. The green rectangle highlights the core profitable trading zone, showing where the strategy successfully captured sustained uptrends. This visual evidence confirms:
Confirmed buy/sell signals with exact execution prices (marked in red and blue)
No repainting or signal distortion after candle close
Consistent performance across multiple market cycles within the highlighted zone
💰 Core Performance Metrics:
Cumulative Return: 2,609.14% (compounded growth over 7 years)
Maximum Drawdown (MDD): 6.999% (preserving over 93% of capital)
Average Profit/Loss Ratio: 8.003 (industry-leading risk-reward efficiency)
Total Trades: 24 (focused exclusively on high-conviction opportunities)
Sortino Ratio: 11.486 (mathematically proving robustness and stability)
✅ This strategy has been validated across all Bitcoin BTCUSD.P futures market cycles over a 7-year period.
📊 I. 전략 개요: 숫자로 입증된 신뢰
ADX Sniper v12 전략은 2018년 11월 14일부터 2025년 11월 8일까지 약 7년간 비트코인 (BTCUSD.P) 선물 시장의 모든 주요 사이클을 거치며 엄격하게 검증되었습니다. 수익성 극대화와 변동성 최소화라는 상충되는 목표를 동시에 달성한 이 전략의 핵심 성과 지표를 객관적 데이터를 통해 확인하실 수 있습니다.
본 전략은 7년간의 모든 비트코인 (BTCUSD.P) 선물 시장 사이클에서 검증되었습니다.
■ 시각적 증명: 바 리플레이 시뮬레이션
위 차트는 TradingView의 바 리플레이 기능으로 포착된 실제 진입 및 청산 시점을 보여줍니다. 녹색 네모는 핵심 수익 구간을 표시하며, 전략이 지속적인 상승 추세를 성공적으로 포착한 영역을 나타냅니다. 본 시각 자료는 다음을 입증합니다:
정확한 체결 가격이 표기된 확정된 매수/매도 신호 (빨강색과 파랑색으로 표시)
캔들 종가 후 신호 왜곡이나 리페인팅 없음
강조 표시된 구간 내 여러 시장 사이클에 걸친 일관된 성과
💰 핵심 성과 지표:
누적 수익률: 2,609.14% (7년간 복리 성장 입증)
최대 낙폭 (MDD): 6.999% (7년간 자본의 93% 이상 보존)
평균 손익비: 8.003 (업계 최고 수준의 위험-보상 효율성)
총 거래 횟수: 24회 (고확신 기회에만 집중)
소르티노 비율: 11.486 (전략의 견고성과 안정성을 수학적으로 입증)
✅ 본 전략은 7년간의 모든 비트코인 (BTCUSD.P) 선물 시장 사이클에서 검증되었습니다.
🛡️ II. Core Philosophy: Cut Losses Short, Let Profits Run
Why MDD Stays Below 7% in a Volatile Market
The crypto futures market typically experiences daily volatility exceeding 10%, with most strategies enduring drawdowns between 30% and 50%. In stark contrast, this strategy has never exceeded a 7% account loss over seven years. This exceptional low MDD is achieved through deliberate design mechanisms, not luck:
🎯 Entry Filtering: The 'ADX Pop-up Filter' is the core component. It enables the strategy to strictly avoid trading when market conditions indicate major reversals or consolidation phases, thereby minimizing exposure to high-risk zones.
🏛️ Capital Preservation Priority: The strategy prioritizes investor psychological stability and capital preservation over pursuing maximum potential returns.
The Power of an 8.003 Profit Factor
The Profit Factor measures the ratio of total profitable trades to total losing trades. It's the most critical metric for assessing risk-adjusted returns.
A Profit Factor of 8.003 means that for every dollar lost, the strategy earns an average of eight dollars. This demonstrates the efficiency of a true trend-following strategy:
Cutting losses quickly (averaging $177,419 USD loss per trade)
Riding winners for maximum extension (averaging $1,419,920 USD profit per trade)
🛡️ II. 핵심 철학: 손실은 빠르게 자르고, 수익은 끝까지
암호화폐 시장에서 MDD <7%의 의미
암호화폐 선물 시장은 일일 변동성이 10%를 초과하는 경우가 빈번하며, 일반적인 전략들은 30~50%의 MDD를 겪습니다. 이와 극명한 대조로, 본 전략은 7년간 단 한 번도 7%를 초과하는 계좌 손실을 기록하지 않았습니다. 이렇게 극도로 낮은 MDD는 운이 아닌 체계적인 메커니즘을 통해 달성되었습니다:
🎯 진입 필터링: 'ADX 팝업 필터'가 핵심 구성 요소로, 시장 상황이 주요 반전이나 횡보를 나타낼 때 거래를 엄격히 회피하여 고위험 구간 노출을 최소화합니다.
🏛️ 자본 보존 우선: 본 전략은 최대 잠재 손실을 감수하기보다 투자자의 심리적 안정성과 자본 보존을 우선시하도록 설계되었습니다.
손익비 8.003의 힘
손익비는 '총 수익 거래'와 '총 손실 거래'의 비율로, 위험 조정 수익을 측정하는 핵심 지표입니다.
8.003이라는 값은 1달러를 잃을 때마다 평균적으로 8달러 이상을 벌어들이는 구조를 의미합니다. 이는 진정한 추세 추종 전략의 최대 효율성을 보여줍니다:
손실은 빠르게 자르고 ($177,419 USD 평균 손실)
수익은 최대한 연장합니다 ($1,419,920 USD 평균 수익)
🎯 III. Strategy Reliability and Structural Edge
The Secret of 24 Trades in 7 Years
Only 24 trades over 7 years signifies that this strategy ignores 99% of market volatility and targets only the 1% of 'most certain buying cycles'. This approach eliminates the drag from excessive trading:
❌ No commission bleed
❌ No slippage erosion
❌ No psychological wear from overtrading
📈 Long-Term Trend Following: The strategy analyzes Bitcoin's long-term price cycles to capture the onset of massive trends while remaining undisturbed by short-term market noise.
Non-Repainting Structure: Alignment of Reality and Simulation
🎬 Non-Repainting Proof Video Available
※↑ "If you wish, I can also show you a video as evidence of the non-repainting throughout the 7 years."
✅ Real-Time Trading Reliability: This strategy is built with a non-repainting structure, generating buy/sell signals only after each candle's closing price is confirmed.
✅ Preventing Data Exaggeration: This design ensures that backtest results do not 'repaint' or distort past performance, guaranteeing high correlation between simulated results and actual live trading environments.
✅ Live Trading Advantage: While simulations use closing prices, live trading may allow entry at more favorable prices before candle close, potentially yielding even better execution than backtest results.
🎯 III. 전략의 신뢰성과 구조적 우위
7년간 24회 거래의 비밀
7년간 단 24회의 거래는 시장 변동성의 99%를 무시하고 오직 1%의 '가장 확실한 매수 사이클'만을 타겟으로 한다는 것을 의미합니다. 이는 과도한 거래로 인한 문제를 근본적으로 제거합니다:
❌ 수수료 소모 없음
❌ 슬리피지 침식 없음
❌ 과도한 트레이딩으로 인한 심리적 소모 없음
📈 장기 추세 추종: 비트코인 가격 역사를 지배하는 장기 사이클 분석을 활용하여, 단기 시장 노이즈에 흔들리지 않고 대규모 추세의 시작점을 포착하는 데 집중합니다.
논-리페인팅 구조: 현실과 시뮬레이션의 일치
🎬 논-리페인팅 증명 영상 제공 가능
※↑ "원하신다면 7년간 리페인팅이 없음을 증명하는 영상도 보여드릴 수 있습니다."
✅ 실시간 거래 신뢰성: 본 전략은 논-리페인팅 구조로 구축되어, 캔들의 종가가 확정된 후에만 매수/매도 신호를 생성합니다.
✅ 데이터 과장 방지: 이러한 설계는 백테스트 결과가 과거 성과를 '리페인팅'하거나 과장하지 않도록 보장하며, 시뮬레이션 결과와 실제 라이브 거래 환경 간의 높은 상관관계를 보장합니다.
✅ 라이브 실행 우위 가능성: 시뮬레이션은 종가 기준이지만, 라이브 운영 시 캔들이 마감되기 전 더 유리한 가격에 진입할 수 있어 시뮬레이션 결과보다 더 나은 실행 성과를 얻을 가능성이 있습니다.
📈 IV. Performance Summary (November 14, 2018 - November 8, 2025)
| Metric | Value || Metric | Value |
|--------|-------|
| Initial Capital | $1,000,000 |
| Net Profit | +$26,091,383.74 |
| Cumulative Return | +2,609.14% |
| Maximum Drawdown | -6.999% |
| Total Trades | 24 |
| Winning Trades | 19 (79.17%) |
| Losing Trades | 5 (20.83%) |
| Avg Winning Trade | +$1,419,920.16 |
| Avg Losing Trade | -$177,419.86 |
| Profit Factor | 8.003 |
| Sortino Ratio | 11.486 |
| Win/Loss Ratio | 8.003 |
⚙️ Default Settings:
Slippage: 0 ticks
Commission: 0.333% (Bybit standard)
📈 IV. 성과 지표 요약 (2018년 11월 14일 ~ 2025년 11월 8일)
|| 지표 | 값 |
|--------|-------|
| 초기 자본 | $1,000,000 |
| 순이익 | +$26,091,383.74 |
| 누적 수익률 | +2,609.14% |
| 최대 낙폭 | -6.999% |
| 총 거래 횟수 | 24 |
| 수익 거래 | 19 (79.17%) |
| 손실 거래 | 5 (20.83%) |
| 평균 수익 거래 | +$1,419,920.16 |
| 평균 손실 거래 | -$177,419.86 |
| 손익비 | 8.003 |
| 소르티노 비율 | 11.486 |
| 평균 손익 비율 | 8.003 |
⚙️ 기본 설정:
슬리피지: 0틱 (기본값)
수수료: 0.333% (Bybit 표준)
👥 V. Who Is This Strategy For?
✅ Long-term Bitcoin investors seeking stable, low-drawdown returns
✅ Traders tired of overtrading who prefer surgical, sniper-style precision entries
✅ Investors seeking psychological stability by avoiding large account swings
✅ Data-driven decision makers who value proven performance over marketing claims
👥 V. 이 전략은 누구를 위한 것인가요?
✅ 안정적이고 낮은 낙폭의 수익을 추구하는 장기 비트코인 투자자
✅ 과도한 매매에 지친 트레이더로 저격수 스타일의 정밀한 진입을 선호하는 분
✅ 큰 계좌 변동을 피하여 심리적 안정성을 추구하는 투자자
✅ 주장보다 검증된 객관적 성과를 중시하는 데이터 기반 의사 결정자
🔒 VI. Access & Disclaimer
🔐 Access Type: Invite-Only (Protected Source Code)
💬 How to Get Access: Send a private message or leave a comment below
⚠️ Important Disclaimer:
Past performance does not guarantee future results. Cryptocurrency and futures trading involve substantial risk of loss. This strategy is provided for educational and informational purposes only. Users should conduct their own research and consult with a financial advisor before making investment decisions. The author is not responsible for any financial losses incurred from using this strategy.
🔒 VI. 접근 방법 및 면책사항
🔐 접근 유형: 초대 전용 (소스코드 보호)
💬 접근 방법: 비공개 메시지 또는 아래 댓글 남기기
⚠️ 중요 면책사항:
과거 성과가 미래 결과를 보장하지 않습니다. 암호화폐 및 선물 거래는 상당한 손실 위험을 수반합니다. 본 전략은 교육 및 정보 제공 목적으로만 제공됩니다. 사용자는 투자 결정을 내리기 전 자체 조사를 수행하고 재무 자문가와 상담해야 합니다. 저자는 본 전략 사용으로 인한 재정적 손실에 대해 책임지지 않습니다.
🏷️ VII. Tags
Bitcoin |Bitcoin | BTCUSD | BTCUSD.P | Bybit | DailyChart | LongTerm | TrendFollowing | ADX | NonRepainting | Strategy | BacktestProven | SevenYears | LowDrawdown | HighProfitFactor | StableReturns | CapitalPreservation | Ichimoku | DMI | SuperTrend | TechnicalAnalysis | Volatility | RiskManagement | AutoTrading | Futures | PerpetualFutures | AlgorithmicTrading | SystematicTrading | DataDriven | InviteOnly | ProtectedScript | SnipperTrading | HighConviction | MDD | SortinoRatio
🏷️ VII. 태그
비트코인 |비트코인 | BTCUSD | BTCUSD.P | 바이비트 | 일봉 | 장기투자 | 추세추종 | ADX | 논리페인팅 | 전략 | 백테스트검증 | 7년검증 | 저낙폭 | 고손익비 | 안정수익 | 자본보존 | 일목균형표 | DMI | 슈퍼트렌드 | 기술적분석 | 변동성 | 위험관리 | 자동매매 | 선물 | 무기한선물 | 알고리즘트레이딩 | 시스템트레이딩 | 데이터기반 | 초대전용 | 보호스크립트 | 저격수트레이딩 | 고확신 | MDD | 소르티노비율
📌 Note: This strategy is designed exclusively for Bybit BTCUSD.P perpetual futures on the 1-day (daily) timeframe. Performance may vary significantly on other symbols or timeframes.
📌 참고: 본 전략은 Bybit BTCUSD.P 무기한 선물 계약의 1일봉(Daily) 타임프레임에 전용으로 설계되었습니다. 다른 심볼이나 타임프레임에서는 성과가 크게 달라질 수 있습니다.
מחזורים
[Bybit BTCUSD.P] 7Years Backtest Results. 2,609% +Non-Repainting
📊 I. Strategy Overview: Trust Backed by Numbers
The ADX Sniper v12 strategy has been rigorously tested over 7 years, from November 14, 2018 to November 8, 2025, spanning every major cycle of the Bitcoin BTCUSD.P futures market. This strategy successfully balances two often-conflicting goals: maximizing profitability while minimizing volatility, all supported by objective performance data.
This strategy has been validated across all Bitcoin (BTCUSD.P) futures market cycles over a 7-year period.
■ Visual Proof: Bar Replay Simulation
The chart above demonstrates actual entry and exit points captured via TradingView's Bar Replay feature. The green rectangle highlights the core profitable trading zone, showing where the strategy successfully captured sustained uptrends. This visual evidence confirms:
1) Confirmed buy/sell signals with exact execution prices (marked in red and blue)
2) No repainting or signal distortion after candle close
3) Consistent performance across multiple market cycles within the highlighted zone
💰 Core Performance Metrics:
Cumulative Return : 2,609.14% (compounded growth over 7 years)
Maximum Drawdown (MDD) : 6.999% (preserving over 93% of capital)
Average Profit/Loss Ratio : 8.003 (industry-leading risk-reward efficiency)
Total Trades : 24 (focused exclusively on high-conviction opportunities)
Sortino Ratio : 11.486 (mathematically proving robustness and stability)
✅ This strategy has been validated across all Bitcoin BTCUSD.P futures market cycles over a 7-year period.
🛡️ II. Core Philosophy: Cut Losses Short, Let Profits Run
Why MDD Stays Below 7% in a Volatile Market
The crypto futures market typically experiences daily volatility exceeding 10%, with most strategies enduring drawdowns between 30% and 50%. In stark contrast, this strategy has never exceeded a 7% account loss over seven years. This exceptional low MDD is achieved through deliberate design mechanisms, not luck:
🎯 Entry Filtering: The 'ADX Pop-up Filter' is the core component. It enables the strategy to strictly avoid trading when market conditions indicate major reversals or consolidation phases, thereby minimizing exposure to high-risk zones.
🏛️ Capital Preservation Priority: The strategy prioritizes investor psychological stability and capital preservation over pursuing maximum potential returns.
The Power of an 8.003 Profit Factor
The Profit Factor measures the ratio of total profitable trades to total losing trades. It's the most critical metric for assessing risk-adjusted returns.
A Profit Factor of 8.003 means that for every dollar lost, the strategy earns an average of eight dollars. This demonstrates the efficiency of a true trend-following strategy:
Cutting losses quickly (averaging $177,419 USD loss per trade)
Riding winners for maximum extension (averaging $1,419,920 USD profit per trade)
🎯 III. Strategy Reliability and Structural Edge
The Secret of 24 Trades in 7 Years
Only 24 trades over 7 years signifies that this strategy ignores 99% of market volatility and targets only the 1% of 'most certain buying cycles'. This approach eliminates the drag from excessive trading:
❌ No commission bleed
❌ No slippage erosion
❌ No psychological wear from overtrading
📈 Long-Term Trend Following: The strategy analyzes Bitcoin's long-term price cycles to capture the onset of massive trends while remaining undisturbed by short-term market noise.
Non-Repainting Structure: Alignment of Reality and Simulation
🎬 Non-Repainting Proof Video Available
※↑ "If you wish, I can also show you a video as evidence of the non-repainting throughout the 7 years."
✅ Real-Time Trading Reliability: This strategy is built with a non-repainting structure, generating buy/sell signals only after each candle's closing price is confirmed.
✅ Preventing Data Exaggeration: This design ensures that backtest results do not 'repaint' or distort past performance, guaranteeing high correlation between simulated results and actual live trading environments.
✅ Live Trading Advantage: While simulations use closing prices, live trading may allow entry at more favorable prices before candle close, potentially yielding even better execution than backtest results.
📈 IV. Performance Summary (November 14, 2018 - November 8, 2025)
|| Metric | Value |
|--------|-------|
| Initial Capital | $1,000,000 |
| Net Profit | +$26,091,383.74 |
| Cumulative Return | +2,609.14% |
| Maximum Drawdown | -6.999% |
| Total Trades | 24 |
| Winning Trades | 19 (79.17%) |
| Losing Trades | 5 (20.83%) |
| Avg Winning Trade | +$1,419,920.16 |
| Avg Losing Trade | -$177,419.86 |
| Profit Factor | 8.003 |
| Sortino Ratio | 11.486 |
| Win/Loss Ratio | 8.003 |
⚙️ Default Settings:
Slippage: 0 ticks
Commission: 0.333% (Bybit standard)
👥 V. Who Is This Strategy For?
✅ Long-term Bitcoin investors seeking stable, low-drawdown returns
✅ Traders tired of overtrading who prefer surgical, sniper-style precision entries
✅ Investors seeking psychological stability by avoiding large account swings
✅ Data-driven decision makers who value proven performance over marketing claims
🔒 VI. Access & Disclaimer
🔐 Access Type: Invite-Only (Protected Source Code)
💬 How to Get Access: Send a private message or leave a comment below
⚠️ Important Disclaimer:
Past performance does not guarantee future results. Cryptocurrency and futures trading involve substantial risk of loss. This strategy is provided for educational and informational purposes only. Users should conduct their own research and consult with a financial advisor before making investment decisions. The author is not responsible for any financial losses incurred from using this strategy.
🏷️ VII. Tags
Bitcoin |Bitcoin | BTCUSD | BTCUSD.P | Bybit | DailyChart | LongTerm | TrendFollowing | ADX | NonRepainting | Strategy | BacktestProven | SevenYears | LowDrawdown | HighProfitFactor | StableReturns | CapitalPreservation | Ichimoku | DMI | SuperTrend | TechnicalAnalysis | Volatility | RiskManagement | AutoTrading | Futures | PerpetualFutures | AlgorithmicTrading | SystematicTrading | DataDriven | InviteOnly | ProtectedScript | SnipperTrading | HighConviction | MDD | SortinoRatio
📌 Note: This strategy is designed exclusively for Bybit BTCUSD.P perpetual futures on the 1-day (daily) timeframe. Performance may vary significantly on other symbols or timeframes.
ATC v6 with ORB by SabnATC v6 with ORB: Advanced Automatic Session and Opening
Range Indicator
ATC v6 is an advanced indicator designed by Alfa Trade Club for
TradingView users. This tool not only automatically marks important session
opens, closes, or specific times of financial markets on your chart but also
visualizes powerful Opening Range (ORB) strategies directly on your chart.
This tool removes the need to manually monitor critical trading hours, allowing
you to easily analyze price action in relation to these important timeframes.
Key Features
This indicator comes with a set of powerful features to provide the flexibility,
visual clarity, and strategic advantage that traders need:
1. Multi-Time Zone Support The indicator is based on the world's most
important financial market centers:
New York (America/New_York)
London (Europe/London)
Tokyo (Asia/Tokyo)
Istanbul (Europe/Istanbul)
This allows you to always set the lines accurately according to the local time of
the market you are trading.
2. Advanced 3-Stage Timing (Pre / Main / Next) Each time line is more than
just a simple line; it can manage a three-stage event cycle:
"Pre-Session": Draws a dotted line a few minutes before the main time you
specify (e.g., market open). This allows you to see the price level just before a
significant event.
"Main Session": Marks the opening price at the exact event time (e.g., 08:00
London Open) with a solid line.
"Next / ORB" (Opening Range): Draws another dotted line a specified number
of minutes after the main event (e.g., 15 minutes later). This is used to define the
Opening Range.
3. Automatic Price Boxes (Volatility & ORB) The indicator can draw two
different types of boxes based on this timing:
Opening Volatility Box (Pre -> Main): If the "Pre-Session" feature is active, the
indicator draws a colored box between the price at the pre-session moment and
the price at the main event. This box visualizes the initial volatility at the session
open.
Opening Range Box (Main -> Next): If the "Next" feature is active, the indicator
draws a box between the price at the main event and the "next" event.
4. Customizable Time Lines You have full control over each line. Users can:
Enable/Disable each line.
Set any desired hour and minute.
Define the "Pre" and "Next" durations in minutes.
Assign a different color for visual distinction.
5. Smart and Efficient Drawing
Forward-Extending Lines: All drawn lines and boxes automatically extend from
the moment they are created until the next day. This makes it easy to track how
these levels act as support/resistance throughout the day.
High Performance: Instead of deleting old lines and drawing new ones when a
new day starts, the code intelligently extends the existing lines into the next day
Weekend and DST Protection: Automatically skips weekends (from Friday to
Monday) and is not affected by Daylight Saving Time (DST) changes.
Who Is It For?
Session-Focused Traders: Ideal for those who track volatility during the London,
New York, Asian, or Istanbul session opens.
Day Traders: Perfect for those who want to mark important economic data
release times or daily market open/close levels.
Technical Analysts: A powerful aid for those who want to visually analyze how
opening prices at specific times and time ranges play a role throughout the day.
ATC v6 with ORB is much more than just a simple session line; it is a dynamic
analysis and strategy tool that combines price and time.
Relative Strength HSIWe add the relative strength indicator. We try to maximize the alpha,
when there is price divergence, we should notice.
RSI with Zone Colors//@version=6
indicator(title="RSI with Zone Colors", shorttitle="RSI+", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
//// ==== INPUT SETTINGS ====
rsiLength = input.int(14, title="RSI Length", minval=1)
source = input.source(close, title="Source")
ob_level = input.int(70, title="Overbought Level")
os_level = input.int(30, title="Oversold Level")
//// ==== RSI CALCULATION ====
change = ta.change(source)
up = ta.ma(math.max(change, 0), rsiLength)
down = ta.ma(-math.min(change, 0), rsiLength)
rsi = down == 0 ? 100 : 100 - (100 / (1 + up / down))
//// ==== COLOR BASED ON ZONES ====
rsiColor = rsi > ob_level ? color.red : rsi < os_level ? color.green : #2962FF
//// ==== PLOT RSI ====
plot(rsi, title="RSI", color=rsiColor, linewidth=2)
//// ==== ZONE LINES ====
hline(ob_level, "Overbought", color=#787B86)
hline(50, "Middle", color=color.new(#787B86, 50))
hline(os_level, "Oversold", color=#787B86)
//// ==== FILL ZONES ====
zoneColor = rsi > ob_level ? color.new(color.red, 85) : rsi < os_level ? color.new(color.green, 85) : na
fill(plot(ob_level, display=display.none), plot(rsi > ob_level ? rsi : ob_level, display=display.none), color=zoneColor, title="OB Fill")
fill(plot(os_level, display=display.none), plot(rsi < os_level ? rsi : os_level, display=display.none), color=zoneColor, title="OS Fill")
//// ==== COLOR CANDLE WHEN RSI IN ZONE ====
barcolor(rsi > ob_level ? color.red : rsi < os_level ? color.green : na)
RSI with Zone ColorsRSI with zone cooler highlight for everyone
🔹 Short description (for the “Description” box)
RSI with Zone Colors
This indicator plots a classic RSI and highlights the overbought / oversold zones with clear colors.
The RSI line changes color when it enters each zone, the zones are softly filled in the RSI pane, and the price candles on the main chart are recolored whenever RSI is overbought or oversold.
It’s designed to make momentum shifts easy to see at a glance on any symbol or timeframe.
⸻
🔹 What the script does (explanation)
1. Custom RSI calculation
• Uses the price source you choose (close by default) and the RSI length you set.
• Calculates average up-moves and down-moves, then builds a classic RSI value from 0–100.
2. Configurable levels
• Overbought Level (default 70)
• Oversold Level (default 30)
• Midline at 50 is drawn automatically.
3. RSI line color by zone
• Above OB level → RSI line becomes red (overbought zone).
• Below OS level → RSI line becomes green (oversold zone).
• Between the two levels → blue (normal zone).
4. Zone lines
• Horizontal lines at Overbought, Oversold, and 50 are plotted to clearly mark each region.
5. Zone fills
• The space around the overbought area is filled with a soft red background.
• The space around the oversold area is filled with a soft green background.
• Transparency is used so the RSI line stays visible.
6. Candle colors on the main chart
• When RSI is overbought, price candles are colored red.
• When RSI is oversold, price candles are colored green.
• In the normal zone, candles keep their default color.
→ This lets you see RSI conditions directly on the price chart without looking down at the indicator pane all the time.
⸻
🔹 How to use (for “How to use / Strategy idea” section)
You can copy-paste and tweak this:
How to use
• Apply this indicator to any symbol and timeframe.
• Adjust RSI Length, Overbought Level, and Oversold Level to match your trading style (for example 14 / 80 / 20 for stronger filters).
• Use the red overbought zone to look for potential exhaustion after strong up moves.
• Use the green oversold zone to look for potential exhaustion after strong down moves.
• Candle colors on the main chart help you see when RSI is extended without taking your eyes off price.
• This script is meant as a visual aid, not a complete trading system. Combine it with your own trend, structure, and risk-management rules.
⸻
🔹 Optional disclaimer (short)
This script is for educational and informational purposes only and is not financial advice. Always test any idea on a demo account before using it with real capital.
DCA Position vs Cash HoldingThis indicator visualizes the performance of a simulated dollar-cost averaging (DCA) strategy compared to simply holding cash. It models the cumulative position size and value of buying a fixed dollar amount of the asset per candle over a configurable lookback period.
🔍 What It Shows:
Simulates buying $1 (or any amount) of the asset per candle
Tracks the total units accumulated and their current market value
Plots the difference between the DCA position value and total cash spent
Highlights when DCA buyers are underwater — a potential contrarian buy zone
📈 How to Use:
Values above zero indicate DCA outperformance vs cash
Values below zero signal structural drawdown — often a high-conviction bulk-buy opportunity
Use as a sentiment overlay to time discretionary adds or confirm regime shifts
⚙️ Inputs:
Lookback Window: Number of candles used to simulate DCA accumulation
DCA Amount: Dollar value purchased per candle
This tool is ideal for traders seeking to quantify accumulation efficiency, identify cycle inflection points, and visualize sentiment-weighted cost basis dynamics.
Taiwan Pagoda Chart (Triple) Indicator Name
Taiwan Pagoda Chart
This is a technical analysis charting method similar to candlesticks but with different logic, designed to filter market noise and identify trend reversal points.
Key Features
Dynamic Pagoda Line Plotting
Unlike traditional candlesticks that plot every bar, the Pagoda line only updates when the price breaks above the previous high or below the previous low by a certain threshold.
Bullish (rising) bars are shown in green; bearish (falling) bars in red.
Multiple Optional Filters
T-value filter: Sets a minimum price change threshold to avoid signals from minor fluctuations.
Price percentage filter: Dynamically adjusts sensitivity based on a percentage of the previous Pagoda bar’s range.
ATR volatility filter: Uses Average True Range (ATR) to widen the threshold during high volatility and tighten it during low volatility.
Visual Design
Semi-transparent Pagoda structure for better visual context.
A bold central trend line to clearly show the underlying market direction.
Trading Signal Alerts
Bullish reversal (turning green): Potential buy signal.
Bearish reversal (turning red): Potential sell signal.
Optional on-chart labels (B / S) and support for TradingView alert notifications.
Highly Customizable
Users can freely adjust colors, line width, filtering rules, and signal visibility—making it adaptable to various trading styles.
Ideal Use Cases
Trend following
Reducing false breakouts
Helping medium-to-long-term traders identify high-probability entry and exit points
Bull/Bear FVG Density RatioThis indicator tracks the directional frequency of Fair Value Gaps (FVGs) over a configurable lookback window, offering a clean, responsive measure of market imbalance.
🔍 What It Does:
Detects bullish and bearish FVGs using a 3-bar displacement logic
Calculates the ratio of FVGs to candles over the last N bars
Plots separate density curves for bullish and bearish FVGs
Includes a threshold line to help identify regime shifts (e.g., drought vs spate)
📈 How to Use:
Use rising density to confirm trend strength or breakout momentum
Watch for crossovers above the threshold to signal active imbalance regimes
Combine with price action or volume overlays for high-confluence setups
⚙️ Inputs:
Lookback Window: Number of candles used to calculate FVG density
Threshold: Visual guide for regime classification (default: 0.2)
This tool is ideal for traders who want to move beyond symptomatic signals and model structural causality. It pairs well with lifecycle scoring, retest velocity, and HTF overlays.
volume cryptosmart v2Visual Components: The 3 Layers of Information
To understand the indicator, you must see it as three layers of information superimposed on a single panel.
Layer 1: The Background Color (The "Tide" or Market Regime)
The background color of the entire panel tells you the general market condition, using an ADX/DMI filter:
Green Background: ADX is above 23 (there is a trend) and DI+ is above DI-. Regime: Bullish Trend.
Red Background: ADX is above 23 (there is a trend) and DI- is above DI+. Regime: Bearish Trend.
Black Background: ADX is below 23. Regime: Range or Consolidation.
Layer 2: The Threshold Lines (The Filters)
There are two key horizontal lines that act as filters:
"Dead Zone" Line (Dotted Blue): This is your noise filter line. It is based on the ATR. Any momentum impulse that is weaker (lower) than this line is considered irrelevant noise.
"Explosion" Line (Brown): This line is based on Bollinger Bands. It measures "normal" volatility. When a histogram impulse breaks above this line, it means the acceleration is statistically large and could be a range breakout.
Layer 3: The Histogram (The "Wave" or Acceleration)
The histogram bars (trendUp and trendDown) do not measure price or volume. They measure the acceleration of momentum (specifically, the difference between today's MACD and yesterday's MACD, multiplied by sensitivity).
The Brain: The Histogram's Color Logic
This is where the true intelligence of your indicator lies. The color of each histogram bar is decided by following a series of 4 strict rules, designed to show only high-quality signals.
Rule 1: GRAY (Dead Zone)
If the impulse (trendUp or trendDown) is weaker than the "Dead Zone" line...
Then it is painted GRAY.
Meaning: The momentum is too weak to be considered. It is noise.
Rule 2: GREEN / RED (Trend Impulse)
If the impulse exceeds the Dead Zone (Gray)...
AND the panel background is Green (bullish trend) or Red (bearish trend)...
Then the histogram is painted GREEN (for trendUp) or RED (for trendDown).
Meaning: It is a valid momentum impulse that is in favor of the main trend. These are trend continuation signals.
Rule 3: BLUE (Range Breakout)
If the impulse exceeds the Dead Zone (Gray)...
AND the panel background is Black (range-bound market)...
BUT the impulse is so strong that it breaks above the "Explosion Line" (Brown)...
Then the histogram is painted BLUE.
Meaning: This is a range breakout signal. The price is exploding from a consolidation.
Rule 4: WHITE ("Chop" or Noise)
If the impulse exceeds the Dead Zone (Gray)...
BUT it does not meet the requirements of Rule 2 (no trend) or Rule 3 (not a breakout)...
Then it is painted WHITE.
Meaning: It is a momentum impulse without a clear trend and without the strength of a breakout. It is usually "noise" or market chop and should be ignored.
The Final Confirmation: The Volume Filter
In addition to the 4 rules above, you have added a final layer of conviction:
If a signal is Green, Red, or Blue (Rules 2 or 3) and occurs with high volume (volume > 20-period MA)...
...it is painted with an intense and transparent color (High Conviction).
If it occurs with low volume...
...it is painted with a light and opaque color (Low Conviction).
How to Use: Signal Summary
Background Color Histogram Color Shade Meaning
Green Green Intense (High Vol) Strong Buy Signal (Bullish impulse with trend and volume)
Red Red Intense (High Vol) Strong Sell Signal (Bearish impulse with trend and volume)
Black Blue Intense (High Vol) Breakout Signal (The range is breaking with force)
Any White or Gray - Ignore. Noise, chop, or "dead zone".
Green/Red Green/Red Light (Low Vol) Trend signal, but with low conviction. Proceed with caution.
volume cryptosmart v2Visual Components: The 3 Layers of Information
To understand the indicator, you must see it as three layers of information superimposed on a single panel.
Layer 1: The Background Color (The "Tide" or Market Regime)
The background color of the entire panel tells you the general market condition, using an ADX/DMI filter:
Green Background: ADX is above 23 (there is a trend) and DI+ is above DI-. Regime: Bullish Trend.
Red Background: ADX is above 23 (there is a trend) and DI- is above DI+. Regime: Bearish Trend.
Black Background: ADX is below 23. Regime: Range or Consolidation.
Layer 2: The Threshold Lines (The Filters)
There are two key horizontal lines that act as filters:
"Dead Zone" Line (Dotted Blue): This is your noise filter line. It is based on the ATR. Any momentum impulse that is weaker (lower) than this line is considered irrelevant noise.
"Explosion" Line (Brown): This line is based on Bollinger Bands. It measures "normal" volatility. When a histogram impulse breaks above this line, it means the acceleration is statistically large and could be a range breakout.
Layer 3: The Histogram (The "Wave" or Acceleration)
The histogram bars (trendUp and trendDown) do not measure price or volume. They measure the acceleration of momentum (specifically, the difference between today's MACD and yesterday's MACD, multiplied by sensitivity).
The Brain: The Histogram's Color Logic
This is where the true intelligence of your indicator lies. The color of each histogram bar is decided by following a series of 4 strict rules, designed to show only high-quality signals.
Rule 1: GRAY (Dead Zone)
If the impulse (trendUp or trendDown) is weaker than the "Dead Zone" line...
Then it is painted GRAY.
Meaning: The momentum is too weak to be considered. It is noise.
Rule 2: GREEN / RED (Trend Impulse)
If the impulse exceeds the Dead Zone (Gray)...
AND the panel background is Green (bullish trend) or Red (bearish trend)...
Then the histogram is painted GREEN (for trendUp) or RED (for trendDown).
Meaning: It is a valid momentum impulse that is in favor of the main trend. These are trend continuation signals.
Rule 3: BLUE (Range Breakout)
If the impulse exceeds the Dead Zone (Gray)...
AND the panel background is Black (range-bound market)...
BUT the impulse is so strong that it breaks above the "Explosion Line" (Brown)...
Then the histogram is painted BLUE.
Meaning: This is a range breakout signal. The price is exploding from a consolidation.
Rule 4: WHITE ("Chop" or Noise)
If the impulse exceeds the Dead Zone (Gray)...
BUT it does not meet the requirements of Rule 2 (no trend) or Rule 3 (not a breakout)...
Then it is painted WHITE.
Meaning: It is a momentum impulse without a clear trend and without the strength of a breakout. It is usually "noise" or market chop and should be ignored.
The Final Confirmation: The Volume Filter
In addition to the 4 rules above, you have added a final layer of conviction:
If a signal is Green, Red, or Blue (Rules 2 or 3) and occurs with high volume (volume > 20-period MA)...
...it is painted with an intense and transparent color (High Conviction).
If it occurs with low volume...
...it is painted with a light and opaque color (Low Conviction).
How to Use: Signal Summary
Background Color Histogram Color Shade Meaning
Green Green Intense (High Vol) Strong Buy Signal (Bullish impulse with trend and volume)
Red Red Intense (High Vol) Strong Sell Signal (Bearish impulse with trend and volume)
Black Blue Intense (High Vol) Breakout Signal (The range is breaking with force)
Any White or Gray - Ignore. Noise, chop, or "dead zone".
Green/Red Green/Red Light (Low Vol) Trend signal, but with low conviction. Proceed with caution.
Easy [CHE] Easy — Minimalist Pine Script for detecting EMA direction changes to define fixed price zones for simple support and resistance visualization, ideal for manual trading workflows.
Summary
This indicator's programming is kept minimalist and super simple, with core logic in under 20 lines for easy comprehension and modification. It creates fixed price zones based on divergences between a base exponential moving average and its smoother counterpart, helping traders spot potential consolidation or reversal areas without dynamic adjustments. By locking the zone at the high and low of the signal bar, it avoids over-expansion in volatile conditions, offering a stable reference line colored by price position relative to the zone. This approach differs from expanding channels by prioritizing simplicity and persistence until a new qualifying signal, reducing visual clutter while highlighting directional bias through midpoint coloring.
Motivation: Why this design?
Traders often face noisy signals from moving averages that flip frequently in sideways markets or lag during breakouts, leading to premature entries or missed opportunities. This indicator addresses that by focusing on confirmed direction shifts between the base and smoothed averages, then anchoring a non-expanding zone to capture the initial price range of the shift. The result is a cleaner tool for marking equilibrium levels, assuming price respects these bounds in ranging or mildly trending conditions.
What’s different vs. standard approaches?
- Reference baseline: Traditional moving average crossovers or simple channels that update every bar.
- Architecture differences:
- Zones are set only on new divergence signals and remain fixed until reset by a gap from the prior zone.
- No ongoing high-low expansion; relies on persistent variables to hold bounds across bars.
- Midpoint plotting with conditional coloring based on close position, plus a highlight for zone initiations.
- Practical effect: Charts show persistent horizontal references instead of drifting lines, making it easier to gauge if price is rejecting or embracing the zone—useful for avoiding false breaks in low-volatility setups.
How it works (technical)
The indicator first computes a base exponential moving average of closing prices over a user-defined length, then applies a second exponential moving average to smooth that base. It checks if both the base and smoothed values are increasing or decreasing compared to their prior values, indicating aligned direction. A signal triggers when this alignment breaks, marking a potential shift.
On a new signal, if the current bar's high and low fall outside any existing zone (or none exists), the zone bounds update to those extremes and persist via dedicated variables. The midpoint of these bounds becomes the primary plot line, colored green if below the close (bullish lean), red if above (bearish lean), or gray otherwise. A secondary thick line highlights the midpoint briefly when a zone first sets, aiding visual confirmation. No higher timeframe data or external fetches are used, so updates occur on each bar close without lookahead.
Parameter Guide
EMA Length — Sets the period for the base moving average; longer values smooth more, reducing signal frequency but increasing lag. Default: 50. Trade-offs/Tips: Shorter for faster response in intraday charts (risks noise); longer for daily trends (may miss early shifts).
Smoother Length — Defines the period for the secondary smoothing on the base average; higher values dampen minor wiggles for stabler direction checks. Default: 3. Trade-offs/Tips: Keep low (2–5) for sensitivity; increase to 7+ if zones trigger too often in choppy markets, at cost of delayed signals.
Reading & Interpretation
The main circle plot at the zone midpoint serves as a dynamic equilibrium line: green suggests price is above the zone (potential strength), red indicates below (potential weakness), and gray shows containment within bounds (neutral consolidation). A sudden thick foreground line at the midpoint flags a fresh zone start, prompting review of the prior bar's context. Absence of a plot means no active zone, implying reliance on price action alone until the next signal.
Practical Workflows & Combinations
- Trend following: Enter long on green midpoint after a higher low touches the zone lower bound, confirmed by structure like higher highs; filter shorts similarly on red with lower highs.
- Exits/Stops: Use the opposite zone bound as a conservative stop (e.g., below lower for longs); trail aggressively to midpoint on strong moves, tightening near gray neutrality.
- Multi-asset/Multi-TF: Defaults work across forex and stocks on 1H–Daily; for crypto volatility, shorten EMA Length to 20–30. Pair with volume oscillators for confirmation, avoiding isolated use.
Behavior, Constraints & Performance
- Repaint/confirmation: Plots update on bar close using historical closes, so confirmed signals hold; live bars may shift until close but without future references.
- security()/HTF: Not used, eliminating related repaint risks.
- Resources: Minimal overhead—no loops, arrays, or bar limits exceeded; suitable for real-time on any timeframe.
- Known limits: Fixed zones may lag in strong trends (price drifts away without reset); signals skip if no gap from prior zone, potentially missing clustered shifts. Assumes standard OHLC data; untested on non-equity assets.
Sensible Defaults & Quick Tuning
Start with EMA Length at 50 and Smoother Length at 3 for balanced daily charts. If signals fire too frequently (e.g., in ranges), extend EMA Length to 100 for fewer but stabler zones. For sluggish response in trends, drop Smoother Length to 2 and EMA Length to 30, monitoring for added noise. In high-vol setups, widen both to 75/5 to filter extremes, trading speed for reliability.
What this indicator is—and isn’t
This is a lightweight visualization layer for EMA-driven zones, aiding manual chart reading and basic signal spotting. It is not a standalone system, predictive model, or automated alert generator—integrate with broader analysis like market structure and risk rules. (Unknown/Optional: No built-in alerts or multi-timeframe scaling.)
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Do not use this indicator on Heikin-Ashi, Renko, Kagi, Point-and-Figure, or Range charts, as these chart types can produce unrealistic results for signal markers and alerts.
Best regards and happy trading
Chervolino
Trading Range Aggression Histogram
This indicator is a histogram that accumulates the net volume of aggressive buying and selling per candle, representing the dominant market pressure within defined time-frame.
The indicator works by continuously summing volumes as long as the aggression remains in the same direction, resetting and reversing the accumulation when the pressure changes sides.
This creates visual waves that facilitate the perception of phases dominated by buyers and sellers over time. The tool is useful to identify moments of strength, weakness, and potential reversals in a dynamic market, especially in short-term trading.
Ohm's Law Market Model (V=I·R)Ohm's Law Market Model (V=I·R)
This indicator applies the concept of Ohm's Law from physics to the financial markets, creating a model to analyze market dynamics as if they were an electrical circuit.
The core idea is:
Voltage (V): Represents price "pressure" or the strength of a recent price move (the return).
Current (I): Represents the "flow" of transactions, measured by volume relative to its average.
Resistance (R): Represents the market "friction" or difficulty of moving the price.
By combining these, the indicator calculates Power (P), which signifies the overall energy and strength behind a market move.
How to Read the Indicator
This indicator displays five main lines in an oscillator panel below your chart. By default, they are "Z-score normalized," meaning they show how many standard deviations away from their 200-bar average they are.
A value of 0 is "normal."
A value of +2.0 is "very high" or "very strong."
A value of -2.0 is "very low" or "very weak."
The 5 Plots
Voltage (V) - Teal/Red:
Above 0 (Teal): Positive price pressure (price has gone up recently).
Below 0 (Red): Negative price pressure (price has gone down recently).
What it means: How much "push" is behind the price?
Current (I) - Teal/Red:
Above 0 (Teal): High, positive transaction flow (high volume on up-moves).
Below 0 (Red): High, negative transaction flow (high volume on down-moves).
What it means: Is volume confirming the price push?
Resistance (R) - Orange:
High (e.g., > 0.5): High market friction. It's hard to move the price. This can be caused by low volume (low Current) or high volatility (ATR friction).
Low (e.g., < 0): Low market friction. It's easy to move the price.
Conductance (G) - Blue:
This is simply the inverse of Resistance (G = 1/R).
High (e.g., > 0.5): The market is "conductive." Price can move easily.
Low (e.g., < 0): The market is "non-conductive." Price movement is difficult.
Power (P) - Purple (Thick Line):This is the most important line, as it combines Voltage and Current (P = V * I).
High (e.g., > 1.0): Indicates a very strong, energetic, and well-supported trend (high price pressure and high volume flow).
Low (e.g., < -0.5): Indicates a weak, "exhausted" market, or a strong "anti-trend" (e.g., a sharp drop with high volume).
Key Signals
The indicator generates two primary signals, shown as triangles on the chart:
Breakout (BRK) - Teal Triangle Up:
This appears when Power is high and Conductance is high. Interpretation: The market is showing a lot of energy (high Power) and it's easy for the price to move (high Conductance). This is a classic sign of a strong breakout or trend continuation.
Exhaustion (EXH) - Red Triangle Down: This appears when Power is low and Resistance is high.I nterpretation: The market has very little energy (low Power) and it's very difficult to move the price (high Resistance). This often signals that a trend is running out of steam and may be at an exhaustion point, ripe for a reversal.
Key User Inputs
Voltage Window (20): How far back (in bars) to look to measure the price "push" (Voltage).
Current Baseline (50): The moving average length used to normalize volume (Current).
Z-score normalize plots (Checked): This is the setting that makes all plots revolve around the "0" line. It's highly recommended to keep this on.
Include ATR Friction (Checked): Adds a volatility (ATR) component to Resistance. When checked, high volatility increases resistance, making it "harder" for a trend to continue, which is a realistic model.
Relational RSI - Trend IdentifierThis indicator analyzes the relationship between Price and RSI. It doesn't just show you the current RSI value; it compares the current Price-to-RSI relationship against thousands of historical examples to see if the market is behaving "normally."
The core idea is to identify when this historical relationship "decays" or breaks.
Positive (Green): Price is higher than it "should be" for the current RSI level, based on history. This is a sign of bullish strength or over-exuberance.
Negative (Red): Price is lower than it "should be" for the current RSI level. This is a sign of bearish weakness or being oversold.
Zero Line: Price is exactly where history suggests it should be for the current RSI. This is the "normal" or equilibrium state.
Think of it as an "expectations" indicator. Is the price over-performing or under-performing relative to its typical momentum signature?
How to Read the Indicator
1. The Main Oscillator (Relational Decay)
This is the central line that moves above and below zero.
Rising (Bullish Decay): When the line moves up, it means bulls are in control, pushing price higher than the RSI momentum would normally suggest.
Falling (Bearish Decay): When the line moves down, it means bears are in control, suppressing price lower than the RSI momentum would normally suggest.
Extreme Readings (> 2.0 or < -2.0): These are the dotted/dashed lines. Reaching these zones means the market is in an "extreme" state of deviation—either extremely over-extended (top) or extremely oversold (bottom) relative to its own history.
2. Background Color (Relationship Strength)
The background color tells you how reliable the indicator's main signal is right now.
Blue Background: High strength. The historical Price-RSI relationship is stable and consistent. The oscillator's readings are reliable.
Orange Background: Low strength. The historical relationship is weak, volatile, or inconsistent. The oscillator's readings are less reliable—the market is choppy or "out of character."
3. Diamonds (Extreme Reversal Signals)
These diamonds appear at potential exhaustion points.
Aqua Diamond (at bottom): An "Extreme Bullish Reversal." This appears when the indicator was at an extremely negative (bearish) level and has just started to turn up. It's a potential bottoming signal.
Fuchsia Diamond (at top): An "Extreme Bearish Reversal." This appears when the indicator was at an extremely positive (bullish) level and has just started to turn down. It's a potential topping signal.
4. The Info Table (Top Right)
This table provides a snapshot of the current state:
RSI/Price: Your current values.
Expected Price: The price the indicator "expects" to see based on the current RSI and historical data. This is the most important number.
Relational Decay: The main oscillator's value. It's essentially the difference between the Current Price and the Expected Price, normalized.
State: A simple text description (e.g., "Stable," "Strong Bullish Decay").
Matches Found: How many historical data points the script found to make its calculation.
Strength: The "Relationship Strength" (background color) as a percentage.
Key User Inputs
RSI Period (14): The lookback for the standard RSI calculation.
Historical Lookback (500): How many past bars the indicator should analyze to build its "normal" model. A larger number gives it more historical context.
RSI Similarity Threshold (3.0): How close the current RSI must be to a historical RSI to be considered a "match."
Normalization Method (Z-Score): The statistical method used to scale the output. Z-Score is standard and robust. "Percentile" and "Raw" are other options for different ways of viewing the deviation.
RSI Regime: Continuation vs Reversal Indicator Description: RSI Regime (Continuation vs. Reversal)
This indicator uses the standard Relative Strength Index (RSI) to analyze market momentum and categorize it into three "regimes." Its primary goal is to help you determine if an overbought (OB) or oversold (OS) signal is likely to be a continuation of the current trend or a reversal point.
It also identifies "Fast Trend Starts," which are exceptionally fast and powerful moves from one extreme to the other.
Core Features & How to Read It
1. The Three RSI Regimes (Background Color) The script calculates a moving average (SMA) of the RSI to determine the dominant medium-term momentum. This is shown as the background color:
Bull Regime (Green Background): The RSI's average is high (e.g., above 55). The market is in a clear uptrend.
Bear Regime (Red Background): The RSI's average is low (e.g., below 45). The market is in a clear downtrend.
Range Regime (Orange Background): The RSI's average is in the middle. The market is consolidating or undecided.
2. Overbought (OB) & Oversold (OS) Signals
When the RSI line crosses into the overbought (e.g., >70) or oversold (e.g., <30) zones, the indicator generates one of two types of signals:
A) Continuation Signals (Small Triangles: ►)
These signals suggest an OB/OS reading is just a "pause" and the main trend will likely continue.
Orange ► (at the top): Appears when RSI becomes overbought while the market is already in a Bull Regime. This suggests the uptrend is strong, and this OB signal may not lead to a big drop.
Teal ► (at the bottom): Appears when RSI becomes oversold while the market is already in a Bear Regime. This suggests the downtrend is strong, and this OS signal may not lead to a big bounce.
(Note: An optional Price EMA filter can be enabled to make these signals more strict.)
B) Reversal Signals (Small Labels: "OS→>50" / "OB→<50")
These labels appear after an OB/OS signal to confirm that a reversal has actually occurred.
"OS→>50 Reversal" (Aqua Label): Appears if the RSI becomes oversold and then recovers back above the 50 midline within a set number of bars. This confirms the oversold dip was a reversal point.
"OB→<50 Reversal" (Orange Label): Appears if the RSI becomes overbought and then falls back below the 50 midline within a set number of bars. This confirms the overbought peak was a reversal point.
3. "Fast Trend Starts" (Large Labels)
This is a unique feature that identifies the fastest percentile of market moves. It measures how many bars it takes for the RSI to go from one extreme to the other and flags when a move is in the top 5% (default) of all historical moves.
"Long Pullbacks (Fast OS→BullRange)" (Large Green Label): This powerful signal appears when the RSI moves from oversold (<30) all the way up to the bull range (>60) exceptionally fast. It identifies a very strong, fast, and decisive bounce that could signal the start of a new uptrend.
"Short Pumps (Fast OB→BearRange)" (Large Red Label): This appears when the RSI moves from overbought (>70) all the way down to the bear range (<40) exceptionally fast. It identifies a very sharp, fast rejection or "pump-and-dump" that could signal the start of a new downtrend.
Key User Inputs
RSI Length (14): The lookback period for the main RSI calculation.
OB (70) / OS (30): The standard overbought and oversold levels.
Bull/Bear Range Threshold (60/40): These are the levels used to confirm the "Fast Trend Starts." They are separate from the OB/OS levels.
RSI Regime SMA Length (21): The lookback period for the moving average that determines the background regime.
Use Price EMA filter (true): If checked, the small "Continuation" triangles will only appear if the price is also above (for bulls) or below (for bears) its own 50-period EMA.
Fastest X% duration (5.0): This sets the percentile for the "Fast Trend Start" labels. 5.0 means it only flags moves that are in the fastest 5% of all recorded moves.
VWAP CATS background flipped 4.0VWAP CATS Background Flipped 4.0 is a sophisticated Pine Script v5 indicator for TradingView that combines a configurable moving average (MA) with dynamic Gann Square of 9 levels to create a multi-layered background shading system for price action analysis. It visualizes support/resistance zones around a central MA (often VWAP or RVWAP) using incremental offsets (either % or absolute points), generating symmetrical bands that resemble a "CATS" (Concentric Adaptive Tiered System) — hence the name.The background is "flipped" in the sense that shading intensity and structure emphasize higher-tier zones, and labels are placed to the right of the chart for future projection.Key FeaturesFeature
Description
Multi-MA Engine
Supports 20+ MA types: EMA, DEMA, TEMA, SMA, VWAP, RVWAP, HMA, ALMA, custom volume blends (CVB1–4)
RVWAP Mode
Rolling VWAP with adaptive or fixed time window (days/hours/minutes)
Gann Square of 9 Logic
Generates 80+ symmetric levels (0.25x to 17x increment) above/below the MA
Dual Increment Mode
Choose Percent or Points for spacing
Background Fills
Tiered transparency fills between Gann levels (darker = stronger zones)
Visual MA Offset
Shift MA line left/right without breaking fill alignment
Smart Labels
Projected labels on last bar: "FV", "normal", "high", "3/4" at key levels
Performance Optimized
Hidden plots + label cleanup to prevent lag
Primary Use Cases
1. Institutional VWAP Anchoring
Use RVWAP (1-day fixed) as maRaw
Set Increment = 0.5 points or 0.05%
Watch price interaction with "normal" (2x), "high" (4x), "3/4" (6x) zones
Ideal for intraday scalping on indices (ES, NQ) or forex
2. Swing Trading with Gann Projections
Use 400-period SMA/EMA on daily chart
Increment in Percent mode (~1.22%)
Identify confluence when price rejects at 2x, 4x, or 6x bands
Labels project future targets to the right
3. Volume-Weighted Mean Reversion
Select CVB1–CVB4 for heavy volume smoothing
Use Points mode for stocks with stable tick sizes (e.g. $0.50 increments)
Trade mean reversion between ±1x and ±2x bands
4. Risk Management & Stop Placement
Place stops beyond 2x or 4x bands
Take profits at next major tier (e.g. 4x → 6x)
Pro Tips
Enable "Use Fixed Time Period" for RVWAP to avoid session reset issues
Increase i_label_offset on lower timeframes to avoid overlap
Combine with volume profile or order flow for confluence
The "FV" label marks the Fair Value MA — core anchor
Summary"VWAP CATS Background Flipped 4.0" turns any moving average into a dynamic Gann-based pricing grid with intelligent background shading and forward-projected labels — perfect for institutional-style mean reversion, swing targeting, and risk-defined trading."
US30 15m Trap & Liquidity Sweep Detectorshowcases trapped traders that are on the chart or the market
Moving Average Ribbon (10x, per-MA timeframe)A flexible moving‑average ribbon that plots up to 10 MAs, each with its own type, length, source, color, and independent timeframe selector for true multi‑timeframe analysis without repainting on higher‑timeframe pulls.
What it does
Plots ten moving averages with selectable types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
Allows per‑line timeframe inputs (e.g., 5, 15, 60, 1D, 1W) so you can overlay higher‑ or equal‑timeframe MAs on the current chart.
Uses a non‑repainting request pattern for higher‑timeframe series to keep lines stable in realtime.
How to use
Leave a TF field blank to keep that MA on the chart’s timeframe; type a timeframe (like 15 or 1D) to fetch it from another timeframe.
Typical trend‑following setup: fast MAs (10–21) on chart TF, mid/slow MAs (34–200) from higher TFs for bias and dynamic support/resistance.
Color‑code faster vs slower lines and optionally hide lines you don’t need to reduce clutter.
Best practices
Prefer pulling equal or higher timeframes for stability; mixing lower TFs into a higher‑TF chart can create choppy visuals.
Combine with price action and volume/volatility tools (e.g., RSI, Bollinger Bands) for confirmation rather than standalone signals.
Showcase example charts in your publish post and explain default settings so users know how to interpret the ribbon.
Inputs
Show/Hide per MA, Type (SMA/EMA/SMMA/WMA/VWMA), Source, Length, Color, Timeframe.
Defaults cover common lengths (10/20/50/100/200 etc.) and can be customized to fit intraday or swing styles.
Limitations
This is an analysis overlay, not a signal generator; it doesn’t place trades or alerts by default.
Effectiveness depends on instrument liquidity and user configuration; avoid overfitting to one market or regime.
Attribution and etiquette
Provide a brief explanation of your calculation choices and note that MA formulas are standard; credit any borrowed concepts or snippets if used.
US Leverage Overlay — Margin Debt & Total Credit (YoY / Z-score)What this does
An overlay indicator that brings U.S. leverage proxies from FRED onto your main price chart (left axis). Choose between a proxy for investor margin debt or total credit market debt and view them as YoY %, Z-score of YoY, or an Indexed Level so they’re comparable with price without wrecking the scale.
Data sources (FRED symbols)
--- Margin (investor leverage proxy): FRED:BOGZ1FL663067003Q
Brokers & Dealers; Receivables Due from Customers ≈ margin loans (quarterly).
--- TotalCredit (economy-wide leverage): FRED:TCMDO
All sectors; Debt Securities & Loans; Liability (quarterly).
Note: These are quarterly series. The indicator samples monthly and holds values between official prints, so you’ll see step-like updates when new data drops.
Views (pick one in settings)
--- YoY % — 12-month rate of change. Above 0% = leverage expanding; below 0% = contracting.
--- Z-score (YoY) — Standardizes YoY vs. its recent history to flag unusual moves (regime shifts).
--- Indexed Level — 100 × (level / moving average), a compact “above/below trend” view.
How to read quickly
--- Rising YoY % > 0 → leverage expansion (often supportive for risk).
--- Falling YoY % < 0 → deleveraging headwind.
--- Z-score spikes (±2) → unusually fast changes; watch for volatility or policy inflections.
--- Indexed Level crossing down through 100 → slipping below trend.
Inputs
--- Data source: Margin or TotalCredit
--- YoY/Z-score lookbacks and Index baseline length
--- Overlay: overlay=true, scale=scale.left (uses its own left axis by default)
Tips
--- If it spawns in a sub-pane, right-click the label → Move to → Main chart.
--- For context, consider adding related series on separate panes:
FRED:TOTALSL (Consumer Credit), FRED:REVOLSL (Credit Cards),
FRED:BUSLOANS (C&I Loans), FRED:TDSP (Debt Service Ratio).
--- Occasionally FRED returns “Failed to fetch”; re-add or reload fixes it.
Why it’s useful
Equity drawdowns often line up with turns in leverage (households, corporates, or brokers). This overlay gives you a clean, normalized read so you can spot expansion vs. contraction alongside price action.
Compatibility
--- Pine Script® v6
--- Works on any chart timeframe (data internally sampled monthly)
Educational use only — not financial advice.
Morning Star & Rising Star Detector - Neon CandlesMorning Star & Rising Star to determine several levels and forecast what might happen next with the price.






















