GCM Heikin Ashi RSI Trend CloudTitle: GCM Heikin Ashi RSI Trend Cloud
Description:
Overview
The GCM Heikin Ashi RSI Trend Cloud is a comprehensive momentum oscillator designed to filter out market noise and visualize trend strength. Unlike a standard RSI which can be jagged and difficult to interpret during consolidation, this indicator transforms RSI data into Heikin Ashi candles, providing a smoother, clearer view of market momentum.
This tool combines the lag-reducing benefits of RSI with the trend-visualizing power of Heikin Ashi, layered with Multi-Timeframe (HTF) clouds to identify macro trends.
Calculations & How it Works
This indicator does not use standard price action for its candles. Instead, it performs the following calculations:
• HARSI Candles: We calculate the RSI of the Open, High, Low, and Close of the chart. These four RSI values are then processed through the standard Heikin Ashi formula. This means the candles represent momentum movement, not price movement.
• Smoothing: A smoothing algorithm is applied to the "Open" of the HARSI candles (Default: 5). This reduces fake-outs by biasing the candle open toward the previous average, highlighting the true trend direction.
• Trend Bias Mode: A unique visual feature that adjusts the thickness of the RSI line based on your trading style.
o Buyers Mode: The line thickens when RSI is rising, thinning out when falling.
o Sellers Mode: The line thickens when RSI is falling, thinning out when rising.
• Ribbon Clouds: The script pulls RSI data from Higher Timeframes (HTF) and creates a cloud between the current chart's RSI and the HTF RSI. If the current RSI is above the HTF RSI, the cloud is bullish (Green), otherwise bearish (Red).
Key Features
• Derived Heikin Ashi RSI: Smooths out the noise of standard RSI to show clear red/green trends.
• Dynamic Trend Bias: Customize the main RSI line to emphasize Bullish or Bearish momentum using line weight.
• Auto-HTF Clouds: Automatically detects higher timeframes (e.g., 1m chart -> 3m cloud) to show support/resistance momentum from the macro trend.
• OB/OS Zones: Clearly defined Overbought and Oversold channels with "Extreme" outlier zones.
How to Use
1. Trend Continuation: Look for the HARSI candles to change color. A switch from Red to Green, while the Ribbon Cloud is also Green, indicates a strong bullish continuation.
2. Divergence: Because the candles are based on RSI, you can look for divergences between the HARSI candle peaks and the actual price action on the main chart.
3. The Cloud: Use the cloud as dynamic support. In a strong uptrend, the RSI line often bounces off the HTF Cloud without breaking through it.
Settings
• HARSI Length (Default 10): The lookback period for the RSI calculation.
• Smoothing (Default 5): Higher values create smoother candles but add lag. Lower values are more reactive.
Trend Bias Mode: Choose "Neutral" for a standard line, or "Buyers/Sellers" to visually emphasize your preferred market direction.
Osilatörler
Smart Money Flow Oscillator [MarkitTick]💡This script introduces a sophisticated method for analyzing market liquidity and institutional order flow. Unlike traditional volume indicators that treat all market activity equally, the Smart Money Flow Oscillator (SMFO) employs a Logic Flow Architecture (LFA) to filter out market noise and "churn," focusing exclusively on high-impact, high-efficiency price movements. By synthesizing price action, volume, and relative efficiency, this tool aims to visualize the accumulation and distribution activities that are often attributed to "smart money" participants.
✨ Originality and Utility
Standard indicators like On-Balance Volume (OBV) or Money Flow Index (MFI) often suffer from noise because they aggregate volume based simply on the close price relative to the previous close, regardless of the quality of the move. This script differentiates itself by introducing an "Efficiency Multiplier" and a "Momentum Threshold." It only registers volume flow when a price move is considered statistically significant and structurally efficient. This creates a cleaner signal that highlights genuine supply and demand imbalances while ignoring indecisive trading ranges. It combines the trend-following nature of cumulative delta with the mean-reverting insights of an In/Out ratio, offering a dual-mode perspective on market dynamics.
🔬 Methodology
The underlying calculation of the SMFO relies on several distinct quantitative layers:
• Efficiency Analysis
The script calculates a "Relative Efficiency" ratio for every candle. This compares the current price displacement (body size) per unit of volume against the historical average.
If price moves significantly with relatively low volume, or proportional volume, it is deemed "efficient."
If significant volume occurs with little price movement (churn/absorption), the efficiency score drops.
This score is clamped between a user-defined minimum and maximum (Efficiency Cap) to prevent outliers from distorting the data.
• Momentum Thresholding
Before adding any data to the flow, the script checks if the current price change exceeds a volatility threshold derived from the previous candle's open-close range. This acts as a gatekeeper, ensuring that only "strong" moves contribute to the oscillator.
• Variable Flow Calculation
If a move passes the threshold, the script calculates the flow value by multiplying the Typical Price and Volume (Money Flow) by the calculated Efficiency Multiplier.
Bullish Flow: Strong upward movement adds to the positive delta.
Bearish Flow: Strong downward movement adds to the negative delta.
Neutral: Bars that fail the momentum threshold contribute zero flow, effectively flattening the line during consolidation.
• Calculation Modes
Cumulative Delta Flow (CDF): Sums the flow values over a rolling period. This creates a trend-following oscillator similar to OBV but smoother and more responsive to real momentum.
In/Out Ratio: Calculates the percentage of bullish inflow relative to the total absolute flow over the period. This oscillates between 0 and 100, useful for identifying overextended conditions.
📖 How to Use
Traders can utilize this oscillator to identify trend strength and potential reversals through the following signals:
• Signal Line Crossovers
The indicator plots the main Flow line (colored gradient) and a Signal line (grey).
Bullish (Green Cloud): When the Flow line crosses above the Signal line, it suggests rising buying pressure and efficient upward movement.
Bearish (Red Cloud): When the Flow line crosses below the Signal line, it suggests dominating selling pressure.
• Divergences
The script automatically detects and plots divergences between price and the oscillator:
Regular Divergence (Solid Lines): Suggests a potential trend reversal (e.g., Price makes a Lower Low while Oscillator makes a Higher Low).
Hidden Divergence (Dashed Lines): Suggests a potential trend continuation (e.g., Price makes a Higher Low while Oscillator makes a Lower Low).
"R" labels denote Regular, and "H" labels denote Hidden divergences.
• Dashboard
A dashboard table is displayed on the chart, providing real-time metrics including the current Efficiency Multiplier, Net Flow value, and the active mode status.
• In/Out Ratio Levels
When using the Ratio mode:
Values above 50 indicate net buying pressure.
Values below 50 indicate net selling pressure.
Approaching 70 or 30 can indicate overbought or oversold conditions involving volume exhaustion.
⚙️ Inputs and Settings
Calculation Mode: Choose between "Cumulative Delta Flow" (Trend focus) or "In/Out Ratio" (Oscillator focus).
Auto-Adjust Period: If enabled, automatically sets the lookback period based on the chart timeframe (e.g., 21 for Daily, 52 for Weekly).
Manual Period: The rolling lookback length for calculations if Auto-Adjust is disabled.
Efficiency Length: The period used to calculate the average body and volume for the efficiency baseline.
Eff. Min/Max Cap: Limits the impact of the efficiency multiplier to prevent extreme skewing during anomaly candles.
Momentum Threshold: A factor determining how much price must move relative to the previous candle to be considered a "strong" move.
Show Dashboard/Divergences: Toggles for visual elements.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
This indicator represents a hybrid synthesis of academic Market Microstructure theory and classical technical analysis. It utilizes an advanced algorithm to quantify "Price Impact," leveraging the following theoretical frameworks:
• 1. The Amihud Illiquidity Ratio (2002)
The core logic (calculating body / volume) functions as a dynamic implementation of Yakov Amihud’s Illiquidity Ratio. It measures price displacement per unit of volume. A high efficiency score indicates that "Smart Money" has moved the price significantly with minimal resistance, effectively highlighting liquidity gaps or institutional control.
• 2. Kyle’s Lambda (1985) & Market Depth
Drawing from Albert Kyle’s research on market microstructure, the indicator approximates Kyle's Lambda to measure the elasticity of price in response to order flow. By analyzing the "efficiency" of a move, it identifies asymmetries—specifically where price reacts disproportionately to low volume—signaling potential manipulation or specific Market Maker activity.
• 3. Wyckoff’s Law of Effort vs. Result
From a classical perspective, the algorithm codifies Richard Wyckoff’s "Effort vs. Result" logic. It acts as an oscillator that detects anomalies where "Effort" (Volume) diverges from the "Result" (Price Range), predicting potential reversals.
• 4. Quantitative Advantage: Efficiency-Weighted Volume
Unlike linear indicators such as OBV or Chaikin Money Flow—which treat all volume equally—this indicator (LFA) utilizes Efficiency-Weighted Volume. By applying the efficiency_mult factor, the algorithm filters out market noise and assigns higher weight to volume that drives structural price changes, adopting a modern quantitative approach to flow analysis.
● Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
QQE v3.0 [v6] - AI-Powered Trend Signal📊 QQE Signal v3.0 - AI-Powered Quantitative Trend Detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ What is QQE?
QQE (Quantitative Qualitative Estimation) is an advanced oscillator that evolves the traditional RSI. It significantly reduces false signals by applying ATR-based dynamic bands to smoothed RSI values.
【Mathematical Principle】
1. Calculate RSI (default 14 periods)
2. Smooth RSI with EMA (noise reduction)
3. Apply ATR to RSI for dynamic bands
4. Signal generated on band/RSI crossover
This methodology captures "qualitative" trend changes "quantitatively" - detecting shifts that RSI alone would miss.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ HMA Integration
This indicator combines QQE with HMA (Hull Moving Average) for dual confirmation.
【HMA Characteristics】
- Faster response, less lag than traditional MAs
- Formula: WMA(2×WMA(n/2) - WMA(n), √n)
- Ideal for trend direction confirmation
【Dual Confirmation Logic】
- QQE: Detects momentum turning points
- HMA: Confirms price trend direction
- Both aligned = High-confidence signal
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ AI Score System (60-100)
Signal confidence quantified as 0-100 score, integrating multiple factors.
【Score Components】
1. Signal Base (QQE×HMA alignment bonus)
2. QQE Strength (deviation from RSI midpoint 50)
3. Volatility State (ATR ratio evaluation)
4. Volume Confirmation (anomaly detection vs average)
【Signal Levels】
┌────────────────────────────────────────┐
│ 💰 BIG CHANCE (90+) │
│ → All factors aligned at high level │
│ → Highest confidence │
├────────────────────────────────────────┤
│ ⚡ SUPER (80-89) │
│ → Major factors strongly aligned │
│ → High confidence │
├────────────────────────────────────────┤
│ 🚀 POWER (70-79) │
│ → QQE+HMA simultaneous signal │
│ → Medium-high confidence │
├────────────────────────────────────────┤
│ 💪 STRONG (60-69) │
│ → Basic signal triggered │
│ → Standard confidence │
└────────────────────────────────────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ MTF (Multi-Timeframe) Function
Display signals from different timeframes on your current chart.
【Use Cases】
- View 5min signals on 1min chart
- Monitor higher timeframe direction while scalping
- Improve entry timing precision
【Auto-Optimization by Asset】
- USD/JPY, EUR/USD: QQE Factor 4.238
- Gold (XAU/USD): QQE Factor 8.0 (volatility adjusted)
- BTC: QQE Factor 12.0 (high volatility adjusted)
- NASDAQ: QQE Factor 4.238
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ Trading Strategies
【Strategy 1: Trend Following】
1. Wait for 80+ score signal
2. Confirm HMA direction
3. Set stop-loss at recent high/low
4. Target 1:2+ risk-reward ratio
【Strategy 2: Range Breakout】
1. Multiple 60-70 signals occurring
2. Price approaching range boundary
3. 90+ signal confirms breakout
4. Enter in breakout direction
【Strategy 3: MTF Confirmation】
1. Identify trend on higher TF (4H/Daily)
2. Find entry on lower TF (5-15min)
3. Both timeframes aligned = highest confidence
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ Recommended Settings
【Scalping (1-5min)】
- RSI Period: 14
- Smoothing: 5
- Min Score: 70
- MTF: 5min recommended
【Day Trading (15-60min)】
- RSI Period: 14
- Smoothing: 5
- Min Score: 60
- MTF: Same as chart
【Swing (4H-Daily)】
- RSI Period: 14
- Smoothing: 5
- Min Score: 60
- MTF: OFF (use chart timeframe)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ Pro Version Available
For advanced features, check "QQE×HMA Showtime v3.5" (invite-only):
- P/L Counter (real-time profit/loss tracking)
- BIG WIN visual effects
- Detailed statistics panel
- Enhanced algorithm accuracy
See my profile for details.
⚠️ DISCLAIMER
This indicator is for educational and analytical purposes. Past performance does not guarantee future results. Always use proper risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【日本語】
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ QQEとは?(Quantitative Qualitative Estimation)
QQEは、RSI(相対力指数)を進化させた高度なオシレーターです。従来のRSIの弱点である「ダマシ」を大幅に軽減し、より信頼性の高いシグナルを生成します。
【数学的原理】
1. RSIを計算(デフォルト14期間)
2. RSIをEMAでスムージング(ノイズ除去)
3. ATR(真のレンジ)をRSIに適用し、動的バンドを生成
4. バンドとスムージングRSIのクロスでシグナル発生
この手法により、RSI単体では検出できない「質的な」トレンド変化を「量的に」捉えることが可能になります。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ HMA(Hull Moving Average)との統合
本インジケーターはQQEにHMAを組み合わせ、ダブル確認システムを構築しています。
【HMAの特徴】
- 従来のMAより反応が速く、ラグが少ない
- 計算式:WMA(2×WMA(n/2) - WMA(n), √n)
- トレンド方向の確認に最適
【ダブル確認の意義】
- QQE:モメンタムの転換点を検出
- HMA:価格トレンドの方向を確認
- 両者が一致 → 高確度シグナル
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ AIスコアシステム(60-100点)
シグナルの信頼度を0-100点で数値化。複数の要素を統合評価します。
【スコア算出要素】
1. シグナル基盤(QQE×HMA一致で加点)
2. QQE強度(RSI中央値50からの乖離度)
3. ボラティリティ状態(ATR比率による評価)
4. 出来高確認(平均比での異常検出)
【シグナルレベル】
┌────────────────────────────────────────┐
│ 💰 BIG CHANCE(90点以上) │
│ → 全要素が高水準で一致 │
│ → 最高確度、大きなポジション検討可 │
├────────────────────────────────────────┤
│ ⚡ SUPER(80-89点) │
│ → 主要要素が強く一致 │
│ → 高確度、標準ポジション推奨 │
├────────────────────────────────────────┤
│ 🚀 POWER(70-79点) │
│ → QQE+HMA同時シグナル │
│ → 中高確度、慎重なエントリー │
├────────────────────────────────────────┤
│ 💪 STRONG(60-69点) │
│ → 基本シグナル発生 │
│ → 標準確度、小ポジションから │
└────────────────────────────────────────┘
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ MTF(マルチタイムフレーム)機能
異なる時間足のシグナルを現在のチャートに表示。
【活用例】
- 1分足チャートで5分足シグナルを確認
- スキャルピング中に上位足の方向を把握
- エントリータイミングの精度向上
【銘柄別自動最適化】
- USD/JPY、EUR/USD:QQE係数 4.238
- Gold(XAU/USD):QQE係数 8.0(ボラ対応)
- BTC:QQE係数 12.0(高ボラ対応)
- NASDAQ:QQE係数 4.238
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ 実践的トレード戦略
【戦略1:トレンドフォロー】
1. 80点以上のシグナルを待つ
2. HMAの方向を確認
3. 直近高値/安値をストップロスに設定
4. 1:2以上のリスクリワードを確保
【戦略2:レンジブレイク】
1. 60-70点シグナルが連続で発生
2. 価格がレンジ上限/下限に接近
3. 90点シグナルでブレイクを確認
4. ブレイク方向にエントリー
【戦略3:MTF確認】
1. 上位足(4H/日足)でトレンド方向確認
2. 下位足(5-15分)でエントリータイミング
3. 両時間足のシグナルが一致で高確度
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ 推奨設定
【スキャルピング(1-5分足)】
- RSI期間:14
- スムージング:5
- 最低スコア:70
- MTF:5分固定推奨
【デイトレード(15-60分足)】
- RSI期間:14
- スムージング:5
- 最低スコア:60
- MTF:チャート足と同じ
【スイング(4H-日足)】
- RSI期間:14
- スムージング:5
- 最低スコア:60
- MTF:OFF(チャート足使用)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
■ 上位版のご案内
より高度な機能をお求めの方には「QQE×HMA Showtime v3.5」(招待専用)をご用意しています。
【追加機能】
- 損益カウンター(リアルタイム集計)
- BIG WIN演出(大勝利時の視覚効果)
- 詳細統計パネル
- 高精度アルゴリズム
詳細はプロフィールをご覧ください。
⚠️ 免責事項
本インジケーターは教育・分析目的です。過去の実績は将来の結果を保証しません。適切なリスク管理を行ってください。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by EduVest | 30 Years STEM Education × Professional FX Trading
For custom indicator development, visit my profile.
[CT] D&W PPO + RBF + DivergenceThis indicator combines two separate ideas into one tool so you can read trend context from your price chart while timing momentum shifts from a clean oscillator panel. The first component is the Daily and Weekly Percentage Price Oscillator (D&W PPO), which measures the relationship between two EMA spreads that are intentionally built to reflect two “speeds” of market structure. The “weekly” leg is calculated as the percentage distance between a slower and faster EMA pair (L1 and L2), and the “daily” leg is calculated as the percentage distance between a shorter EMA pair (L3 and L4), but both are normalized by the same long EMA (e2) so the values behave like a percent-based oscillator rather than raw points. The script then combines those two legs by creating R = W + D, and it plots the histogram as R − W, which simplifies to D. That is not a mistake, it is the point of the design. By setting the baseline at “R equals W,” the zero line becomes a very intuitive threshold that tells you whether the shorter-term push is adding to the longer-term bias or subtracting from it. When the histogram is above zero, the daily component is supportive of the larger trend pressure, and when it is below zero, the daily component is opposing it. The histogram color is intentionally binary and stable, green when the histogram is at or above zero and red when it is below, so the panel reads like a momentum confirmation tool rather than a noisy oscillator that constantly shifts shades.
The second component is the RBF Price Trail, which is drawn on the upper price chart even though the indicator itself lives in a lower panel. This line is not a moving average in the traditional sense. It is a Radial Basis Function kernel smoother that weights recent prices based on their similarity rather than only their recency. In plain terms, the kernel attempts to build a smoother “baseline” that adapts to the shape of price action, and then the script optionally wraps that baseline inside an ATR band and applies a Supertrend-like trailing clamp. When the ATR band is enabled, the line will not simply track the kernel value, it will trail price and hold its position until price forces it to ratchet. This behavior is what makes it useful as a structure-aligned trend line rather than just another smoothing curve. When the adaptive band boost is enabled, the band width is multiplied by a factor that grows when recent price change is large relative to a lookback normalization window. That means the trailing mechanism can adapt to fast markets by changing the effective band behavior, which helps reduce whipsaws in choppy conditions while still allowing the line to respond when volatility expands. The line color is determined by where price closes relative to the trail, bullish when price is above the trail and bearish when price is below it, and you can optionally color your actual chart candles from either the PPO state or the RBF state depending on what you want your eyes to follow.
The settings are organized so you can control each module without changing how the core PPO trend logic behaves. The PPO settings L1, L2, L3, and L4 define the EMA lengths used to compute the weekly leg W and the daily leg D. Increasing these values makes the oscillator slower and smoother, while decreasing them makes it react faster to recent movement. “Show W line” is simply a visual aid, it plots the W line in the oscillator panel so you can see the longer-term component, but it does not change the histogram logic. “Histogram thickness” is purely visual and controls how thick the column bars are. The PPO colors are the two base colors used for the histogram state, green when the daily component is supportive and red when it is opposing.
The RBF settings control what you see on the upper chart. “Show RBF on Price Chart” turns the trail line on or off. “Source” chooses which price series feeds the kernel, and close is usually the cleanest choice. “Kernel Length” determines how many bars the kernel uses; a larger value makes the baseline smoother and slower, and a smaller value makes it more reactive. “Gamma Adj” controls how quickly the kernel’s weights decay as price becomes dissimilar, so higher gamma tends to make the kernel react more sharply to changes while lower gamma produces a broader smoothing effect. “Use ATR Trail Band” is the switch that turns the kernel baseline into a trailing band line, and it is the reason the line can “hold” and then ratchet instead of moving continuously like a normal moving average. “ATR Length” and “ATR Factor” control the width of that band, and widening the band will generally reduce flips and noise at the cost of later signals. “Use Adaptive Band Boost” turns on the volatility normalization idea, “Boost Normalization Lookback” defines how far back the script looks to determine what counts as a large price change, and “Boost Multiplier” controls how strongly the band behavior is adjusted during those periods. The line width and bull/bear colors are visual controls only.
Price bar coloring is intentionally handled with a single selector so you do not end up with two modules fighting to color candles differently. If you choose “Off,” nothing on the main chart is recolored. If you choose “PPO,” your price candles reflect whether the PPO histogram is above or below zero. If you choose “RBF,” your price candles reflect whether price is above or below the RBF trail. Most traders will pick one and stick with it so the chart communicates a single bias at a glance.
The divergence module is optional and is designed to be a confirmation layer rather than a primary trigger. When enabled, it can mark regular divergence and hidden divergence, and it lets you decide what the pivots should be based on. The divergence source can be the PPO histogram or the R line, depending on whether you want divergence measured on the cleaner momentum component or on the combined series. “Key off pivots” determines whether pivot detection is driven by oscillator pivots or by price pivots. If you choose oscillator pivots, divergence anchors are found where the oscillator makes pivot highs or lows and those are compared against price at the same points. If you choose price pivots, the pivots are taken from price first and the oscillator value at those pivot bars is used for the comparison, which can feel more intuitive when you want divergence to respect obvious swing structure on the chart. Pivot Left and Pivot Right control how strict the swing definition is, larger values create fewer but more meaningful pivots and smaller values create more frequent signals. “Mark on Price Chart” adds tiny markers on the candles at the pivot location so you can see where the divergence event was confirmed, while the oscillator panel uses lines and labels to make the divergence relationship obvious.
For trading, the cleanest way to use this tool is to separate “bias” from “timing.” The RBF Price Trail is your bias filter because it is structure-like and tends to hold and ratchet rather than constantly drifting. When price is closing above the trail and the trail is colored bullish, you treat the market as long-biased and you focus on long setups, pullbacks, and continuation entries. When price is closing below the trail and the trail is bearish, you treat the market as short-biased and you focus on short setups, rallies, and continuation shorts. The PPO histogram is then your timing and pressure confirmation. In an up-bias, the highest quality continuation conditions are when the histogram is above zero and stays above zero through pullbacks, because that means the shorter-term pressure is still supporting the longer-term drift. When the histogram dips below zero during an up-bias, it is a warning that the daily component is now opposing, which often corresponds to a deeper pullback, a rotation, or a period of consolidation, so you either wait for the histogram to recover above zero or you tighten expectations and manage risk more aggressively. In a down-bias, the mirror logic applies: the best continuation conditions are when the histogram is below zero, and pushes above zero tend to represent countertrend rotations or pauses inside the bearish condition.
Divergence is best used as an early warning and a location filter, not as a standalone entry button. Regular bullish divergence, where price makes a lower low but the oscillator makes a higher low, can signal bearish pressure is weakening and is most useful when it appears while price is below the RBF trail but failing to continue downward, because it often precedes a reclaim of the trail or at least a meaningful rotation. Regular bearish divergence, where price makes a higher high but the oscillator makes a lower high, can signal bullish pressure is weakening and is most useful when it appears while price is above the trail but extension is failing, because it often precedes a drop back to the trail or a full flip. Hidden divergence is a continuation concept. Hidden bullish divergence, where price makes a higher low while the oscillator makes a lower low, often shows up during pullbacks in an uptrend and can help you confirm continuation as long as the RBF bias remains bullish. Hidden bearish divergence, where price makes a lower high while the oscillator makes a higher high, often shows up during rallies in a downtrend and can help you confirm continuation as long as the RBF bias remains bearish. In practice, you’ll get the best results when you only act on divergence that aligns with the RBF bias for hidden divergence continuation, and you treat regular divergence as a caution or reversal setup only when it occurs near a meaningful swing and is followed by a bias change or a strong momentum shift on the PPO.
The most practical workflow is to keep the RBF trail visible on the price chart as your regime guide, keep the PPO histogram as your momentum confirmation, and decide in advance whether you want candle coloring to represent the PPO state or the RBF state so your eyes are not reading two different meanings at once. if you want the cleanest “trend-following” behavior, color candles by the RBF trail and use the PPO histogram as the timing trigger. If you want the cleanest “momentum-first” behavior, color candles by PPO and treat the RBF trail as the higher-level filter for whether you should press a move or fade it.
RSHL Traffic Light - MTF Trend Analyzer v2.0 [v6]RSHL 3-Color Traffic Light 🚦 v2.0 - Multi-Timeframe Market Environment Analyzer
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 OVERVIEW
This indicator provides instant visual recognition of market direction across multiple timeframes using a "traffic light" system. Designed for live streaming and real-time analysis, it helps traders quickly assess whether the market is in a BULL 🚀, BEAR 📉, or RANGE ↔ condition.
Based on the RSHL (Resistance/Support High/Low) methodology, this tool analyzes pivot highs and lows to determine trend direction, then displays the results in an eye-catching neon color scheme optimized for dark chart themes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 KEY FEATURES
▸ Multi-Timeframe Analysis (MTF)
Simultaneously displays market state for 5 timeframes: 4H, 1H, 15m, 5m, and your current chart timeframe. All information is presented in a single, compact table at the top of your chart.
▸ 3-State Classification
🚀 BULL (Cyan): Price broke above resistance - uptrend confirmed
📉 BEAR (Magenta): Price broke below support - downtrend confirmed
↔ RANGE (Yellow): Price contained within ATR-based threshold
▸ Time-Adaptive Range Detection
The range detection automatically adjusts sensitivity based on trading session:
• Tokyo Session 🌸: Lower sensitivity (quieter markets)
• London Session 🇬🇧: Standard sensitivity
• NY Session 🗽: Higher sensitivity (volatile markets)
▸ Overall Market Status
A large label at the bottom displays the aggregate market condition based on all timeframes, giving you an instant "at-a-glance" assessment.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CORE LOGIC
The indicator uses pivot high/low detection to establish dynamic support and resistance levels:
1. When price closes above the previous pivot high → BULL state
2. When price closes below the previous pivot low → BEAR state
3. When the price range (high line - low line) is less than ATR × sensitivity → RANGE state
This approach provides a more objective trend assessment than simple moving average crossovers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL DESIGN
Optimized for live streaming and screen recording:
- Neon color scheme (Cyan/Magenta/Yellow) for maximum visibility
- Bold text formatting for readability at any resolution
- Glow effect borders for professional appearance
- Emoji icons for instant pattern recognition
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ DISCLAIMER
This indicator is designed for educational and analytical purposes. It does not provide buy/sell signals and should not be used as a standalone trading system. Always combine with your own analysis and risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
【日本語解説】
🚦 RSHL 3色信号機 v2.0 - マルチタイムフレーム環境認識ツール
■ 概要
複数時間足の相場状況を「信号機」形式で一目で把握できるインジケーターです。ライブ配信やリアルタイム分析に最適化されており、現在の相場がBULL(上昇)🚀、BEAR(下降)📉、RANGE(レンジ)↔のいずれかを即座に判断できます。
■ 主要機能
- MTF分析:4時間足、1時間足、15分足、5分足、チャート足の5つを同時表示
- 3状態分類:ピボットハイ/ローに基づく客観的なトレンド判定
- 時間適応:東京🌸/ロンドン🇬🇧/NY🗽セッションに応じて感度を自動調整
- 総合判定:全時間足を集約した「BULL相場」「BEAR相場」「レンジ相場」ラベル
■ ロジック解説
RSHLメソッドは、ピボットハイ(直近高値)とピボットロー(直近安値)を動的なサポート/レジスタンスとして使用します。
1. 価格がピボットハイを上抜け → BULL状態
2. 価格がピボットローを下抜け → BEAR状態
3. 価格レンジがATR×感度以下 → RANGE状態
単純な移動平均クロスよりも、より客観的なトレンド評価が可能です。
■ デザインの特徴
- ネオンカラー(シアン/マゼンタ/イエロー)で視認性最大化
- 太字フォーマットでどの解像度でも読みやすい
- グロー効果のボーダーでプロフェッショナルな外観
- 絵文字アイコンで瞬時にパターン認識
■ 注意事項
本インジケーターは教育・分析目的で設計されています。売買シグナルを提供するものではありません。必ずご自身の分析とリスク管理と組み合わせてご使用ください。
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by EduVest | 30 Years of STEM Education Experience
For customization inquiries, please see my profile.
Elder Unified Strategy Final v2.1Description:
1. Philosophy & Concept
This strategy is a modern implementation of Dr. Alexander Elder’s legendary "Triple Screen Trading System" and the "Impulse System." The core philosophy is to filter every trading decision through three distinct timeframes ("Screens") to minimize risk and align with the dominant market force:
Screen 1 (The Tide): The long-term trend (Higher Timeframe).
Screen 2 (The Wave): Intermediate corrections/pullbacks on the current chart.
Screen 3 (The Ripple): The specific entry trigger when momentum realigns with the trend.
2. Why This Script Was Tuned? (The Enhancement)
In the classic Elder definition, the "Tide" is determined strictly by the slope of the Weekly MACD Histogram.
The Tuning: In strongly trending markets (like Gold or Crypto), deep pullbacks often cause the MACD Histogram on the higher timeframe to slope down temporarily. This results in valid Dip-Buying opportunities being rejected because the strict filter turns the "Traffic Light" red too early.
The Solution (v2.1 Tuning): We introduced a "Tide Filter Mode" selector:
Classic Mode: Uses MACD Slope (Very strict, fewer signals).
Trend Mode (Default): Uses the HTF EMA 200. As long as the price is above the HTF EMA 200, the trend is considered Bullish. This allows the strategy to capture high-probability pullbacks in strong trends without being filtered out prematurely.
3. Key Features
Unified Dashboard: Monitors the Tide (HTF), Wave (Stochastic), and Impulse (Momentum) status in a single, non-intrusive panel.
Dual-Signal Logic: Supports both "Swing Pullback" traders and "Momentum Breakout" traders.
Visual EMAs: Automatically displays the Tactical EMAs (13 & 26) for short-term crossovers and the Strategic EMA (200) for the major trend baseline.
Impulse Coloring: Bars are colored Green (Bullish), Red (Bearish), or Blue (Neutral) based on the combined momentum of EMA and MACD.
4. How to Use (Strategy Guide)
Select your Trading Mode in the settings menu:
A. STANDARD MODE (Triple Screen / Swing)
Best for traders who prefer buying "on sale" during a trend.
BUY Rules:
Screen 1: HTF is Bullish (Price > HTF EMA 200).
Screen 2: Stochastic drops into Oversold (<20) or crosses back up.
Screen 3: Price breaks above the previous candle's High.
Visual: "TS Buy" Label (Lime Green).
SELL Rules: The inverse of Buy (HTF Bearish + Stoch Overbought).
B. AGGRESSIVE MODE (Impulse Momentum)
Best for traders who prefer catching breakouts and strong momentum moves.
BUY Rules:
Screen 1: HTF is Bullish.
Screen 2: The candle turns GREEN (Impulse System: EMA 13 rising + MACD Hist rising).
Visual: Small "Mom" Triangle (Teal).
C. HYBRID MODE
Displays both signal types simultaneously for a complete market overview.
5. Settings
Tide Filter (Screen 1): Set to "HTF EMA Direction" for responsive trend-following (recommended), or "MACD Slope" for the strict classic method.
HTF Multiplier: The time factor for the Higher Timeframe. (e.g., Input 5 on a 15m chart = H1 Trend Data).
Show Tactical EMAs: Toggles the visibility of the EMA 13 (Blue) and EMA 26 (Purple).
Disclaimer
This indicator is for educational and analytical purposes only. Past performance does not guarantee future results. Always use proper risk management and Stop Losses.
Multi-timeframe RSI & Stochastic dashboard with visual gradient █ OVERVIEW
The MTF RSI + Stochastic Dashboard displays RSI and Stochastic values across 6 customizable timeframes in a compact, visual format. Instead of switching between charts or opening multiple indicator windows, see all your momentum data at a glance.
This indicator combines two of the most popular oscillators (RSI and Stochastic) and shows you where they agree—and where they don't.
█ FEATURES
- 6 Customizable Timeframes — Default: 1m, 5m, 15m, 1H, 4H, Daily (fully adjustable)
- Combined RSI + Stochastic Signal — Shows agreement between both indicators
- Visual Gradient Meters — Left side = Stochastic, Right side = RSI
- Color-Coded Status — OB (Overbought), OS (Oversold), Bull, Bear, S.Bull (Strong Bull), S.Bear (Strong Bear), Mixed
- Overall Trend Bias Bar — Shows percentage of timeframes bullish vs bearish
- Built-in Alerts — Trigger when all timeframes align or reach 80%+ agreement
- Fully Customizable — Colors, position, scale, spacing all adjustable
█ HOW TO READ IT
ROW 1 - TIMEFRAME
Shows which timeframe each column represents.
ROW 2 - COMBINED VALUE
The average of RSI and Stochastic for that timeframe. Color indicates the current state.
ROW 3 - STATUS
- OB = Both RSI and Stochastic overbought (>70/80)
- OS = Both RSI and Stochastic oversold (<30/20)
- Bull = Both indicators bullish (>50)
- Bear = Both indicators bearish (<50)
- S.Bull = Strong bullish (one OB, one Bull)
- S.Bear = Strong bearish (one OS, one Bear)
- Mixed = Indicators disagree
ROW 4 - GRADIENT METERS
Visual representation of RSI (right half) and Stochastic (left half) levels.
- Purple/Magenta = Overbought zone
- Green = Bullish zone
- Yellow/Orange = Neutral zone
- Red = Bearish zone
- Cyan = Oversold zone
BOTTOM BAR - TREND BIAS
Shows overall market bias based on all 6 timeframes.
- STRONG BULL = 70%+ timeframes bullish
- BULL = 55%+ timeframes bullish
- STRONG BEAR = 70%+ timeframes bearish
- BEAR = 55%+ timeframes bearish
- MIXED = No clear direction
█ HOW TO USE IT
CONFLUENCE TRADING
Look for multiple timeframes showing the same status. When 4+ timeframes agree, the signal is stronger.
DIVERGENCE SPOTTING
If lower timeframes show bearish while higher timeframes show bullish, price may be pulling back in an uptrend—potential buy opportunity.
OVERBOUGHT/OVERSOLD EXTREMES
When multiple timeframes hit OB or OS together, watch for potential reversals.
TREND CONFIRMATION
Use the bias bar to confirm your directional bias before entering trades.
█ SETTINGS
RSI Settings
- Length, Source, OB/OS levels
Stochastic Settings
- %K Length, %K Smoothing, %D Smoothing
- Choose to display %K or %D
- OB/OS/Mid/Zero levels
Timeframes
- 6 fully customizable slots
Layout
- Position offset, scale, box sizing, spacing
Colors
- Full control over all visual elements
█ ALERTS
- All Timeframes Bullish — Triggers when all 6 show bullish
- All Timeframes Bearish — Triggers when all 6 show bearish
- Strong Bullish Alignment — Triggers at 80%+ bullish
- Strong Bearish Alignment — Triggers at 80%+ bearish
█ BEST WAY TO DISPLAY THIS INDICATOR
For optimal viewing, follow these steps:
1. ADD THE INDICATOR
• Keep all settings at default — they're optimized for immediate use
2. SCALE YOUR CHART
• Right-click on the price scale (right side of chart)
• Select "Reset Price Scale" or double-click the price scale
• Use your mouse scroll wheel on the price scale to zoom OUT vertically
• This enlarges the indicator relative to the price action
3. POSITION ADJUSTMENT (if needed)
• Vertical Offset: Increase if indicator overlaps candles
• Horizontal Offset: Move left/right to your preference
• Overall Scale Size: Increase for larger display (default 2.0)
4. CHART SHIFT (recommended)
• Enable "Shift Chart" at the bottom-right of TradingView
• This gives the indicator room on the right side of your chart
PRO TIP: The indicator scales with your visible price range. Zoom out on the price scale (not the time scale) to make the dashboard larger and easier to read.
█ NOTES
- Non-repainting: Uses confirmed bar data for calculations
- Overlay indicator: Displays directly on your price chart
- Compatible with all markets and timeframes
- Free to use — part of the XRayTrade indicator collection
█ CREDITS
Developed by XRayTrade
VIXO - VIX OscillatorVIXO (VIX Oscillator) is a volatility oscillator built from the CBOE Volatility Index (symbol: TVC:VIX). It helps visualize volatility regime shifts by combining a smoothed VIX RSI with a normalized VIX momentum component, plus a VIX histogram that becomes more/less prominent depending on how far VIX is from its moving average. It helps you assess whether market conditions may be approaching rare but powerful squeeze phases.
WHAT THIS INDICATOR PLOTS
1) VIX RSI (cyan line)
- RSI is calculated on the VIX close and then smoothed (SMA) to reduce noise.
- Use it to observe short-term momentum in volatility rather than price.
2) VIX Normalized Momentum (gray line)
- Momentum is measured as ROC (rate of change) of the VIX close.
- That ROC is normalized to a 0–100 scale using a rolling lookback window:
- 50 is the midpoint of the recent momentum range (neutral within the selected window).
- Values near 0/100 indicate momentum near the low/high of that lookback window.
3) VIX Value Bars (histogram)
- Histogram shows the raw VIX value.
- Bar visibility is dynamically adjusted (transparency changes) based on the ratio of VIX to its 21-period SMA:
- When VIX is close to its MA, bars are more transparent.
- When VIX deviates more from its MA (within a capped range), bars become more visible.
- If VIX High is below 30, the script intentionally keeps bars fully transparent to reduce visual clutter.
LEVELS (REFERENCE ONLY)
The horizontal levels are visual guides to help segment oscillator zones. They are not guarantees and should not be treated as standalone trade signals:
- 80: “Panic of Market”
- 60: “VIX says BUY” (label only; not financial advice)
- 50: “Neutral / Momentum Mid”
- 40: “Get Ready”
HOW TO USE
- Apply VIXO to any chart. The indicator always pulls TVC:VIX data, regardless of the chart symbol.
- Typical interpretation:
- Rising VIX RSI and/or rising normalized momentum can indicate increasing volatility pressure.
- Falling readings can indicate volatility easing.
- Compare changes in VIXO with your chart’s price structure, trend filters, or risk management framework.
INPUTS
- RSI Length: RSI period on VIX close (smoothed afterward).
- Momentum Length: ROC period on VIX close.
- Momentum Normalization Lookback: window used to scale ROC into 0–100.
DATA & BEHAVIOR NOTES
- Data source: request.security("TVC:VIX", timeframe.period, OHLC).
- The script does not use lookahead to access future data.
- On realtime bars, values can update while the current bar is forming; historical bars remain fixed once closed.
- Availability of TVC:VIX data depends on your TradingView data access.
IMPORTANT DISCLAIMER
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice. It does not predict the future, does not guarantee results, and should not be used as the sole basis for any trading decision. Always validate signals with additional analysis and use appropriate risk management.
Anchor NDX: Institutional Trend & Pyramiding FortressIMPORTANT: Trading Warning & Disclaimer
Trading is a marathon of discipline. While the Anchor V30.0 shows exceptional historical performance, please note:
Pyramiding Risk: Pyramiding increases your total market exposure. Ensure your broker can handle the margin requirements.
Nasdaq Bias: This strategy is optimized for the Nasdaq's historical long-bias. It is a "Bull-Market-Engine." Results on other assets may vary significantly.
Emotional Control: The strategy may open multiple positions during a trend. You must trust the math and the stops. Do not manually interfere with the algorithm.
Past Performance: Historical results are no guarantee of future profits. Never trade with money you cannot afford to lose.
**********************************************************************************************************************
Description:
The Power of the Anchor: Experience the perfect symbiosis of ironclad capital preservation and aggressive trend maximization. The Anchor NDX is a high-performance long-only strategy specifically engineered for the Nasdaq 100. It transforms market volatility into a strategic advantage by using institutional-grade risk management combined with a relentless pyramiding logic.
The Three Pillars of Success:
The Trend Shield: A 170-period SMA combined with a 14-period ADX (15+) acts as your primary filter. This ensures you only enter the market when the "current" is strong and directional, effectively bypassing chop and sideways death zones.
The Recapture Logic (Healing): Trading is a game of probabilities. If stopped out while the primary trend remains intact, the "Recapture" module allows for up to 3 controlled re-entries based on RSI cooling periods ($\le 60$) and price action breakouts.
The Attack Cascade (Pyramiding): Winners are not just managed; they are scaled. During a strong bull run, the strategy identifies RSI pullbacks ($\le 55$) to add "slices" to the position, compounding gains while the trend matures.
Institutional Risk Framework:
The 2% Rule: Each individual slice is mathematically calculated to risk exactly 2.0% of current equity based on the 3-bar wick-stop.
Adaptive Wick-Stop: Protection is anchored to the most recent 3-bar swing low, providing a "breathing" stop-loss that respects market structure.
Leverage Brake: Integrated safety ceiling (15x max) to protect against extreme weekend gaps and black swan events.
Verified Backtest Performance (Nasdaq D1):
Profit Factor: 5.18
Win Rate: ~51%
Philosophy: Disciplined, rule-based compound growth.
Trend Following MACD + MA Ribbon+ADX+CMOTraders - this is a trend following strategy, It uses MACD, ADX, and EMA 1 & EMA 3 during the entry. For the exits, it uses price action piercing EMA 2, along the Chande Momentum Oscillator. For those not familiar, this is a cousin to the RSI, and Stocastic and responds very well to fast moving changes of regime. I have used this mostly with crypto currency, but other assets may work well. Enjoy and safe trading
Laguerre Timeframe OscillatorLaguerre Timeframe Breadth Oscillator
Multi-timeframe × multi-gamma Laguerre breadth model
────────────────────────
Usage Notes
────────────────────────
• This is a regime & consensus indicator, not a trigger
• Best used for trend validation and risk filtering
• Extreme values tend to persist during strong regimes
This indicator answers a single question:
“Out of 198 independent Laguerre filters, how many are currently rising?”
────────────────────────
Concept
────────────────────────
Using Laguerre polynomials, we aggregate price behavior across:
• 11 explicit timeframes (1-minute → 1-day)
• 18 gamma responsiveness levels (0.10 → 0.95)
This produces 198 independent Laguerre curves.
The final oscillator is NOT price.
It represents a directional consensus across timescales and smoothing sensitivities.
────────────────────────
Laguerre Filter Mathematics
────────────────────────
For each Laguerre line i:
L0ᵢ(t) = (1 − γᵢ) · x(t) + γᵢ · L0ᵢ(t−1)
L1ᵢ(t) = −γᵢ · L0ᵢ(t) + L0ᵢ(t−1) + γᵢ · L1ᵢ(t−1)
L2ᵢ(t) = −γᵢ · L1ᵢ(t) + L1ᵢ(t−1) + γᵢ · L2ᵢ(t−1)
L3ᵢ(t) = −γᵢ · L2ᵢ(t) + L2ᵢ(t−1) + γᵢ · L3ᵢ(t−1)
Smoothed output:
Yᵢ(t) = ( L0ᵢ + 2·L1ᵢ + 2·L2ᵢ + L3ᵢ ) / 6
This weighted sum smooths noise while preserving phase better than a traditional EMA.
────────────────────────
Gamma Responsiveness
────────────────────────
Gamma controls responsiveness vs stability:
0.10 — Very fast, noisy
0.40 — Momentum-sensitive
0.70 — Trend-stable
0.95 — Very slow, structural
Each timeframe is evaluated across all gamma levels.
────────────────────────
Timeframes Used (11)
────────────────────────
Minutes: 1, 3, 5, 10, 15, 30, 45
Hours: 1, 2, 4
Days: 1
────────────────────────
Direction Test
────────────────────────
Each Laguerre line votes “up” or “down”:
Iᵢ(t) = 1 if Yᵢ(t) > Yᵢ(t−1)
Iᵢ(t) = 0 otherwise
────────────────────────
Breadth Calculation
────────────────────────
greenCount(t) =
I₁(t) + I₂(t) + I₃(t) + … + I₁₉₈(t)
Total number of rising Laguerre filters.
────────────────────────
Centered Breadth Oscillator
────────────────────────
oscRaw(t) = greenCount(t) − 99
(99 = half of 198; zero represents balanced breadth)
────────────────────────
Smoothing & Amplification
────────────────────────
EMA smoothing:
oscSmooth(t) = EMA₁₀₀(oscRaw)
Extreme emphasis:
oscExtreme(t) = 2 · oscSmooth(t)
────────────────────────
Clamped Final Output
────────────────────────
osc(t) = max( −99 , min( 99 , oscExtreme(t) ) )
Range:
• −99 → all filters falling
• 0 → mixed / neutral
• +99 → all filters rising
────────────────────────
Optional Probabilistic Interpretation
────────────────────────
p(t) = greenCount(t) / 198
Interpretable as the probability of upward directional alignment.
Reach out on Discord if you need further guidance. - Coño Vista
Premium Money Flow Oscillator [NeuraAlgo]Premium Money Flow Oscillator (PMFO) — NeuraAlgo
The Premium Money Flow Oscillator (PMFO) is an advanced volume-weighted momentum engine designed to reveal true capital flow, not just price movement.
It combines multi-layer smoothing, zero-lag correction, and dynamic normalization to deliver a clean, responsive, and noise-resistant money flow signal suitable for both scalping and swing trading.
Unlike traditional oscillators, PMFO focuses on pressure behind price — showing when smart money accumulation or distribution is actively occurring.
🔹 Core Features
Volume-Weighted Money Flow
Measures real buying and selling pressure using price displacement × volume.
Filters out weak price moves with low participation.
Multi-Layer Smoothing Engine
EMA + SMA hybrid base smoothing
Gaussian noise reduction
Zero-Lag correction
Deep & Super smoothing layers
→ Result: ultra-smooth yet fast reaction to momentum shifts.
Dynamic Normalization
Automatically adapts to volatility.
Keeps signals consistent across all markets and timeframes.
🔹 Smart Zones & Visual Intelligence
Dynamic Overbought / Oversold Zones
Zones strengthen visually as momentum increases.
Strong zones highlight extreme institutional pressure.
Adaptive Gradient Coloring
Color intensity reflects money flow strength.
Instantly see dominance without reading numbers.
Background Pulse
Subtle market bias feedback (bullish / bearish pressure).
🔹 Multi-Timeframe Confirmation
Optional Higher Timeframe Money Flow Confirmation
Align lower-timeframe entries with higher-timeframe capital direction.
Ideal for trend validation and false-signal reduction.
🔹 Professional Dashboard
Live Money Flow Value
Market Flow State
Strength Percentage
MTF Trend Bias
Institutional-style status readout designed for quick decision making.
🔹 Best Use Cases
✔ Trend confirmation
✔ Momentum continuation entries
✔ Reversal exhaustion detection
✔ Divergence analysis
✔ Smart money flow tracking
⚠️ Notes
PMFO works best when combined with price structure, support/resistance, or trend context.
Extreme readings indicate pressure, not immediate reversal — always wait for confirmation.
Designed for traders who want clarity, not clutter.
Built for precision, not lag.
Trend Force Index (HTF Momentum)📌 Description
Trend Force Index • HTF Momentum (TFI-HTF) is a market context and trend-strength indicator designed to help traders understand directional force, momentum quality, and higher-timeframe bias.
This tool measures directional impulse and trend pressure using a dual-average force model, normalized by volatility. Instead of producing buy or sell signals, it focuses on how strong a move is, which side controls the market, and whether price is in a trending or compressing state.
🔍 What This Indicator Shows
Directional Force: Identifies bullish, bearish, and neutral force zones
Momentum Quality: Differentiates strong trends from weak or fading moves
Compression Zones: Highlights low-force environments where trades are often lower quality
Higher-Timeframe Context (HTF): Displays directional bias from a higher timeframe for alignment
Volatility Normalization: Adapts to changing market conditions using ATR
🧭 How to Use
Use force direction to confirm price action or structure-based setups
Trade in alignment with HTF bias for higher-probability context
Avoid entries during compression / low-force zones
Best used alongside price action, market structure, VWAP, or support & resistance
🎛 UI Presets
PRO Mode: Clean, subdued visuals for experienced traders
BEGINNER Mode: Higher contrast visuals for easier interpretation
⚠️ Important Notes
This indicator does NOT generate buy or sell signals.It is intended for analysis, confirmation, and market context only. Always combine with your own trading plan and risk management
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only.It does not constitute financial advice or trade recommendations.All trading decisions and associated risks remain the sole responsibility of the user.Past market behavior does not guarantee future results.
Stock Expansion Pullback Screener (v6)Recommended Stock Settings for the Intraday momentum stocks:
➡️ Timeframe: 15m
➡️ ATR Mult: 1.3
➡️ Max bars: 10–15
➡️ Swing trading
➡️ Timeframe: 1H / 4H
➡️ ATR Mult: 1.5
➡️ Max bars: 20–30
KDJ Momentum Matrix ProKDJ Momentum Matrix Pro (Trend Filter & Structural Divergence)
Overview
This is a professional-grade KDJ indicator script designed for systematic traders. It transcends the basic KDJ logic by integrating advanced technical analysis features, including dynamic trend filtering and structural divergence alerts. The script leverages intuitive color schemes and visual markers to help traders identify high-probability setups amidst market noise.
Key Features
Dynamic J-Line Coloring: The J-line switches between Green (Bullish) and Red (Bearish) based on momentum, providing instant feedback on market strength.
Visual Overbought/Oversold Zones: Shaded 80/20 regions help traders identify market extremes and potential exhaustion points.
Structural Divergence Alerts: Built-in detection for potential Bullish Divergence, serving as a powerful confluence tool for Chan Lun (Zen Theory) Type 1 entries.
Precision Signal Markers: Identifies high-conviction Gold Crosses in oversold zones and Death Crosses in overbought zones.
Strategic Integration
Chan Lun (Zen Theory): Use KDJ divergence to validate "Central Segment" (Zhong Shu) exhaustion and identify potential trend reversals.
Turtle Trading Rules: Utilize the script to find pullbacks within a major trend for scaling in, or use J-line exhaustion as an early warning for trend exits.
Advanced Analysis: Apply the 80/20 rule combined with divergence patterns to build a robust framework for navigating both trending and ranging markets.
KDJ 进阶策略分析脚本 (趋势过滤与结构背离版)
简介
这是一个专为进阶交易者设计的 KDJ 指标脚本。它不仅完美呈现了传统的 K、D、J 三线逻辑,更融入了现代高级技术分析中的动态趋势过滤与背离预警功能。脚本通过视觉化的颜色切换与符号标记,帮助交易者在复杂的市场波动中识别高质量的入场机会。
核心功能
动态 J 线变色:J 线根据动量强弱实时切换红绿颜色,直观反映多空博弈状态。
超买/超卖视觉化:自动填充 80/20 警戒区域,辅助识别极端市场情绪。
结构性背离预警:内置逻辑可识别价格与指标间的疑似底背离,为缠论第一类买点提供辅助参考。
信号标记:精确捕捉低位金叉与高位死叉,过滤无效杂波。
交易系统结合点
缠论结合:通过 KDJ 在超卖区的背离表现,辅助确认中枢背驰或小级别转大级别的转折点。
海龟交易法:利用 KDJ 辅助寻找趋势回调后的补仓位置(顺势金叉),或作为趋势衰竭的早期预警离场参考。
高级技术分析:结合 80/20 区域规则,利用指标钝化与交叉逻辑,构建完整的震荡与趋势切换框架。
Stochastic RSI with DivergencesStochastic RSI with Divergences - Enhanced Edition
DESCRIPTION
- This is an enhanced version of the classic Stochastic RSI indicator with divergence detection, originally created by @fskrypt (Log RSI), @RicardoSantos (Divergences), @JustUncleL (edits), and @NeoButane (2018 modifications). Full credit to these talented developers for the foundational work.
ENHANCEMENTS & MODIFICATIONS
- This version adds several user-requested features for improved customization and clarity:
- Divergence Signal Labels: Regular divergence signals now display "Buy" (green) and "Sell" (red) instead of generic "R" markers. Hidden divergences show "H-Buy" and "H-Sell" for clearer identification.
- Customizable Colors: User-adjustable colors for both K line (default: blue) and D line (default: orange) allow traders to match their chart themes.
- Adjustable Transparency: Separate opacity controls for the K/D fill shading (default: 70%) and background zones (default: 98%) provide precise visual customization without overwhelming the chart.
- Optional Divergence Lines: Toggle the green and red divergence connecting lines on/off while keeping the Buy/Sell labels visible, reducing visual clutter when desired.
- Organized Settings: All inputs are logically grouped (StochRSI Settings, Divergence Settings, Colors, Opacity) for easier navigation and configuration.
HOW IT WORKS
- The indicator identifies regular and hidden divergences between price action and the Stochastic RSI oscillator:
- Regular Bullish Divergence (Buy): Price makes lower lows while StochRSI makes higher lows - potential reversal signal
- Regular Bearish Divergence (Sell): Price makes higher highs while StochRSI makes lower highs - potential reversal signal
- Hidden Bullish Divergence (H-Buy): Price makes higher lows while StochRSI makes lower lows - trend continuation signal
- Hidden Bearish Divergence (H-Sell): Price makes lower highs while StochRSI makes higher highs - trend continuation signal
- The Stochastic RSI oscillates between 0-100, with readings above 80 indicating overbought conditions and below 20 indicating oversold conditions.
SETTINGS
StochRSI Settings
RSI Length: 14 (default)
Stoch Length: 14 (default)
K Smoothing: 3 (default)
D Smoothing: 3 (default)
Log Scale: Optional logarithmic transformation
Average K & D: Optional blending of both lines
Divergence Settings
Show Divergences: Toggle all divergence signals
Show Hidden Divergences: Toggle H-Buy/H-Sell signals
Show Divergence Lines: Toggle connecting lines between divergence points
Show Divergences Channel: Display fractal channels
Colors
K Line Color: Customize the fast line
D Line Color: Customize the slow line
Opacity
- Background Opacity: Control 20-80 zone shading (0-100)
K/D Fill Opacity: Control area between K and D lines (0-100)
USE CASES
- Momentum trading: Identify overbought/oversold conditions
Divergence trading: Spot potential reversals and trend continuations
Multi-timeframe analysis: Confirm signals across different timeframes
Trend confirmation: Use with other indicators for confluence
CREDITS
- Original concept and code: @fskrypt (Log RSI), @RicardoSantos (Divergence detection), @JustUncleL (modifications), @NeoButane (2018 updates)
Enhanced by: NPR21 (User interface improvements, label modifications, transparency controls)
MDZ Strategy v4.2 - Multi-factor trend strategyWhat This Strategy Does
MDZ (Momentum Divergence Zones) v4.2 is a trend-following strategy that enters long positions when multiple momentum and trend indicators align. It's designed for swing trading on higher timeframes (2H-4H) and uses ATR-based position management.
The strategy waits for strong trend confirmation before entry, requiring agreement across five different filters. This reduces trade frequency but aims to improve signal quality.
Entry Logic
A long entry triggers when ALL of the following conditions are true:
1. EMA Stack (Trend Structure)
Price > EMA 20 > EMA 50 > EMA 200
This "stacked" alignment indicates a strong established uptrend
2. RSI Filter (Momentum Window)
RSI between 45-75 (default)
Confirms momentum without entering overbought territory
3. ADX Filter (Trend Strength)
ADX > 20 (default)
Ensures the trend has sufficient strength, not a ranging market
4. MACD Confirmation
MACD line above signal line
Histogram increasing (momentum accelerating)
5. Directional Movement
+DI > -DI
Confirms bullish directional pressure
Exit Logic
Positions are managed with ATR-based levels:
ParameterDefaultDescriptionStop Loss2.5 × ATRBelow entry priceTake Profit6.0 × ATRAbove entry priceTrailing Stop2.0 × ATROptional, activates after entry
The default configuration produces a 1:2.4 risk-reward ratio.
Presets
The strategy includes optimized presets based on historical testing:
PresetTimeframeNotes1H Standard1 HourMore frequent signals2H Low DD2 HourConservative settings3H Optimized3 HourBalanced approach4H Swing4 HourWider stops for swing tradesCustomAnyFull manual control
Select "Custom" to adjust all parameters manually.
Inputs Explained
EMAs
Fast EMA (20): Short-term trend
Slow EMA (50): Medium-term trend
Trend EMA (200): Long-term trend filter
RSI
Length: Lookback period (default 14)
Min/Max: Entry window to avoid extremes
ADX
Min ADX: Minimum trend strength threshold
Risk
Stop Loss ATR: Multiplier for stop distance
Take Profit ATR: Multiplier for target distance
Trail ATR: Trailing stop distance (if enabled)
Session (Optional)
Filter entries by time of day
Recommended OFF for 3H+ timeframes
What's Displayed
Info Panel (Top Right)
Current preset
Trend status (Strong/Wait)
ADX, RSI, MACD readings
Position status
Risk-reward ratio
Stats Panel (Top Left)
Net P&L %
Total trades
Win rate
Profit factor
Maximum drawdown
Chart
EMA lines (20 blue, 50 orange, 200 purple)
Green background during strong uptrend
Triangle markers on entry signals
Important Notes
⚠️ This is a long-only strategy. It does not take short positions.
⚠️ Historical results do not guarantee future performance. Backtests show what would have happened in the past under specific conditions. Markets change, and any strategy can experience drawdowns or extended losing periods.
⚠️ Risk management is your responsibility. The default settings risk 100% of equity per trade for backtesting purposes. In live trading, appropriate position sizing based on your risk tolerance is essential.
⚠️ Slippage and commissions matter. The backtest includes 0.02% commission and 1 tick slippage, but actual execution costs vary by broker and market conditions.
Best Practices
Test on your specific market — Results vary significantly across different instruments
Use appropriate position sizing — Never risk more than you can afford to lose
Combine with your own analysis — No indicator replaces understanding market context
Paper trade first — Validate the strategy matches your trading style before risking capital
Alerts
Two alerts are available:
MDZ Long Entry: Fires when all entry conditions are met
Uptrend Started: Fires when EMA stack first aligns bullish
Methodology
This strategy is based on the principle that trend continuation has better odds than reversal when multiple timeframe momentum indicators agree. By requiring five independent confirmations, it filters out weak setups at the cost of fewer total signals.
The ATR-based exits adapt to current volatility rather than using fixed pip/point targets, which helps the strategy adjust to different market conditions.
Questions? Leave a comment below.
Relative Strength of a Stock vs NIFTY MIDCAP INDEXMidcap Relative Strength Indicator (RSI – Midcap Focused)
The Midcap Relative Strength Indicator is a specialized technical analysis tool designed to measure the performance of midcap stocks relative to a benchmark, such as a broad market index or sector index. Unlike traditional relative strength indicators that focus on individual stock momentum, this midcap-focused version highlights trends, strength, and potential outperformers specifically within the midcap segment of the market.
Key Features:
Relative Performance: Tracks how midcap stocks perform compared to a chosen benchmark, helping identify outperformers and underperformers.
Trend Analysis: Signals upward or downward momentum in midcap stocks, aiding traders in timing entries and exits.
Portfolio Insights: Supports investors in allocating resources to midcap stocks showing strong relative strength.
Customizable Parameters: Users can adjust the period or benchmark to suit different trading horizons or market conditions.
Use Case:
This indicator is particularly useful for traders and investors seeking to capture growth opportunities in midcap stocks while managing risk by focusing on stocks showing relative strength within this market segment. It helps uncover trends that may not be visible through general market indicators.
MACD Matrix: Angle & SettlementThis indicator is a comprehensive Multi-Timeframe (MTF) Dashboard designed for technical traders who rely on MACD not just for crossovers, but for Momentum Angle and Settlement (Hooks).
Instead of cluttering your screen with 5 different MACD charts, this Matrix calculates the math in the background and presents a clean "Heads-Up Display" of the MACD state across your specific timeframes (Default: 3m, 15m, 1h, 4h, 16h).
The Concept: "Angle Settlement"
Standard MACD indicators only show you when a cross happens. By then, the move is often halfway over. This script focuses on the Angle (Slope) of the MACD line to predict turns before they happen:
Steep Angle: Momentum is accelerating. (Strong Trend)
Settling Angle: The slope is flattening out. The MACD line is "hooking." (Reversal/Cross Imminent)
Dashboard Columns Explained
TF (Timeframe): Auto-formats your settings into readable text (e.g., "240" becomes "4h").
Zone:
> 0 (Green): MACD is above the Zero Line (Bullish Trend context).
< 0 (Red): MACD is below the Zero Line (Bearish Trend context).
Cross:
PCO (Green): Positive Crossover (MACD > Signal).
NCO (Red): Negative Crossover (MACD < Signal).
Deg (°):
The calculated mathematical angle of the MACD line.
Positive (+): Momentum is rising.
Negative (-): Momentum is falling.
State (The Strategy):
STEEP (Bright Color): The angle is increasing. Do not trade against this momentum.
SETTLE (Dim Color): The angle is decreasing compared to the previous bar. The momentum is "cooling off," often signaling a "Hook" or an upcoming crossover.
Settings & Customization
Custom Timeframes: You can freely change TF-1, TF-2, etc., in the settings. The table labels will auto-update (e.g., if you change 4h to 1D, the table will display "1D").
MACD Lengths: Fully customizable (Default 12, 26, 9).
Angle Sensitivity: A multiplier to calibrate the "Degrees" to your specific asset class (Crypto, Forex, or Indices). If angles look too small, increase this value.
BTC vs GOLD Macro RotationBTC vs GOLD Macro Rotation Indicator
BTC vs GOLD Macro Rotation Model
This indicator is a macroeconomic rotation model that compares the relative attractiveness of Bitcoin (BTC) versus Gold (GOLD) based on multiple fundamental macro factors.
How does it work?
The model analyzes weekly data from various macroeconomic indicators and generates a score for each asset. The taller bar indicates the preferred asset to rotate capital into.
- Green bars (above zero): BTC strength
- Yellow bars (below zero):GOLD strength
- Info table:Shows exact percentages and rotation recommendation
Macroeconomic Factors Analyzed:
1. DXY (US Dollar Index)
- Strong dollar → Favors GOLD
- Weak dollar → Favors BTC
2. Oil (WTI Crude)
- Oil rising → Favors GOLD
- Oil falling → Favors BTC
3. Copper
- Copper rising → Favors BTC (risk-on)
- Copper falling → Favors GOLD (risk-off)
4. Real Rates (Fed Funds - YoY Inflation)
- Real rates falling → Favors GOLD
- Real rates rising → Favors BTC
5. Fertilizer/Natural Gas Regime (Urea, Ammonia, Natural Gas)**
- Specific combinations of movements in these commodities generate inflationary/deflationary regime signals
Fertilizer Rules:**
| Urea | Ammonia | Gas | Signal |
|------|---------|-----|--------|
| ↑ | ↑ | ↓ | GOLD +2 |
| ↑ | ↑ | ↑ | GOLD +3, BTC -1 |
| ↓ | ↓ | ↓ | BTC +3, GOLD -1 |
| ↑ | ↓ | ↓ | BTC +3 |
| ↓ | ↑ | ↑ | GOLD +3, BTC -1 |
Technical Features:
- Operates on weekly timeframe regardless of chart
- Normalized changes for signal stability
- Configurable EMA smoothing
- Safe handling of invalid symbols (won't break if a ticker doesn't exist)
- All tickers are user-editable
Configurable Inputs:
- Symbols for all assets (BTC, GOLD, DXY, Oil, Copper, CPI, Fed Funds, Gas, Urea, Ammonia)
- Individual weights for each macro component
- Normalization length
- EMA smoothing
Interpretation:**
- **BTC dominant (taller green):** Macro conditions favor risk/digital assets
- **GOLD dominant (taller yellow):** Macro conditions favor safe-haven/tangible assets
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always do your own research before making investment decisions.
Recommended Timeframe: Weekly (W) or Daily (D)
Intuitive Predictive MACD TargetsThis indicator uses Reverse Engineering math to calculate the exact price the market needs to reach for specific MACD events to happen on the current bar.
Standard MACD is a lagging indicator—you usually wait for the candle to close to confirm a signal. This script changes that by drawing "Finish Lines" on your chart, showing you exactly where price must go right now to trigger a Crossover or a Momentum Hook.
The "Reverse Engineering" Concept
Instead of calculating MACD from Price, we calculate the Required Price from the Target MACD.
Q: "At what price will the MACD line cross the Signal line?"
A: The script solves this and draws the Green/Red "Crossover" Line.
Key Features
1. Three Distinct Targets
Crossover Target (PCO/NCO): The exact price needed to trigger a Buy/Sell signal on the current candle.
Dynamic Coloring: Turns Green if price needs to go UP to cross, Red if price needs to go DOWN.
Settlement Target (The Hook): The exact price where the MACD momentum flattens out (Angle = 0). If price touches this Orange Dashed Line, the trend is likely pausing or preparing to reverse.
Zero Cross Target: The price needed for MACD to reclaim the Zero Line.
2. Smart "Staggered" Labels (No Overlap)
Unlike other scripts where text piles up and becomes unreadable, this indicator automatically spreads labels horizontally.
Crossover info stays near the price.
Settlement info is shifted to the right.
Zero info is shifted further right.
Result: You can read all three targets clearly, even if the prices are almost identical.
3. Full Customization
Line Length: Choose "Infinite" to see targets as Support/Resistance levels across the screen, or "Short" to keep your chart background clean.
Text Visibility: Option to force text to White or Black for high contrast on Dark/Light themes.
Styles: Fully adjustable colors, line widths, and styles (Solid, Dashed, Dotted) for each target type.
How to Use
The "Finish Line" Strategy: If you are Long, and the Red NCO Line appears just below the current price, be cautious. It means a very small drop will confirm a Bearish Cross.
Momentum Checks: Watch the Orange "Settlement" Line.
If price is moving away from the Orange line, the trend is accelerating (Safe to hold).
If price touches the Orange line, momentum has died (Consider taking profit).
Settings
Visual Settings: Change Line Length (Infinite/Short) and Text Color.
MACD Settings: Standard inputs (Default 12, 26, 9).
Toggles: Option to show/hide the Zero Line target.
Stacked 3 Stochastics [Wonniewant]Stacked 3 Stochastics
This indicator is designed for traders who need multi-timeframe momentum analysis in a single, compact view. Instead of cluttering your screen with three separate oscillator panes, this script stacks three Stochastic Oscillators vertically within one panel using an offset technique.
It provides a clear hierarchy of market momentum, from slow trends to fast execution signals, without overlapping lines.
Key Features:
Triple Layered View (Stacked):
Top Layer (Slow): Default 20-12-12. Best for identifying major trend direction and reversals.
Middle Layer (Medium): Default 10-6-6. Acts as a bridge between the trend and entry signals.
Bottom Layer (Fast): Default 5-3-3. Ideal for pinpointing precise entry and exit timing.
Clean Visualization:
Each Stochastic has its own dedicated zone (0-100, 125-225, 250-350), so the lines never get messy or confused.
Reference Lines: Clearly marked 80 (Overbought) and 20 (Oversold) levels for each individual layer directly on the chart.
Separators: Distinct white lines separate the layers for better readability.
Full Customization:
Toggle visibility for any layer.
Customize K & D Lengths, Smoothness, Colors, and Line Widths for each Stochastic independently via the settings menu.
How to Use:
Top Layer (Slow): Watch for crosses in the overbought/oversold zones to gauge the overall market sentiment.
Bottom Layer (Fast): Use for short-term trade execution when aligned with the upper layers.
Divergence: Compare the three layers to spot momentum divergence across different time horizons.
Author: Wonniewant
Demand Index - Metastock VersionThis script implements the Demand Index, a complex technical indicator originally developed by James Sibbet. This specific version is adapted from the classic MetaStock formula to ensure accuracy and consistency with the original methodology.
The Demand Index combines price and volume data to relate price pressure to volume intensity. It is often used as a leading indicator to predict price trends by assessing the balance between buying pressure (Demand) and selling pressure (Supply).
How It Works
The calculation involves several steps to normalize volume and price changes:
Weighted Close: It calculates a weighted close price giving extra weight to the closing price (High + Low + 2*Close) / 4.
Volatility & Volume Averages: It computes the Average True Range (ATR) proxy and an Exponential Moving Average (EMA) of the volume to establish a baseline.
Buying & Selling Pressure: The core logic compares the current weighted close to the previous one.
If prices rise, the volume is assigned to Buying Pressure.
If prices fall, the volume is assigned to Selling Pressure.
A decay factor (Constant) is applied based on volatility to smooth the reaction to extreme price moves.
The Index: The final oscillator is derived from the ratio of smoothed Buying Pressure to Selling Pressure.
How to Use It
The Demand Index oscillates around a zero line. Traders typically look for the following signals:
Divergence: This is the most common use.
Bullish Divergence: Prices are making new lows, but the Demand Index is making higher lows. This suggests selling pressure is waning and a reversal may be imminent.
Bearish Divergence: Prices are making new highs, but the Demand Index is making lower highs. This suggests buying pressure is drying up.
Zero Line Crossovers:
A cross above zero indicates that Buying Pressure has overtaken Selling Pressure (Bullish).
A cross below zero indicates that Selling Pressure has overtaken Buying Pressure (Bearish).
Trend Confirmation: In a strong trend, the Demand Index should generally move in the same direction as the price.
Settings
Length: The lookback period for the moving averages (Default is 19, consistent with the standard MetaStock setting).
Originality & Credits
This script is a direct translation of the mathematical formula used in MetaStock software. While the Demand Index concept belongs to James Sibbet, this specific Pine Script implementation is provided as open source for the community to study and utilize.
Disclaimer:
This script is for educational and informational purposes only. It DOES NOT constitute financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always do your own research before making investment decisions.






















