RRG 1 stockThis Pine Script combines Relative Rotation Graph (RRG) analysis with Supertrend-based trend confirmation to identify momentum shifts and potential trade entries in a single stock relative to a benchmark (e.g., NIFTY). Here’s a detailed description you can use:
Description – RRG + Supertrend Indicator (1 Stock)
The RRG 1 Stock indicator blends relative strength analysis with trend-following confirmation to help traders pinpoint when a stock is outperforming or underperforming its benchmark and to align entries with trend direction.
Core logic:
Benchmark-relative strength (RS-Ratio and RS-Momentum):
Calculates relative strength (RS) of the selected stock versus a benchmark (default: NIFTY).
Applies double smoothed Weighted Moving Averages (WMA) to derive normalized RS-Ratio and RS-Momentum, similar to Julius de Kempenaer’s RRG framework.
Classifies each bar into one of four RRG quadrants:
Leading – strong and improving relative performance
Weakening – losing momentum after leadership
Lagging – underperforming the benchmark
Improving – rebounding from underperformance
The chart background color dynamically reflects the current quadrant.
Supertrend filters (Trend confirmation):
Uses two Supertrend overlays with different multipliers (Factor1, Factor2) to judge trend strength.
Potential long setups occur when the stock is in the Leading quadrant and price is above both Supertrends.
Potential short setups occur when in the Lagging quadrant and price lies below both Supertrends.
Velocity and momentum signals:
Measures RRG “velocity” — the speed of movement across the RS-Ratio/RS-Momentum plane.
Flags unusually strong rotations (high velocity) with a diamond marker when momentum accelerates.
Statistical bands & entry modes:
Standard-deviation bands on RS-Ratio (±2σ by default) can be used for mean-reversion entries if you select STDDEV mode instead of QUADRANT.
Shows fast RS moving average (9-period) as a smoother for momentum confirmation.
Custom time markers:
You can define a specific date (day, month, year) to analyze RRG values at that time and display the difference in bar count since that point.
Visualization:
Plots RS-Ratio (green) and RS-Momentum (blue) with a 100 baseline.
Benchmark and stock closing prices appear in the status line.
Chart background colors shift to reflect RRG quadrant and trend direction.
Usage:
Ideal for relative strength rotation analysis or as a systematic entry trigger in momentum-based strategies. It helps confirm trend continuation or reversals based on both relative momentum and technical trend strength.
Analisis Trend
Atlas Quant -Nifty Options IndicatorAtlas Quant — precision-built Intraday Signal Engine
• Detects short-term price action signals using structured momentum and confirmation logic
• Designed specifically for NIFTY, Sensex, and BankNifty options on lower timeframes (1 min )
• Uses dynamic trailing stop management aligned with real-time volatility
• Maintains non-repainting signal behavior for consistent historical and live analysis
• Visualizes risk, trailing stop, and projected move directly on the chart
• Supports real-time alerts and Telegram integration for disciplined trade monitoring
Future Ichimoku Cloud - HorizonIchimoku Horizon is an advanced Ichimoku indicator that projects future cloud formations and component lines, giving traders unprecedented visibility into potential support/resistance zones before they form.
1. Future Ichimoku Projections
Project Ichimoku components forward in time using simulated price evolution based on rolling Tenkan/Kijun windows
Manual forecast periods up to 125 bars (all 4 components) or 500 bars (cloud only)
Smart limit management automatically adjusts to TradingView's drawing object limits while maximizing visible projections
2. Preset & Custom Ichimoku Configurations
Choose from multiple common Ichimoku presets or fully customize your own
3. Multi-Timeframe Display & Projections
Display Ichimoku from higher/lower timeframes directly on your current timeframe chart
Automatic scaling adjusts Ichimoku periods correctly across timeframes
Intelligent handling of 24/7 markets (crypto/forex) vs traditional session-based markets
Built-in detection of problematic timeframe combinations with optional MTF cloud fetching for accuracy
Automatic notifications when future projections are unavailable due to MTF constraints
4. Tenkan & Kijun Range Windows
Visual range windows that display the exact high/low range used for Tenkan and Kijun calculations
Optional High/Low markers placed at the exact bars they occur
Optional countdown labels show how many bars remain until the current High/Low expires from the rolling window
Range windows scale up and down dynamically to match display timeframe
5. Comprehensive Alert Suite
Built-in alerts for all major Ichimoku events: TK crosses, E2E entires, Kumo breakouts, etc.
All alerts are cloud-aware and displacement-correct.
How It Works
The indicator uses the traditional Donchian channel method to calculate Ichimoku components, then extends this logic forward by simulating future price action within the calculation windows (no new highs or lows). This creates a forward-looking projection of where support and resistance zones will form.
The range display feature helps traders understand why the lines are where they are by showing the exact high/low points and countdown timers for when these points will expire from the calculation.
Who This Indicator Is For:
Ichimoku traders who want future-aware context
Multi-timeframe analysts seeking correctly aligned clouds
Traders who want to understand Tenkan/Kijun mechanics
Users who need precision without manual recalculation
Notes:
Maximum 500 drawing objects limit managed automatically
Due to Pinescript/TradingView limitations, future Tenkan/Kijun line width is only modifiable in the source code.
Liquidity Vacuum DetectorThis indicator identifies liquidity vacuum zones—price areas where the market previously moved quickly with little resistance. These zones often allow price to travel faster once re-entered, which is favorable for intraday options trading.
Vacuum zones are created during strong, clean impulse moves (large range, low overlap, thin participation). When price later enters a stored vacuum zone with volume expansion, the indicator prints a directional triangle to highlight a potential high-speed move.
Optional filters include VWAP directional bias and regular trading hours (RTH).
Designed as a trade filter and acceleration tool, not a predictive signal.
Best used in combination with key levels (PMH/PML, ORH/ORL, VWAP) and volume confirmation.
ETIQUETAS DE ANCLAJE.INTERVALO 9:00 AM/4.15PMThis indicator displays labels on the candlestick that range from 9:00 am to 4:15 pm, with 5-minute intervals, indicating the 5M periods on the chart.
Alpha Net Stop Loss & Take Profit % 🔒 Invite-only Script: Alpha Net SL/TP %
An automated system that plots fixed-percentage Stop Loss and Take Profit zones using EMA 5/32 cross signals. It captures entries, plots TP/SL zones with colored fills, and tracks trade state.
📌 Features:
- EMA 5/32 cross-based entry signals.
- Auto-reset on SL/TP hit.
- Alerts for entry/exit.
- Clean zone visuals.
The code is protected to preserve proprietary logic. Please contact the author to request access.
Trend Quality Score (Options-Friendly)Trend Quality Score for options entry that signals with background coloring for good movement or chop, to avoid theta burn. Toggle for conservative, balanced or aggressive with triggers.
Trading Module [BackQuant]Trading Module
A modular overlay that lets you combine three core components, a Trend Model, an Impulse Model, and an optional Stop Loss framework, then layer in a multi-symbol RSI screener plus a full price action toolkit (market structure, FVGs, order blocks, volumetric S/R). Built for discretionary execution and study, not for blind automation.
────────────────────────────────────────────────────────────
What this script is
This indicator is designed like a “module picker”. Instead of forcing one opinionated system, it gives you selectable models that can be combined into a workflow:
1) Trend Model , answers “what side is the market biased to?”
2) Impulse Model , answers “is there currently expansion, pressure, or a momentum event worth paying attention to?”
3) Stop Loss Layer , answers “where are reasonable invalidation zones if I’m managing risk manually?”
4) RSI Screener , answers “what are my watchlist assets doing right now, on multiple timeframes, in one place?”
5) Price Action Concepts , answers “what structure levels, imbalances, institutional zones, and volume-based levels matter?”
You can run it as a lightweight overlay (trend + impulse only), or turn on the heavier price action stack when you want deeper context.
────────────────────────────────────────────────────────────
How to use it, the intended workflow
Step 1, pick your Trend Model
The trend model is your baseline directional filter. It is meant to reduce “random trading” by keeping you aligned with the dominant structure or momentum bias.
Trend Models (examples)
Typical usage:
- If the trend model reads bullish, you focus on long setups and avoid shorting into strength.
- If the trend model reads bearish, you focus on short setups and avoid catching bottoms.
- If the trend model is neutral or mixed, you reduce size or wait for confirmation.
What you can expect from the options (without exposing internal weighting or thresholds):
- Universal Trend+ , a composite trend regime model that blends multiple families of trend evidence. It is designed to be more robust than a single indicator and reduce “one-indicator failure modes”.
- EMA Cross , a classic fast vs slow trend bias. Simple, responsive, but can whipsaw in ranges.
- DEMA ATR , a smoother trend anchor that adapts to volatility. Often cleaner in chop than basic crosses.
- Relative Strength Overlay , a strength scoring style bias built from an RSI-style internal scoring process. Useful when you want “strength state” more than “moving average state”.
Color conventions:
- Long color and short color are user-defined, so you can keep consistent visuals across your BackQuant suite.
Step 2, pick your Impulse Model
Impulse is separate from trend on purpose. Trend answers direction, impulse answers timing. A market can be trending but not currently impulsing, or impulsing in a counter-trend squeeze.
Impulse Models (examples)
How to use impulse signals:
- Treat impulse as “permission” to engage, not as a standalone trade trigger.
- Best pairing is trend aligned impulse, meaning bullish trend model plus bullish impulse, bearish plus bearish.
- Counter-trend impulses can be used as warning signals, take-profit cues, or short-lived mean reversion opportunities, depending on your style.
The impulse options in this module are built around pressure and expansion detection. They are meant to identify moments where conditions shift from “noise” to “initiative activity”.
Step 3, choose a Stop Loss framework
This script includes optional stop visualization modes. These are not meant to be blindly used as a “one true stop”, they are tools for structuring invalidation around volatility or defined percentage bands.
Stop Loss (examples)
Stop loss options:
- None , no overlay.
- Dynamic , a volatility-aware band. Useful when you want stops to widen in high vol and tighten in low vol.
- Fixed , preset percentage bands. Useful for quick structure around risk units, scaling, or rule-based journaling.
- Bar-to-Bar , a micro-structure invalidation reference that uses the prior bar as a risk anchor. Useful for very tight management and fast invalidation.
How to apply them properly:
- Stops should be placed where the trade idea is wrong, not where you “feel pain”.
- A volatility stop is usually an environment stop, while a fixed stop is usually a plan stop.
- If you use impulses for entries, your stop should account for impulse volatility, otherwise you get stopped on the exact move you’re trying to capture.
────────────────────────────────────────────────────────────
RSI Screener module
This module is built for scanning multiple symbols and timeframes from one chart, without switching tabs.
RSI Screener (example)
What it does:
- Lets you define up to 10 symbols (defaults to major crypto pairs).
- Each slot can have its own timeframe.
- Computes an RSI value per symbol and assigns a directional state relative to a midline threshold.
- Displays a stacked overlay readout using a monospace label style for quick scanning.
How to use it:
- Set slots 1–5 as your majors, 6–10 as your rotation candidates.
- Use higher timeframes for regime, lower timeframes for timing.
- Use the midline threshold as a “trend bias” line, not an overbought or oversold line.
- Treat the screener as context, not a signal. Your chart model and price action still decide the trade.
Performance note:
- Screeners are heavy by nature because each symbol is a security() request. Keep the number of enabled slots reasonable if you are on lower-end hardware or running many scripts.
────────────────────────────────────────────────────────────
Price Action Concepts and Market Structure stack
This script includes a full price action toolkit intended to provide “where” context, levels, zones, and structural breaks, so the trend and impulse models are not operating in a vacuum.
Price Action Concepts / Market Structure (example)
This section is split into five major blocks:
1) Market Structure, Swing and Internal
You can enable swing structure and internal structure separately, with independent lookbacks.
- Swing structure tracks larger, slower pivots, better for macro trend structure.
- Internal structure tracks tighter pivots, better for entry timing and micro shifts.
It prints structure events as:
- BOS (Break of Structure), continuation-style break.
- MSB (Market Structure Break), shift-style break. Some traders call this CHoCH, here it’s presented as an MSB concept.
Usage:
- Swing BOS is good for confirming a larger regime.
- Internal structure is good for timing entries within the swing context.
- If internal flips but swing does not, treat it as a warning, not necessarily a full reversal.
2) Fair Value Gaps (FVG)
Optional imbalance boxes that highlight displacement zones.
Key controls:
- Timeframe selection (or current timeframe).
- How many to keep on chart.
- How far to extend them right.
Usage:
- FVGs are best treated as “areas of interest”, not guaranteed support/resistance.
- They help you frame where price might rebalance after an impulse event.
3) Order Blocks (OB)
Optional institutional-style zones detected from structure and candle logic, with filters.
Key controls:
- Fractal type (3 or 5) changes how “strict” structure detection is.
- Break method (close vs high/low) changes confirmation strictness.
- Optional filter with FVG distance to reduce low-quality blocks.
- Extend, delete-when-filled, and label options for chart hygiene.
Usage:
- OBs are strongest when aligned with swing context and confirmed by volume or displacement.
- Filled blocks are informational, they can be removed to reduce clutter.
4) Volumetric Support and Resistance
This module creates support and resistance “zones” based on high-volume pivot events, then manages them over time.
Key controls:
- Detection sensitivity, volume multiplier, and lookback period.
- Minimum distance between zones to avoid stacking duplicates.
- Remove broken, extend, and volume display toggles.
How to interpret:
- Levels are thicker zones, not single price lines.
- “Touches” are tracked as an interaction count, useful for identifying repeatedly defended or attacked zones.
- High-volume zones are visually emphasized, these tend to matter more than low volume pivots.
Usage:
- Pair volumetric levels with impulse signals, an impulse into a high-volume resistance zone is not the same as an impulse in open space.
- Use volumetric levels as structure anchors for invalidation and targets.
5) Alerts
The price action stack includes alerts for new levels, touches, breaks, and order block creation or interaction.
Use alerts for:
- Watchlist management, you get notified when price hits an area.
- Avoiding screen-watching, especially when you run multi-timeframe setups.
────────────────────────────────────────────────────────────
Core philosophy of the module
This indicator is not “one model to rule them all”. It is meant to let you build a trading process:
- Trend decides bias.
- Impulse decides engagement timing.
- Price action decides location and structure.
- Stops decide risk containment.
- Screener decides where to look.
If you only use one layer, you are throwing away most of the edge this style of framework is designed to create. The strength is in confluence and filtering.
────────────────────────────────────────────────────────────
Suggested presets
Preset A, clean trend-following overlay
- Trend Model, Universal Trend+ or DEMA ATR
- Impulse Model, either option
- Stop Loss, Dynamic
- Price action modules off (structure off, FVG off, OB off, volumetric off)
- Screener on (high timeframe)
Preset B, execution and structure mode
- Trend Model on
- Impulse Model on
- Market Structure on (swing + internal)
- FVG on (current timeframe or one higher)
- Order Blocks on with FVG filter
- Volumetric S/R on
- Stop Loss, Dynamic or Bar-to-Bar depending on speed
Preset C, watchlist scanner mode
- Screener on
- Minimal chart overlays on
- Use alerts for touches and breaks
- Only open charts that show alignment across trend and impulse
────────────────────────────────────────────────────────────
Notes and limitations
- This is a heavy script when multiple modules are enabled, because it draws objects and can request multiple symbols.
- The models are designed to be modular, so not every combination will be optimal for every market or timeframe.
────────────────────────────────────────────────────────────
Quick input map
Main Settings/Models
- Select Trend Model
- Select Impulse Model
- Select Stop Loss
- Show Screener
- Long/Short colors
Screener Settings
- Label size and offsets
- RSI length and midline
- Up to 10 symbol slots with per-slot timeframe and enable toggle
Market Structure
- Swing and internal structure mode and lookbacks
- Bull and bear colors
Fair Value Gaps
- Enable, count, timeframe, extend, colors
Order Blocks
- Enable, labels, fractal type, break method
- FVG filter and distance
- Lookback, extend, delete-when-filled, colors
Volumetric S/R
- Sensitivity, volume multiplier, analysis window
- Level limits, distance rules, extension and cleanup rules
- Volume display preferences
────────────────────────────────────────────────────────────
End note
This is intended as a full visual decision-support module for discretionary traders who want trend, timing, structure, and watchlist scanning in one place. Use it to build a repeatable process, then validate that process with proper testing and journaling before risking real capital.
previous day/week high and lowsThis scrip plots the previous day high and lows, pre market high and lows, previous week high and low.
TSLA 15min EntryTSLA 15min Entry
Indicator Type: Market Structure Breakout & Momentum Confirmation Tool
Timeframe: Optimized for 15-minute charts
The TSLA 15min Entry indicator is designed to identify high-probability directional setups based on structural breakout behavior combined with volume-weighted momentum confirmation.
It highlights potential entry zones where price is showing a decisive break from short-term equilibrium, then provides dynamic stop-loss and tiered take-profit targets to help manage trades systematically.
Key features include:
✅ Automatic Entry Signals: Generates clear LONG or SHORT entries when price confirms a structural breakout pattern.
🟡 Dynamic Stop-Loss: Optional “Tight SL” mode for active day traders, or a balanced default mode for smoother setups.
🔵 Tiered Take-Profit Lines: Displays up to three adjustable TP levels (TP1, TP2, TP3) directly on the chart.
⚙️ Clean Chart Options: Each line (SL, TP1–3) can be toggled on or off individually for a customizable view.
📊 Squeeze & Trend Panel: Helps visualize contraction and expansion phases in momentum — useful for timing entries during volatility shifts.
🕒 Session-Based Logic: All signals and lines reset daily, making it ideal for intraday traders focused on short-term market structure.
This indicator was specifically built and optimized for trading TSLA on the 15-minute timeframe.
Other tickers or timeframes are not recommended, as the logic and signal timing are tuned exclusively for TSLA’s price behavior and volatility.
Extended Hours must be turned on in your TradingView chart settings for the indicator to function properly.
⚠️ Disclaimer: This indicator is for educational and informational purposes only. It does not constitute financial advice or a recommendation to buy or sell any security. Always perform your own analysis and trade responsibly.
UNDETECTED FX - 250 Pip LevelsIndicator Description – UNDETECTED FX: 250-Pip Psychological Levels
This indicator automatically plots major 250-pip psychological levels on XAUUSD and highlights the price zones around them. These levels act as strong reaction points where liquidity, reversals, and institutional activity commonly occur.
What the Indicator Does
✔ Plots every 250-pip level starting from a user-defined base (e.g., 4050 → 4075 → 4100 → 4125 → …)
✔ Each level is represented by a thick black horizontal line for maximum visual clarity
✔ Around every 250-pip level, the indicator draws a liquidity zone
Top of zone: +200 pips
Bottom of zone: –200 pips
(configured as ± zoneHalf in settings)
✔ Uses extend: both, so levels stretch across the entire chart and stay fixed, no matter how far you scroll
✔ Zones are filled with a customizable color for clear premium/discount visualization
✔ The indicator never repaints and requires no updates after drawing — all levels are fixed on their price coordinates
Why It’s Useful
🔹 Helps quickly identify institutional levels where gold often reacts
🔹 Acts as a framework for scalping, intraday trading, and swing bias
🔹 Makes it easy to spot liquidity sweeps, rejections, and premium/discount areas
🔹 Clearly shows market structure breaks around key psychological levels
🔹 Forces discipline by creating predefined, fixed levels for trading decisions
Best Use Case
XAUUSD scalpers
Intraday traders who rely on precision entries
Traders who use psychological levels, liquidity grabs, or smart-money concepts
Anyone wanting a clean, non-cluttered chart with high-impact levels only
Candle Reversal Pattern Detector (Trend-Filtered)This indicator is designed to highlight potential reversal moments in price action while keeping them aligned with the broader market context. The focus is on clarity, selectivity, and visual simplicity. Very fast trading.
Core concept
The tool observes candle behavior to identify situations where market control may be shifting. These situations are considered relevant only when they are consistent with the prevailing directional environment, helping to avoid counterproductive signals.
Context awareness
Signals are filtered using a directional reference, so reversal patterns are shown only when they appear within a coherent market phase. This helps reduce noise and emphasizes higher-quality situations.
Visual approach
Signals are displayed directly on the chart using clear, minimal markers. Optional labels can be enabled to provide immediate visual recognition without cluttering the price action.
How to use it
This indicator is best used as a decision-support tool rather than a standalone trading system. It works well when combined with basic structure reading and higher-timeframe context.
Best conditions
Most effective in markets that respect directional movement and show clean price behavior. In very choppy or low-structure environments, signals should be interpreted with discretion.
For educational and analytical purposes only. Always test across different instruments and timeframes before relying on it.
Confluence Signal Intelligence Indicators (CSI Indicators)CSI - Confluence Signal Intelligence is a dual-oscillator analysis tool that combines two specialized indicators in a single pane. It provides visibility into cycle exhaustion and statistical deviation conditions to help identify potential turning points.
The Two Oscillators
CEI - Cycle Exhaustion Index (Upper Section)
CEI measures where price sits within its recent cycle range and detects momentum depletion states. It identifies moments when a move has stretched beyond typical levels, which historically have preceded mean-reversion.
Normalized range from -1.0 to +1.0
Configurable exhaustion thresholds
Reversal signals (REV) when extreme zones begin turning
Cycle wave overlay showing peak/trough phases
Stepped confluence indicator between sections
PRG - PDF Reversal Gauge (Lower Section)
PRG applies statistical transforms across multiple timeframes to measure deviation from price norms. It combines readings from primary and secondary periods to create a confluence assessment.
Multi-period analysis for timing and confirmation
Strong Confluence (SC) signals at statistical extremes
Confluence scoring when multiple periods align
Deviation bars showing distance from mean
Signal Types
CEI Signals:
REV - Reversal signal when exhaustion zone begins turning
Triangle markers - Entry into exhaustion zones
X markers - Extreme exhaustion levels
PRG Signals:
SC - Strong Confluence signal when threshold met
Triangle markers - Standard reversal signals
Diamond markers - Multi-period confluence alignment
Visual Design
The pane is divided into two distinct sections with a separator line:
Upper Section (CEI) - Cycle analysis with area fill and confluence stepping
Lower Section (PRG) - Statistical gauge with deviation bars
Color Coding - Gold for strong confluence, Green/Red for direction, Gray for neutral
Zone Backgrounds - Shaded areas marking overbought/oversold regions
Information Table - Real-time values, zones, confluence scores, and signals for both oscillators
Configuration
CEI Settings:
Cycle period and exhaustion lookback
Signal smoothing and sensitivity
Upper/lower exhaustion thresholds
Extreme level definition
PRG Settings:
Primary and secondary periods
Smoothing and extreme threshold
Confluence sensitivity
Strong confluence threshold
Multi-period confluence toggle
Layout Settings:
Adjustable vertical positioning
Independent scale factors for each oscillator
Separator position control
Alert Conditions
CEI Alerts - Bull/Bear reversals, extreme exhaustion levels
PRG Alerts - Strong confluence buy/sell, standard reversals
Combined Alerts - Both oscillators signaling together, strong combined confluence
Companion Indicator
CSI - Confluence Signal Intelligence is the main chart overlay that generates BUY/SELL signals with confidence classifications (HIGH/MEDIUM/LOW). This oscillator pane is designed to work alongside it, showing the cycle and statistical dynamics that contribute to signal generation.
When using both together:
Main CSI provides analytical signals directly on the price chart
This pane reveals the underlying CEI and PRG oscillator states
Aligned readings across both indicate stronger confluence
Reading the Pane
For potential long setups:
CEI in lower exhaustion zone (OS) and rising
PRG in oversold territory and turning up
REV or SC labels appearing
Both oscillators showing elevated confluence scores
For potential short setups:
CEI in upper exhaustion zone (OB) and falling
PRG in overbought territory and turning down
REV or SC labels appearing
Both oscillators showing elevated confluence scores
The oscillators may not signal on the exact same bar. When readings cluster within a few bars, this suggests developing conditions that warrant attention.
Risk Disclosure
This indicator measures technical conditions—not future price direction. Confluence scores represent analytical assessments based on statistical deviation and cycle position, not guarantees of market movement. All trading involves substantial risk of loss. Use this tool alongside your own analysis and proper risk management. No indicator can predict future price movements with certainty.
---
## AUTHOR'S INSTRUCTIONS:
```
To request access to CSI - Confluence Signal Intelligence , please send a private message or visit frontieralgo.com/tradingview.
For best results, use alongside the main CSI overlay on the price chart.
Confluence Signal Intelligence (CSI)CSI - Confluence Signal Intelligence is a professional-grade analytical overlay that evaluates market conditions across multiple dimensions simultaneously. Rather than relying on a single indicator, CSI synthesizes multiple evidence factors and classification models into unified BUY/SELL signals with confidence classifications.
What It Does
CSI identifies potential reversal zones by detecting when multiple independent analytical components align in the same direction. Each signal displays a confidence classification:
HIGH - Strong multi-factor alignment (Gold labels)
MEDIUM - Moderate factor alignment
LOW - Limited factor alignment
Important : The confidence level measures analytical consensus—not a prediction of trade outcome. A HIGH reading means multiple components agree on directional bias at that moment, not that the trade will be profitable.
Multi-Factor Analysis
The classification system evaluates conditions across several categories:
Statistical Extremes - Normalized price transforms that identify stretched conditions
Momentum Indicators - Multiple oscillators confirming oversold/overbought states
Cycle Analysis - Gauges measuring exhaustion and potential turning points
Trend Alignment - Multi-timeframe directional agreement
Market Structure - Break of Structure events and swing point analysis
Pattern Classification - Models comparing current conditions to historical setups
Volume Analysis - Confirming directional moves with participation
Divergence Detection - Price/momentum disagreements across multiple oscillators
Classification Components
CSI incorporates multiple classification models (KNN, gradient boosting approximation, perceptron) that analyze current market conditions against historical patterns. These models contribute to the overall confidence assessment by identifying setups with characteristics similar to past formations.
Smart Money Concepts
The indicator includes institutional trading concepts:
Break of Structure (BOS) - Markers when price violates significant swing points
Order Blocks - Potential support/resistance zones based on price structure
Fair Value Gaps (FVG) - Price imbalances that may act as future reference points
Regime Detection - Background coloring distinguishing trending vs. ranging conditions
Key Features
Non-Repainting Mode - Optional bar-close confirmation prevents signal changes on the current bar
Adaptive Thresholds - Automatically adjusts sensitivity based on market volatility
Signal Filtering - Option to hide LOW confidence signals to reduce noise
Configurable Cooldown - Minimum bars between signals to prevent overtrading
Comprehensive Dashboard - Real-time display of key metrics and states
Trend EMAs - 20/50/200 period moving averages for context
Extensive Alerts - Conditions for signals, structure breaks, divergences, and more
Intended Use
CSI is designed as a decision-support tool for traders conducting their own analysis. It identifies moments of technical alignment that may warrant further investigation—it does not guarantee profitable outcomes. Market results depend on numerous variables beyond any single analytical tool.
The indicator works across all markets and timeframes.
Companion Indicator
CSI - Confluence Signal Intelligence is published separately and displays the underlying oscillators in their own pane:
CEI (Cycle Exhaustion Index) - Cycle position and momentum depletion measurement
PRG (PDF Reversal Gauge) - Statistical deviation scoring
When used together, the main CSI overlay provides signals on the chart while the oscillator pane offers visibility into the cycle and reversal dynamics contributing to those signals.
Risk Disclosure
This indicator is an analytical tool—not financial advice. Past performance does not guarantee future results. All trading involves substantial risk of loss. Confidence levels reflect internal model agreement only and should be considered alongside broader market context, your own analysis, and sound risk management practices. No indicator can predict future price movements with certainty.
---
## AUTHOR'S INSTRUCTIONS:
```
To request access to CSI - Confluence Signal Intelligence, please visit frontieralgo.com/tradingview or send a private message.
Multi-Confirmation Fib Zones This indicator combines **dynamic Fibonacci-style price zones** with a **multi-signal confirmation layer** to highlight areas where reactions are more likely to matter.
Core purpose
* Map out **contextual price areas** derived from recent market ranges.
* Provide a structured way to read potential **reaction / continuation zones** without relying on a single input.
Zone framework
* The tool continuously tracks the market’s recent extremes and builds **adaptive reference zones** around them.
* It can display both **bullish-context** and **bearish-context** zones, depending on the current market behavior.
Confirmation layer (confluence concept)
Instead of treating any zone touch as a signal, it evaluates **multiple market perspectives**, such as:
* momentum pressure,
* momentum shifts,
* short-term oscillation balance,
* participation / activity confirmation.
Signals are intended to be interpreted only when **several views align**, helping reduce false positives.
Practical use
* Useful for traders who want **structured levels + confirmation** in one visual workflow.
* Can support both **trend continuation** and **reaction-based setups**, depending on broader context.
* Best treated as a **decision support system** (a “dashboard”), not a standalone trade trigger.
Best conditions
* Works best when markets are **respecting ranges and reacting at obvious areas**.
* In extremely noisy, thin, or news-driven spikes, confirmations may desync and require more discretion.
*For educational and analytical purposes only. Always validate across different instruments and timeframes.*
Killshotcopy// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
//@version=5
indicator("Killshot", overlay=true, format = format.price, max_labels_count=500, max_lines_count=500)
max_bars_back(time, 5000)
////////////////////////////////////////////////////////////////////////////
///// /////
///// Input Block /////
///// /////
////////////////////////////////////////////////////////////////////////////
// Color inputs for EMAs
short_color = input.color(defval=color.blue, title="Fast EMA Color", group="EMA Settings")
medium_color = input.color(defval=color.orange, title="Slow EMA Color", group="EMA Settings")
long_color = input.color(defval=color.red, title="Long EMA Color", group="EMA Settings")
// EMA period inputs
fastEMA = input.int(defval=20, title="Fast EMA", group="EMA Settings")
slowEMA = input.int(defval=50, title="Slow EMA", group="EMA Settings")
longEMA = input.int(defval=238, title="Long EMA", group="EMA Settings")
//Support & Resistance
showSR = input.bool(title="Display Support and Resistance", defval=true, group="S&R; Settings")
atrMovement = input.float(title="ATR Movement Required", defval=1.0, step=0.5, tooltip="Minimum ATR distance price must move to consider a pivot zone to be 'major'")
lookback = input.int(title="High/Low Lookback", defval=25, step=5, tooltip="Lookback period for detecting swing highs/lows")
maxZoneSize = input.float(title="Max Zone Size (Compared to ATR)", defval=2.5, step=0.5, tooltip="If a zone is larger than the current ATR multiplied by this, it is considered too large and ignored")
newStructureReset = input.int(title="Zone Update Count Before Reset", defval=25, step=5, tooltip="The script draws two zones until they're violated - if the first zone is updated this many times, the second zone is reset")
drawPreviousStructure = input.bool(title="Draw Previous Structure", defval=true, tooltip="This turns on/off drawing 'support-turned-resistance' and 'resistance-turned-support'")
displayStars = input.bool(title="Display Stars", defval=true, group="Star Settings")
////////////////////////////////////////////////////////////////////////////
///// /////
///// EMA Cross Plot Block /////
///// /////
////////////////////////////////////////////////////////////////////////////
short = ta.ema(close, fastEMA)
medium = ta.ema(close, slowEMA)
long = ta.ema(close, longEMA)
plot(short, color=short_color, linewidth=1)
plot(medium, color=medium_color, linewidth=1)
plot(long, color=long_color, linewidth=1)
//Show the directional arrows
plotshape(ta.cross(short,medium) and short>medium ? short : na, style=shape.triangleup, color=color.blue, size=size.small, location=location.belowbar)
plotshape(ta.cross(short,medium) and shortmedium ? bullColor : bearColor
plot(series=low, style=plot.style_columns, color=c_ma)
////////////////////////////////////////////////////////////////////////////
///// /////
///// Support & Resistance Code Block /////
///// /////
////////////////////////////////////////////////////////////////////////////
// Get current ATR value
atr = ta.atr(14)
// Get highest body and lowest body for the current candle
highestBody = open > close ? open : close
lowestBody = open > close ? close : open
// Set up our persistent S&R; variables (1 = the wick and 2 = the body)
var res1 = 0.0
var res2 = 0.0
var sup1 = 0.0
var sup2 = 0.0
var lookForNewResistance = true
var lookForNewSupport = true
// Set up our *previous* support & resistance variables (for drawing support-turned-resistance etc)
var previousRes1 = 0.0
var previousRes2 = 0.0
var previousSup1 = 0.0
var previousSup2 = 0.0
// Set up our ATR variables (for identifying significant declines/rallies to validate S&R; zones)
var atrSaved = 0.0
var potentialR1 = 0.0
var potentialR2 = 0.0
var potentialS1 = 0.0
var potentialS2 = 0.0
// Detect fractal swing highs for resistance
// We're looking for this pattern: .|.
if high == ta.highest(high, lookback) and high < high and lookForNewResistance
r1 = high
r2 = highestBody > highestBody ? highestBody : highestBody > highestBody ? highestBody : highestBody
if (r1 - r2) / atr <= maxZoneSize
lookForNewResistance := false
potentialR1 := r1
potentialR2 := r2
atrSaved := atr
// Detect fractal swing lows for support
// We're looking for this pattern: *|*
if low == ta.lowest(low, lookback) and low > low and lookForNewSupport
s1 = low
s2 = lowestBody < lowestBody ? lowestBody : lowestBody < lowestBody ? lowestBody : lowestBody
if (s2 - s1) / atr <= maxZoneSize
lookForNewSupport := false
potentialS1 := s1
potentialS2 := s2
atrSaved := atr
// Check if potential resistance zone has already been violated. If it has, reset our potential R1 & R2
if close > potentialR1 and barstate.isconfirmed
potentialR1 := na
potentialR2 := na
// Check if potential support zone has already been violated. If it has, reset our potential S1 & S2
if close < potentialS1 and barstate.isconfirmed
potentialS1 := na
potentialS2 := na
// Check if we've had a significant decline since detecting swing high
if potentialR1 - low >= (atrSaved * atrMovement)
previousRes1 := na(previousRes1) ? potentialR1 : previousRes1 // Store previous resistance if we're not already drawing it
previousRes2 := na(previousRes2) ? potentialR2 : previousRes2
res1 := potentialR1
res2 := potentialR2
potentialR1 := na
potentialR2 := na
// Check if we've had a significant rally since detecting swing low
if high - potentialS1 >= (atrSaved * atrMovement)
previousSup1 := na(previousSup1) ? potentialS1 : previousSup1 // Store previous support if we're not already drawing it
previousSup2 := na(previousSup2) ? potentialS2 : previousSup2
sup1 := potentialS1
sup2 := potentialS2
potentialS1 := na
potentialS2 := na
// Declare support & resistance update counters
// This is used for forcing a zone reset if a zone is not violated within a reasonable period of time
var supCount = 0
var resCount = 0
// If the previous resistance high has been violated then begin searching for a new resistance zone
if close >= res1 and barstate.isconfirmed
lookForNewResistance := true
lookForNewSupport := true
resCount := resCount + 1
// If the previous support low has been violated then begin searching for a new support zone
if close <= sup1 and barstate.isconfirmed
lookForNewSupport := true
lookForNewResistance := true
supCount := supCount + 1
// If our current resistance zone has been violated, store its values to draw new *potential* support zone
// The idea being that once a major resistance zone is violated it often becomes future support
// But we only save previous S&R; if we don't already have one saved (or our zone update count exceeds newStructureReset)
if (close > res1 and na(previousRes1) and barstate.isconfirmed) or previousRes1 == 0.0 or supCount >= newStructureReset
previousRes1 := res1
previousRes2 := res2
supCount := 0
// If our current support zone has been violated, store its values to draw new *potential* resistance zone
// The idea being that once a major support zone is violated it often becomes future resistance
// But we only save previous S&R; if we don't already have one saved (or our zone update count exceeds newStructureReset)
if (close < sup1 and na(previousSup1) and barstate.isconfirmed) or previousSup1 == 0.0 or resCount >= newStructureReset
previousSup1 := sup1
previousSup2 := sup2
resCount := 0
// If our resistance-turned-support zone has been violated, reset our saved resistance variables
if close < previousRes2 and barstate.isconfirmed
previousRes1 := na
previousRes2 := na
// If our support-turned-resistance zone has been violated, reset our saved support variables
if close > previousSup2 and barstate.isconfirmed
previousSup1 := na
previousSup2 := na
// Draw our current resistance zone
r1 = plot(res1 == res1 ? res1 : na, color=close >= res1 ? color.green : color.red, style=plot.style_linebr, title="R1")
r2 = plot(res1 == res1 ? res2 : na, color=close >= res1 ? color.green : color.red, style=plot.style_linebr, title="R2")
fill(r1, r2, color=close > res1 ? color.green : color.new(color.red, 50), title="Resistance Zone")
// Draw our current support zone
s1 = plot(sup1 == sup1 ? sup1 : na, color=close < sup1 ? color.red : color.green, style=plot.style_linebr, title="S1")
s2 = plot(sup1 == sup1 ? sup2 : na, color=close < sup1 ? color.red : color.green, style=plot.style_linebr, title="S2")
fill(s1, s2, color=close < sup1 ? color.red : color.new(color.green, 50), title="Support Zone")
// Draw our previous support zone (turned potential resistance)
ps1 = plot(previousSup1 == previousSup1 and previousSup1 != sup1 and drawPreviousStructure ? previousSup1 : na, color=color.red, style=plot.style_linebr, title="PS1")
ps2 = plot(previousSup1 == previousSup1 and previousSup1 != sup1 and drawPreviousStructure ? previousSup2 : na, color=color.red, style=plot.style_linebr, title="PS2")
fill(ps1, ps2, color=color.new(color.red, 10), title="Previous Support Zone")
// Draw our previous resistance zone (turned potential support)
pr1 = plot(previousRes1 == previousRes1 and previousRes1 != res1 and drawPreviousStructure ? previousRes1 : na, color=color.green, style=plot.style_linebr, title="PR1")
pr2 = plot(previousRes1 == previousRes1 and previousRes1 != res1 and drawPreviousStructure ? previousRes2 : na, color=color.green, style=plot.style_linebr, title="PR2")
fill(pr1, pr2, color=color.new(color.green, 10), title="Previous Resistance Zone")
////////////////////////////////////////////////////////////////////////////
///// /////
///// STARS Code Block /////
///// /////
////////////////////////////////////////////////////////////////////////////
//calculation variables. Hardcoded for now.
Depth1 = 5
Depth2 = 13
Depth3 = 34
Deviation1 = 1
Deviation2 = 8
Deviation3 = 13
Backstep1 = 3
Backstep2 = 5
Backstep3 = 8
// STAR Color settings - MEDIUM NOW BLUE
color1 = input(title = "Small Stars Color", defval = color.yellow)
color2 = color1
color3 = input(title = "Medium Stars Color", defval = color.aqua)
color4 = color3
color5 = input(title = "Large Sell Stars Color", defval = color.red)
color6 = input(title = "Large Buy Stars Color", defval = color.lime)
repaint = true
// CHATGPT FIX #1: Add useStar parameter
zigzag(Depth0, Deviation0, Backstep0, color0, color00, size0, useStar) =>
var last_h = 1
last_h += 1
var last_l = 1
last_l += 1
var lw = 1
var hg = 1
lw += 1
hg += 1
p_lw = -ta.lowestbars(Depth0)
p_hg = -ta.highestbars(Depth0)
lowing = lw == p_lw or low - low > Deviation0 * syminfo.mintick
highing = hg == p_hg or high - high > Deviation0 * syminfo.mintick
lh = ta.barssince(not highing )
ll = ta.barssince(not lowing )
down = ta.barssince(not(lh > ll)) >= Backstep0
lower = low > low
higher = high < high
if lw != p_lw and (not down or lower)
lw := p_lw < hg ? p_lw : 0
lw
if hg != p_hg and (down or higher)
hg := p_hg < lw ? p_hg : 0
hg
label point = na
x1 = down ? lw : hg
y1 = down ? low -3 : high
if down == down
if repaint
label.delete(point )
down
if down != down
if down
last_h := hg
last_h
else
last_l := lw
last_l
if not repaint
nx = down ? last_h : last_l
point := label.new(bar_index-nx, down ? high : low -6, text = "🟡", style=down?label.style_label_down:label.style_label_up)
down
if repaint
// FINAL FIX: Use red/green circle emojis for Depth3, yellow circles for Depth1/2
txt = useStar ? (down ? "🟢" : "🔴") : "🟡"
point := label.new(bar_index - x1, y1, txt, style=label.style_none, size=size0, textcolor=down ? color00 : color0, xloc=xloc.bar_index, yloc=yloc.price, force_overlay=true)
if displayStars
// CHATGPT FIX #3: Pass false for Depth1/2, true for Depth3
zigzag(Depth1, Deviation1, Backstep1, color1, color2, size.normal, false)
zigzag(Depth2, Deviation2, Backstep2, color3, color4, size.large, false)
zigzag(Depth3, Deviation3, Backstep3, color5, color6, size.huge, true)
////////////////////////////////////////////////////////////////////////////
///// /////
///// Trigger Alerts /////
///// /////
////////////////////////////////////////////////////////////////////////////
// Code Alerts
alert_message = ""
if ta.cross(short,medium) and short>medium
alert_message := "EMA Cross Buy alert for " + syminfo.description + " price: " + str.tostring(math.round(open, 2))
alert(alert_message, freq=alert.freq_once_per_bar)
if ta.cross(short,medium) and short
MASTER ENGINE v6
MASTER ENGINE v6 is a multi-timeframe decision engine that shows direction, alignment quality, risk conditions, and a realistic target zone — without forcing trades.
What it actually does (short version)
Finds the dominant direction using multiple timeframes
Weights higher timeframes more heavily so noise can’t override structure
Grades trade quality (A–D) so you know when conditions are strong or marginal
Checks timing alignment so you’re not trading against momentum
Flags stretched or reversal-risk conditions early and clearly
Shows a conservative ATR-based target zone, scaled by trade quality
Everything is filtered through risk first, not opportunity first.
How to read it (at a glance)
DIR / ALIGNMENT → market bias and confidence
GRADE → trade quality, not probability
PLUS1 / NOW → timing agreement
TRADE → ON, CAREFUL, or stand aside
WHY → the single most important reason
TARGET ZONE → potential distance, not a promise
What it is not
❌ Not an entry signal
❌ Not a take-profit system
❌ Not predictive
❌ Not automated
In short
MASTER ENGINE v6 acts like a calm, experienced trader sitting next to you, saying:
“Direction is clear.”
“Timing is okay… but be careful.”
“Market’s stretched — don’t force it.”
“This is a reasonable zone, not a guaranteed target.”
You still make the final decision.
Momentum Quality Index (MQI)
Welcome to the Momentum Quality Index! This indicator aims to provide insight into short term trends by measuring the efficiency of price movement relative to the momentum of the trend. This indicator is designed to work better on short term time frames, capturing the micro-level of trends for practices such as day-trading, options trading, and shorter term swing trading.
How to read:
The main way of reading this indicator is through moving average crossovers. Upwards crossovers indicates uptrends whereas downwards crossovers indicates downtrends.
Customization:
This indicator includes a few adjustable options for fine tuning, such as optimized smoothing options and moving average length for efficiency in spotting reversals.
Asset Rotation System[Sahebson]Asset Rotation System
Overview
Asset Rotation System is a sophisticated cross-sectional momentum strategy designed to dynamically rotate capital among a customizable selection of assets. The system continuously evaluates the relative strength of multiple assets using proprietary alpha scoring methodology, automatically positioning your portfolio in the strongest-performing asset at any given time.
This indicator provides a complete portfolio management solution for traders seeking to maximize returns through systematic asset rotation while maintaining full transparency with comprehensive performance metrics, trade history, and visual feedback.
Key Features
1. Dynamic Asset Rotation
The system continuously monitors up to 10 customizable assets across any market—stocks, crypto, forex, or commodities. Using cross-sectional analysis, it identifies the asset demonstrating the strongest relative momentum and automatically signals rotation when leadership changes.
Supports any tradable asset available on TradingView
Real-time alpha scoring for each asset
Automatic rotation signals when market leadership shifts
2. Flexible Asset Selection
Each asset slot includes an enable/disable checkbox, allowing traders to:
Quickly toggle assets in and out of the rotation universe
Test different asset combinations without reconfiguring
Adapt to changing market conditions by excluding underperforming sectors
3. Adaptive Rolling Window Strategy
The system offers four pre-configured rolling window strategies that automatically adjust based on your chart timeframe:
Conservative: Strategy Behavior Best For Conservative Very stable, fewer trades Long-term investors seeking minimal turnover
Optimal: Balanced approach Most traders seeking good trend capture with filtered noise
Aggressive: More responsive Active traders wanting to catch trends early
Very Aggressive: Highly responsive Short-term traders comfortable with higher turnover
Manual override option available for advanced users who prefer custom settings.
4. Comprehensive Performance Metrics
Real-time calculation and display of institutional-grade performance ratios:
Sharpe Ratio: Risk-adjusted returns relative to total volatility
Sortino Ratio: Downside risk-adjusted returns (penalizes only negative volatility)
Omega Ratio: Probability-weighted ratio of gains vs. losses
Maximum Drawdown: Largest peak-to-trough decline
Average Holding Period: Mean bars held per position
5. Portfolio vs. Benchmark Comparison
Side-by-side comparison of your rotating portfolio against a customizable benchmark index:
Separate equity curves for visual comparison
Color-coded metrics showing outperformance/underperformance
Real-time tracking of both portfolio and benchmark returns
6. Buy & Hold Comparison Table
Instantly compare your portfolio's performance against buy-and-hold returns for each individual asset:
See which assets would have outperformed the rotation strategy
Validate the effectiveness of dynamic allocation
Identify periods where rotation adds or subtracts value
7. Detailed Trade History
Complete trade log with:
Date and time of each rotation
Sell asset and price
Buy asset and price
P&L % per trade
Holding period (bars) for each position
Configurable display (0-30 trades)
8. Visual Chart Feedback
Rotation Signals: Triangle markers with asset name when rotations occur
Portfolio Label: Current position, equity value, and return percentage
Benchmark Label: Benchmark name, equity value, and return percentage
Top Asset Box: Prominent display of current holding with alpha score
9. Flexible Back testing
Custom start date and time
Optional end date for specific period testing
Configurable starting capital
Adjustable risk-free rate for ratio calculations
Choice of 252 or 365 trading days for annualization
10. Real-Time Alerts
Automatic notifications when rotation occurs:
Alert includes sell asset, sell price, buy asset, and buy price
Compatible with TradingView's alert system
Never miss a rotation signal
************************************************************************
How to Use for Optimal Returns:
Step 1: Select Your Asset Universe
Choose assets that are:
Uncorrelated or negatively correlated: Diversification improves rotation effectiveness
Liquid: Ensures you can execute rotations without slippage
From different sectors/markets: Increases probability of finding strong performers
Step 2: Choose Your Rolling Window Strategy
Conservative, Optimal (default),Aggressive, Very Aggressive
Step 3: Set Your Timeframe
The rolling window automatically adapts to your chart timeframe:
Higher timeframes (Daily, Weekly): Smoother signals, fewer rotations, lower transaction costs
Lower timeframes (1H, 4H): More responsive, more rotations, higher potential but more noise
Recommendation: Start with Daily timeframe and Optimal strategy for most balanced results.
Step 4: Configure Backtest Period
Set start date to include various market conditions (bull, bear, sideways)
Ensure sufficient history for statistical significance (minimum 1 year recommended)
Compare metrics across different time periods to assess consistency
Step 5: Evaluate Performance
Look for:
Sharpe Ratio > 1.0: Acceptable risk-adjusted returns
Sharpe Ratio > 2.0: Very good risk-adjusted returns
Sortino Ratio > Sharpe Ratio: Strategy handles downside well
Omega Ratio > 1.5: Favorable gain/loss distribution
Portfolio Return > Benchmark: Strategy adds value vs. passive holding
Step 6: Monitor and Execute
Enable alerts for rotation notifications
Execute trades promptly when signals occur
Review trade history periodically to understand rotation patterns
Adjust asset universe if certain assets consistently underperform
Best Practices
DO:
✅ Include assets from different sectors or markets
✅ Use higher timeframes for fewer, more reliable signals
✅ Start with Conservative or Optimal strategy
✅ Backtest across multiple market conditions
✅ Consider transaction costs in your evaluation
✅ Monitor the Average Holding metric—longer holds generally mean lower costs
DON'T:
❌ Include highly correlated assets (reduces rotation benefit)
❌ Over-optimize on historical data
❌ Use Very Aggressive on low timeframes without understanding risks
❌ Ignore Maximum Drawdown—high returns with extreme drawdowns may not be sustainable
❌ Chase the highest returning backtest—consistency matters more
Performance Metrics Explained
Metric: What It Measures
Good Value Return Total: percentage gain/loss Positive
Benchmark Max DD Worst peak-to-trough decline: < 20% ideal, < 30% acceptable
Sharpe: Return per unit of total risk> 1.0 good, > 2.0 excellent
Sortino: Return per unit of downside risk> 1.5 good, > 2.5 excellent
Omega: Gain/loss probability ratio> 1.5 good, > 2.0 excellent
Avg Holding: Mean bars per position, Higher = lower turnover costs
***************************************************************************************************
Final Thoughts
Asset Rotation System provides a systematic, data-driven approach to portfolio management. By dynamically allocating capital to the strongest-performing asset among your selected universe, the strategy aims to capture momentum while avoiding underperformers.
The comprehensive metrics suite allows you to evaluate not just returns, but risk-adjusted performance, ensuring you understand the true quality of your results. Whether you're managing a stock portfolio, crypto holdings, or a diversified cross-asset allocation, this indicator provides the tools needed to implement a disciplined rotation strategy.
Remember: Past performance does not guarantee future results. Always validate the strategy across multiple market conditions and consider your personal risk tolerance before trading.
Malama's Quantum FusionOverview
Malama's Quantum Fusion is an advanced, unified trading indicator that builds upon and significantly extends the core concepts from "Malama's Quantum Swing Modulator" (MQSM). It intelligently fuses swing-based probability zones with a full reversal signal engine, multi-layered trend confirmation, regime detection, and optional multi-timeframe (MTF) alignment. Signals are generated only when multiple independent systems converge, resulting in higher-conviction setups with reduced false signals in ranging or choppy conditions.
The system combines:
Probability Zones — Swing pivots, ATR uncertainty bands, and weighted scoring from oscillators (RSI, MFI), volume, price deviation, and regime-adjusted momentum.
Reversal Signal Engine — Precise candle pattern detection requiring alignment with EMA structure and a dual Supertrend cloud, plus customizable filters.
Final qualified signals demand strict confluence: reversal pattern + high-probability zone proximity (optional) + trend cloud + filters + optional MTF trend confirmation.
Key Features
Uncertainty Zones: ATR-shaded bands around a central EMA wave for market context.
Trend Cloud: Dual Supertrend (fast/slow) fill visualizing bullish/bearish/mixed states.
Dynamic S/R Lines: Auto-drawn from EMA crosses, extending forward until price invalidation (close beyond level).
Comprehensive Dashboard: On-chart table displaying regime (Trending/Ranging/Choppy via ADX/DMI), cloud status, detailed support/resistance analysis (price, probability %, confidence %, action), MTF status, RSI/MFI, volume spike, ATR, and current signal.
Visual Signals: Diamond labels (◆ BUY / ◆ SELL), bar coloring, dynamic stop-loss lines (candle extremes), and 2:1 risk-reward target lines.
Multiple Alerts: For qualified/raw signals, high-probability zones, regime shifts, and cloud flips.
Differences from Malama's Quantum Swing Modulator (MQSM)
MQF incorporates the foundational probability zone and superposition scoring logic from MQSM but evolves it into a complete trading system:
Signal Generation: MQSM focuses solely on zone analysis and probability scoring (no actual BUY/SELL signals). MQF adds a dedicated reversal engine with candle patterns, strict filters (volume spike, ADX chop avoidance, max candle range), and requires zone alignment for signals.
Trend & Structure Enhancements: Adds fast/slow EMA structure, dual Supertrend cloud for visual trend bias, dynamic extending S/R lines from EMA crosses, and optional MTF Supertrend/ADX confirmation.
Expanded Dashboard: MQSM's table is simpler (support/resistance levels with prob/confidence/action). MQF's unified dashboard includes regime, cloud, MTF, oscillators, volume, ATR, and live signal status.
Additional Filters & Regime Handling: More granular ADX thresholds (trend/chop), volume spike integration into confidence scoring, and cloud alignment bonuses.
Visual & Risk Aids: MQF provides signal labels, bar colors, SL/target lines, and pivot plotting options not present in MQSM.
In essence, MQSM provides contextual zone analysis for manual decision-making, while MQF delivers automated, confluence-based entry signals with richer visuals and risk guides.
How to Use
Context First: Monitor regime, cloud, and zone probabilities to avoid low-quality environments.
Zone Setup: Look for price nearing high-probability support/resistance (ideally >60–75%).
Signal Execution: Wait for qualified ◆ BUY/SELL diamonds—only fired on full alignment. Use plotted SL and 2:1 targets as starting points.
Customization: Tune filters (e.g., enable MTF for higher timeframes, adjust zone probability threshold) to suit scalping, intraday, or swing trading.
Best on 15m–4H timeframes across stocks, forex, crypto, or futures.
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Past performance does not guarantee future results. Always use proper risk management and combine with your own analysis. Trading involves substantial risk of loss.
MTF Fractal LevelsMTF Fractal Levels is a fractal-based indicator designed to highlight key price levels and provide timely alerts when price reaches those levels.
The indicator can display fractals from the current timeframe as well as from a higher timeframe selected in the settings.
When a higher timeframe is selected, its fractal levels are correctly projected onto all lower timeframes, allowing higher-timeframe levels to be used as context for entries on lower timeframes.
The Fractal Strength parameter allows filtering of fractal formation by controlling how significant a price extremum must be to be considered a valid fractal.
Levels are displayed as horizontal zones/lines with flexible visual style settings.
The indicator supports intra bar alerts that trigger at the exact moment price touches a fractal level, without waiting for the candle to close.
Ultimate Pattern Match FinderUltimate Pattern Match Finder - Introduction 🎯
Your Ultimate Pattern Match Finder is a sophisticated technical analysis indicator that identifies historical price patterns similar to the current market structure and projects potential future price movement based on those matches. 📊✨
Professional-Grade Trading Intelligence 💼
This indicator represents an institutional-quality pattern recognition system designed for serious traders who demand statistical rigor and data-driven decision-making. The multi-layered correlation engine and advanced projection methodology deliver enterprise-level technical analysis directly to your trading platform, transforming raw historical data into actionable market intelligence with quantifiable confidence metrics. 📈⚡
Core Functionality 🔍
The indicator scans through historical price data (up to 7000 bars) looking for patterns that closely resemble the most recent price action. When it finds matching patterns, it overlays them on your current chart and projects what happened next in those historical instances—giving you a data-driven forecast of potential future price movement. 🎯📈
Key Features ⚡
Pattern Recognition Engine 🧠 - Uses three normalization methods (Percent-from-start, Returns, Z-Score) to compare price patterns regardless of their absolute price levels. This allows patterns from different price ranges to be compared effectively.
Correlation & Distance Controls 🎚️ - You can set minimum correlation thresholds (default 75%) and maximum distance thresholds to filter matches. Only high-quality matches that meet your criteria are displayed, preventing false signals. ✅
Trend Direction Filter (Same Condition) 📈📉 - The standout "⭐ SAME CONDITION" feature ensures matches share the same trend direction (UP/DOWN/SIDEWAYS) as your current pattern. This prevents comparing bullish setups to bearish ones, significantly improving forecast relevance.
Advanced Matching Options 🔬 - Includes volume weighting to prioritize matches with similar volume profiles and shape matching to compare trend slope and volatility patterns.
Highly Developed Projection System 🚀🔮 - The crown jewel of this indicator is its sophisticated multi-match projection engine. Instead of relying on a single historical match, it intelligently aggregates the top N matches (up to 10) to create statistical projections. The system displays matched historical candles as semi-transparent teal overlays 📊, then projects future candles in lime/orange colors 🟢🟠 based on what happened after those historical patterns. Each projected candle represents the averaged behavior of multiple high-correlation matches, providing robust, probability-weighted forecasts rather than single-instance predictions. You have full control over projection length (up to 100 bars) and transparency levels for both overlays and projections. 💎
Smart Alerts 🚨 - When no matches meet your thresholds, the indicator displays a "❌ NO MATCH FOUND" alert with suggestions for adjusting your settings, preventing you from acting on weak patterns. The alert even shows how many patterns were filtered out by the trend direction requirement. ⚠️
Rich Visual Feedback 🎨 - The indicator provides a detailed info table showing match quality, correlation percentage (with color-coded ratings), trend comparison with emojis (📈 UP, 📉 DOWN, ➡️ SIDEWAYS), and actionable quality ratings (Excellent 🔥, Very Good ✅, Good 👍, Fair ⚠️).
This tool transforms historical pattern analysis into actionable trading intelligence by showing you not just what patterns match, but what happened next with statistical confidence. 💪🎯
Special Thanks 🙏
A heartfelt thank you to TradingView for providing the powerful Pine Script framework and world-class charting platform that makes advanced indicators like this possible. Their commitment to empowering traders with professional tools and an innovative development environment continues to push the boundaries of what retail traders can achieve. 💙📊
©️ Created by abo0o - All Rights Reserved
📬 Get Access
DM me for access to the Ultimate Pattern Match Finder!
I'm happy to answer any questions you have about the indicator, setup, or optimization for your trading style. Whether you need guidance on parameter settings, strategy integration, or technical support—feel free to reach out! 😊✨
Engulfing Cycle# **Engulfing Cycles - Opening & Mid Phase** 📊⚡
## **Advanced Cyclical Timing Strategy with Engulfing Patterns**
### **🎯 CORE CONCEPT**
Innovative strategy combining **engulfing candlestick patterns** with **market cycle analysis** to identify high-probability entry points during opening and mid-cycle phases. Not just another engulfing detector, but a complete system selecting ONLY patterns occurring at cyclically optimal moments.
### **⚙️ HOW IT WORKS**
**1. TWO CYCLE TYPES:**
- **Index Cycle**: From pivot low to pivot high (bullish phase)
- **Inverse Cycle**: From pivot high to pivot low (bearish phase)
**2. PRIVILEGED TIMING ZONES:**
- **OPENING ZONE**: First 8 bars after a pivot (maximum cycle energy)
- **MID ZONE**: Bars 14-25 (momentum renewal)
**3. MULTI-LEVEL SIGNAL SYSTEM:**
```
Level 1: Basic engulfing (gray signals)
Level 2: Engulfing in valid zone (orange)
Level 3: OPTIMAL engulfing with ≥3/6 filters (green/red)
```
### **🔍 INTEGRATED CONFIRMATION FILTERS**
**PRIMARY TREND:**
- Gann High/Low system for directional bias
- Dual EMA (78/278) for momentum confirmation
**MOMENTUM:**
- RSI for overbought/oversold conditions
- Volume above average (configurable)
**STRUCTURE:**
- Dynamic support/resistance levels
- Minimum distance from EMA for movement space
- Pullback validation
### **📈 COMPLETE VISUALIZATION**
**GRAPHICAL ELEMENTS:**
- ✅ **Color-coded signals** (gray → orange → green/red)
- ✅ **Cycle zone backgrounds** (green/blue for opening/mid)
- ✅ **EMA & Gann lines** with trend coloring
- ✅ **Support/Resistance** with circle style
- ✅ **Real-time info table** (top-right corner)
**INCLUDED DATA TABLE:**
- Total/optimal signal statistics
- Current cycle type (Index/Inverse)
- Bars since pivot counters
- Active filter status
- Current cycle zone
- Anti-spam lock status
### **⚡ MULTI-LEVEL ALERT SYSTEM**
**5 CONFIGURABLE ALERT TYPES:**
1. 🔔 **Any Engulfing** - General monitoring
2. ⬆️ **Bull Engulfing** - Basic bullish pattern
3. ⬇️ **Bear Engulfing** - Basic bearish pattern
4. 🟠 **In Valid Zone** - Added cyclical timing
5. 🟢🔴 **OPTIMAL SIGNALS** - Premium signals with maximum confirmation
### **🎚️ FULLY ADJUSTABLE PARAMETERS**
**CYCLES:**
- Minimum/Average/Maximum (21/32/44 default)
- Opening Zone (8 bars) and Mid Zone (14-25 bars)
**FILTERS:**
- Volume multiplier (1.2x default)
- Minimum engulfing body size (1.5x default)
- RSI thresholds (70/30)
- Minimum EMA distance (1.5%)
**TECHNICALS:**
- EMA periods (78/278)
- Gann periods (13/21)
- Pivot length (5)
### **🛡️ PROTECTION SYSTEMS**
**ANTI-SPAM:**
- 5-bar lock after signal
- Price stagnation detection
- Only 1 signal per movement
**QUALITY CONTROL:**
- Minimum 3/6 active filters required
- Cycle zone validation
- Volume and momentum confirmation
### **📊 PRACTICAL APPLICATION**
**RECOMMENDED TIMEFRAMES:** 1H, 4H, Daily
**ASSETS:** Major Forex pairs, Indices, Liquid stocks
**CONTEXT:** Best in markets with defined cycles
**OPTIMAL SIGNAL =**
```
+
+
+
+
```
### **🎨 PROFESSIONAL DESIGN**
- Clean, non-invasive interface
- Intuitive color coding
- All elements toggleable
- Light performance (max_bars_back=500)
### **📋 UNIQUE FEATURES**
1. **CYCLICAL TIMING** - Not just WHAT, but WHEN
2. **SIGNAL GRADATION** - From basic to optimal
3. **SELF-CONTROL** - Built-in anti-false system
4. **TRANSPARENCY** - All filters visible in table
5. **FLEXIBILITY** - Adaptable to different trading styles
---
**⚠️ DISCLAIMER:** This is an advanced analytical tool. "Optimal" signals (green/red) offer higher reliability but still require appropriate risk management. Always backtest on historical data before live use.
**Author:** Alblanz
**Category:** Patterns + Cycles + Timing
**Complexity:** Medium-High
**Version:** 5.0
**Updated:** [4/12/2025
*For support or suggestions, leave a comment on the script page.*






















