15min & 5min Scalping RibbonOpen-source replication of Annii's Ribbon:
Not quite 100% pixel perfect but very close, with the same functionality for detecting possible trend changes.
Ribbon Scalp Strategy
TF: 5-15 mins
When to enter long:
Wait for whole ribbon to turn green then enter long
Once in the trade watch the outer 3 lines. If they start to spread away from the others, that’s a sign that a pullback is coming so ether exit or move your stop into profit to protect it
When a pullback happens, watch the yellow band for a bounce. If it bounces off, stay in trade. Cross below, could be reversal sign so get out. When moving stops throughout the trade, use the yellow band as a guide to know where to move stop too, placing it just below the line.
There are two yellow MAs. When you start your session, look left to see which one has been acting as support for the past few hours and go with that one.
As long as it stays above the yellow, you can stay in the trade. Again exit, when outer bands start to widen.
Short - everything above in reverse.
What not to do:
Do not try to pick a reversal early when you start to see one or two bands turn red - this does not mean a reversal is coming! It could just be a pullback before continuing long.
Análisis de tendencia
Silver vs S&P 500 (Rebased to 100) I have ensured that silver prices and the s&p 500 price are overlayed to give the common folk an understanding. The important part is that the prices are rebased in nature. i.e. if they both started at 100 from an n year which in this case is 1992.
[CT] Smart Supertrend Smart Supertrend is an overlay trend and context indicator that combines three different ideas into one visual: a dynamic “cloud” that adapts to market cycle speed, a pivot-point anchored trailing line that behaves like a smarter Supertrend, and an ADX strength filter that helps separate real trends from noisy sideways movement. It is designed to keep you aligned with the dominant direction while giving you a clean framework for entries, pullbacks, and exits.
The “cloud” is the heart of the script’s regime read. Internally, it builds an adaptive smoothing engine that reacts to how efficiently the price is moving. When the price is moving in a clean, directional way, the cloud becomes more responsive. When the price is choppy and overlapping, the cloud becomes slower and steadier. The cloud itself is drawn as two lines, Cloud A and Cloud B, and the filled area between them. When the adaptive KAMA slope is rising, the cloud is treated as bullish and uses your Up color. When it is falling, the cloud is treated as bearish and uses your Down color. This creates a quick visual of whether the market is behaving like an uptrend regime or a downtrend regime without relying on one fixed moving average length that can be too fast in chop or too slow in trend.
The PP line is the trade management spine. It is built from pivot logic that detects meaningful swing highs and swing lows using your PP Period. Those pivots are blended into a centerline, and then an ATR band is applied around that center using your ATR Period and ATR Factor. That band is turned into a trailing line that “ratchets” in the direction of the current trend. When the price is above the trailing logic, the script considers the trend state to be long. When the price is below, it considers the trend state to be short. The reason this feels different from a basic Supertrend is that the anchor comes from pivots and smoothing rather than only a direct ATR band around price, so it tends to track structure more naturally and reduce some of the fast flipping you see in choppy sections.
The ADX filter is the quality control layer. It computes plus DI, minus DI, and ADX over your ADX Length, and then checks whether ADX is above your threshold. When ADX is above the threshold, it suggests the market is trending enough for trend signals to matter. When ADX is below the threshold, the script is telling you the environment is more sideways, which is where most trend systems get chopped up. In the original logic, the “best” conditions occur when the cloud direction agrees with the DI direction, and ADX is strong, because that means direction and strength are aligned.
How you trade it starts with using the cloud as your directional bias. When the cloud is bullish, you prioritize longs and you treat shorts as lower quality or countertrend. When the cloud is bearish, you prioritize shorts and you treat longs as lower quality. Next, you use the PP line as the “line in the sand” for trend state and risk placement. In a bullish environment, price holding above the PP line is your confirmation that the structure-anchored trailing level is supporting the move. In a bearish environment, price holding below the PP line is your confirmation that the trailing level is capping rallies.
A clean, practical entry approach is to wait for agreement between the cloud and the PP line, then take pullbacks into that framework. For long trades, the highest quality setups occur when the cloud is bullish, the PP line is below price, and ADX is above the threshold with plus DI leading minus DI. In that state, you can look for pullbacks that dip toward the PP line or into the cloud region and then reject back upward, because you’re buying a retracement inside a confirmed trend regime rather than chasing extension. For short trades, the mirror applies: the cloud is bearish, the PP line is above price, ADX is above the threshold with minus DI leading, and you sell rallies back into the PP line or cloud that fail and rotate down.
Stops and exits can be built around the PP line because it is already an ATR-based trailing structure level. For a long, a conservative stop is placed just below the PP line with a buffer related to ATR, because if price closes and holds below that line you are likely seeing a trend condition break. For a short, the stop goes just above the PP line with a similar buffer. For profit taking, many traders scale out when price stretches far away from the PP line or when the cloud begins to lose slope and compress, because that often signals trend momentum is slowing. Another simple exit rule is to reduce or close when the PP line flips trend state against your position, or when the ADX falls back under the threshold after a run, because that frequently marks a transition into consolidation where trailing systems can give back gains.
If you enable signals in versions that plot them, the logic is meant to highlight moments when the PP line flips trend and the cloud is not contradicting that flip, then further filters those into “higher quality” conditions when cloud direction and ADX trend strength agree. In practice, you should still treat signals as prompts, not automatic trades. The best results come from using the signal as a timing cue while you still enforce the bigger rule of alignment: cloud direction, PP line trend state, and ADX strength all pointing the same way, with entries taken on pullbacks rather than on late breakout candles.
Finally, be aware that all adaptive smoothing systems will look different across markets and timeframes, so the main tuning knobs are your Cloud Length, PP Period, ATR Factor, and ADX Threshold. If you want fewer flips and more “position trading” behavior, increase the ATR Factor and consider a higher ADX threshold. If you want earlier entries and more sensitivity, lower ATR Factor and lower the threshold, but expect more chop. The indicator is at its best when you treat it as a regime and structure tool: let the cloud tell you the side, let the PP line define where you are wrong, and let ADX decide whether it’s a trend day or a chop day before you commit size.
[CT] Highest/Lowest Close Midline Candle ColorThis indicator looks back a user defined number of bars, the default is 14, and finds the highest closing price and the lowest closing price in that lookback window. Those two values form a rolling closing range. The script then calculates a midpoint of that range by averaging the highest close and the lowest close. That midpoint is plotted as “o”, and it acts like a simple, adaptive balance line for where the market is trading within its recent closing range.
On every bar, the candle color is driven by where the current close finishes relative to that midpoint. When price closes above the midpoint, the script colors the candle green, which tells you that the close is occurring in the upper half of the most recent closing range. When price closes below the midpoint, the candle is colored red, which tells you the close is occurring in the lower half of the most recent closing range. If the close lands exactly on the midpoint, the script leaves the bar uncolored, which is a quick way to spot “neutral” closes that are sitting right at the balance point.
On the chart you will see three plots. The “hi” line is the highest close over the lookback period, so it behaves like a dynamic ceiling for closes. The “lo” line is the lowest close over the lookback period, so it behaves like a dynamic floor for closes. The “o” line is the midpoint between those two, and it will move up when the rolling highest and lowest closes lift, and it will move down when they fall. Because all three are based on closing prices instead of highs and lows, they reflect where the market is actually accepting value at the end of each bar rather than momentary wicks.
In practical use, the midpoint line is your decision line and the candle colors are your bias filter. A sequence of green candles means closes are consistently happening above the midpoint, which implies bullish control of the recent closing range and can be used as a confirmation to favor long setups, trend continuation trades, or pullbacks that hold above the midpoint. A sequence of red candles means closes are consistently happening below the midpoint, which implies bearish control of the recent closing range and can be used to favor short setups or bearish continuation until price can reclaim the midpoint. When candles flip color around the midpoint repeatedly, that is a visual cue that the market is rotating and the midpoint is acting like a balance area rather than support or resistance, which often aligns with consolidation or choppier conditions.
The “hi” and “lo” lines can be treated as context levels. If price is closing above the midpoint and pressing toward the “hi” line, you are seeing strength within the closing range and the prior highest close becomes the next level where continuation may stall or break. If price is closing below the midpoint and pressing toward the “lo” line, you are seeing weakness within the closing range and the prior lowest close becomes the next level where continuation may pause or accelerate through. Breaks beyond the “hi” or “lo” line indicate that the rolling closing range is expanding, which can coincide with trend continuation or a breakout from a prior range.
This tool is simple by design and is best used as a directional filter and a structure guide rather than a standalone entry system. It does not repaint past bars because it only uses completed historical closes within the selected lookback window, and it updates normally as each new bar closes. You can increase the period to smooth it for higher time frames or more stable trends, and decrease it to make it more sensitive for faster markets or scalping, with the tradeoff that shorter periods will flip colors more often in chop.
Liquidity Trend Horizon [Pineify]Pineify - Liquidity Trend Horizon
The Liquidity Trend Horizon is a sophisticated trend-following indicator designed to identify potential liquidity sweep zones while providing clear visual trend direction. It combines adaptive volatility bands with smart liquidity detection to help traders spot high-probability reversal points where institutional activity may be occurring.
Key Features
Dynamic trend baseline using WMA and EMA smoothing
ATR-based volatility bands that adapt to market conditions
Automatic liquidity sweep detection with visual alerts
Gradient-filled channels for intuitive trend visualization
Real-time candle coloring based on trend direction
How It Works
The indicator calculates a weighted moving average (WMA) of the closing price, then applies exponential smoothing (EMA) to create a responsive yet stable baseline. This dual-smoothing approach filters out market noise while maintaining sensitivity to genuine trend changes.
Volatility bands are constructed using a 200-period Average True Range (ATR) multiplied by a user-defined factor. This creates dynamic support and resistance zones that automatically widen during volatile periods and contract during consolidation.
How Multiple Indicators Work Together
The synergy between WMA, EMA, and ATR creates a comprehensive trend analysis system:
The WMA provides the initial trend estimation with emphasis on recent price action
The EMA layer adds smoothness to reduce false signals
The ATR bands define probabilistic boundaries where price is likely to find support or resistance
Trading Ideas and Insights
Liquidity sweeps occur when price wicks beyond the volatility bands but closes back within the channel. These events often indicate:
Stop-loss hunting by larger market participants
False breakouts that may lead to reversals
Areas of accumulated liquidity being absorbed
A bullish sweep (wick below lower band, close above) suggests potential buying opportunity. A bearish sweep (wick above upper band, close below) may signal selling pressure.
Unique Aspects
Unlike traditional channel indicators, the Liquidity Trend Horizon specifically identifies sweep events where price temporarily breaks boundaries before reverting. This behavior is commonly associated with institutional order flow and smart money concepts.
How to Use
Observe the baseline color for overall trend direction (cyan for bullish, purple for bearish)
Watch for sweep markers (🚀 BULL / 📉 BEAR) at band extremes
Use background flashes as immediate alerts for sweep events
Consider entries when sweeps align with the prevailing trend direction
Customization
Trend Period - Adjust baseline sensitivity (default: 24)
Channel Width Multiplier - Control band distance from baseline (default: 2.0)
Smoothness - Fine-tune signal responsiveness (default: 5)
Color Settings - Personalize bullish/bearish colors and transparency
Conclusion
The Liquidity Trend Horizon bridges technical analysis with liquidity concepts, offering traders a unique perspective on market structure. By highlighting potential sweep zones within an adaptive trend framework, it helps identify areas where reversals are statistically more likely to occur.
Support and Resistance Breakout Signals [MarkitTick]💡 This indicator provides a comprehensive, automated system for identifying, tracking, and trading Support and Resistance (S/R) breakouts. By synthesizing classic Swing High and Swing Low pivot analysis with Multi-Timeframe (HTF) capabilities and Volume confirmation, it transforms raw price action into actionable structural data. It is designed to declutter charts by automatically managing active levels and highlighting significant market structure shifts (Higher Highs, Lower Lows) alongside verified breakout signals.
✨ Originality and Utility
While many indicators draw static pivot points, this tool distinguishes itself through "State Management." It treats Support and Resistance not just as historical markers, but as active zones that evolve.
Dynamic Level Management: Instead of flooding the chart with infinite lines, the script uses arrays to store a specific number of recent levels. As price action progresses, invalid or broken levels are removed or updated, keeping the analysis focused on current relevance.
Multi-Timeframe Confluence: Uniquely, it allows you to overlay higher timeframe support and resistance levels (e.g., Daily levels on a 4-hours chart) without changing your chart view, enabling top-down analysis instantly.
Market Structure Labeling: It automatically tags pivot points with Dow Theory labels (HH, LH, LL, HL), aiding traders in instantly recognizing trend direction without manual charting.
🔬 Methodology and Concepts
The script operates on three core technical pillars:
● Swing Pivot Detection
The foundation is the detection of local extrema using a "Left/Right" bar lookback mechanism. A Swing High is identified when a high is greater than the L bars preceding it and the R bars following it. This confirms a fractal peak or valley.
Note on Confirmation: Because the script waits for R bars to close to confirm a pivot, the lines appear retroactively. However, the extension of these lines and subsequent breakout signals occur in real-time.
● Breakout Logic with Volume Integration
A breakout is triggered when the Close price crosses an active S/R line.
Resistance Break: Current Close > Resistance Level (and Previous Close ≤ Level).
Support Break: Current Close < Support Level (and Previous Close ≥ Level).
Volume Confirmation: An optional filter requires the breakout bar's volume to exceed a Moving Average of volume, ensuring momentum backs the move.
● Time Decay
To mimic the reduced relevance of stale levels, the script includes a "Time Decay" feature. If a level is not interacted with for a user-defined number of bars, it is automatically purged from the system, ensuring the chart reflects only fresh interest levels.
🎨 Visual Guide
The indicator uses a specific color-coding and labeling system to convey information quickly:
● Support & Resistance Lines
Red Lines (Thin): Represent active Resistance levels on the current timeframe.
Green Lines (Thin): Represent active Support levels on the current timeframe.
Fuchsia Lines (Thick): Represent Higher Timeframe (HTF) Resistance levels.
Aqua Lines (Thick): Represent Higher Timeframe (HTF) Support levels.
● Market Structure Labels
Located at the pivot points, these text labels define the trend structure:
HH / LH: Higher High / Lower High (Red Text).
LL / HL: Lower Low / Higher Low (Green/Aqua Text).
HTF-R / HTF-S: Indicates major structural pivots from the higher timeframe.
● Breakout Signals
When a valid break occurs, a label appears above or below the bar:
Blue Triangle Up (▲): Bullish breakout through resistance.
Blue Triangle Down (▼): Bearish breakout through support.
Number in Label: Indicates the cumulative count of breaks for that specific trend sequence (e.g., "1" is the first break, "2" is the second).
The breakout count represents the intensity of the move. A reading greater than 1 signals exceptional market strength, indicating the penetration of multiple Key Levels (Support or Resistance) within a single candle.
📖 How to Use
Trend Continuation: In an uptrend (sequence of HH/HL), wait for a Blue Triangle Up (▲) occurring at a Red Resistance line. This signals the continuation of the trend.
Trend Reversal: Watch for a "Structure Break." If price is making Higher Highs, but then breaks a Green Support line (generating a ▼ signal) and forms a Lower Low (LL), the trend may be reversing.
HTF "Bounce" Plays: Use the thick Fuchsia/Aqua lines as major zones. If price approaches a thick Aqua line (HTF Support) and fails to break it, look for LTF bullish structure (HH/HL) to form for an entry.
Volume Filtering: Enable the "Volume Confirmation" setting to filter out "fakeouts" (breaks on low volume).
⚙️ Inputs and Settings
● Swing Settings
Left/Right Bars: Determines the sensitivity of the pivot detection. Higher numbers = fewer, more significant pivots.
Max Stored Levels: How many S/R lines to keep in memory at once.
Max Break Labels: Limits visual clutter by capping the number of signal labels.
● Usability & HTF
Enable Time Decay: If true, deletes lines that are older than "Decay Period" bars.
Enable HTF Levels: Toggles the display of higher timeframe pivots.
HTF Timeframe: Select the specific timeframe for the macro view (e.g., "D" for Daily).
● Analysis
Volume Confirmation: Toggles the requirement for volume to be above its average for a signal to fire.
Show Market Structure: Toggles the HH/LL text labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The script's logic is rooted in Fractal Geometry and Auction Market Theory .
● Mandelbrot's Fractals: The use of `leftBars` and `rightBars` is a direct application of identifying market fractals. Markets are self-similar across timeframes; a pivot on a 5-minute chart is structurally identical to one on a Weekly chart. This script exploits this property by allowing nested timeframe analysis (LTF inside HTF).
● Memory of Price (Behavioral Finance): Support and resistance lines represent zones where market participants have previously established value (Price Memory). The "Breakout" signal is mathematically significant because it represents a shift in the supply/demand equilibrium. When price closes beyond a stored array value (the pivot price), it signifies that the aggressive limit orders that created the pivot have been exhausted or withdrawn, validating a new search for value.
⚠️ 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.
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.
The Strat - Multi-Timeframe Combo Analyzer## 📊 The Strat - Multi-Timeframe Combo Analyzer
This open-source indicator implements **The Strat** methodology, a universal price action framework developed by Rob Smith (@RobInTheBlack).
---
### 🎯 What is The Strat?
The Strat categorizes every candle into one of three scenarios based on its relationship to the previous bar:
| Type | Name | Definition |
|------|------|------------|
| **1** | Inside Bar | High < Previous High AND Low > Previous Low |
| **2** | Directional | Breaks only one side (2↑ = broke high, 2↓ = broke low) |
| **3** | Outside Bar | Breaks BOTH previous high AND low |
By tracking these bar types across timeframes, traders can identify actionable setups with defined entry triggers and target levels.
---
### ✨ Features
**Daily Timeframe Analysis:**
- Real-time 3-bar combo detection (2-1-2, 3-1-2, 1-2-2, etc.)
- Pattern classification: Bullish/Bearish Continuation or Reversal
- Entry and Target levels based on Strat rules
- Pattern status: ACTIONABLE, IN-FORCE, TRIGGERED, or WATCHING
**ATR Context:**
- Range % used (how much of daily ATR has been consumed)
- Entry quality assessment (Excellent → Exhausted)
- Day type classification (Quiet → Trend Day)
- Remaining range estimation
**15-Minute Analysis:**
- Separate combo tracking for intraday precision
- Pattern detection on lower timeframe
**Visuals:**
- Customizable info tables
- Entry/Target horizontal lines
- Signal labels on chart
- Alert conditions
---
### 🔧 How to Use
1. Look for **ACTIONABLE** patterns - these are setups waiting for a trigger
2. Entry triggers when price breaks the designated level
3. Target is the next logical Strat level (typically prior bar's high/low)
4. Use **Range%** to assess if there's room left in the daily range
5. Combine Daily and 15-Min combos for trade confluence
---
### ⚠️ Disclaimer
This indicator is for **educational purposes only**. It does not constitute financial advice or guarantee profitable trades. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own research and trade responsibly.
---
### 🙏 Credits
**The Strat** methodology was created by Rob Smith (@RobInTheBlack).
This implementation is open-source. Feel free to study, modify, and improve the code!
ABCD Harmonic Pattern Strategy (Bull + Bear) This script is a strategy implementation of the classic ABCD Harmonic Pattern, designed for market structure analysis, backtesting, and educational research.
The ABCD pattern is one of the foundational harmonic price patterns in technical analysis. Its Fibonacci ratio relationships were formalized and standardized within harmonic trading theory by Scott M. Carney, whose work helped define modern harmonic pattern rules.
This strategy is conceptually inspired by educational ABCD pattern logic shared by the TradingView author theEccentricTrader.
The code, structure, execution logic, filters, and risk management have been independently developed, reconstructed, and extended into a complete TradingView strategy.
What this strategy does
Detects bullish and bearish ABCD harmonic patterns based on price structure and Fibonacci ratios.
Reconstructs ABCD market structure logic for both directions instead of using a simple visual inversion.
Draws the ABCD legs, structure labels (A, B, C, D), and projection levels directly on the chart.
Generates long and short trade entries using confirmed ABCD structures.
Includes optional confluence filters, such as:
Higher-timeframe EMA trend filter
RSI strength filter
ATR volatility filter
Volume confirmation
Candle body confirmation
Minimum bounce distance from point D
Provides built-in risk management, including:
Configurable Stop Loss
Configurable Take Profit
Optional trailing stop
Designed for backtesting, parameter optimization, and analytical research.
Why this strategy is different
This script is not a simple indicator conversion nor a basic bullish/bearish mirror.
The ABCD pattern logic has been recreated at the structural level to better reflect how bullish and bearish market formations behave in real price action.
Key differences
Reconstructed bullish and bearish structures
Bullish and bearish ABCD patterns are independently defined using market structure logic, not just inverted visually.
Each direction has its own pivot relationships and validation rules to produce a more faithful representation of the ABCD pattern.
Structure-aware pattern validation
Pattern confirmation is based on price swings, structure continuity, and Fibonacci alignment, helping reduce distorted or forced patterns.
Strategy-based execution
Unlike indicator-only ABCD tools that only visualize patterns, this script uses strategy.entry and strategy.exit, enabling full backtesting and performance analysis.
Confluence-driven entries
Trade entries can require multiple confirmation layers beyond the pattern itself, helping reduce low-quality signals and overtrading.
Integrated risk management
Stop Loss, Take Profit, and optional trailing logic are applied consistently for both long and short positions.
Non-repainting design
Pattern detection and entries rely on confirmed bars (barstate.isconfirmed) and higher-timeframe data with lookahead_off, ensuring signals do not repaint historically.
Improved and controlled visualization
Pattern drawings, projections, and entry markers are managed with strict object limits to comply with TradingView performance and publishing requirements.
How to use
Add the strategy to a chart and select a symbol and timeframe.
Enable or disable filters under “Entry Filters (Confluence)”.
Configure Stop Loss, Take Profit, and trailing behavior under “TP/SL”.
Use pattern drawings and entry markers as visual and analytical confirmation, not as standalone trade signals.
Important notes
This script is provided for educational and research purposes only.
It does not provide financial or investment advice.
No profitability or performance is implied or guaranteed.
Past performance does not indicate future results.
Always test across multiple markets and timeframes and apply proper risk management.
Credits
ABCD Harmonic Pattern: Harmonic trading principles as formalized by Scott M. Carney.
Conceptual inspiration: Educational ABCD pattern logic shared by @theEccentricTrader on TradingView.
Pattern reconstruction, strategy logic, and risk management: Independent development.
Daily Trend ScannerThis indicator tracks the input tickers (up to 20) and looks at the Previous Day High/Low and Premarket High/Low of the ticker.
If the price is above PDH and PMH the ticker will be displayed as bullish. If the price is below PDL and PML the ticker will be displayed as bearish.
You can track up to 20 tickers and select how many you want to display in the settings.
Adjust Premarket session time
Adjust Table size, position and font size
This indicator is useful for visually tracking what tickers may be trending for the day and which direction the trend is going.
4 TEMA OverlayThis indicator plots four customizable Triple Exponential Moving Averages (TEMA) — 20, 40, 80, and 100 — directly on the price chart for trend and structure analysis across any timeframe.
Ultimate Major Contextual Dashboard (Multi-Asset)Overview : The Ultimate Major Dashboard is a performance-optimized market overview tool designed to provide a consolidated snapshot of the 7 major Forex pairs and Gold. It aggregates correlation, trend, momentum, and volatility data into a single, clean table, allowing users to view broader market context without switching charts.
Technical Logic & Components : This indicator utilizes a modular function to analyze EURUSD, GBPUSD, USDJPY, USDCHF, AUDUSD, USDCAD, NZDUSD, and XAUUSD across four key dimensions:
Intermarket Correlation (Pearson Coefficient): Uses ta.correlation() to compare each asset against the symbol currently on your main chart.
Logic: Values above 0.7 (Dark Green) suggest a strong positive relationship, while values below -0.7 (Dark Red) suggest inverse behavior. This is calculated over a rolling 50-period window to balance stability with current market sensitivity.
Trend Bias (EMA-200): Evaluates the long-term trend by checking price position relative to the 200-period Exponential Moving Average.
Visuals: An upward arrow (⬆) indicates price is above the EMA; a downward arrow (⬇) indicates it is below.
Momentum (RSI-14): Calculates the Relative Strength Index. The dashboard automatically highlights readings above 70 (OB) or below 30 (OS) to help identify potential momentum extremes.
Volatility (ATR-14): Displays the Average True Range as a reference for the current active range of each market, helping users compare volatility levels across the majors.
How to Interpret the Dashboard
Asset Alignment: Correlation values help identify when pairs are moving in "unison" versus when a specific currency is diverging from the group.
Directional Context: Combining the Trend (EMA) and Momentum (RSI) columns provides a quick view of whether a market is trending strongly or reaching an exhaustion point.
Volatility Benchmarking: The ATR values offer perspective on which pairs are currently the most active, assisting in market comparison based on volatility preference.
Data Handling & Customization
Multi-Symbol Sync: Data is fetched using request.security(). The calculations are synchronized with the chart's current bar state for real-time accuracy.
Dynamic TF: Users can select the analysis timeframe (60, 240, D, W) via the settings menu.
Flexibility: The dashboard position can be toggled between all four corners of the chart to avoid overlapping with price action.
Disclaimer
This tool is provided for analytical and educational purposes only. It does not generate trading signals and should not be considered financial advice.
RSI Fibonacci Flow [JOAT]RSI Fibonacci Flow - Advanced Fibonacci Retracement with RSI Confluence
Introduction
RSI Fibonacci Flow is an open-source overlay indicator that combines automatic Fibonacci retracement levels with RSI momentum analysis to identify high-probability trading zones. The indicator automatically detects swing highs and lows, draws Fibonacci levels, and generates confluence signals when RSI conditions align with key Fibonacci zones.
This indicator is designed for traders who use Fibonacci retracements but want additional confirmation from momentum analysis before entering trades.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and Fibonacci tools. It is an original implementation that creates a synergistic relationship between two complementary analysis methods:
Why Combine RSI with Fibonacci? Fibonacci retracements identify WHERE price might reverse, but they don't tell you WHEN. RSI provides the timing component by showing momentum exhaustion. When price reaches the Golden Zone (50%-61.8%) AND RSI shows oversold conditions, the probability of a successful bounce increases significantly.
Original Confluence Scoring System: The indicator calculates a 0-5 confluence score that weights multiple factors: Golden Zone presence (+2), entry zone presence (+1), RSI extreme alignment (+1), RSI divergence (+1), and strong RSI momentum (+1). This scoring system is original to this indicator.
Automatic Pivot Detection: Unlike manual Fibonacci tools, this indicator automatically detects swing highs and lows using a configurable pivot algorithm, then draws Fibonacci levels accordingly. The pivot detection uses a center-bar comparison method that checks if a bar's high/low is the highest/lowest within the specified depth on both sides.
Dynamic Trend Awareness: The indicator determines trend direction based on pivot sequence (last pivot was high or low) and adjusts Fibonacci orientation accordingly. In uptrends, 0% is at swing low; in downtrends, 0% is at swing high.
Each component serves a specific purpose:
Fibonacci levels identify potential reversal zones based on natural price ratios
RSI provides momentum context to filter out low-probability setups
Confluence scoring quantifies setup quality for position sizing decisions
Automatic pivot detection removes subjectivity from level placement
Core Concept: RSI-Fibonacci Confluence
The most powerful trading setups occur when multiple factors align. RSI Fibonacci Flow identifies these moments by:
Automatically detecting price pivots and drawing Fibonacci levels
Tracking which Fibonacci zone the current price occupies
Monitoring RSI for overbought/oversold conditions
Generating signals when RSI extremes coincide with key Fibonacci levels
Scoring confluence strength on a 0-5 scale
When price reaches the Golden Zone (50%-61.8%) while RSI shows oversold conditions in an uptrend, the probability of a bounce increases significantly.
Fibonacci Levels Explained
The indicator draws nine Fibonacci levels based on the most recent swing:
0% (Swing Low/High): The starting point of the move
23.6%: Shallow retracement - often seen in strong trends
38.2%: First significant support/resistance level
50%: Psychological midpoint of the move
61.8% (Golden Ratio): The most important Fibonacci level
78.6%: Deep retracement - last defense before trend failure
100% (Swing High/Low): The end point of the move
127.2% (TP1): First extension target for take profit
161.8% (TP2): Second extension target for take profit
The Golden Zone
The area between 50% and 61.8% is highlighted as the "Golden Zone" because:
It represents the optimal retracement depth for trend continuation
Institutional traders often place orders in this zone
It offers favorable risk-to-reward ratios
Price frequently bounces from this area in healthy trends
When price enters the Golden Zone, the indicator highlights it with a semi-transparent box and optional background coloring.
Pivot Detection System
The indicator uses a configurable pivot detection algorithm:
pivotDetect(float src, int len, bool isHigh) =>
int halfLen = len / 2
float centerVal = nz(src , src)
bool isPivot = true
for i = 0 to len - 1
if isHigh
if nz(src , src) > centerVal
isPivot := false
break
else
if nz(src , src) < centerVal
isPivot := false
break
isPivot ? centerVal : float(na)
This identifies swing highs and lows by checking if a bar's high/low is the highest/lowest within the specified depth on both sides.
Visual Components
1. Fibonacci Lines
Horizontal lines at each Fibonacci level:
Solid lines for major levels (0%, 50%, 61.8%, 100%)
Dashed lines for secondary levels (23.6%, 38.2%, 78.6%)
Dotted lines for extension levels (127.2%, 161.8%)
Color-coded for easy identification
Configurable line width
2. Fibonacci Labels
Price labels at each level showing:
Fibonacci percentage
Actual price at that level
Golden Zone label highlighted
TP1 and TP2 labels for targets
3. Golden Zone Box
A semi-transparent box highlighting the 50%-61.8% zone:
Gold colored border and fill
Extends from swing start to current bar (or beyond if extended)
Provides clear visual of the optimal entry zone
4. ZigZag Lines
Connecting lines between detected pivots:
Cyan for moves from low to high
Orange for moves from high to low
Helps visualize market structure
Configurable line width
5. Pivot Markers
Small labels at detected swing points:
"HH" (Higher High) at swing highs
"LL" (Lower Low) at swing lows
Helps track market structure
6. Entry Signals
BUY and SELL labels when confluence conditions are met:
BUY: RSI oversold + price in entry zone + uptrend + positive momentum
SELL: RSI overbought + price in entry zone + downtrend + negative momentum
Labels include "RSI+FIB" to indicate confluence
Confluence Scoring System
The indicator calculates a confluence score from 0 to 5:
+2 points: Price is in the Golden Zone (50%-61.8%)
+1 point: Price is in the entry zone (38.2%-61.8%)
+1 point: RSI is oversold in uptrend OR overbought in downtrend
+1 point: RSI divergence detected (bullish or bearish)
+1 point: Strong RSI momentum (change > 2 points)
Confluence ratings:
STRONG (4-5): Multiple factors align - high probability setup
MODERATE (2-3): Some factors align - proceed with caution
WEAK (0-1): Few factors align - wait for better setup
Dashboard Panel
The 10-row dashboard provides comprehensive analysis:
RSI Value: Current RSI reading (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, BEARISH, or NEUTRAL
Fib Trend: UPTREND or DOWNTREND based on last pivot sequence
Price Zone: Current Fibonacci zone (e.g., "GOLDEN ZONE", "38.2% - 50%")
Price: Current close price (large text)
Confluence: Score rating with numeric value (e.g., "STRONG (4/5)")
Nearest Fib: Closest key Fibonacci level with price
TP1 (127.2%): First take profit target price
TP2 (161.8%): Second take profit target price
Input Parameters
Pivot Detection:
Pivot Depth: Bars to look back for swing detection (default: 10)
Min Deviation %: Minimum price move to confirm pivot (default: 1.0)
RSI Settings:
RSI Length: Period for RSI calculation (default: 14)
Source: Price source (default: close)
Overbought: Upper threshold (default: 70)
Oversold: Lower threshold (default: 30)
Fibonacci Display:
Show Fib Lines: Toggle Fibonacci lines (default: enabled)
Show Fib Labels: Toggle price labels (default: enabled)
Show Golden Zone Box: Toggle zone highlight (default: enabled)
Line Width: Thickness of Fibonacci lines (default: 2)
Extend Fib Lines: Extend lines into future (default: enabled)
ZigZag:
Show ZigZag: Toggle connecting lines (default: enabled)
ZigZag Width: Line thickness (default: 2)
Signals:
Show Entry Signals: Toggle BUY/SELL labels (default: enabled)
Show TP Levels: Toggle take profit in dashboard (default: enabled)
Show RSI-Fib Confluence: Toggle confluence analysis (default: enabled)
Dashboard:
Show Dashboard: Toggle information panel (default: enabled)
Position: Choose corner placement
Colors:
Bullish: Color for bullish elements (default: cyan)
Bearish: Color for bearish elements (default: orange)
Neutral: Color for neutral elements (default: gray)
Golden Zone: Color for Golden Zone highlight (default: gold)
How to Use RSI Fibonacci Flow
Identifying Entry Zones:
Wait for price to retrace to the 38.2%-61.8% zone
Check if RSI is approaching oversold (for longs) or overbought (for shorts)
Look for STRONG confluence rating in the dashboard
Enter when BUY or SELL signal appears
Setting Take Profit Targets:
TP1 at 127.2% extension for conservative target
TP2 at 161.8% extension for aggressive target
Consider scaling out at each level
Using the Price Zone:
"BELOW 23.6%" - Price hasn't retraced much; wait for deeper pullback
"23.6% - 38.2%" - Shallow retracement; strong trend continuation possible
"38.2% - 50%" - Good entry zone for trend trades
"GOLDEN ZONE" - Optimal entry zone; highest probability
"61.8% - 78.6%" - Deep retracement; trend may be weakening
"78.6% - 100%" - Very deep; trend reversal possible
"ABOVE/BELOW 100%" - Trend has likely reversed
Confluence Trading Strategy:
Only take trades with confluence score of 3 or higher
STRONG confluence (4-5) warrants larger position size
MODERATE confluence (2-3) warrants smaller position size
WEAK confluence (0-1) - wait for better setup
Alert Conditions
Ten alert conditions are available:
RSI-Fib BUY Signal: Strong bullish confluence detected
RSI-Fib SELL Signal: Strong bearish confluence detected
Price in Golden Zone: Price enters 50%-61.8% zone
New Pivot High: Swing high detected
New Pivot Low: Swing low detected
RSI Overbought: RSI crosses above overbought threshold
RSI Oversold: RSI crosses below oversold threshold
Bullish Divergence: Potential bullish RSI divergence
Bearish Divergence: Potential bearish RSI divergence
Strong Confluence: Confluence score reaches 4 or higher
Understanding Trend Direction
The indicator determines trend based on pivot sequence:
UPTREND: Last pivot was a low after a high (expecting move up)
DOWNTREND: Last pivot was a high after a low (expecting move down)
Fibonacci levels are drawn accordingly:
In uptrend: 0% at swing low, 100% at swing high
In downtrend: 0% at swing high, 100% at swing low
Bar Coloring
When confluence features are enabled:
Cyan bars on strong bullish signals
Orange bars on strong bearish signals
Gold-tinted bars when price is in Golden Zone
Best Practices
Use on 1H timeframe or higher for more reliable pivots
Adjust Pivot Depth based on timeframe (higher for longer timeframes)
Wait for price to enter Golden Zone before considering entries
Confirm RSI is in favorable territory before trading
Use extension levels (127.2%, 161.8%) for realistic profit targets
Combine with support/resistance and candlestick patterns
Higher confluence scores indicate higher probability setups
Limitations
Pivot detection has inherent lag (must wait for confirmation)
Fibonacci levels are subjective - different swings produce different levels
Works best in trending markets with clear swings
RSI can remain overbought/oversold in strong trends
Not all Golden Zone entries will be successful
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Fibonacci levels are not guaranteed support/resistance - they are probability zones based on historical price behavior. Always conduct your own analysis and use proper risk management.
- Made with passion by officialjackofalltrades :D
[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.
Continuation Gauge - Bull vs BearDivergence/ strength detector - great for tracking entry at key divergences and visualizing volatility.
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)
Dynamic Supports + Volume Profile (Smart Time Selector)This indicator is an "All-in-One" tool designed to simplify Market Structure and Volume analysis on higher timeframes (especially Daily charts).
Its main innovation is the **Unique Period Selector**, which automatically adjusts 5 internal parameters (tolerance, pivot sensitivity, resolution, and historical depth) with a single click.
**🛠️ MAIN FEATURES:**
1. **Automatic Engine (1-5 Years):**
* Forget about manually setting pivot lengths or "Lookback".
* Select **"1 Year"**: The script scans for fast pivots and recent volume for *Swing Trading*.
* Select **"5 Years"**: The script filters noise and shows only "Rock-Solid" structures (Historical S/R) for *Long Term Investing*.
2. **"Merged" Support & Resistance (S/R):**
* The script detects Pivot Highs/Lows.
* **Fusion Logic:** If price bounces multiple times in the same zone (within calculated tolerance), the script updates the existing line instead of drawing a new one. It extends the line and counts the touches (e.g., "S (4)" means a Support validated 4 times).
* **Clean Chart:** Avoids visual noise.
3. **Lateral Volume Profile (VP):**
* Displays volume distribution to the right of the current price.
* **Orange POC (Point of Control):** Marks the exact price level with the highest trading volume in the selected period.
**🚀 HOW TO USE (STRATEGY):**
Best used on the **Daily Timeframe (1D)**:
* **Scenario 1: Mean Reversion**
* If price moves far from the **Orange POC**, look for it to act as a magnet.
* Enter when price touches a **Green Line (Support)** that aligns with a high volume node.
* **Scenario 2: Breakout**
* If price breaks a **Red Line (Resistance)** aggressively and the volume above is thin (low volume nodes), the move tends to be fast due to lack of friction.
* **Scenario 3: Multi-Timeframe Analysis**
* Use "5 Years" to mark your long-term zones.
* Switch to "1 Year" for tactical entries.
**🎨 VISUAL SETTINGS:**
* **Green Lines:** Demand Zones (Supports).
* **Red Lines:** Supply Zones (Resistances).
* **Dotted Orange Line:** POC (Fair Value).
* **Blue Bars:** Volume Profile.
**Disclaimer / Descargo:**
This script is designed for educational and analytical purposes on the daily timeframe. Use it to identify zones of interest, not as automatic buy/sell signals.
Smart Money Structure█████████████████████████████████████████████████████████████████████████████
█ SMART MONEY STRUCTURE | SMS Pro
█ Institutional Order Flow & Liquidity Zones
█ by @scalping-algo
█████████████████████████████████████████████████████████████████████████████
📋 OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator automatically detects and plots Smart Money Concepts (SMC)
including Break of Structure (BOS), Demand & Supply Zones, and Flip Zones.
Perfect for traders who follow institutional order flow and price action.
🎯 INDICATOR COMPONENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ BOS (Break of Structure)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Bullish BOS: Price breaks above previous swing high → Trend shift UP
• Bearish BOS: Price breaks below previous swing low → Trend shift DOWN
✦ How to use:
→ Wait for BOS confirmation before entering trades
→ Bullish BOS = Look for long entries
→ Bearish BOS = Look for short entries
→ Combine with zones for high-probability setups
🟦 DEMAND ZONE (Teal Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bearish candle before a bullish BOS
• Institutional buying area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bullish rejection / confirmation candle
→ Enter LONG with stop below the zone
→ Target: Previous high or next supply zone
🟪 SUPPLY ZONE (Purple Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Last bullish candle before a bearish BOS
• Institutional selling area / Unfilled orders
✦ How to use:
→ Wait for price to retrace into the zone
→ Look for bearish rejection / confirmation candle
→ Enter SHORT with stop above the zone
→ Target: Previous low or next demand zone
🔵 FLIP+ / MIT+ (Cyan Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP+: Old supply zone that flipped to demand (breaker block)
• MIT+: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular demand zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter LONG when price taps the zone
🔴 FLIP- / MIT- (Pink Box)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• FLIP-: Old demand zone that flipped to supply (breaker block)
• MIT-: Mitigation zone - area where price may return to rebalance
✦ How to use:
→ Stronger than regular supply zones
→ Price often reacts sharply at flip zones
→ Great for continuation trades after BOS
→ Enter SHORT when price taps the zone
📐 STRUCTURE LINES (Gray Dashed)
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
• Connects swing highs and lows
• Shows market structure and trend direction
✦ How to use:
→ Upward sloping = Bullish structure
→ Downward sloping = Bearish structure
→ Trade in the direction of structure
📊 TRADING STRATEGY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
LONG SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bullish ⚡ BOS │
│ 2. Mark the DEMAND or FLIP+ zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bullish confirmation │
│ 5. Stop loss: Below the zone │
│ 6. Take profit: Next SUPPLY zone │
└─────────────────────────────────────────┘
SHORT SETUP:
┌─────────────────────────────────────────┐
│ 1. Wait for Bearish ⚡ BOS │
│ 2. Mark the SUPPLY or FLIP- zone │
│ 3. Wait for price to retrace to zone │
│ 4. Enter on bearish confirmation │
│ 5. Stop loss: Above the zone │
│ 6. Take profit: Next DEMAND zone │
└─────────────────────────────────────────┘
⚙️ SETTINGS GUIDE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Structure Length (default: 9)
└─ Higher = Less signals, stronger zones
└─ Lower = More signals, more noise
└─ Recommended: 7-14 depending on timeframe
• Confirmation Factor (default: 0.33)
└─ Filters out weak structure breaks
└─ Higher = More confirmation needed
└─ Lower = Earlier signals
• Auto-Remove Broken Zones
└─ ON: Removes zones when price breaks through
└─ OFF: Keeps all zones visible
💡 PRO TIPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Use higher timeframes (4H, Daily) for stronger zones
✓ Combine with volume analysis for confirmation
✓ FLIP zones are generally stronger than regular zones
✓ Fresh (untested) zones have higher probability
✓ Multiple timeframe analysis = Higher accuracy
✓ Don't trade against the BOS direction
⚠️ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Trading involves substantial risk. Past performance is not indicative of
future results. This indicator is a tool to assist your analysis, not a
guarantee of profits. Always use proper risk management.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📧 Questions? Leave a comment below!
⭐ If you find this useful, please give it a BOOST!
🔔 Follow @scalping-algo for more indicators
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
London Session Counter-Trend Strategy
👉 Timeframe: 15 minutes
🕗 Phase 1 — Morning Market Reading
Between 8:00 and 9:00, we observe the dominant market direction.
This direction is considered structural for the rest of the trading day.
If this movement continues until 10:00, it is also validated until a clear pullback occurs.
➡️ Therefore:
8:00–9:00 (and possibly until 10:00) = analysis zone
📐 Phase 2 — Trendline Construction
We draw a dashed trendline based on:
the lowest point if the 9:00 trend is bullish
the highest point if the 9:00 trend is bearish
This trendline acts as a key reference level.
🔄 Phase 3 — Trade Setup
We do NOT trade in the direction of the 8:00 trend.
Instead, we wait for:
a price retracement back to the trendline
Then:
we enter a position in the opposite direction of the 8:00 trend
👉 This is a counter-trend strategy, but a structural and rule-based one — not emotional.
Compression-to-Expansion Early Warning (CEEWS)The Compression → Expansion Early Warning System (CEEWS) is a volatility-structure and market-timing indicator designed to identify periods of statistical price compression and to signal when that compression transitions into directional expansion. Rather than predicting direction in advance, CEEWS focuses on detecting when price action becomes tightly constrained and then confirms when stored energy begins to release.
CEEWS quantifies compression using a composite of volatility contraction, range tightening, candle overlap, and reference-level convergence, producing a normalized Build score (0–100) that reflects the degree of latent price pressure. Elevated Build values indicate that the market is coiled and increasingly susceptible to movement, while expansion signals occur only when volatility begins to expand and price breaks from its recent range.
The indicator is intended as a timing and transition tool, not a standalone trend or directional system. CEEWS is most effective when paired with broader regime or trend-health indicators and is particularly well suited for index funds and highly liquid markets, where prolonged consolidation phases often precede sharp directional moves. Its primary purpose is to help traders identify when the market is likely to move, not to forecast where it will go.
Structural Trend Integrity Score (STIS)The Structural Trend Integrity Score (STIS) is a market regime and trend-quality indicator designed to evaluate the health and durability of a price trend, rather than its direction or momentum. Instead of focusing on overbought or oversold conditions, STIS measures whether a trend is structurally supported by consistent organization, persistence above trend, controlled pullbacks, and smooth progression.
STIS outputs a normalized score from 0 to 100, where higher values indicate stronger and more reliable trend structure, and lower values signal increasing fragility or structural breakdown. This makes it especially well suited for index funds and highly liquid markets, where trends tend to persist or fail based on internal structure rather than short-term price acceleration.
The indicator is intended to be used as a risk and confidence framework, not as a direct buy or sell signal. STIS helps traders and investors determine when it is efficient to maintain or increase exposure and when caution is warranted. It works best when paired with separate timing or entry tools and is particularly effective for long-only or trend-following strategies.
[CT] Daily & Weekly Percentage Price Oscillator Daily & Weekly Percentage Price Oscillator, or D&W PPO, is a dual-speed momentum oscillator that blends a slower “weekly-style” percentage oscillator with a faster “daily-style” percentage oscillator, then turns the relationship between them into a clean histogram that is easy to trade. The script builds four EMAs from the chart’s close. The first pair, L1 and L2, is used to create the W component, which behaves like a slow, higher-timeframe trend pressure line. W is calculated as the percentage distance between EMA(L1) and EMA(L2), normalized by EMA(L2). When W is rising and positive, it tells you the broader momentum is expanding upward, and when W is falling and negative, the broader momentum is expanding downward. The second pair, L3 and L4, creates the D component, which behaves like a faster, lower-timeframe momentum pulse, also expressed as a percentage but normalized by the same EMA(L2), so both components share a consistent “scale.” The script then combines them into R = W + D, which represents the total blended momentum, where W supplies the slow structure and D supplies the fast impulse.
The indicator is plotted as a histogram using “R − W,” and that choice is intentional. Because R = W + D, the histogram value “R − W” is mathematically identical to D. In other words, the columns you see are the fast momentum component, but anchored to a clear baseline that reflects whether the fast component is adding to, or subtracting from, the slower component’s trend context. The zero line is the equilibrium point where R equals W, meaning the fast component is neutral relative to the slow trend context. When the histogram is above zero, the fast component is contributing positive momentum and the script colors the columns with the Bull color, indicating that R is above W and the short-term push is aligned to the upside. When the histogram is below zero, the fast component is contributing negative momentum and the script colors the columns with the Bear color, indicating that R is below W and the short-term push is aligned to the downside. If you enable “Color price bars,” the chart candles are painted with the same logic so you can visually stay in sync with the fast momentum regime without staring at the panel.
How to trade it comes down to treating the histogram as your actionable trigger layer and using its behavior around the zero line as the decision boundary. A basic long framework is to prioritize long trades when the histogram is above zero and either expanding or printing consecutive positive columns, because that tells you the fast momentum pulse is supportive and not fighting the current regime. The cleanest long entries usually occur when the histogram flips from negative to positive and holds above zero for at least a bar or two, because that transition often marks the shift from pullback pressure into renewed upside impulse. You can add selectivity by watching for a “dip and re-strengthen” pattern above zero: after a positive run, the histogram contracts toward the baseline without breaking materially below it, then turns back up, which often corresponds to a controlled pullback followed by continuation. A basic short framework is the mirror image: prioritize shorts when the histogram is below zero and expanding downward, and treat flips from positive to negative that hold below zero as the higher-quality transition into downside impulse. In both directions, the histogram is especially useful for avoiding trades during momentum dead zones, because when columns chop tightly around the zero line with frequent flips, it is signaling indecision and a lack of clean directional impulse, which is where most “false starts” tend to happen.
Risk management with this tool is straightforward because the oscillator gives you a natural invalidation concept. For long trades, a common invalidation is the histogram losing the zero line and staying negative, since that indicates the fast component has turned from supportive to opposing. For short trades, invalidation is the histogram regaining the zero line and holding positive. Another practical way to manage trades is to use histogram contraction as an early warning that the impulse is weakening. If you are long and positive columns begin to shrink toward zero for several bars, you can tighten risk, take partials, or wait for a fresh expansion before adding. If you are short and negative columns begin to shrink toward zero, the same concept applies. The optional W line can be shown if you want a visual anchor of the slow component; while the histogram is already built to reflect the fast component relative to the slow context, viewing W can help you quickly recognize whether the larger momentum backdrop is generally rising or falling, which can be used as an additional bias filter for trade selection.
In practice, the D&W PPO is best used as a momentum alignment and timing tool: the slow component defines the “weather,” the fast component defines the “wind,” and the histogram tells you whether the wind is pushing with the weather or pushing against it. When the histogram is cleanly one-sided and expanding, it supports continuation-style trading and trend-following entries. When the histogram is choppy around zero, it warns you that conditions are rotational and patience usually pays.






















