Wskaźnik Pine Script®
Wskaźniki i strategie
EMA Cross with MTF Understanding EMA Crossover and Multi-Time Frame SMA Crossover in Technical Analysis
Technical indicators like Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) are foundational tools for traders to identify trends, momentum shifts, and potential entry/exit points in markets such as stocks, forex, or cryptocurrencies. Crossovers—where one average line crosses another—signal changes in trend direction. Below, I'll break down EMA crossovers, then extend to multi-time frame (MTF) SMA crossovers, and explain how analyzing from a lower time frame can reveal higher time frame trends.
EMA Crossover: Basics and Application
An EMA crossover involves two or more EMAs of different periods intersecting on a price chart. EMAs give more weight to recent prices compared to SMAs, making them more responsive to new data and ideal for capturing short- to medium-term trends.
How It Works:
Typically, traders use a short-term EMA (e.g., 9-period or 12-period) and a longer-term EMA (e.g., 26-period or 50-period).
Golden Cross (Bullish Signal): When the shorter EMA crosses above the longer EMA, it suggests upward momentum and a potential buy opportunity. This indicates that recent price action is stronger than the historical average.
Death Cross (Bearish Signal): When the shorter EMA crosses below the longer EMA, it signals downward momentum and a potential sell or short opportunity.
Example: On a daily chart, a 12-period EMA crossing above a 26-period EMA might confirm the start of an uptrend, often used in strategies like the MACD (which is derived from EMA differences).
Advantages:
Quick response to price changes due to exponential weighting.
Reduces lag compared to SMAs, helping in volatile markets.
Can be combined with volume or other indicators (e.g., RSI) to filter false signals.
Limitations:
Prone to whipsaws (false crossovers) in sideways or ranging markets.
Best suited for trending environments; in choppy conditions, it may generate too many signals.
Traders often apply EMA crossovers on single time frames, but for broader context, incorporating multi-time frame analysis enhances reliability.
Multi-Time Frame SMA Crossover: Integrating Broader Perspectives
Multi-time frame (MTF) analysis involves examining the same asset across different time intervals (e.g., 5-minute, 1-hour, daily) to align short-term trades with longer-term trends. Here, we focus on SMA crossovers, where SMAs—simple arithmetic averages of closing prices over a set period—are used instead of EMAs. SMAs are smoother and less reactive, making them suitable for identifying sustained trends.
How It Works in MTF:
Choose at least two time frames: a lower one (e.g., 15-minute for intraday trading) and a higher one (e.g., 4-hour or daily for overall trend).
On each frame, plot two SMAs: a shorter one (e.g., 50-period) and a longer one (e.g., 200-period).
Crossover Signals:
Bullish: Shorter SMA crosses above the longer SMA.
Bearish: Shorter SMA crosses below the longer SMA.
In MTF, the higher time frame dictates the dominant trend, while the lower one provides precise entry timing. For instance:
If the daily chart shows a bullish 50/200 SMA crossover (uptrend), look for buy entries on the 1-hour chart when its own SMA crossover aligns.
This "top-down" approach ensures you're trading in the direction of the bigger picture, reducing counter-trend risks.
Advantages:
Filters noise: Higher time frames smooth out short-term volatility.
Improves win rate by confirming trends across scales.
Versatile for strategies like swing trading (daily/weekly) or scalping (5-min/15-min).
Limitations:
SMAs lag more than EMAs, potentially missing early trend entries.
Requires monitoring multiple charts, which can be time-intensive without automation.
Viewing Higher Time Frame Trends from a Lower Time Frame
One of the key benefits of MTF analysis is the ability to "see" higher time frame trends directly on a lower time frame chart, without switching views constantly. This is achieved through anchored or overlaid indicators that project higher-period data onto the lower chart.
How It Enables Trend Tracking:
Overlay Technique: On a lower time frame (e.g., 15-minute), plot SMAs or EMAs calculated from higher time frame data. For example:
Use a 50-period SMA on a daily chart, but recalculate it for the 15-minute chart by multiplying periods (since there are about 96 15-minute bars in a trading day, a daily 50-SMA might approximate to a 4800-period SMA on 15-min).
Tools like TradingView allow "higher time frame" scripts to fetch and display this directly.
Trend Visibility: From the lower frame, you can observe if the price is above/below the higher-frame SMA, indicating the overall trend. A crossover on the lower frame that aligns with the higher frame's direction confirms momentum.
Example: On a 5-minute chart (lower TF), if the overlaid daily 200-SMA acts as support (price bounces off it), it shows the higher TF uptrend is intact, even amid intraday dips. This helps avoid selling into a pullback during a broader bull market.
Practical Benefits:
Early Detection: Lower TFs show granular price action, revealing how higher TF trends are forming in real-time (e.g., a building crossover on daily visible as momentum buildup on hourly).
Risk Management: Use higher TF levels for stop-losses while entering on lower TF signals.
Example Strategy: In forex, on a 1-hour chart, confirm the 4-hour SMA trend is bullish, then wait for a 1-hour EMA crossover for entry. This way, you're "zooming in" on the big trend without losing context.
Wskaźnik Pine Script®
TSM 50-200-300-400 DMA STRATEGY (NR + One Signal)TSM 50–200–300–400 DMA Strategy is a multi-layer trend-following system designed to capture strong directional moves using long-term moving average alignment and momentum confirmation.
Strategia Pine Script®
VWAP Guppy (32 Days Structure)Introduction to the Volume Weighted Super Guppy Indicator
The Volume Weighted Super Guppy is a technical analysis indicator that builds on the traditional Guppy Multiple Moving Average (GMMA) by incorporating volume weighting, similar to how the Volume Weighted Average Price (VWAP) accounts for trading volume in price calculations. Developed as an enhancement to Daryl Guppy's original GMMA, this variant aims to provide a more robust signal by factoring in volume, which helps differentiate between price movements driven by high conviction (high volume) and those that are less significant. The "Super" aspect often refers to an optimized or expanded version of the standard Guppy setup, and the "30 days" likely alludes to the long-term moving average group, which typically starts at a 30-period EMA and extends upward, making it suitable for medium- to long-term trend analysis over roughly a month's worth of data (assuming daily charts).
Core Components and How It Works
The standard GMMA consists of two groups of exponential moving averages (EMAs):
Short-term group (representing traders' sentiment): Typically VWAP of 1 to 32 days . These react quickly to price changes and capture short-term momentum.
Long-term group (representing investors' sentiment): Typically VWAP of 1 to 32 days. These provide a smoother view of the underlying trend, with the 30-period EMA serving as the entry point into longer-term analysis.
In the Volume Weighted Super Guppy, each VWAP is adjusted to be volume-weighted, meaning the average price is calculated not just on closing prices but on a volume-adjusted basis (akin to VWAP's formula: Cumulative (Price × Volume) / Cumulative Volume). This weighting emphasizes periods of high trading activity, reducing the impact of low-volume price spikes or dips that might distort traditional EMAs. If volume data is unavailable (e.g., in certain markets like forex), a fallback to simple price-based EMAs is often implemented.
The indicator plots these multiple lines as "ribbons" on a price chart:
Short-term ribbons are usually colored differently (e.g., green for bullish, red for bearish) from long-term ones.
Convergence or divergence between the groups signals potential trend shifts, with volume weighting adding reliability by highlighting volume-backed moves.
How It Helps Track Trends
The Volume Weighted Super Guppy excels at identifying trend direction, strength, and potential reversals, making it a valuable tool for swing traders, trend followers, and investors monitoring 30-day or longer horizons. Here's how it aids in trend tracking:
Trend Direction Identification:
When the short-term EMA group is above the long-term group (starting from the 1 to 32 days VWAP), it indicates an uptrend. The volume weighting ensures this signal is stronger if supported by increasing volume, filtering out false breakouts.
Conversely, if the short-term group crosses below the long-term group, it signals a downtrend. This crossover is particularly useful over a 30-day rolling window, as it captures shifts from short-term volatility to sustained investor-driven moves.
Trend Strength Assessment:
Separation of Ribbons: Wide separation between the short- and long-term groups suggests a strong trend. For example, in a bullish scenario, expanding distance between the groups over 30 days indicates building momentum, often confirmed by higher volume in the weighted calculation.
Compression and Expansion: When the ribbons compress (lines bunch together), it signals consolidation or weakening trend strength, potentially foreshadowing a breakout. Volume weighting helps discern if the compression is due to low-interest trading (weaker signal) or building volume (stronger impending move).
Breakout and Reversal Anticipation:
The indicator anticipates breakouts when price and value (as captured by the volume-weighted EMAs) converge, especially around the 30-60 period long-term averages. A breakout above the long-term ribbon on rising volume can confirm a new uptrend.
For reversals, watch for the short-term group to "bounce" off the long-term group (e.g., acting as support in uptrends). Over 30 days, this can highlight trend exhaustion if volume diminishes.
Practical Application in a 30-Day Context:
On daily charts, the 1 to 32-days VWAP aligns with a monthly view, making it ideal for tracking intermediate trends. Traders can anchor the indicator to a specific date (similar to anchored VWAP) to analyze trends from key events, like earnings releases.
Combine with volume profiles or other indicators (e.g., RSI for overbought/oversold conditions) to validate signals. For instance, in a 30-day uptrend, if price pulls back to the long-term ribbon with low volume, it may present a buying opportunity.
Advantages and Limitations
Advantages: Volume integration makes it more responsive to market participation than standard GMMA, reducing false signals in volatile markets. It's versatile across assets like stocks, crypto, and forex, and particularly effective for trend-following strategies over 30+ days.
Limitations: It can lag in choppy, range-bound markets, and over-reliance on historical data (especially the 30-60 periods) may miss rapid intraday shifts. Always backtest on your specific timeframe and asset.
Wskaźnik Pine Script®
TSM 50 DMA & 200 DMA STRATEGY (NR + One Signal)TSM 50 DMA & 200 DMA Strategy is a trend-following system designed to identify high-probability breakouts using moving average structure and momentum confirmation.
The strategy generates:
✅ BUY Signal when price closes above 50 DMA
AND price is above 200 DMA
AND RSI confirms bullish momentum
AND candle is fully closed (non-repainting logic)
❌ SELL Signal when price closes below 50 DMA
AND price is below 200 DMA
AND RSI confirms bearish momentum
Strategia Pine Script®
Order Blocks (Lite & Strict) [VBS]
VictoryByStrategy • Order Blocks ONLY (Lite & Strict) is a clean and focused Order Block indicator designed for traders who prefer clarity over clutter.
Unlike multi-layered “ SMC dashboards ” that overload the chart with structure, gaps, liquidity, and internal shifts, this script does one thing — and does it well:
Detects strict bullish and bearish Order Blocks based on confirmed swing breaks.
This version is intentionally lightweight:
Maximum 3–5 active Order Blocks
Strict mitigation rules
Dynamic visibility (text only appears when price is inside the zone)
Automatic invalidation handling
Clean, professional visual behavior
It is built for traders who want actionable zones without visual noise.
How It Works :
Structure break is detected using confirmed swing pivots (non-repaint pivots).
The last opposite candle before the break defines the Order Block.
The zone remains active until invalidated (based on Close or Wick logic).
When price touches the zone:
Header appears dynamically.
Status changes to “Mitigated”.
When invalidated:
Status changes to “Inv”
Box is removed after a configurable hold period.
No unnecessary overlays. No zigzag lines. No excessive filtering.
Just structure → block → reaction.
Best Markets / Pairs
This indicator works best on liquid markets where structure is respected:
Forex
EURUSD
GBPUSD
USDJPY
AUDUSD
Metals
XAUUSD (Gold) → especially strong with strict mitigation
XAGUSD
Crypto
BTCUSD
ETHUSD
Indices
US100 / NASDAQ
US500 / S&P
DAX
It performs best in markets with clear impulsive moves followed by retracements.
⏱ Ideal Timeframes
Scalping / Intraday
5m – 15m
Pivot Length: 7–9
Cooldown: 5–8
Intraday / Swing
1H – 4H
Pivot Length: 10–14
Cooldown: 8–12
Higher-Timeframe Bias Usage
Many traders use:
4H OBs for bias
15m/1H for entries
This script works well in that workflow.
⚙ Recommended Default Settings
For most users:
Swing Pivot Length: 10
Break Source: Close
Max Active OBs: 4
OB Range: Wick
Invalidation: Close
Cooldown: 8
Lookback: 120
Hold Invalidated OB: 3 bars
For more conservative traders:
Increase Pivot Length to 14
Keep Invalidation = Close
For aggressive traders:
Use Break Source = Wick
Lower Pivot Length to 7
Who This Is For
Traders who prefer clean structure-based trading
Smart Money / Order Flow traders
Break & Retest traders
Supply & Demand users who want strict zone invalidation
Traders tired of overly complex SMC scripts
Wskaźnik Pine Script®
NIFTY Decay Stop Golden Signal try hack megolden time, prefix to atr (v5 requirement). Save, compile—should work on NIFTY chart
Wskaźnik Pine Script®
Clean Market Structure PRO (BOS/CHoCH) [VBS]VictoryByStrategy • Clean Market Structure PRO (BOS/CHoCH) is a lightweight, chart-clean market structure tool designed to highlight Break of Structure (BOS) and Change of Character (CHoCH) without turning your chart into a “SMC Christmas tree”.
The script detects structure using confirmed swing pivots (non-repaint by design) and offers two signal styles:
Instant Break — faster and more active.
Break + Retest (Confirmed) — more selective and better at filtering fake breaks, especially on volatile instruments.
To keep signals practical (and not just “lines on a chart”), the PRO version includes optional confirmation layers:
ATR Break Strength Filter to ignore tiny/weak breaks.
Volume Confirmation to validate breaks only when participation is above average (where volume data is reliable).
HTF Bias Filter (default 4H) to align breaks with higher-timeframe direction.
The result is a clean structure read that you can use as:
a directional context tool,
a trigger for setup confirmation,
or a filter to avoid trading against the higher timeframe.
Recommended Defaults (Best “out of the box”)
For most traders, this is the most consistent setup:
Mode: Present
Show Swing Structure: ON
Swing Pivot Length: 10
Break Source: Close
Signal Mode: Break + Retest (Confirmed)
ATR Break Strength Filter: ON
ATR Length: 14
Min Break Distance: 0.15 ATR
Retest Tolerance: 0.10 ATR
Max Bars to Wait for Retest: 25
HTF Bias Filter: OFF (keep it universal)
If you want stricter trend alignment: turn it ON with HTF = 4H, MA = EMA 50
Internal Structure: OFF (enable only if you want a faster, noisier layer)
Best Markets / Pairs
This indicator is designed for general markets, and works well on:
Forex: major and liquid pairs (EURUSD, GBPUSD, USDJPY)
Metals: XAUUSD (Gold) and XAGUSD (especially with “Break + Retest”)
Crypto: BTCUSD, ETHUSD (use the strength filter to reduce noise)
Indices: US100/NAS100, SPX/US500, DAX (clean structure view)
In general, it performs best on high-liquidity instruments where swing levels are respected and retests are common.
Suggested Timeframes
Scalping / Intraday: 5m–15m (with SwingLen 7–10)
Intraday / Swing: 1H–4H (SwingLen 10–14 for cleaner structure)
Higher-timeframe context: keep HTF Bias on 4H (default) even if you trade lower TF.
Wskaźnik Pine Script®
Wskaźnik Pine Script®
Wskaźnik Pine Script®
Regime Guard (Clean Background) - Free v1.0.1 [VBS]This indicator is built with one simple objective:
Help traders avoid trading when the market environment is unfavorable.
Instead of generating buy or sell signals, Regime Guard focuses on identifying whether the market is in a No-Trade (compression/choppy) condition or a Tradable (normal expansion) state.
It is designed to be used alongside trend or momentum tools — not as a standalone entry system.
What It Does
1) Detects Volatility Compression (Squeeze)
Using Bollinger Band Width percentile, the script identifies periods where volatility is unusually low compared to its recent history.
Low volatility often leads to:
False breakouts
Whipsaws
Overtrading losses
When compression is detected and trend strength is weak, the background turns gray, signaling a No-Trade environment.
2) Measures Trend Strength (DMI / ADX)
The script evaluates whether the market is trending or choppy using ADX.
Low ADX → weak structure, higher risk of random movement
Rising ADX → strengthening directional movement
This helps differentiate between:
Quiet compression
Genuine expansion
Market States
The indicator operates with clean, minimal states:
Gray Background → NO-TRADE
Market is compressed and trend strength is weak. Risk of chop is elevated.
Subtle Green Background → TRADABLE
Market conditions are normal and potentially suitable for setups.
No arrows.
No direction bias.
No false promises.
This tool is about environment filtering, not prediction.
Optional READY Hint
A “READY” event can be enabled to highlight when:
The market exits a squeeze
Or ADX begins rising above a defined threshold
By default, this marker is turned off to maintain a clean chart.
Important:
READY does not mean Buy or Sell.
It simply means market conditions may be shifting back toward tradable behavior.
How to Use It
A simple workflow:
Use a trend indicator to determine direction
Use a momentum tool for timing
Use Regime Guard to confirm the environment is tradable
If the background is gray, consider standing aside.
If conditions are tradable, then look for structured setups.
Why This Exists
Many traders don’t lose because of bad entries.
They lose because they trade in the wrong market conditions.
Regime Guard is designed to reduce that mistake.
It won’t tell you where to buy or sell.
It will help you decide when it makes sense to participate at all.
— VictoryByStrategy
Wskaźnik Pine Script®
Scalping Strategy 3 minutesThis strategy proves that 3-minute scalping does not require complicated indicators. With just two indicators—Chandelier Exit and Exponential Moving Average—you can build a consistent system with a 70-80% win rate (based on independent testing).
Strategia Pine Script®
Naked POC Real-Time nPOC & Visual Upgrade
Real-Time Monitoring: No need to wait for the candle close! nPOC lines now appear instantly when volume spikes, allowing for faster reaction.
Smart Status:
Active (Unconfirmed): Shown as a dotted, semi-transparent line with a "⚡" icon.
Confirmed: Automatically solidifies into a permanent line once the candle closes.
Performance Boost: Complete code refactor for smoother operation and 100% logic consistency
Wskaźnik Pine Script®
Wskaźnik Pine Script®
BTC vs IGV: High-Beta Correlation [v6]BTC vs IGV: High-Beta Software Proxy Analysis
Overview
In the current market regime, Bitcoin has transitioned from a "Digital Gold" narrative into a high-beta liquidity asset, showing an exceptionally high correlation with the software sector.
This indicator tracks the synchronicity between Bitcoin (BTC) and the BlackRock Software ETF (IGV). It is designed for traders who view BTC as a proxy for tech risk-appetite and want to spot "catch-up" opportunities when software stocks lead the way.
Key Features
Real-time Correlation Tracking: Calculates the 30-day Pearson Correlation Coefficient between BTC and IGV. A correlation above +0.70 (highlighted by the green background) confirms that BTC is trading in "Software Proxy" mode.
Normalized Performance Overlay: Compares the percentage returns of both assets over a rolling lookback period. This allows you to see at a glance which asset is leading the trend.
The "Alpha Gap" Histogram: This unique visualizer shows the divergence between IGV and BTC.
Green Bars: IGV is outperforming BTC (potential "long" catch-up play for Bitcoin).
Red Bars: BTC is overextended relative to the software sector.
Pine Script v6 Engine: Optimized for the latest TradingView runtime, ensuring high performance and data accuracy.
How to Use It
Spotting the Lag: If the IGV (Blue line) starts bouncing while BTC (Orange line) is consolidating, look at the histogram. Growing green bars indicate that Bitcoin is lagging behind its macro-driver. If the correlation is high (>0.70), BTC historically "catches up" to the software sector's move.
Confirming the Regime: Use the background color to understand the current market environment. If the background is grey or red, the "Software Proxy" thesis is weakening, and you should look for other drivers (like Gold or DXY).
Risk Management: On lower timeframes, BTC is driven by liquidations and leverage. Use this indicator on H4 or Daily timeframes to filter out the noise and trade the structural trend.
Technical Details
Comparison Asset: AMEX:IGV (BlackRock Software ETF).
Period: Defaulted to 30 days (adjustable).
Normalization: Based on percentage change from the start of the correlation window.
Wskaźnik Pine Script®
GC High-Prob 3-Touch + RVOLWhen publishing your script to TradingView, the description is your "sales pitch" to the community. TradingView’s moderators and users look for three things: What it does, Why it’s useful, and How to interpret it.
Here is a structured, professional description you can copy and paste into the publishing field.
Title Suggestion: GC High-Prob Liquidity Zones: 3-Touch + RVOL Surge
Description:
Overview
This indicator is designed specifically for Gold (GC) and other highly liquid futures, focusing on identifying high-probability support and resistance zones. Rather than plotting every minor pivot, this script filters market noise by requiring a "clustering" of price action and institutional volume confirmation.
It identifies levels where the price has been rejected at least three times within a narrow range and validates the strength of these zones using Relative Volume (RVOL).
Key Features
3-Touch Requirement: The script only plots a zone once it detects 3 separate rejections at a specific price level. This identifies "battlegrounds" where supply and demand are truly established.
RVOL Surge Filter: To prevent "lazy" or low-liquidity fake-outs, the zone is only highlighted if the most recent touch occurred with a volume spike (Relative Volume > 1.5x average).
Dynamic Price Anchoring: Built using Pine Script v6 force_overlay, these zones are physically anchored to the price candles. They scale and move perfectly with the chart as you zoom or scroll, avoiding the "floating" issues common in standard drawing scripts.
Smart Proximity: Includes a proximity filter (default $0.50 for Gold) that groups nearby wicks into a single unified zone of interest.
How to Use
Identify the Zone: When a Red (Resistance) or Green (Support) box appears with a thick yellow border, it indicates a high-probability institutional level.
Wait for the Sweep: Look for price to "hunt" the liquidity inside the box.
The Rejection: A successful trade setup often occurs when a candle wicks into the zone but closes back outside of it on high volume.
Risk Management: The edges of these boxes provide clear, objective levels for stop-loss placement.
Settings
Pivot Strength: Adjusts how "significant" a peak must be to be recorded. (10 is recommended for 1m/5m charts).
RVOL Threshold: Sets the multiplier for volume spikes. 1.5 means 150% of the recent average volume.
Touch Proximity: Defines how close rejections must be to each other to be considered part of the same "cluster."
Wskaźnik Pine Script®
200 EMA StackThis indicator overlays five 200-period Exponential Moving Averages (EMAs), each calculated from independently user-selected timeframes. By aggregating higher and lower timeframe EMA data onto a single chart, it enables multi-timeframe trend analysis without requiring chart switching. This provides a consolidated view of structural trend alignment and dynamic support/resistance across time horizons, improving decision-making efficiency and contextual clarity.
Wskaźnik Pine Script®
Wicks Rejection percentagesThis scripts analyses the wick rejection percentage based on which we can analyze the patterns.
Wskaźnik Pine Script®
JT EARLY Predictive Regresion Signals🔴 Predictive SELL
Trigger when:
✔ Regression slope becomes weaker before price collapse
✔ Regression slope change is negative
✔ RSI is below threshold
✔ Volume is strong
This detects early weakening in structure, before price has a big drop.
🟢 Predictive BUY
Trigger when:
✔ Regression slope starts turning upward before price rallies
✔ Regression slope acceleration positive
✔ RSI holds above threshold
✔ Volume strong
This tries to spot early rotation BEFORE a rally, not after.
Wskaźnik Pine Script®
Futures: Avg. Points Per Candle (1H look back) - Stats TableThis script will display the average movement in points per candle with a 1-hour look back period. For example, if trading on the 5-minute timeframe, this script will display how many points each candle has moved on average over the past hour. It's especially helpful when determining volatility and when to size up or down.
Wskaźnik Pine Script®
All-in-One Candlestick Pattern [v6] - v.01This Pine Script code defines a comprehensive technical analysis indicator designed to automatically identify and label a wide variety of candlestick patterns on a financial chart. The script is structured into distinct sections that first establish user-defined thresholds and then apply mathematical logic to categorize market sentiment into bullish, bearish, or neutral formations. By calculating specific relationships between a candle's body, wicks, and its position relative to a moving average trend, the tool provides real-time visual signals and automated alerts for traders. Ultimately, this script serves as a sophisticated decision-support tool that translates complex price action into clear, actionable geometric markers and notifications.
Wskaźnik Pine Script®
Volume ChannelThis tool integrates adaptive volatility channel boundaries with real-time volume analysis to clearly highlight directional bias, structural breakouts, and areas of concentrated buying or selling pressure, helping users precisely identify key trading zones.
本工具融合了自适应波动率通道边界与实时成交量分析,能够清晰呈现方向性偏向、结构性突破以及买卖压力密集区,帮助用户精准识别关键交易区域。
Wskaźnik Pine Script®
Nico Trend Change Indicator + 2 TP TargetsThe Trend Change Indicator (TCI) is a trend-following momentum tool designed to identify clear trade entries and exits based on the relationship between two moving averages and volatility-adjusted margins.
Here is a breakdown of how the indicator works and how to interpret its components:
1. The Core Ribbon (Momentum & Trend)
The heart of the indicator is the "Ribbon," formed by a Fast and a Slow-moving average.
Green Ribbon (Bullish): This occurs when the Fast length is significantly above the Slow length, indicating strong upward momentum. This serves as your Long Entry signal.
Red Ribbon (Bearish): This occurs when the Fast length is significantly below the Slow length, indicating strong downward momentum. This serves as your Put / Short Entry signal.
White Ribbon (Neutral/Chop): When the difference between the two averages is smaller than the volatility-based margin (determined by the ATR), the ribbon turns white. This is a No Trade Zone or a Take Profit (TP) Zone.
2. Volatility Filtering (ATR Margin)
Unlike a standard moving average crossover, the TCI uses an ATR (Average True Range) Margin.
The trend only changes to Bullish or Bearish if the gap between the Fast and Slow lines is larger than a specific percentage of the market's current volatility.
This helps filter out "fakeouts" or "noise" during sideways markets where moving averages might cross frequently without a real trend starting.
3. Support/Resistance & Forecast Dots
SMA Line: The thick white line is a long-term Simple Moving Average (defaulting to 140 periods). It acts as the primary "baseline." If the price is above this line, the overall bias is bullish; below it, the bias is bearish.
Forecast Dots: The white dots appearing ahead of the price are SMA Forecasts. They project where the SMA will likely be in the future based on current price action, helping you visualize potential dynamic support or resistance levels before the price reaches them.
4. Higher Timeframe (HTF) Analysis
The indicator includes a built-in "Security" function that looks at a higher timeframe (like the 4H or 12H) regardless of what chart you are currently viewing.
The dashboard table uses this to show you if the "Big Trend" (HTF) matches the "Current Trend" (Chart TF).
Trading in the direction of both timeframes (e.g., both are Green) typically increases the probability of a successful trade.
Summary of Trade Signals
Wskaźnik Pine Script®






















