Confluence Indicator: Fib, MACD, SMA 50/200This is a scalping indicator best used on the 1hour and 15min charts
週期
First Candle RuleThis script detects Fair Value Gaps (FVGs) on the 1-minute chart and highlights potential smart money long and short entries. It automatically calculates a risk-reward target based on a customizable ratio and displays clear caption labels showing the entry, stop, and target levels. Designed for ICT-style scalping setups.
AuraAURA is an indicator designed for trend analysis of cryptocurrencies, aiming to provide information with real-time chart data. It is in continuous development and aims to contribute to market analysis.
Power Metcalfe's + Fibonacci Channel## Metcalfe's Law + Fibonacci Channel - Optimized Bitcoin Valuation Model
This indicator presents an enhanced variation of the classic Bitcoin Metcalfe's Law model, combining logarithmic regression analysis with Fibonacci retracement levels to create a comprehensive valuation framework.
**Key Features:**
- **Optimized Metcalfe's Law calculation** using historical cycle data (2013-2022) for improved accuracy
- **Fibonacci channel overlay** with key levels: 0.382, 0.618, 1.272, 1.618, 2.000, 2.618, 3.000
- **Dynamic trading zones** with visual buy/sell signals based on price position relative to the channel
- **Real-time targets** displaying current Fibonacci projections and fair value estimates
**What makes it different:**
Unlike standard Metcalfe's Law implementations, this version integrates logarithmic growth principles and uses a refined dataset that accounts for Bitcoin's maturation cycles. The Fibonacci overlay provides clearer entry/exit points while maintaining the long-term growth trajectory based on network adoption.
**Best suited for:** Long-term Bitcoin holders and macro traders looking for mathematical support/resistance levels based on network adoption dynamics and scarcity.
The model automatically updates calculations and provides a comprehensive information table showing current formula parameters and key price targets.
adc pivotstest╔═════════════════════════════════════════════════════════════════╗
║ PIVOTS MULTI TF BODO ║
║ ║
║ © 2025 Your Name or Username ║
║ Version: 1.0 ║
║ ║
║ Description: ║
║ This script plots Traditional Pivot Points (PP, S1–S3, R1–R3) ║
║ based on a user-selected timeframe (Daily, Weekly, Monthly). ║
║ It includes optional labels and extended line settings. ║
║ ║
║ How to Use: ║
║ – Add the indicator to your chart ║
║ – Select your pivot timeframe (D/W/M) in settings ║
║ – Toggle label visibility and line extensions as needed ║
║ ║
║ Contac ║
║ Redistribution is not allowed without permission. ║
║ ║
║ For educational purposes only. Trade responsibly. ║
╚═════════════════════════════════════════════════════════════════╝
WaveTrend LazyBear + BUY/SELL Labels (Custom Color)WaveTrend LazyBear + BUY/SELL Labels (Custom Color)
Liquidity Hours By HH🚦 Liquidity Hours By HH 🚦
This script highlights the major trading sessions on your chart — Asia, London KTW, and New York KTW — so you always know when the markets are buzzing! 🌏🕒
✨ Asia Session
Shows a colored box marking the entire session 🟣
Tracks the high and low with clear lines 📈📉
Optional midline that you can toggle ON/OFF 🔀 — perfect for spotting the session’s midpoint without cluttering your chart!
✨ London KTW & New York KTW Sessions
Displays clean boxes marking session duration 🟦🟩
No distracting high/low lines — just simple, neat session highlights
⏰ London session starts 1 hour earlier ⏰ — so you get an advanced heads-up for European market action! 🇬🇧
⏳ Boxes automatically hide on higher timeframes for a cleaner look 👀
Customize colors, durations, and toggle what you want to see — your chart, your rules! 🎨⚙️
Stay sharp and trade smarter with clear liquidity session zones! 💹🔥
[caracalla] Woori Rejection + Divergence Signal V1.6📌 지표 개요 | Indicator Overview
KR
이 스크립트는 리젝션 패턴과 RSI 다이버전스를 활용해 매수(R+)·매도(R-) 반전 신호를 생성합니다. 특히 일반 다이버전스(RD+, RD-)를 히든 다이버전스(RH+, RH-)보다 우선 표시하며, 과매도/과매수 조건도 실전 트레이딩에 맞게 유연하게 조정되어 있습니다.
EN
This script generates buy (R+) and sell (R−) reversal signals by combining rejection candlestick patterns and RSI divergences. It prioritizes regular divergence signals (RD+/RD−) over hidden ones (RH+/RH−), with relaxed overbought/oversold RSI conditions to better suit real trading environments.
🔍 리젝션 조건 | Rejection Conditions
KR
R+: 이전 음봉 후 양봉 전환, 아래꼬리가 몸통보다 길며 RSI < 45
R-: 이전 양봉 후 음봉 전환이거나 긴 위꼬리 음봉, RSI > 50
도지 캔들은 제외되며, 꼬리 길이 비중이 중요한 요소로 작용
EN
R+: Bullish rejection after a bearish candle, long lower wick, RSI < 45
R-: Bearish rejection after bullish candle or long upper wick, RSI > 50
Doji candles are filtered out; long wick length relative to body is essential.
⚙️ 다이버전스 감지 | Divergence Detection
✅ 일반 다이버전스 | Regular Divergence (RD+/RD−)
KR
RD+: 가격 저점 하락 + RSI 저점 상승 + 리젝션
RD-: 가격 고점 상승 + RSI 고점 하락 + 리젝션
EN
RD+: Price makes lower lows, RSI makes higher lows, with rejection
RD−: Price makes higher highs, RSI makes lower highs, with rejection
✅ 히든 다이버전스 | Hidden Divergence (RH+/RH−)
KR
RH+: 가격 저점 상승 + RSI 저점 하락 + 리젝션
RH-: 가격 고점 하락 + RSI 고점 상승 + 리젝션
EN
RH+: Price makes higher lows, RSI makes lower lows, with rejection
RH−: Price makes lower highs, RSI makes higher highs, with rejection
🧠 시그널 우선순위 | Signal Priority
KR
동일한 캔들에서 일반 다이버전스와 히든 다이버전스가 동시에 발생해도, **일반 다이버전스(RD+, RD−)**가 **히든 다이버전스(RH+, RH−)**보다 우선 표시됩니다.
EN
When both regular and hidden divergence conditions are met on the same candle, regular divergence (RD+, RD−) is prioritized over hidden divergence (RH+, RH−).
🔔 알림 기능 | Alert System
KR
모든 시그널(R+, R-, RD+, RD-, RH+, RH-)에 대해 알림 설정이 포함되어 있어, 자동매매나 실시간 대응이 가능합니다.
EN
Alert conditions are included for all signals (R+, R-, RD+, RD-, RH+, RH-), enabling automation or real-time trading reactions.
Mig Trade Model - Kill Zones
Key features:
Liquidity Hunt Detection: Spots aggressive moves that "hunt" stops beyond recent swing highs/lows.
Consolidation Filter: Requires 1-3 small-range candles after a hunt before confirming with a strong candle.
Bias Application: Uses daily open/close to auto-detect bias or allows manual override.
Kill Zone Restriction: Limits signals to London (default: 7-10 AM UTC) and NY (default: 12-3 PM UTC) sessions for better relevance in active markets.
This strategy is inspired by smart money concepts (SMC) and ICT (Inner Circle Trader) methodologies, aiming to capture venom-like "stings" in price action where liquidity is grabbed before reversals.
How It Works
ATR Calculation: Uses a user-defined ATR length (default: 14) to measure volatility, which scales candle body and range thresholds.
Bias Determination:
Auto: Compares daily close to open (bullish if close > open).
Manual: User selects "Bullish" or "Bearish."
Strong Candles:
Bullish: Green candle with body > 2x ATR (configurable).
Bearish: Red candle with body > 2x ATR.
Small Range Candles:
Candles where high-low < 0.5x ATR (configurable).
Liquidity Hunt:
Bullish Hunt: Strong bearish candle making a new low below the past swing low (default: 10 bars).
Bearish Hunt: Strong bullish candle making a new high above the past swing high.
Signal Generation:
After a hunt, counts 1-3 small-range candles.
Confirms with a strong candle in the opposite direction (e.g., strong bullish after bearish hunt).
Resets if >3 small candles or an opposing strong candle appears.
Kill Zone Filter:
Checks if the current bar's time (in UTC) falls within London or NY Kill Zones.
Only allows final "Buy" (bullish entry) or "Sell" (bearish entry) if bias matches and in Kill Zone.
Plots:
Yellow circle (below): Bullish liquidity hunt.
Orange circle (above): Bearish liquidity hunt.
Blue diamond (below): Raw bullish signal.
Purple diamond (above): Raw bearish signal.
Green triangle up ("Buy"): Filtered bullish entry.
Red triangle down ("Sell"): Filtered bearish entry.
Inputs
Bias: "Auto" (default), "Bullish", or "Bearish" – Controls signal direction based on daily trend.
ATR Length: 14 (default) – Period for ATR calculation.
Swing Length for Liquidity Hunt: 10 (default) – Bars to look back for swing highs/lows.
Strong Candle Body Multiplier (x ATR): 2.0 (default) – Threshold for strong candle bodies.
Small Range Multiplier (x ATR): 0.5 (default) – Threshold for small-range candles.
London Kill Zone Start/End Hour (UTC): 7/10 (default) – Customize London session hours.
NY Kill Zone Start/End Hour (UTC): 12/15 (default) – Customize New York session hours.
Usage Tips
Timeframe: Best on lower timeframes (e.g., 5-15 min) for intraday trading, especially forex pairs like EURUSD or GBPUSD.
Timezone Adjustment: Inputs are in UTC. If your chart is in a different timezone (e.g., EST = UTC-5), adjust hours accordingly (e.g., London: 2-5 AM EST → 7-10 UTC).
Risk Management: Use with stop-loss (e.g., beyond the hunt low/high) and take-profit based on ATR multiples. Not financial advice—backtest thoroughly.
Customization: Tweak multipliers for different assets; higher for volatile cryptos, lower for stocks.
Limitations: Relies on historical data; may generate false signals in ranging markets. Combine with other indicators like volume or support/resistance.
This indicator is for educational purposes. Always use discretion and proper risk management in live trading. If you find it useful, feel free to share feedback or suggestions!
MSTY-WNTR Rebalancing SignalMSTY-WNTR Rebalancing Signal
## Overview
The **MSTY-WNTR Rebalancing Signal** is a custom TradingView indicator designed to help investors dynamically allocate between two YieldMax ETFs: **MSTY** (YieldMax MSTR Option Income Strategy ETF) and **WNTR** (YieldMax Short MSTR Option Income Strategy ETF). These ETFs are tied to MicroStrategy (MSTR) stock, which is heavily influenced by Bitcoin's price due to MSTR's significant Bitcoin holdings.
MSTY benefits from upward movements in MSTR (and thus Bitcoin) through a covered call strategy that generates income but caps upside potential. WNTR, on the other hand, provides inverse exposure, profiting from MSTR declines but losing in rallies. This indicator uses Bitcoin's momentum and MSTR's relative strength to signal when to hold MSTY (bullish phases), WNTR (bearish phases), or stay neutral, aiming to optimize returns by switching allocations at key turning points.
Inspired by strategies discussed in crypto communities (e.g., X posts analyzing MSTR-linked ETFs), this indicator promotes an active rebalancing approach over a "set and forget" buy-and-hold strategy. In simulated backtests over the past 12 months (as of August 4, 2025), the optimized version has shown potential to outperform holding 100% MSTY or 100% WNTR alone, with an illustrative APY of ~125% vs. ~6% for MSTY and ~-15% for WNTR in one scenario.
**Important Disclaimer**: This is not financial advice. Past performance does not guarantee future results. Always consult a financial advisor. Trading involves risk, and you could lose money. The indicator is for educational and informational purposes only.
## Key Features
- **Momentum-Based Signals**: Uses a Simple Moving Average (SMA) on Bitcoin's price to detect bullish (price > SMA) or bearish (price < SMA) trends.
- **RSI Confirmation**: Incorporates MSTR's Relative Strength Index (RSI) to filter signals, avoiding overbought conditions for MSTY and oversold for WNTR.
- **Visual Cues**:
- Green upward triangle for "Hold MSTY".
- Red downward triangle for "Hold WNTR".
- Yellow cross for "Switch" signals.
- Background color: Green for MSTY, red for WNTR.
- **Information Panel**: A table in the top-right corner displays real-time data: BTC Price, SMA value, MSTR RSI, and current Allocation (MSTY, WNTR, or Neutral).
- **Alerts**: Configurable alerts for holding MSTY, holding WNTR, or switching.
- **Optimized Parameters**: Defaults are tuned (SMA: 10 days, RSI: 15 periods, Overbought: 80, Oversold: 20) based on simulations to reduce whipsaws and capture trends effectively.
## How It Works
The indicator's logic is straightforward yet effective for volatile assets like Bitcoin and MSTR:
1. **Primary Trigger (Bitcoin Momentum)**:
- Calculate the SMA of Bitcoin's closing price (default: 10-day).
- Bullish: Current BTC price > SMA → Potential MSTY hold.
- Bearish: Current BTC price < SMA → Potential WNTR hold.
2. **Secondary Filter (MSTR RSI Confirmation)**:
- Compute RSI on MSTR stock (default: 15-period).
- For bullish signals: If RSI > Overbought (80), signal Neutral (avoid overextended rallies).
- For bearish signals: If RSI < Oversold (20), signal Neutral (avoid capitulation bottoms).
3. **Allocation Rules**:
- Hold 100% MSTY if bullish and not overbought.
- Hold 100% WNTR if bearish and not oversold.
- Neutral otherwise (e.g., during choppy or extreme markets) – consider holding cash or avoiding trades.
4. **Rebalancing**:
- Switch signals trigger when the hold changes (e.g., from MSTY to WNTR).
- Recommended frequency: Weekly reviews or on 5% BTC moves to minimize trading costs (aim for 4-6 trades/year).
This approach leverages Bitcoin's influence on MSTR while mitigating the risks of MSTY's covered call drag during downtrends and WNTR's losses in uptrends.
## Setup and Usage
1. **Chart Requirements**:
- Apply this indicator to a Bitcoin chart (e.g., BTCUSD on Binance or Coinbase, daily timeframe recommended).
- Ensure MSTR stock data is accessible (TradingView supports it natively).
2. **Adding to TradingView**:
- Open the Pine Editor.
- Paste the script code.
- Save and add to your chart.
- Customize inputs if needed (e.g., adjust SMA/RSI lengths for different timeframes).
3. **Interpretation**:
- **Green Background/Triangle**: Allocate 100% to MSTY – Bitcoin is in an uptrend, MSTR not overbought.
- **Red Background/Triangle**: Allocate 100% to WNTR – Bitcoin in downtrend, MSTR not oversold.
- **Yellow Switch Cross**: Rebalance your portfolio immediately.
- **Neutral (No Signal)**: Panel shows "Neutral" – Hold cash or previous position; reassess weekly.
- Monitor the panel for key metrics to validate signals manually.
4. **Backtesting and Strategy Integration**:
- Convert to a strategy script by changing `indicator()` to `strategy()` and adding entry/exit logic for automated testing.
- In simulations (e.g., using Python or TradingView's backtester), it has outperformed buy-and-hold in volatile markets by ~100-200% relative APY, but results vary.
- Factor in fees: ETF expense ratios (~0.99%), trading commissions (~$0.40/trade), and slippage.
5. **Risk Management**:
- Use with a diversified portfolio; never allocate more than you can afford to lose.
- Add stop-losses (e.g., 10% trailing) to protect against extreme moves.
- Rebalance sparingly to avoid over-trading in sideways markets.
- Dividends: Reinvest MSTY/WNTR payouts into the current hold for compounding.
## Performance Insights (Simulated as of August 4, 2025)
Based on synthetic backtests modeling the last 12 months:
- **Optimized Strategy APY**: ~125% (by timing switches effectively).
- **Hold 100% MSTY APY**: ~6% (gains from BTC rallies offset by downtrends).
- **Hold 100% WNTR APY**: ~-15% (losses in bull phases outweigh bear gains).
In one scenario with stronger volatility, the strategy achieved ~4533% APY vs. 10% for MSTY and -34% for WNTR, highlighting its potential in dynamic markets. However, these are illustrative; real results depend on actual BTC/MSTR movements. Test thoroughly on historical data.
## Limitations and Considerations
- **Data Dependency**: Relies on accurate BTC and MSTR data; delays or gaps can affect signals.
- **Market Risks**: Bitcoin's volatility can lead to false signals (whipsaws); the RSI filter helps but isn't perfect.
- **No Guarantees**: This indicator doesn't predict the future. MSTR's correlation to BTC may change (e.g., due to regulatory events).
- **Not for All Users**: Best for intermediate/advanced traders familiar with ETFs and crypto. Beginners should paper trade first.
- **Updates**: As of August 4, 2025, this is version 1.0. Future updates may include volume filters or EMA options.
If you find this indicator useful, consider leaving a like or comment on TradingView. Feedback welcome for improvements!
Composite Sentiment Extremes OscillatorComposite Sentiment Extremes Oscillator (CSEO)
Created by MonkeyPhone
The Composite Sentiment Extremes Oscillator (CSEO) is a sophisticated market sentiment indicator designed to identify optimal entry and exit points by leveraging a composite of six key market data points. I developed this indicator to pinpoint moments where the risk-to-reward ratio for entering or exiting trades reaches its peak, helping traders capitalize on potential reversals. The oscillator aggregates data from the CBOE Volatility Index (VIX), CBOE Equity Put/Call Ratio (PCCE), NYSE TRIN, Net New 52-Week Highs/Lows, ICE BofA US High Yield Bond Spread (BAMLH0A0HYM2), and the percentage of S&P 500 stocks above their 200-day moving average (S5TH). Each component is normalized using a 252-bar percentrank to reflect greed (high values) or fear (low values), creating a unified 0-100 sentiment score.
The oscillator's line color reflects market conditions: red when above 60 (indicating a trending up market), gray between 40 and 60 (suggesting chop or consolidation), and green below 40 (indicating a trending down market). Notably, the higher or lower the line moves toward the extremes (88 for greed, 12 for fear), the more likely a pullback or retracement becomes, offering strategic opportunities for reversals. Given the long-term upward trend in legacy markets over decades, long signals (buy at extreme fear) tend to carry more weight than short signals (sell at extreme greed), though this dynamic may shift if markets experience a significant rollover.
This indicator performs best on the weekly timeframe, where its accuracy in identifying sentiment extremes shines, making it ideal for swing or position trading. It supports any timeframe daily or above, but lower timeframes (e.g., daily) may produce increased false signals due to data resolution limitations. Alerts can be configured for both long and short entries, allowing traders to receive notifications when the oscillator crosses the 12 (buy) or 88 (sell) thresholds—accessible via the TradingView alert interface for customized monitoring.
Use this tool to enhance your market timing, but always combine it with other analysis for confirmation. Feedback and suggestions are welcome as I continue to refine this indicator!
Choch Pattern Levels [BigBeluga] + AlertsThis version of Choch Pattern Levels includes built-in alert conditions for both ChoCh Up and ChoCh Down patterns. You can now set TradingView alerts directly when either pattern occurs, with optional visual markers (triangles) plotted on the chart.
Based on the original script by BigBeluga, licensed under CC BY-NC-SA 4.0. This is a modified version with alert conditions added.
EMA9/EMA50 Cross Alert (2H Only)התראה לקרוס של ממוצע נא אקספוננציאלי 9 ו 50 ל 2 הכיוונים בטיים פרם של שעתיים.
Alert for a collapse of the 9 and 50 exponential moving averages in both directions on a two-hour time frame.
Choch Pattern Levels [BigBeluga] + AlertsChoch Pattern Levels highlights key structural breaks that can mark the start of new trends. By combining precise break detection with volume analytics and automatic cleanup, it provides actionable insights into the true intent behind price moves — giving traders a clean edge in spotting early reversals and key reaction zones. Added support for alarms.
Daily High/Low Close Breakout - GOLD### **Daily High/Low Close Breakout Indicator**
This indicator is a powerful tool for identifying potential breakout opportunities based on the previous day's price action. It's built on a unique time-based logic that defines key support and resistance levels for the trading day.
---
### **How the Indicator Works**
The indicator operates in two main phases:
1. **Calculation Period (00:00 to 16:30 Tehran Time):** The indicator first observes the price action from the start of the day until 16:30. During this time, it records the highest and lowest **closing prices** of all candles. The chart background is shaded gray to visually mark this period.
2. **Trading Period (16:30 to 16:30 the next day):** At 16:30, the highest and lowest close levels are finalized and drawn as horizontal lines. These levels then become the primary breakout zones for the next 24 hours. The indicator will generate signals whenever the price crosses these lines.
---
### **Trading Signals**
The indicator uses a simple and effective crossover logic for its signals:
* **BUY Signal:** A signal is generated when a candle's closing price **crosses above** the high close line.
* **SELL Signal:** A signal is generated when a candle's closing price **crosses below** the low close line.
---
### **Important Usage Guidelines**
For optimal performance, please follow these specific recommendations:
* **Timeframe:** This indicator is designed and optimized to be used exclusively on the **15-minute timeframe**. Using it on other timeframes may produce inconsistent or unreliable results.
* **Primary Asset:** The logic for this indicator was developed and backtested primarily for **Gold (XAUUSD)**. Its performance and win rate have been observed to be the most consistent on this asset.
* **Asset Restriction:** It is strongly recommended to **avoid using this indicator on other currency pairs or assets**, as it has not been optimized for their specific market behavior.
---
### **Disclaimer**
*This indicator is provided for informational and educational purposes only. It is not financial advice. Past performance is not a guarantee of future results. All trading decisions should be based on your own research and risk analysis. Always use proper risk management.*
Market Extension Quantifier SniperIt's a combination of ATR, Moving Average, Bollinger Bands and RSI. And the idea is to find a very extended move which creates a probability that the market is due to a reversion.
BigNuts MacroScript that overlays key events that are coming up as the US economy shifts into fiscal dominance and global liquidity may peak. The specified dates were cross referenced from many cycle theories including Benner and Kondratieff key cycle dates as well work of Michel Howell for Global liquidity cycles and Luke Gromen analysis for Marco. The script also then cross references all these dates with any key celestial events that have had previous historical significance for market timing. The celestial events are key dates to watch but can be toggled on and off.
Benford's Law Actual [Tagstrading]Benford’s Law Chart — First Digit Analysis of Percentage Price Drops
This script visualizes the distribution of the leading digit in the percentage change of price drops, and compares it to the theoretical distribution expected by Benford’s Law.
It helps traders, analysts, and quants to detect anomalies, unnatural behavior, or price manipulation in any asset or timeframe.
How to Use
Add to any chart or symbol (stocks, crypto, FX, etc.) and select the timeframe you wish to analyze.
Set the “Number of Bars to Analyze” input (default: 500) to control the length of the historical window.
The chart will display, for the latest window:
A blue line: the actual leading-digit distribution for percentage price changes between bars.
A red line: the expected distribution per Benford’s Law.
Labels below and above: digit markers and the expected (theoretical) percentages.
Summary panel on the right: frequency counts and actual vs. theoretical % for each digit.
Interpretation:
If your actual (blue) curve or digit counts are significantly different from the red Benford’s Law curve, it could indicate unnatural price action, fraud, bot activity, or structural anomalies.
Why is this useful for TradingView?
Financial forensics: Benford’s Law is a classic tool for detecting data manipulation and fraud in accounting. On charts, it can reveal if price movements are statistically “natural.”
Transparency and confidence: Helps communities audit markets, brokers, or exchanges for irregularities.
Adaptable: Works on any market, any timeframe.
What makes this script unique?
Focuses on % price changes, not raw prices.
This provides a fair comparison across assets, symbols, and timeframes.
Measures only the direction and magnitude of drops/rises — more suitable for detecting manipulation in active markets.
Clear and customizable visualization:
The Benford line, actual data, and summary are all visible and readable in one glance.
Optimized for speed and clarity (runs efficiently on all major charts).
How is it different from stg44’s Benford’s Law script?
This script analyzes the leading digit of percentage price changes (i.e., how much the price drops or rises in %),
while the original by stg44 analyzes the leading digit of price itself.
Results are less sensitive to price scale and more comparable across volatile and non-volatile assets.
The summary panel clearly shows ( ) for actual and for Benford theoretical values.
Full code is commented and open for the community.
Credits and Inspiration
This script was inspired by “Benford’s Law” by stg44:
Thanks to the TradingView community for sharing powerful visual ideas.
—
By tags trading
Composite Trend Trader Module [BackQuant]Composite Trend Trader Module
Overview and Purpose
The Composite Trend Trader Module (CTM) is an invite-only Pine Script indicator designed to provide traders with a comprehensive tool for trend-following, dip-buying, and market strength assessment. By integrating multiple market data inputs—price momentum, volatility, volume, and statistical baselines—the CTM generates actionable outputs for trend identification, swing trade entries, and dip-buying opportunities. The indicator is intended for traders seeking a systematic approach to market analysis with customizable settings, while maintaining simplicity in its user interface. As a closed-source script, the underlying calculations remain proprietary, but this description outlines its functionality, features, and practical applications in trading.
Visual Components
The CTM provides the following visual elements on the chart:
• Signal Spine – A colored line (default 25-period weighted moving average) that reflects the dominant trend—green for bullish, red for bearish, and grey for neutral or transitional periods.
• Swing Triggers – Unicode markers ("𝕃" for long, "𝕊" for short) appear below or above bars when the trend shifts, signaling potential swing trade entries.
• Dip-Hunter Signals – Green arrows mark dip-buying opportunities, accompanied by faint green background highlights and forward-projecting entry lines for precise entry levels.
• Heat Meter – A horizontal strip at the bottom of the chart, graded from -50 (overheated) to +50 (deep dip), visually indicates the strength of dip conditions using a red-to-green gradient.
Core Features
The CTM comprises several components that work together to deliver a cohesive trading framework. Below is a detailed explanation of each, without disclosing proprietary calculations.
1. Universal Trend Tracking (UTT)
The UTT combines multiple momentum and statistical indicators into a single composite score ranging from -1 to +1. This score is derived from:
• Price-based momentum metrics.
• Volatility-adjusted thresholds.
• Statistical measures of price deviation and market structure.
When the UTT score exceeds +0.2, the market is considered in an actionable uptrend; below -0.2, a downtrend is identified. Values between these thresholds indicate a neutral or choppy market, helping traders avoid low-probability setups during consolidation.
2. Signal Spine
The signal spine is a 25-period weighted moving average of price, colored according to the UTT score (green for bullish, red for bearish, grey for neutral). This line serves as a visual anchor for tracking the prevailing trend and highlights regime changes in real time, enabling traders to align their strategies with market direction.
3. Swing Triggers (𝕃/𝕊)
Swing trade signals are generated when the UTT crosses the zero line, indicating a shift in market regime. A "𝕃" marker appears below the bar for a bullish crossover (potential long entry), and a "𝕊" marker appears above for a bearish crossover (potential short entry). These signals incorporate volatility-adaptive thresholds to minimize false triggers during low-volatility periods, improving reliability compared to traditional moving-average crossovers.
4. Dip-Hunter Engine
The Dip-Hunter subsystem identifies high-probability dip-buying opportunities by evaluating five conditions:
• Dip Magnitude – The price must have fallen by a user-defined percentage (default 2%) from a recent swing high, calculated over a specified lookback period (default 5 bars).
• Volume Burst – Current volume must exceed the average volume over a user-defined lookback (default 65 bars) by a specified multiplier (default 2x).
• Volatility Spike – The intraday range or Average True Range (ATR) must exceed a statistical baseline by a user-defined multiplier (default 1.5x).
• Structural Permission – Price must be below a fast Exponential Moving Average (EMA, default 20 periods), and the market structure must be bearish (fast EMA below slow EMA, default 50 periods).
• Trend Filter (Optional) – When enabled, dip signals are only generated if the UTT indicates a bullish trend, preventing trades against a bearish macro environment.
When these conditions align, the Dip-Hunter plots a green arrow, highlights the candle background, and draws a forward-projecting horizontal line at a user-selected price level (Low, Close, or calculated dip percentage).
5. Strength Score and Heat Meter
Each bar is assigned a strength score (0 to 5, or -50 to +50 when scaled for the heat meter) based on the following criteria:
• +1 for meeting the dip threshold.
• +1 for a volume spike.
• +1 for a volume momentum spike (based on rate-of-change).
• +1 for a confirmed volatility spike.
• +1 if price is below the fast EMA.
• +2 if the macro trend filter is bullish (when enabled).
The heat meter visualizes this score as a pointer on a red-to-green gradient strip, enabling traders to quickly assess the intensity of dip conditions and prioritize high-quality setups.
6. Entry-Line Generator
For each dip signal, the CTM draws a forward-projecting horizontal line to mark potential entry levels. Traders can configure:
• The price level for the line (Low, Close, or exact dip percentage).
• The duration of the line (default 100 bars).
• A minimum gap between signals (default 5 bars) to prevent overlapping lines during clustered events.
These lines serve as visual guides for setting limit orders or stop-loss levels.
7. Alerts
The CTM includes seven pre-configured alert conditions to support automated workflows:
• CTM Long/Short – Triggered on bullish or bearish UTT zero-line crossovers for swing trades.
• Market Overheated – Activates when the strength score falls below -40, indicating potential exhaustion.
• Close to Dip – Signals when the strength score reaches 0.6, suggesting an impending dip opportunity.
• Dip Confirmed – Fires on the first bar meeting all dip conditions.
• Dip Active – Triggers while dip conditions remain valid.
• Dip Fading – Activates when the strength score crosses below 0.5, indicating a weakening dip.
• Trend-Blocked – Alerts when dip conditions are met but blocked by the trend filter.
These alerts can be routed to brokers or trading bots for seamless execution.
"CPM Long Signal {{exchange}}:{{ticker}}")
"CPM Short Signal {{exchange}}:{{ticker}}")
"Market overheated {{ticker}}")
"Close to a dip {{ticker}}")
"Dip confirmed {{ticker}}")
"Dip active {{ticker}}")
"Dip strength fading {{ticker}}")
"Signal blocked by trend filter {{ticker}}")
User Controls
The CTM offers extensive customization to adapt to different trading styles and preferences:
• Signal Settings – Toggle the signal spine, composite score plot, swing triggers, and bar coloring. Adjust line width for visibility.
• Display Settings – Customize bullish, bearish, and neutral colors to match chart templates.
• Dip-Hunter Settings – Configure volume lookback, spike multipliers, EMA periods, volatility thresholds, dip percentage, and lookback bars.
• Trend Filter – Enable or disable the requirement for a bullish UTT before dip signals are generated.
• Strength & Meter – Toggle bar coloring based on the strength score, adjust the number of meter cells (default 60), and select meter position (e.g., bottom-center).
• Entry Settings – Control entry line visibility, length, and price source (Low, Close, or dip percentage).
Trading Applications
The CTM supports multiple trading strategies, each leveraging its outputs for specific market conditions:
• Trend-Ride Mode – Trade in the direction of the signal spine. Enter long positions on the first "𝕃" marker in a green (bullish) regime, and scale out when the UTT returns to grey (neutral). This is ideal for trend-following traders seeking to capture sustained moves, with the first signal in a new trend regime offering high statistical expectancy.
• Forced Dip Entries – Enable the trend filter and focus on dip signals (green arrows). Place limit orders at the entry line, set stops below the line, and target the midpoint of the prior value area (e.g., using support/resistance levels). This suits mean-reversion traders aiming to buy dips in bullish trends, with clear risk management via entry lines.
• Scalp Confirmation – Hide the signal spine and use bar coloring to identify short-term momentum. Green bars indicate broad buying pressure, while red bars warn against long scalps in oversold conditions. This is useful for intraday scalpers seeking confirmation of momentum before entering trades.
• Event Guardrails – Avoid trading when the heat meter is below -40 before major economic releases (e.g., FOMC, CPI), as spreads and slippage may widen. This enhances risk management by flagging high-risk periods during macroeconomic events.
• Multi-Timeframe Analysis – Apply the CTM on a daily timeframe in a secondary pane and a lower timeframe (e.g., hourly) on the primary chart. Trade only when both timeframes align (e.g., both in bullish regimes). This increases conviction for swing or position traders by confirming trend alignment across timeframes.
Frequently Asked Questions
• How does the CTM differ from a moving-average ribbon? The CTM integrates multiple momentum, volatility, and statistical indicators, using adaptive thresholds and proprietary calculations to respond faster to structural changes while filtering noise more effectively than traditional dual-EMA systems.
• Can the underlying formulas be accessed? No, the script is closed-source, and calculations are protected to preserve intellectual property. Users receive all outputs, alerts, and customizable parameters.
• Does the indicator repaint? No, all calculations use confirmed historical data without look-ahead bias. Entry lines are static from the signal bar.
• Which markets is it suitable for? The CTM is optimized for equities, futures, and cryptocurrencies. Adjust dip percentage and volume multipliers for low-liquidity markets.
• What about latency? The script uses efficient Pine Script functions and lightweight loops, ensuring minimal performance impact.
Limitations and Best Practices
• Market-Specific Tuning – Thinly traded markets may require adjustments to dip percentage and volume thresholds to avoid excessive signals.
• Complementary Tools – Combine the CTM with price action, support/resistance levels, or order flow analysis to confirm signals and avoid over-reliance on the indicator.
• Event Risk – Be cautious during high-impact news events, as volatility spikes may trigger signals that are quickly reversed.
• Trend Filter Use – Enabling the trend filter reduces false dip signals in bearish markets but may delay entries in rapidly reversing markets.
Conclusion
The Composite Trend Trader Module consolidates trend-following, dip-buying, and strength assessment into a single, customizable indicator. By providing clear visual cues, actionable alerts, and flexible settings, it equips traders with a robust framework for navigating various market conditions. While the proprietary calculations remain protected, the CTM’s outputs enable traders to make informed decisions, align strategies with market regimes, and manage risk effectively. Use it as a strategic tool alongside sound risk management and complementary analysis for optimal results.