Yaman’s Scalper Pro V.5Yaman’s Scalper Pro V.5
Overview:
Yaman’s Scalper Pro V.5 is a precision-built scalping indicator designed for fast-paced markets like XAUUSD. It identifies potential short-term trade opportunities using a proprietary momentum-detection engine. The script visually marks trade entries along with clearly defined Take Profit and Stop Loss levels.
Key Features:
Automatically plots Buy/Sell labels on the chart when trade conditions are met
Displays dynamic Entry, TP, and SL levels directly on the chart
Built-in simulation of trade holding duration (configurable in bars)
Clean, minimal visual layout optimized for manual or assisted scalping
User Inputs:
Take Profit (Pips) – Distance to TP in pips
Stop Loss (Pips) – Distance to SL in pips
Hold Bars – Number of bars to simulate holding a trade (not recommended to change)
How to Use:
Apply the indicator to XAUUSD or other volatile assets on lower timeframes (e.g., 1m, 5m)
Look for Buy/Sell labels as trade signals
Use the plotted TP/SL levels to plan your trade exits
This tool can complement your existing trading system or be used as a standalone visual aid
Important Note:
This script is closed-source to protect proprietary entry logic. It is not based on public indicators or simple crossover methods. While the internal mechanics remain private, the visual trade framework and risk management display are fully visible and easy to use.
Multitimeframe
Trend DashboardTrend Dashboard
Provides a comprehensive trend analysis for an asset, such as Bitcoin, across multiple timeframes (1W, 1D, 12H). It displays trend signals, scores, and rate of change (ROC) in a customizable table, with optional bar coloring and trend plots.
Key Features:
Trend Analysis: Aggregates signals from various technical indicators across 1W, 1D, and 12H timeframes.
Customizable Inputs:
Table position (e.g., Top Left, Bottom Right) and size (Full or Compact).
Bar color timeframe (1W, 1D, 12H).
ROC lookback periods for each timeframe.
Options to plot TPIs (Trend Power Indicators) and bar colors.
Visualization:
A table shows trend length, score, signal (Long/Short), ROC, and lookback period.
Color-coded signals (green for Long, magenta for Short) with dynamic updates.
Optional bar coloring based on the selected timeframe's trend.
Plotting of trend signals as lines with labels.
Usage:
Helps traders identify long or short trends and their strength across different timeframes.
The ROC indicates positive, negative, or no change in trend strength.
Useful for overlay on a 1-day chart, as shown in the attached Bitcoin/USD chart, to monitor multi-timeframe trends.
Valuation Z-ScoreValuation Z-Score
The "Valuation Z-Score" indicator is a custom Pine Script designed to assess the valuation of an asset, such as Bitcoin, by calculating a composite Z-Score based on multiple technical indicators and risk-adjusted performance metrics. It provides a visual representation of overbought and oversold conditions using a color-graded histogram and a short length smoothed moving average (SMA).
Key Features:
Z-Score Calculation:
Combines Z-Scores from indicators like RSI, MACD, Bollinger Bands, TSI, ROC, Momentum, CCI, Chande Momentum Oscillator, and additional metrics (Sharpe Ratio, Sortino Ratio, Omega Ratio) over customizable lookback periods.
Customizable Inputs:
Z-Score Lookback and Technical Valuation Lookback for Z-Score calculations.
Metrics Calc Lookback periods for risk-adjusted performance ratios.
Adjustable Upper and Lower Z-Score Thresholds (default ±2.0).
SMA Length and color bar toggle for plot customization.
Visualization:
A histogram displays the total Z-Score with a 5-color gradient (cyan for oversold, magenta for overbought) and dynamic transparency based on proximity to thresholds.
An SMA line/area overlays the histogram for trend smoothing.
Threshold lines (upper and lower) with adaptive transparency.
A label shows the current Z-Score value.
Optional background bar coloring based on SMA.
Usage:
The indicator helps identify potential overbought (above upper threshold) or oversold (below lower threshold) conditions.
The color gradient and SMA provide visual cues for trend strength and reversals.
Ideal for traders analyzing asset valuation over any timeframe.
[Top] Trend Lines with Strength DetectionThe Auto Trend Lines with Strength Detection indicator automatically detects and draws dynamic support and resistance lines based on pivot highs and lows. These trend lines adapt to market structure in real time, increasing in opacity as they accumulate additional touches. Numbers are also printed above each line indicating the number of times that line has been tested and held.
Unlike most trend line indicators, this one does not consider a brief wick to have broken the line. Nor does it break the line if the current candle is testing it. The candle must fully close on the oppose side of a trend line for this indicator to remove that line.
On the chart above you can see that the current candle is in the process of breaking the two resistance lines. If the candle closes above the lines, they will be broken and removed from the chart. If it's not able to close above the resistance lines, they will remain intact and accumulate another touch point.
Key features include:
Pivot-based detection: Lines are drawn between valid swing points while filtering out intermediate price violations.
Strength visualization: Each time price comes into proximity with a trend line, the “touch count” is incremented and both the line and its label darken accordingly.
Break handling: Lines are automatically removed once the body of a candle closes beyond them, reducing clutter from broken levels.
Customization options: Users can adjust pivot sensitivity, maximum lines to retain, line styles, widths, and colors independently for support and resistance.
Pivot History: You can decide how far back you want the script to look for valid trends.
⸻
Potential Uses:
Identifying strong support/resistance zones: As trend lines accumulate touches, they become visually stronger, helping traders spot high-confluence levels.
Breakout and breakdown filtering: Detects and removes invalidated trend lines only after a full candle body breach, reducing false breakouts caused by wicks.
Trend structure analysis: Helps visualize emerging or weakening trends by observing how support/resistance lines evolve and how price interacts with them.
Strategy development: Can be used as a component in breakout, mean-reversion, or range-based trading systems.
FAFA - Optimize v2FAFA - Optimize v2 Strategy
FAFA - Optimize v2 is a dynamic trading strategy that operates using Inverse Fisher RSI signals derived from a higher timeframe. By applying the inverse Fisher transform to the RSI indicator, it generates clearer and faster signals. The strategy can execute buy, sell, or both types of trades based on user preferences.
From a risk management perspective, the strategy features three-tiered take profit levels (TP1, TP2, TP3) and a flexible stop loss (SL) mechanism. This allows partial profits to be realized early while letting remaining positions benefit from larger market moves.
It also provides a handy performance panel that tracks essential metrics in real-time, including total trades, winning and losing trades, trades closed by stop loss, win rate, and net profit/loss.
In summary, FAFA - Optimize v2 aims to open reliable market positions with advanced risk controls to ensure sustainable performance.
Order-Flow Market StructureOrder-Flow Market Structure by The_Forex_Steward
A precision tool for visualizing internal shifts, swing structure, BOS events, Fibonacci levels, and multi-timeframe alerts.
What It Does
The Order-Flow Market Structure indicator intelligently tracks and visualizes price structure using higher timeframe candles. It automatically detects:
• Internal bullish and bearish structure shifts
• Swing highs and lows (HH, HL, LH, LL)
• Break of Structure (BoS) confirmations
• Fibonacci retracement levels from recent swing moves
• Real-time alerts across LTF, MTF, and HTF modes
It’s a complete tool for traders who follow Smart Money Concepts, ICT, or institutional price action strategies.
How It Works
• You select a Higher Timeframe (HTF) to set the structural context
• Internal shifts are identified using HTF candle closes
• The indicator scans for swing highs/lows after each internal shift
• Breaks of previous swing points confirm BoS and plot horizontal lines
• Zigzag lines visually connect structural points (swings and BoS)
• Fibonacci levels are drawn between the latest swings
• Alerts can be configured for structure shifts, BoS events, and fib level breaks
How to Use It
Set your preferred HTF (e.g., 1H while trading on 5-minute)
Enable Fibonacci levels to visualize retracement zones
Watch for:
• Bullish internal shifts → HL to HH
• Bearish internal shifts → LH to LL
• BOS → Breakout confirmation
Enable alerts to catch structural events in real-time
Adjust the "Safe History Offset" if working with long lookbacks or volatile assets
Who It's For
• Traders using Smart Money, ICT, or market structure-based systems
• Scalpers, day traders, and swing traders
• Anyone needing precise structural insight across multiple timeframes
Features
• BoS detection with custom line styles and width
• HH, HL, LH, LL label plotting
• Optional Fibonacci retracement zones
• Custom alerts for swing shifts and fib level breaks
• LTF, MTF, and HTF alert modes
Stay aligned with structure, trade with precision, and get alerted to key shifts in real time.
RSI, CCI, ADX Panel (Custom TF for Each)RSI, CCI, and ADX Combined – Multi-Timeframe, Fully Customizable Panel Indicator for TradingView
Overview
This Pine Script indicator integrates the Relative Strength Index (RSI), Commodity Channel Index (CCI), and Average Directional Index (ADX) into a single, clean panel for effortless technical analysis. Each indicator operates independently, with customizable length, smoothing, and time frame for maximum flexibility. Traders can now monitor momentum, trend strength, and overbought/oversold conditions across different time frames—all in one place.
Key Features
Independent Controls: Set length, smoothing (ADX), and time frame individually for each indicator via the settings panel.
Multi-Timeframe Support: Each oscillator (RSI, CCI, ADX) can be calculated on its own time frame, enabling nuanced inter-timeframe analysis.
Customizable Visualization: Adjust line color and thickness for each indicator to match your chart style.
Clean, Non-Overlay Display: All three indicators are plotted in a dedicated panel beneath the price chart, reducing clutter.
Reference Levels: Includes standard reference lines for oversold/overbought (RSI, CCI) and trend threshold (ADX) for quick visual cues.
Usage Ideas
Swing Trading: Compare short- and long-term momentum using different time frames for RSI, CCI, and ADX.
Trend Confirmation: Use ADX to filter RSI and CCI signals—only trade overbought/oversold conditions during strong trends.
Divergence Hunting: Spot divergences between time frames for early reversal signals.
Scalping: Set RSI and CCI to lower time frames for entry, while monitoring higher timeframe ADX for trend context.
How to Install
Paste the script into the Pine Editor on TradingView.
Add to chart. Adjust settings as desired.
Save as a template for quick reuse on any chart—all your custom settings will be preserved.
Customization
Edit lengths and time frames in the indicator’s settings dialog.
Toggle reference lines on/off as needed.
Fine-tune line appearance (color, thickness) for clarity.
Note:
This indicator does not provide automated buy/sell signals. It is a customizable analytical tool for manual or semi-automated trading. Use in combination with other technical or fundamental analysis for best results.
Combine Momentum, Trend, and Volatility—Seamlessly and Visually—With One Indicator.
Period Separator with DatesSimple period separator with dates. You can customize lines and colours. Feel free to customize and share your thoughts in the comment section. Remember time is the only thing you need to master the markets. Keep your charts clean and enjoy trading! ;)
(XSN7) with SMT Divergence v9.0 The (XSN7) is an efficiency and precision tool designed for traders who operate with a time-based, multi-market methodology. Its primary purpose is to automate the most time-consuming aspects of liquidity and SMT analysis, allowing the trader to focus on execution rather than manual chart preparation.
Why This Tool Provides a Unique Edge
Many indicators can show sessions or require manual SMT setup. This tool is fundamentally different by solving two critical workflow problems:
It Automates High/Low Tracking: You no longer need to manually draw lines on the highs and lows of every 1-Hour, 4-Hour, or 15-Minute candle you want to track. The script does this for you automatically, tracking the exact high/low of every completed session across your chart history. This not only saves a significant amount of time but also ensures 100% precision and consistency, removing the risk of human error in your analysis.
It Automates SMT Analysis with a 'One-Time Setup': Analyzing SMT divergence traditionally requires manually switching between charts and constantly changing the input for your correlated symbol. Our SMT Auto-Pairing Engine eliminates this entirely. You configure your primary trading pairs (e.g., NQ/ES, EURUSD/DXY) one time. The script then intelligently detects which asset you are viewing and automatically pulls data from its correct correlated pair—with the correct inverse logic if needed. This creates a seamless, streamlined workflow for multi-market analysis.
By automating these core processes, the indicator provides a tangible edge in speed and accuracy.
Key Features
Automated High/Low Tracking: The script automatically identifies, marks, and tracks the precise high and low of completed 1-Hour, 4-Hour, 90-Minute, and 15-Minute sessions.
Intelligent Liquidity Sweep Alerts: Receive real-time alerts the moment an automatically-tracked session high or low is swept. Alerts are highly configurable, with filters for Daily Bias (Bullish/Bearish) and specific hours of the day.
'One-Time Setup' SMT Auto-Pairing Engine: Define your correlated pairs once, and the script handles the rest. It automatically detects your active chart and applies the correct SMT analysis without needing any further manual input.
Full Visual & Technical Control: Customize every visual element, including session colors, line styles, and labels. Includes Light/Dark themes and precise timezone settings to match your trading environment.
How to Use This Indicator
1. Setup & Configuration:
Timezone: In the ⚙️ General Settings, set your UTC (+/-) offset to align the session boxes with your local time.
SMT Auto-Pairing (One-Time Setup):
Go to the ⚙️ SMT Auto-Pairing settings.
Check Enable SMT Auto-Pairing.
For each pair you trade, define the Primary ticker (the one on your chart) and the Correlated ticker. Be sure to check Inverse if required (e.g., EURUSD vs. DXY).
This system now works automatically in the background.
2. Alert Configuration:
Click the "Alert" button in TradingView.
Set "Condition" to the script name: (XSN7) with SMT Divergence....
Select "Any alert() function call" and set the frequency to "Once Per Bar".
In the script's 🚨 Alert & Sweeper Settings, check the boxes for the hours (NY Time) during which you want to receive sweep alerts.
XSN Liquidity & VoidsThis indicator is a powerful tool for traders using Smart Money Concepts (SMC). It automatically identifies and plots key areas of liquidity and price imbalances directly on your chart, helping you to visualize the market's structure with ease and precision.
Core Concept: The Liquidity-Imbalance Relationship
This tool is built on the SMC principle of the relationship between the engineering of liquidity and resulting market imbalances. The script visualizes this critical process by:
Plotting key liquidity pools (Major and Internal swing points) from user-defined timeframes.
Showing when this liquidity is 'swept' by price action.
Highlighting Fair Value Gaps (FVGs), or imbalances, that often form immediately after a liquidity sweep.
By combining liquidity lines and FVGs into a single tool, traders can more easily identify high-probability setups where a liquidity grab leads to a market reversal or continuation into an FVG.
Key Features
Multi-Timeframe Major & Internal Liquidity: Automatically plot significant swing highs and lows (pivots) from any timeframe you choose (e.g., 15m, 1H, 4H) onto your current chart.
Automatic Sweep Detection: Lines are automatically marked as 'swept' when price trades through them. Unswept lines extend to the right, while swept lines are fixed in time and change their style for a clean chart.
Recent Sweep Highlighting : The indicator keeps the last few major liquidity sweeps highlighted in their original bright color to help you focus on the most recent price action.
Historical Confluence Labels: Automatically adds labels (e.g., D-HIGH, W-LOW) to liquidity lines that align with previous Daily, Weekly, or 4-Hour highs and lows, signifying areas of major historical importance.
Liquidity Voids / FVGs (Current Timeframe): Instantly identifies and draws Fair Value Gaps (FVGs) on your current chart timeframe, highlighting areas where price may be drawn to.
How to Use This Indicator
Identify Targets: Watch for price to gravitate towards the red (major) and purple (internal) liquidity lines. These represent pools of buy-side and sell-side liquidity.
Confirm Sweeps: A 'sweep' occurs when price wicks through a line, which then changes its appearance. This often signals a reversal or continuation.
Find Confluence: Pay close attention to the historical labels (D-HIGH, W-LOW, etc.). Sweeps of these levels are often significant market events.
Analyze Voids: Use the FVG boxes to identify price imbalances. Price will often seek to fill these voids, making them excellent targets or areas of interest for entries.
An enhanced version of this tool with real-time alerts and auto multi-timeframe FVG analysis is also available.
Enhanced Market StructureEnhanced Market Structure
A multi‑timeframe price‑action framework for structural visualization and liquidity mapping.
Purpose & Scope
This invite‑only script delivers a consolidated view of market structure, liquidity events, and zone behavior across higher timeframes (for example, 4 H and Daily). While it is inspired by well‑known price‑action concepts such as ICT‑style structural ideas, it is not affiliated with any individual or mentorship. The indicator provides visual context only, allowing traders to form their own narrative bias.
Core Framework and Mashup Justification
• Zigzag‑like swing detector – identifies clean swing highs and lows, then measures displacement. These swings feed directly into Break‑of‑Structure (BOS) and Change‑of‑Character (CHOCH) logic as well as liquidity‑sweep checks.
• Liquidity‑sweep detection – flags stop‑hunt wicks and sweep zones to add context around structural breaks.
• Fibonacci retracement presets (50 %, 61.8 %, 71.8 %) – define high, medium, and low zone widths and ensure consistency across instruments.
• Custom zone‑generation logic – projects areas on external, internal, and microstructure levels for clearer narrative mapping.
• Multi‑timeframe controls – allow users to analyze one timeframe (for example, Daily) while viewing results on another (for example, 1 H) so higher‑timeframe structure remains visible on lower charts.
All components are coded in‑house; none are imported as stand‑alone indicators.
Visual Outputs
• BOS and CHOCH labels
• Liquidity‑sweep markers
• Bullish and Bearish zones (external, internal, micro)
• Optional Fibonacci overlays on displacement legs
• Rejection labels for wick rejections of BOS or CHOCH
• Contact arrows that mark when price touches a zone (not trade signals)
Settings Overview (key controls)
• Pivot Period – swing‑point sensitivity (lower = more reactive; higher = smoother)
• Extend Zones – forward display length (0 = no extension)
• Display Types – All, External Only, or Internal Only
• Entry Zones – enable or disable; choose High (50 %), Medium (61.8 %), or Low (71.8 %) and set colors
• Internal Zones – same options applied to internal structure
• Entry Arrows – on/off and color controls (contact markers only)
• Structure Colors – customize external, internal, and micro levels
• BOS & CHOCH Lines – independent show/hide and color per direction
• Rejection Labels – toggle and color
• Analysis Timeframe – select higher timeframe for structure (for example, Daily)
• Fibonacci Lines – on or off
Disclaimer & Compliance
This script is built entirely with original, in‑house code that references publicly known concepts (zigzag logic and Fibonacci ratios) within a single rule‑based framework. It provides visual analysis only; it does not predict price or guarantee performance. Default parameters are illustrative and may not suit every instrument or timeframe. Access is granted via TradingView’s “Request access to script” button. No external links or off‑platform contact are required.
Compliance Statement
The description explains each technique’s purpose, makes no performance claims, and contains no promotional content, fully aligning with TradingView’s House Rules on originality, usefulness, ad‑free content, and Vendor requirements.
TradeX Labs PriceActionTradeX Labs Price Action — Multi-Layered Price Action Visualizer
The TradeX Labs Price Action script is a multi-layered charting tool designed to assist traders with visualizing market structure, liquidity events, and execution zones using a price action-based framework. This script is rooted in the principles of structural analysis, liquidity inducements, and rule-based zone generation — all without the use of traditional lagging indicators.
Core Model: Price Action Mapping (Base Layer)
The base model uses a fractal-based algorithm to identify significant swing highs and lows. These structural points form the foundation for:
-Asia session high/low detection
-Stop hunts & liquidity grabs
-Break of Structure (BOS) labeling
-Auto-generated zones based on displacement and retracement logic
Zones are dynamically created using a 50% Fibonacci retracement as the default level, without requiring manual plotting. This forms the starting point for a broader framework of trade analysis.
The Visual Panel
You can Enable or Disable this Panel. This panel will help Visualize the Risk to Reward.
Entry Zone Setup
This section allows users to choose how zones are calculated, extended, and generated:
Zone Calculation Method:
-Fibonacci, POI (Point of Interest), or Both
-Extend Zones:
-Extend zones by a custom number of bars (respects chart timeframe)
Zone Frequency:
-High = wider zones (e.g., 50% Fib)
-Medium = balanced zone width (61.8% Fib)
-Low = deeper zone levels (78.6% Fib)
Position Box Extension:
-Define how far risk/reward visuals extend to the right
This flexibility allows users to tune the aggressiveness and visibility of each entry zone setup.
Signal Refinement Filters: Inducement Logic
Users can refine setup conditions based on liquidity sweeps using inducement filters:
-Minor Inducements: Sweeps of current day/session highs or lows
-Medium Inducements: Sweeps of previous day's highs/lows
-Major Inducements: Sweeps of current and previous week’s highs/lows
These filters work independently or in combination. When enabled, they filter out zones that do not interact with key liquidity levels — providing context around each printed zone.
QuickStrikes Filter
The QuickStrikes filter is an optional internal module that validates structural context by comparing Break‑of‑Structure (BOS) and entry‑zone levels against the defined Asian session high/low range.
Core Logic
For each potential setup, the script checks whether BOS and/or entry levels sit on the appropriate side of the session boundaries.
Modes
V1 (BOS Validation):
Buy: BOS above Asian session low
Sell: BOS below Asian session high
V2 (Entry Validation):
Buy: Entry level above Asian session low
Sell: Entry level below Asian session high
V3 (Combined):
Buy: Both BOS and entry above Asian session low
Sell: Both BOS and entry below Asian session high
Users may enable any single mode or multiple modes simultaneously. When more than one mode is active, all selected conditions must pass for the setup to remain visible.
Purpose
QuickStrikes helps filter out zones that do not maintain a clear structural relationship with the session range. It can be useful during tighter, range‑bound conditions. The feature is disabled by default and serves only as additional analytical confluence, not as a standalone signal or performance guarantee.
Appearance Settings
All visual elements can be customized (entry zones, arrows, Break‑of‑Structure labels, target/stop colours, risk/reward boxes, and inducement levels) so the display can be adapted to any chart theme.
Disclaimer & Compliance Notice
This closed‑source script uses original, in‑house logic that references widely known concepts (such as Fibonacci levels, moving averages, and fractal‑style swing detection) within a unified rule‑based framework. It does not generate trade signals or predict outcomes. Its sole purpose is to assist with visual analysis and structural context for discretionary or semi‑discretionary workflows. Default parameters are illustrative and may not suit every instrument or timeframe.
Access is invite‑only through TradingView’s “Request access to script” button.
Quantum Reversal Engine [ApexLegion]Quantum Reversal Engine
STRATEGY OVERVIEW
This strategy is constructed using 5 custom analytical filters that analyze different market dimensions - trend structure, momentum expansion, volume confirmation, price action patterns, and reversal detection - with results processed through a multi-component scoring calculation that determines signal generation and position management decisions.
Why These Custom Filters Were Independently Developed:
This strategy employs five custom-developed analytical filters:
1. Apex Momentum Core (AMC) - Custom oscillator with volatility-scaled deviation calculation
Standard oscillators lag momentum shifts by 2-3 bars. Custom calculation designed for momentum analysis
2. Apex Wick Trap (AWT) - Wick dominance analysis for trap detection
Existing wick analysis tools don't quantify trap conditions. Uses specific ratios for wick dominance detection
3. Apex Volume Pulse (AVP) - Volume surge validation with participation confirmation
Volume indicators typically use simple averages. Uses surge multipliers with participation validation
4. Apex TrendGuard (ATG) - Angle-based trend detection with volatility band integration
EMA slope calculations often produce false signals. Uses angle analysis with volatility bands for confirmation
5. Quantum Composite Filter (QCF) - Multi-component scoring and signal generation system
Composite scoring designed to filter noise by requiring multiple confirmations before signal activation.
Each filter represents mathematical calculations designed to address specific analytical requirements.
Framework Operation: The strategy functions as a scoring framework where each filter contributes weighted points based on market conditions. Entry signals are generated when minimum threshold scores are met. Exit management operates through a three-tier system with continued signal strength evaluation determining position holds versus closures at each TP level.
Integration Challenge: The core difficulty was creating a scoring system where five independent filters could work together without generating conflicting signals. This required backtesting to determine effective weight distributions.
Custom Filter Development:
Each of the five filters represents analytical approaches developed through testing and validation:
Integration Validation: Each filter underwent individual testing before integration. The composite scoring system required validation to verify that filters complement rather than conflict with each other, resulting in a cohesive analytical framework that was tested during the development period.
These filters represent custom-developed components created specifically for this strategy, with each component addressing different analytical requirements through testing and parameter adjustment.
Programming Features:
Multi-timeframe data handling with backup systems
Performance optimization techniques
Error handling for live trading scenarios
Parameter adaptation based on market conditions
Strategy Features:
Uses multi-filter confirmation approach
Adapts position holding based on continued signal strength
Includes analysis tools for trade review and optimization
Ongoing Development: The strategy was developed through testing and validation processes during the creation period.
COMPONENT EXPLANATION
EMA System
Uses 8 exponential moving averages (7, 14, 21, 30, 50, 90, 120, 200 periods) for trend identification. Primary signals come from 8/21 EMA crossovers, while longer EMAs provide structural context. EMA 1-4 determine short-term structure, EMA 5-8 provide long-term trend confirmation.
Apex Momentum Core (AMC)
Built custom oscillator mathematics after testing dozens of momentum calculation methods. Final algorithm uses price deviation from EMA baseline with volatility scaling to reduce lag while maintaining accuracy across different market conditions.
Custom momentum oscillator using price deviation from EMA baseline:
apxCI = 100 * (source - emaBase) / (sensitivity * sqrt(deviation + 1))
fastLine = EMA(apxCI, smoothing)
signalLine = SMA(fastLine, 4)
Signals generate when fastLine crosses signalLine at +50/-50 thresholds.
This identifies momentum expansion before traditional oscillators.
Apex Volume Pulse (AVP)
Created volume surge analysis that goes beyond simple averages. Extensive testing determined 1.3x multiplier with participation validation provides reliable confirmation while filtering false volume spikes.
Compares current volume to 21-period moving average.
Requires 1.3x average volume for signal confirmation. This filters out low-volume moves during quiet periods and confirms breakouts with actual participation.
Apex Wick Trap (AWT)
Developed proprietary wick trap detection through analysis of failed breakout patterns. Tested various ratio combinations before settling on 60% wick dominance + 20% body limit as effective trap identification parameters.
Analyzes candle structure to identify failed breakouts:
candleRange = math.max(high - low, 0.00001)
candleBody = math.abs(close - open)
bodyRatio = candleBody / candleRange
upperWick = high - math.max(open, close)
lowerWick = math.min(open, close) - low
upperWickRatio = upperWick / candleRange
lowerWickRatio = lowerWick / candleRange
trapWickLong = showAWT and lowerWickRatio > minWickDom and bodyRatio < bodyToRangeLimit and close > open
trapWickShort = showAWT and upperWickRatio > minWickDom and bodyRatio < bodyToRangeLimit and close < open This catches reversals after fake breakouts.
Apex TrendGuard (ATG)
Built angle-based trend detection after standard EMA crossovers proved insufficient. Combined slope analysis with volatility bands through iterative testing to eliminate false trend signals.
EMA slope analysis with volatility bands:
Fast EMA (21) vs Slow EMA (55) for trend direction
Angle calculation: atan(fast - slow) * 180 / π
ATR bands (1.75x multiplier) for breakout confirmation
Minimum 25° angle for strong trend classification
Core Algorithm Framework
1. Composite Signal Generation
calculateCompositeSignals() =>
// Component Conditions
structSignalLong = trapWickLong
structSignalShort = trapWickShort
momentumLong = amcBuySignal
momentumShort = amcSellSignal
volumeSpike = volume > volAvg_AVP * volMult_AVP
priceStrength_Long = close > open and close > close
priceStrength_Short = close < open and close < close
rsiMfiComboValue = (ta.rsi(close, 14) + ta.mfi(close, 14)) / 2
reversalTrigger_Long = ta.crossover(rsiMfiComboValue, 50)
reversalTrigger_Short = ta.crossunder(rsiMfiComboValue, 50)
isEMACrossUp = ta.crossover(emaFast_ATG, emaSlow_ATG)
isEMACrossDown = ta.crossunder(emaFast_ATG, emaSlow_ATG)
// Enhanced Composite Score Calculation
scoreBuy = 0.0
scoreBuy += structSignalLong ? scoreStruct : 0.0
scoreBuy += momentumLong ? scoreMomentum : 0.0
scoreBuy += flashSignal ? weightFlash : 0.0
scoreBuy += blinkSignal ? weightBlink : 0.0
scoreBuy += volumeSpike_AVP ? scoreVolume : 0.0
scoreBuy += priceStrength_Long ? scorePriceAction : 0.0
scoreBuy += reversalTrigger_Long ? scoreReversal : 0.0
scoreBuy += emaAlignment_Bull ? weightTrendAlign : 0.0
scoreBuy += strongUpTrend ? weightTrendAlign : 0.0
scoreBuy += highRisk_Long ? -1.2 : 0.0
scoreBuy += signalGreenDot ? 1.0 : 0.0
scoreBuy += isAMCUp ? 0.8 : 0.0
scoreBuy += isVssBuy ? 1.5 : 0.0
scoreBuy += isEMACrossUp ? 1.0 : 0.0
scoreBuy += signalRedX ? -1.0 : 0.0
scoreSell = 0.0
scoreSell += structSignalShort ? scoreStruct : 0.0
scoreSell += momentumShort ? scoreMomentum : 0.0
scoreSell += flashSignal ? weightFlash : 0.0
scoreSell += blinkSignal ? weightBlink : 0.0
scoreSell += volumeSpike_AVP ? scoreVolume : 0.0
scoreSell += priceStrength_Short ? scorePriceAction : 0.0
scoreSell += reversalTrigger_Short ? scoreReversal : 0.0
scoreSell += emaAlignment_Bear ? weightTrendAlign : 0.0
scoreSell += strongDownTrend ? weightTrendAlign : 0.0
scoreSell += highRisk_Short ? -1.2 : 0.0
scoreSell += signalRedX ? 1.0 : 0.0
scoreSell += isAMCDown ? 0.8 : 0.0
scoreSell += isVssSell ? 1.5 : 0.0
scoreSell += isEMACrossDown ? 1.0 : 0.0
scoreSell += signalGreenDot ? -1.0 : 0.0
compositeBuySignal = enableComposite and scoreBuy >= thresholdCompositeBuy
compositeSellSignal = enableComposite and scoreSell >= thresholdCompositeSell
if compositeBuySignal and compositeSellSignal
compositeBuySignal := false
compositeSellSignal := false
= calculateCompositeSignals()
// Final Entry Signals
entryCompositeBuySignal = compositeBuySignal and ta.rising(emaFast_ATG, 2)
entryCompositeSellSignal = compositeSellSignal and ta.falling(emaFast_ATG, 2)
Calculates weighted scores from independent modules and activates signals only when threshold requirements are met.
2. Smart Exit Hold Evaluation System
evaluateSmartHold() =>
compositeBuyRecentCount = 0
compositeSellRecentCount = 0
for i = 0 to signalLookbackBars - 1
compositeBuyRecentCount += compositeBuySignal ? 1 : 0
compositeSellRecentCount += compositeSellSignal ? 1 : 0
avgVolume = ta.sma(volume, 20)
volumeSpike = volume > avgVolume * volMultiplier
// MTF Bull/Bear conditions
mtf_bull = mtf_emaFast_final > mtf_emaSlow_final
mtf_bear = mtf_emaFast_final < mtf_emaSlow_final
emaBackupDivergence = math.abs(mtf_emaFast_backup - mtf_emaSlow_backup) / mtf_emaSlow_backup
emaBackupStrong = emaBackupDivergence > 0.008
mtfConflict_Long = inLong and mtf_bear and emaBackupStrong
mtfConflict_Short = inShort and mtf_bull and emaBackupStrong
// Layer 1: ATR-Based Dynamic Threshold (Market Volatility Intelligence)
atr_raw = ta.atr(atrLen)
atrValue = na(atr_raw) ? close * 0.02 : atr_raw
atrRatio = atrValue / close
dynamicThreshold = atrRatio > 0.02 ? 1.0 : (atrRatio > 0.01 ? 1.5 : 2.8)
// Layer 2: ROI-Conditional Time Intelligence (Selective Pressure)
timeMultiplier_Long = realROI >= 0 ? 1.0 : // Profitable positions: No time pressure
holdTimer_Long <= signalLookbackBars ? 1.0 : // Loss positions 1-8 bars: Base
holdTimer_Long <= signalLookbackBars * 2 ? 1.1 : // Loss positions 9-16 bars: +10% stricter
1.3 // Loss positions 17+ bars: +30% stricter
timeMultiplier_Short = realROI >= 0 ? 1.0 : // Profitable positions: No time pressure
holdTimer_Short <= signalLookbackBars ? 1.0 : // Loss positions 1-8 bars: Base
holdTimer_Short <= signalLookbackBars * 2 ? 1.1 : // Loss positions 9-16 bars: +10% stricter
1.3 // Loss positions 17+ bars: +30% stricter
// Dual-Layer Threshold Calculation
baseThreshold_Long = mtfConflict_Long ? dynamicThreshold + 1.0 : dynamicThreshold
baseThreshold_Short = mtfConflict_Short ? dynamicThreshold + 1.0 : dynamicThreshold
timeAdjustedThreshold_Long = baseThreshold_Long * timeMultiplier_Long
timeAdjustedThreshold_Short = baseThreshold_Short * timeMultiplier_Short
// Final Smart Hold Decision with Dual-Layer Intelligence
smartHold_Long = not mtfConflict_Long and smartScoreLong >= timeAdjustedThreshold_Long and compositeBuyRecentCount >= signalMinCount
smartHold_Short = not mtfConflict_Short and smartScoreShort >= timeAdjustedThreshold_Short and compositeSellRecentCount >= signalMinCount
= evaluateSmartHold()
Evaluates whether to hold positions past TP1/TP2/TP3 levels based on continued signal strength, volume confirmation, and multi-timeframe trend alignment
HOW TO USE THE STRATEGY
Step 1: Initial Setup
Apply strategy to your preferred timeframe (backtested on 15M)
Enable "Use Heikin-Ashi Base" for smoother signals in volatile markets
"Show EMA Lines" and "Show Ichimoku Cloud" are enabled for visual context
Set default quantities to match your risk management (5% equity default)
Step 2: Signal Recognition
Visual Signal Guide:
Visual Signal Guide - Complete Reference:
🔶 Red Diamond: Bearish momentum breakdown - short reversal signal
🔷 Blue Diamond: Strong bullish momentum - long reversal signal
🔵 Blue Dot: Volume-confirmed directional move - trend continuation
🟢 Green Dot: Bullish EMA crossover - trend reversal confirmation
🟠 Orange X: Oversold reversal setup - counter-trend opportunity
❌ Red X: Bearish EMA breakdown - trend reversal warning
✡ Star Uprising: Strong bullish convergence
💥 Ultra Entry: Ultra-rapid downward momentum acceleration
▲ VSS Long: Velocity-based bullish momentum confirmation
▼ VSS Short: Velocity-based bearish momentum confirmation
Step 3: Entry Execution
For Long Positions:
1. ✅ EMA1 crossed above EMA2 exactly 3 bars ago [ta.crossover(ema1,ema2) ]
2. ✅ Current EMA structure: EMA1 > EMA2 (maintained)
3. ✅ Composite score ≥ 5.0 points (6.5+ for 5-minute timeframes)
4. ✅ Cooldown period completed (no recent stop losses)
5. ✅ Volume spike confirmation (green dot/blue dot signals)
6. ✅ Bullish candle closes above EMA structure
For Short Positions:
1. ✅ EMA1 crossed below EMA2 exactly 3 bars ago [ta.crossunder(ema1,ema2) ]
2. ✅ Current EMA structure: EMA1 < EMA2 (maintained)
3. ✅ Composite score ≥ 5.4 points (7.0+ for 5-minute timeframes)
4. ✅ Cooldown period completed (no recent stop losses)
5. ✅ Momentum breakdown (red diamond/red X signals)
6. ✅ Bearish candle closes below EMA structure
🎯 Critical Timing Note: The strategy requires EMA crossover to have occurred 3 bars prior to entry, not at the current bar. This attempts to avoid premature entries and may improve signal reliability.
Step 4: Reading Market Context
EMA Ribbon Interpretation:
All EMAs ascending = Strong uptrend context
EMAs 1-3 above EMAs 4-8 = Bullish structure
Tight EMA spacing = Low volatility/consolidation
Wide EMA spacing = High volatility/trending
Ichimoku Cloud Context:
Price above cloud = Bullish environment
Price below cloud = Bearish environment
Cloud color intensity = Momentum strength
Thick cloud = Strong support/resistance
THE SMART EXIT GRID SYSTEM
Smart Exit Grid Approach:
The Smart Exit Grid uses dynamic hold evaluation that continuously analyzes market conditions after position entry. This differs from traditional fixed profit targets by adapting exit timing based on real-time signal strength.
How Smart Exit Grid System Works
The system operates through three evaluation phases:
Smart Score Calculation:
The smart score calculation aggregates 22 signal components in real-time, combining reversal warnings, continuation signals, trend alignment indicators, EMA structural analysis, and risk penalties into a numerical representation of market conditions. MTF analysis provides additional confirmation as a separate validation layer.
Signal Stack Management:
The per-tick signal accumulation system monitors 22 active signal types with MTF providing trend validation and conflict detection as a separate confirmation layer.
Take Profit Progression:
Smart Exit Activation:
The QRE system activates Smart Exit Grid immediately upon position entry. When strategy.entry() executes, the system initializes monitoring systems designed to track position progress.
Upon position opening, holdTimer begins counting, establishing the foundation for subsequent decisions. The Smart Exit Grid starts accumulating signals from entry, with all 22 signal components beginning real-time tracking when the trade opens.
The system operates on continuous evaluation where smartScoreLong and smartScoreShort calculate from the first tick after entry. QRE's approach is designed to capture market structure changes, trend deteriorations, or signal pattern shifts that can trigger protective exits even before the first take profit level is reached.
This activation creates a proactive position management framework. The 8-candle sliding window starts from entry, meaning that if market conditions change rapidly after entry - due to news events, liquidity shifts, or technical changes - the system can respond within the configured lookback period.
TP Markers as Reference Points:
The TP1, TP2, and TP3 levels function as reference points rather than mandatory exit triggers. When longTP1Hit or shortTP1Hit conditions activate, they serve as profit confirmation markers that inform the Smart Exit algorithm about achieved reward levels, but don't automatically initiate position closure.
These TP markers enhance the Smart Exit decision matrix by providing profit context to ongoing signal evaluation. The system recognizes when positions have achieved target returns, but the actual exit decision remains governed by continuous smart score evaluation and signal stack analysis.
TP2 Reached: Enhanced Monitoring
TP2 represents significant profit capture with additional monitoring features:
This approach is designed to help avoid premature profit-taking during trending conditions. If TP2 is reached but smartScoreLong remains above the dynamic threshold and the 8-candle sliding window shows persistent signals, the position continues holding. If market structure deteriorates before reaching TP2, the Smart Exit can trigger closure based on signal analysis.
The visual TP circles that appear when levels are reached serve as performance tracking tools, allowing users to see how frequently entries achieve various profit levels while understanding that actual exit timing depends on market structure analysis.
Risk Management Systems:
Operating independently from the Smart Exit Grid are two risk management systems: the Trap Wick Detection Protocol and the Stop Loss Mechanism. These systems maintain override authority over other exit logic.
The Trap Wick System monitors for conditionBearTrapExit during long positions and conditionBullTrapExit during short positions. When detected, these conditions trigger position closure with state reset, bypassing Smart Exit evaluations. This system recognizes that certain candlestick patterns may indicate reversal risk.
Volatility Exit Monitoring: The strategy monitors for isStrongBearCandle combined with conditionBearTrapExit, recognizing when market structure may be shifting.
Volume Validation: Before exiting on volatility, the strategy requires volume confirmation: volume > ta.sma(volume, 20) * 1.8. This is designed to filter exits on weak, low-volume movements.
The Stop Loss Mechanism operates through multiple triggers including traditional price-based stops (longSLHit, shortSLHit) and early exit conditions based on smart score deterioration combined with negative ROI. The early exit logic activates when smartScoreLong < 1.0 or smartScoreShort < 1.0 while realROI < -0.9%.
These risk management systems are designed so that risk scenarios can trigger protective closure with state reset across all 22 signal counters, TP tracking variables, and smart exit states.
This architecture - Smart Exit activation, TP markers as navigation tools, and independent risk management - creates a position management system that adapts to market conditions while maintaining risk discipline through dedicated protection protocols.
TP3 Reached: Enhanced Protection
Once TP3 is hit, the strategy shifts into enhanced monitoring:
EMA Structure Monitoring: isEMAStructureDown becomes a primary exit trigger
MTF Alignment: The higher timeframe receives increased consideration
Wick Trap Priority: conditionBearTrapExit becomes an immediate exit signal
Approach Differences:
Traditional Fixed Exits:
Exit at predetermined levels regardless of market conditions
May exit during trend continuation
May exit before trend completion
Limited adaptation to changing volatility
Smart Exit Grid Approach:
Adaptive timing based on signal conditions
Exits when supporting signals weaken
Multi-timeframe validation for trend confirmation
Volume confirmation requirements for holds
Structural monitoring for trend analysis
Dynamic ATR-Based Smart Score Threshold System
Market Volatility Adaptive Scoring
// Real-time ATR Analysis
atr_raw = ta.atr(atrLen)
atrValue = na(atr_raw) ? close * 0.02 : atr_raw
atrRatio = atrValue / close
// Three-Tier Dynamic Threshold Matrix
dynamicThreshold = atrRatio > 0.02 ? 1.0 : // High volatility: Lower threshold
(atrRatio > 0.01 ? 1.5 : // Medium volatility: Standard
2.8) // Low volatility: Higher threshold
The market volatility adaptive scoring calculates real-time ATR with a 2% fallback for new markets. The atrRatio represents the relationship between current volatility and price, creating a foundation for threshold adjustment.
The three-tier dynamic threshold matrix responds to market conditions by adjusting requirements based on volatility levels: lowering thresholds during high volatility periods above 2% ATR ratio to 1.0 points, maintaining standard requirements at 1.5 points for medium volatility between 1-2%, and raising standards to 2.8 points during low volatility periods below 1%.
Profit-Loss Adaptive Management:
The system applies different evaluation criteria based on position performance:
Winning Positions (realROI ≥ 0%):
→ timeMultiplier = 1.0 (No additional pressure)
→ Maintains base threshold requirements
→ Allows natural progression to TP2/TP3 levels
Losing Positions (realROI < 0%):
→ Progressive time pressure activated
→ Increasingly strict requirements over time
→ Faster decision-making on underperforming trades
ROI-Adaptive Smart Hold Decision Process:
The strategy uses a profit-loss adaptive system:
Winning Position Management (ROI ≥ 0%):
✅ Standard threshold requirements maintained
✅ No additional time-based pressure applied
✅ Allows positions to progress toward TP2/TP3 levels
✅ timeMultiplier remains at 1.0 regardless of hold duration
Losing Position Management (ROI < 0%):
⚠️ Time-based threshold adjustments activated
⚠️ Progressive increase in required signal strength over time
⚠️ Earlier exit evaluation on underperforming positions
⚠️ timeMultiplier increases from 1.0 → 1.1 → 1.3 based on hold duration
Real-Time Monitoring:
Monitor Analysis Table → "Smart" filter → "Score" vs "Dynamic Threshold"
Winning positions: Evaluation based on signal strength deterioration only
Losing positions: Evaluation considers both signal strength and progressive time adjustments
Breakeven positions (0% ROI): Treated as winning positions - no time adjustments
This approach differentiates between winning and losing positions in the hold evaluation process, requiring higher signal thresholds for extended holding of losing positions while maintaining standard requirements for winning ones.
ROI-Conditional Decision Matrix Examples:
Scenario 1 - Winning Position in Any Market:
Position ROI: +0.8% → timeMultiplier = 1.0 (regardless of hold time)
ATR Medium (1.2%) → dynamicThreshold = 1.5
Final Threshold = 1.5 × 1.0 = 1.5 points ✅ Position continues
Scenario 2 - Losing Position, Extended Hold:
Position ROI: -0.5% → Time pressure activated
Hold Time: 20 bars → timeMultiplier = 1.3
ATR Low (0.8%) → dynamicThreshold = 2.8
Final Threshold = 2.8 × 1.3 = 3.64 points ⚡ Enhanced requirements
Scenario 3 - Fresh Losing Position:
Position ROI: -0.3% → Time pressure activated
Hold Time: 5 bars → timeMultiplier = 1.0 (still early)
ATR High (2.1%) → dynamicThreshold = 1.0
Final Threshold = 1.0 × 1.0 = 1.0 points 📊 Recovery opportunity
Scenario 4 - Breakeven Position:
Position ROI: 0.0% → timeMultiplier = 1.0 (no pressure)
Hold Time: 15 bars → No time penalty applied
Final Threshold = dynamicThreshold only ⚖️ Neutral treatment
🔄8-Candle Sliding Window Signal Rotation System
Composite Signal Counting Mechanism
// Dynamic Lookback Window (configurable: default 8)
signalLookbackBars = input.int(8, "Composite Lookback Bars", minval=1, maxval=50)
// Rolling Signal Analysis
compositeBuyRecentCount = 0
compositeSellRecentCount = 0
for i = 0 to signalLookbackBars - 1
compositeBuyRecentCount += compositeBuySignal ? 1 : 0
compositeSellRecentCount += compositeSellSignal ? 1 : 0
Candle Flow Example (8-bar window):
→
✓ ✓ ✗ ✓ ✗ ✓ ✗ ✓ 🗑️
New Signal Count = 5/8 signals in window
Threshold Check: 5 ≥ signalMinCount (2) = HOLD CONFIRMED
Signal Decay & Refresh Mechanism
// Signal Persistence Tracking
if compositeBuyRecentCount >= signalMinCount
smartHold_Long = true
else
smartHold_Long = false
The composite signal counting operates through a configurable sliding window. The system maintains rolling counters that scan backward through the specified number of candles.
During each evaluation cycle, the algorithm iterates through historical bars, incrementing counters when composite signals are detected. This creates a dynamic signal persistence measurement where recent signal density determines holding decisions.
The sliding window rotation functions like a moving conveyor belt where new signals enter while the oldest signals drop off. For example, in an 8-bar window, if 5 out of 8 recent candles showed composite buy signals, and the minimum required count is 2, the system confirms the hold condition. As new bars form, the window slides forward, potentially changing the signal count and triggering exit conditions when signal density falls below the threshold.
Signal decay and refresh occur continuously where smartHold_Long remains true only when compositeBuyRecentCount exceeds signalMinCount. When recent signal density drops below the minimum requirement, the system switches to exit mode.
Advanced Signal Stack Management - 22-Signal Real-Time Evaluation
// Long Position Signal Stacking (calc_on_every_tick=true)
if inLong
// Primary Reversal Signals
if signalRedDiamond: signalCountRedDiamond += 1 // -0.5 points
if signalStarUprising: signalCountStarUprising += 1 // +1.5 points
if entryUltraShort: signalCountUltra += 1 // -1.0 points
// Trend Confirmation Signals
if strongUpTrend: trendUpCount_Long += 1 // +1.5 points
if emaAlignment_Bull: bullAlignCount_Long += 1 // +1.0 points
// Risk Assessment Signals
if highRisk_Long: riskCount_Long += 1 // -1.5 points
if topZone: tzoneCount_Long += 1 // -0.5 points
The per-tick signal accumulation system operates with calc_on_every_tick=true for real-time responsiveness. During long positions, the system monitors primary reversal signals where Red Diamond signals subtract 0.5 points as reversal warnings, Star Uprising adds 1.5 points for continuation signals, and Ultra Short signals deduct 1.0 points as counter-trend warnings.
Trend confirmation signals provide weighted scoring where strongUpTrend adds 1.5 points for aligned momentum, emaAlignment_Bull contributes 1.0 point for structural support, and various EMA-based confirmations contribute to the overall score. Risk assessment signals apply negative weighting where highRisk_Long situations subtract 1.5 points, topZone conditions deduct 0.5 points, and other risk factors create defensive scoring adjustments.
The smart score calculation aggregates all 22 components in real-time, combining reversal warnings, continuation signals, trend alignment indicators, EMA structural analysis, and risk penalties into a numerical representation of market conditions. This score updates continuously, providing the foundation for hold-or-exit decisions.
MULTI-TIMEFRAME (MTF) SYSTEM
MTF Data Collection
The strategy requests higher timeframe data (default 30-minute) for trend confirmation:
= request.security(syminfo.tickerid, mtfTimeframe, , lookahead=barmerge.lookahead_off, gaps=barmerge.gaps_off)
MTF Watchtower System - Implementation Logic
The system employs a timeframe discrimination protocol where currentTFInMinutes is compared against a 30-minute threshold. This creates different operational behavior between timeframes:
📊 Timeframe Testing Results:
30M+ charts: Full MTF confirmation → Tested with full features
15M charts: Local EMA + adjusted parameters → Standard testing baseline
5M charts: Local EMA only → Requires parameter adjustment
1M charts: High noise → Limited testing conducted
When the chart timeframe is 30 minutes or above, the strategy activates useMTF = true and requests external MTF data through request.security(). For timeframes below 30 minutes, including your 5-minute setup, the system deliberately uses local EMA calculations to avoid MTF lag and data inconsistencies.
The triple-layer data sourcing architecture works as follows: timeframes from 1 minute to 29 minutes rely on chart-based EMA calculations for immediate responsiveness. Timeframes of 30 minutes and above utilize MTF data through the security function, with a backup system that doubles the EMA length (emaLen * 2) if MTF data fails. When MTF data is unavailable or invalid, the system falls back to local EMA as the final safety net.
Data validation occurs through a pipeline where mtf_dataValid checks not only for non-null values but also verifies that EMA values are positive above zero. The system tracks data sources through mtf_dataSource which displays "MTF Data" for successful external requests, "Backup EMA" for failed MTF with backup system active, or "Chart EMA" for local calculations.
🔄 MTF Smart Score Caching & Recheck System
// Cache Update Decision Logic
mtfSmartIntervalSec = input.int(300, "Smart Grid Recheck Interval (sec)") // 5-minute cache
canRecheckSmartScore = na(timenow) ? false :
(na(lastCheckTime) or (timenow - lastCheckTime) > mtfSmartIntervalSec * 1000)
// Cache Management
if canRecheckSmartScore
lastCheckTime := timenow
cachedSmartScoreLong := smartScoreLong // Store current calculation
cachedSmartScoreShort := smartScoreShort
The performance-optimized caching system addresses the computational intensity of continuous MTF analysis through intelligent interval management. The mtfSmartIntervalSec parameter, defaulting to 300 seconds (5 minutes), determines cache refresh frequency. The system evaluates canRecheckSmartScore by comparing current time against lastCheckTime plus the configured interval.
When cache updates trigger, the system stores current calculations in cachedSmartScoreLong and cachedSmartScoreShort, creating stable reference points that reduce excessive MTF requests. This cache management balances computational efficiency with analytical accuracy.
The cache versus real-time hybrid system creates a multi-layered decision matrix where immediate signals update every tick for responsive market reaction, cached MTF scores refresh every 5 minutes for stability filtering, dynamic thresholds recalculate every bar for volatility adaptation, and sliding window analysis updates every bar for trend persistence validation.
This architecture balances real-time signal detection with multi-timeframe strategic validation, creating adaptive trading intelligence that responds immediately to market changes while maintaining strategic stability through cached analysis and volatility-adjusted decision thresholds.
⚡The Execution Section Deep Dive
The execution section represents the culmination of all previous systems – where analysis transforms into action.
🚪 Entry Execution: The Gateway Protocol
Primary Entry Validation:
Entry isn't just about seeing a signal – it's about passing through multiple security checkpoints, each designed to filter out low-quality opportunities.
Stage 1: Signal Confirmation
entryCompositeBuySignal must be TRUE for longs
entryCompositeSellSignal must be TRUE for shorts
Stage 2: Enhanced Entry Validation
The strategy employs an "OR" logic system that recognizes different types of market opportunities:
Path A - Trend Reversal Entry:
When emaTrendReversal_Long triggers, it indicates the market structure is shifting in favor of the trade direction. This isn't just about a single EMA crossing – it represents a change in market momentum that experienced traders recognize as potential high-probability setups.
Path B - Momentum Breakout Entry:
The strongBullMomentum condition is where QRE identifies accelerating market conditions:
Criteria:
EMA1 rising for 3+ candles AND
EMA2 rising for 2+ candles AND
Close > 10-period high
This combination captures those explosive moves where the market doesn't just trend – it accelerates, creating momentum-driven opportunities.
Path C - Recovery Entry:
When previous exit states are clean (no recent stop losses), the strategy permits entry based purely on signal strength. This pathway is designed to help avoid the strategy becoming overly cautious after successful trades.
🛡️ The Priority Exit Matrix: When Rules Collide
Not all exit signals are created equal. QRE uses a strict hierarchy that is designed to avoid conflicting signals from causing hesitation:
Priority Level 1 - Exception Exits (Immediate Action):
Condition: TP3 reached AND Wick Trap detected
Action: Immediate exit regardless of other signals
Rationale: Historical analysis suggests wick traps at TP3 may indicate potential reversals
Priority Level 2 - Structural Breakdown:
Condition: TP3 active AND EMA structure deteriorating AND Smart Score insufficient
Logic: isEMAStructureDown AND NOT smartHold_Long
This represents the strategy recognizing that the underlying market structure that justified the trade is failing. It's like a building inspector identifying structural issues – you don't wait for additional confirmation.
Priority Level 3 - Enhanced Volatility Exits:
Conditions: TP2 active AND Strong counter-candle AND Wick trap AND Volume spike
Logic: Multiple confirmation required to reduce false exits
Priority Level 4 - Standard Smart Score Exits:
Condition: Any TP level active AND smartHold evaluates to FALSE
This is the bread-and-butter exit logic where signal deterioration triggers exit
⚖️ Stop Loss Management: Risk Control Protocol
Dual Stop Loss System:
QRE provides two stop loss modes that users can select based on their preference:
Fixed Mode (Default - useAdaptiveSL = false):
Uses predetermined percentage levels regardless of market volatility:
- Long SL = entryPrice × (1 - fixedRiskP - slipBuffer)
- Short SL = entryPrice × (1 + fixedRiskP + slipBuffer)
- Default: 0.6% risk + 0.3% slippage buffer = 0.9% total stop
- Consistent and predictable stop loss levels
- Recommended for users who prefer stable risk parameters
Adaptive Mode (Optional - useAdaptiveSL = true):
Dynamic system that adjusts stop loss based on market volatility:
- Base Calculation uses ATR (Average True Range)
- Long SL = entryPrice × (1 - (ATR × atrMultSL) / entryPrice - slipBuffer)
- Short SL = entryPrice × (1 + (ATR × atrMultSL) / entryPrice + slipBuffer)
- Automatically widens stops during high volatility periods
- Tightens stops during low volatility periods
- Advanced users can enable for volatility-adaptive risk management
Trend Multiplier Enhancement (Both Modes):
When strongUpTrend is detected for long positions, the stop loss receives 1.5x breathing room. Strong trends often have deeper retracements before continuing. This is designed to help avoid the strategy being shaken out of active trades by normal market noise.
Mode Selection Guidance:
- New Users: Start with Fixed Mode for predictable risk levels
- Experienced Users: Consider Adaptive Mode for volatility-responsive stops
- Volatile Markets: Adaptive Mode may provide better stop placement
- Stable Markets: Fixed Mode often sufficient for consistent risk management
Early Exit Conditions:
Beyond traditional stop losses, QRE implements "smart stops" that trigger before price-based stops:
Early Long Exit: (smartScoreLong < 1.0 OR prev5BearCandles) AND realROI < -0.9%
🔄 State Management: The Memory System
Complete State Reset Protocol:
When a position closes, QRE doesn't just wipe the slate clean – it performs a methodical reset:
TP State Cleanup:
All Boolean flags: tp1/tp2/tp3HitBefore → FALSE
All Reached flags: tp1/tp2/tp3Reached → FALSE
All Active flags: tp1/tp2/tp3HoldActive → FALSE
Signal Counter Reset:
Every one of the 22 signal counters returns to zero.
This is designed to avoid signal "ghosting" where old signals influence new trades.
Memory Preservation:
While operational states reset, certain information is preserved for learning:
killReasonLong/Short: Why did this trade end?
lastExitWasTP1/TP2/TP3: What was the exit quality?
reEntryCount: How many consecutive re-entries have occurred?
🔄 Re-Entry Logic: The Comeback System
Re-Entry Conditions Matrix:
QRE implements a re-entry system that recognizes not all exits are created equal:
TP-Based Re-Entry (Enabled):
Criteria: Previous exit was TP1, TP2, or TP3
Cooldown: Minimal or bypassed entirely
Logic: Target-based exits indicate potentially viable market conditions
EMA-Based Re-Entry (Conditional):
Criteria: Previous exit was EMA-based (structural change)
Requirements: Must wait for EMA confirmation in new direction
Minimum Wait: 5 candles
Advanced Re-Entry Features:
When adjustReEntryTargets is enabled, the strategy becomes more aggressive with re-entries:
Target Adjustment: TP1 multiplied by reEntryTP1Mult (default 2.0)
Stop Adjustment: SL multiplied by reEntrySLMult (default 1.5)
Logic: If we're confident enough to re-enter, we should be confident enough to hold for bigger moves
Performance Tracking: Strategy tracks re-entry win rate, average ROI, and total performance separately from initial entries for optimization analysis.
📊 Exit Reason Analytics: Learning from Every Trade
Kill Reason Tracking:
Every exit is categorized and stored:
"TP3 Exit–Wick Trap": Exit at target level with wick pattern detection
"Smart Exit–EMA Down": Structural breakdown exit
"Smart Exit–Volatility": Volatility-based protection exit
"Exit Post-TP1/TP2/TP3": Standard smart exit progression
"Long SL Exit" / "Short SL Exit": Stop loss exits
Performance Differentiation:
The strategy tracks performance by exit type, allowing for continuous analysis:
TP-based exits: Achieved target levels, analyze for pattern improvement
EMA-based exits: Mixed results, analyze for pattern improvement
SL-based exits: Learning opportunities, adjust entry criteria
Volatility exits: Protective measures, monitor performance
🎛️ Trailing Stop Implementation:
Conditional Trailing Activation:
Activation Criteria: Position profitable beyond trailingStartPct AND
(TP hold active OR re-entry trade)
Dynamic Trailing Logic:
Unlike simple trailing stops, QRE's implementation considers market context:
Trending Markets: Wider trail offsets to avoid whipsaws
Volatile Markets: Tighter offsets to protect gains
Re-Entry Trades: Enhanced trailing to maximize second-chance opportunities
Return-to-Entry Protection:
When deactivateOnReturn is enabled, the strategy will close positions that return to entry level after being profitable. This is designed to help avoid the frustration of watching profitable trades turn into losers.
🧠 How It All Works Together
The beauty of QRE lies not in any single component, but in how everything integrates:
The Entry Decision: Multiple pathways are designed to help identify opportunities while maintaining filtering standards.
The Progression System: Each TP level unlocks new protection features, like achieving ranks in a video game.
The Exit Matrix: Prioritized decision-making aims to reduce analysis paralysis while providing appropriate responses to different market conditions.
The Memory System: Learning from each trade while preventing contamination between separate opportunities.
The Re-Entry Logic: Re-entry system that balances opportunity with risk management.
This creates a trading system where entry conditions filter for quality, progression systems adapt to changing market conditions, exit priorities handle conflicting signals intelligently, memory systems learn from each trade cycle, and re-entry logic maximizes opportunities while managing risk exposure.
📊 ANALYSIS TABLE INTERPRETATION -
⚙️ Enabling Analysis Mode
Navigate to strategy settings → "Testing & Analysis" → Enable "Show Analysis Table". The Analysis Table displays different information based on the selected test filter and provides real-time insight into all strategy components, helping users understand current market conditions, position status, and system decision-making processes.
📋 Filter Mode Interpretations
"All" Mode (Default View):
Composite Section:
Buy Score: Aggregated strength from all 22 bullish signals (threshold 5.0+ triggers entry consideration)
Sell Score: Aggregated strength from all 22 bearish signals (threshold 5.4+ triggers entry consideration)
APEX Filters:
ATG Trend: Shows current trend direction analysis
Indicates whether momentum filters are aligned for directional bias
ReEntry Section:
Most Recent Exit: Displays exit type and timeframe since last position closure
Status: Shows if ReEntry system is Ready/Waiting/Disabled
Count: Current re-entry attempts versus maximum allowed attempts
Position Section (When Active):
Status: Current position state (LONG/SHORT/FLAT)
ROI: Dual calculation showing Custom vs Real ROI percentages
Entry Price: Original position entry level
Current Price: Live market price for comparison
TP Tracking: Progress toward profit targets
"Smart" Filter (Critical for Active Positions):
Smart Exit Section:
Hold Timer: Time elapsed since position opened (bar-based counting)
Status: Whether Smart Exit Grid is Enabled/Disabled
Score: Current smart score calculation from 22-component matrix
Dynamic Threshold: ATR-based minimum score required for holding
Final Threshold: Time and ROI-adjusted threshold actually used for decisions
Score Check: Pass/Fail based on Score vs Final Threshold comparison
Smart Hold: Current hold decision status
Final Hold: Final recommendation based on all factors
🎯 Advanced Smart Exit Debugging - ROI & Time-Based Threshold System
Understanding the Multi-Layer Threshold System:
Layer 1: Dynamic Threshold (ATR-Based)
atrRatio = ATR / close
dynamicThreshold = atrRatio > 0.02 ? 1.0 : // High volatility: Lower threshold
(atrRatio > 0.01 ? 1.5 : // Medium volatility: Standard
2.8) // Low volatility: Higher threshold
Layer 2: Time Multiplier (ROI & Duration-Based)
Winning Positions (ROI ≥ 0%):
→ timeMultiplier = 1.0 (No time pressure, regardless of hold duration)
Losing Positions (ROI < 0%):
→ holdTimer ≤ 8 bars: timeMultiplier = 1.0 (Early stage, standard requirements)
→ holdTimer 9-16 bars: timeMultiplier = 1.1 (10% stricter requirements)
→ holdTimer 17+ bars: timeMultiplier = 1.3 (30% stricter requirements)
Layer 3: Final Threshold Calculation
finalThreshold = dynamicThreshold × timeMultiplier
Examples:
- Winning Position: 2.8 × 1.0 = 2.8 (Always standard)
- Losing Position (Early): 2.8 × 1.0 = 2.8 (Same as winning initially)
- Losing Position (Extended): 2.8 × 1.3 = 3.64 (Much stricter)
Real-Time Debugging Display:
Smart Exit Section shows:
Score: 3.5 → Current smartScoreLong/Short value
Dynamic Threshold: 2.8 → Base ATR-calculated threshold
Final Threshold: 3.64 (ATR×1.3) → Actual threshold used for decisions
Score Check: FAIL (3.5 vs 3.64) → Pass/Fail based on final comparison
Final Hold: NO HOLD → Actual system decision
Position Status Indicators:
Winner + Early: ATR×1.0 (No pressure)
Winner + Extended: ATR×1.0 (No pressure - winners can run indefinitely)
Loser + Early: ATR×1.0 (Recovery opportunity)
Loser + Extended: ATR×1.1 or ATR×1.3 (Increasing pressure to exit)
MTF Section:
Data Source: Shows whether using MTF Data/EMA Backup/Local EMA
Timeframe: Configured watchtower timeframe setting
Data Valid: Confirms successful MTF data retrieval status
Trend Signal: Higher timeframe directional bias analysis
Close Price: MTF price data availability confirmation
"Composite" Filter:
Composite Section:
Buy Score: Real-time weighted scoring from multiple indicators
Sell Score: Opposing directional signal strength
Threshold: Minimum scores required for signal activation
Components:
Flash/Blink: Momentum acceleration indicators (F = Flash active, B = Blink active)
Individual filter contributions showing which specific signals are firing
"ReEntry" Filter:
ReEntry System:
System: Shows if re-entry feature is Enabled/Disabled
Eligibility: Conditions for new entries in each direction
Performance: Success metrics of re-entry attempts when enabled
🎯 Key Status Indicators
Status Column Symbols:
✓ = Condition met / System active / Signal valid
✗ = Condition not met / System inactive / No signal
⏳ = Cooldown active (waiting period)
✅ = Ready state / Good condition
🔄 = Processing / Transitioning state
🔍 Critical Reading Guidelines
For Active Positions - Smart Exit Priority Reading:
1. First Check Position Type:
ROI ≥ 0% = Winning Position (Standard requirements)
ROI < 0% = Losing Position (Progressive requirements)
2. Check Hold Duration:
Early Stage (≤8 bars): Standard multiplier regardless of ROI
Extended Stage (9-16 bars): Slight pressure on losing positions
Long Stage (17+ bars): Strong pressure on losing positions
3. Score vs Final Threshold Analysis:
Score ≥ Final Threshold = HOLD (Continue position)
Score < Final Threshold = EXIT (Close position)
Watch for timeMultiplier changes as position duration increases
4. Understanding "Why No Hold?"
Common scenarios when Score Check shows FAIL:
Losing position held too long (timeMultiplier increased to 1.1 or 1.3)
Low volatility period (dynamic threshold raised to 2.8)
Signal deterioration (smart score dropped below required level)
MTF conflict (higher timeframe opposing position direction)
For Entry Signal Analysis:
Composite Score Reading: Signal strength relative to threshold requirements
Component Analysis: Individual filter contributions to overall score
EMA Structure: Confirm 3-bar crossover requirement met
Cooldown Status: Ensure sufficient time passed since last exit
For ReEntry Opportunities (when enabled):
System Status: Availability and eligibility for re-engagement
Exit Type Analysis: TP-based exits enable immediate re-entry, SL-based exits require cooldown
Condition Monitoring: Requirements for potential re-entry signals
Debugging Common Issues:
Issue: "Score is high but no hold?"
→ Check Final Threshold vs Score (not Dynamic Threshold)
→ Losing position may have increased timeMultiplier
→ Extended hold duration applying pressure
Issue: "Why different thresholds for same score?"
→ Position ROI status affects multiplier
→ Time elapsed since entry affects multiplier
→ Market volatility affects base threshold
Issue: "MTF conflicts with local signals?"
→ Higher timeframe trend opposing position
→ System designed to exit on MTF conflicts
→ Check MTF Data Valid status
⚡ Performance Optimization Notes
For Better Performance:
Analysis table updates may impact performance on some devices
Use specific filters rather than "All" mode for focused monitoring
Consider disabling during live trading for optimal chart performance
Enable only when needed for debugging or analysis
Strategic Usage:
Monitor "Smart" filter when positions are active for exit timing decisions
Use "Composite" filter during setup phases for signal strength analysis
Reference "ReEntry" filter after position closures for re-engagement opportunities
Track Final Threshold changes to understand exit pressure evolution
Advanced Debugging Workflow:
Position Entry Analysis:
Check Composite score vs threshold
Verify EMA crossover timing (3 bars prior)
Confirm cooldown completion
Hold Decision Monitoring:
Track Score vs Final Threshold progression
Monitor timeMultiplier changes over time
Watch for MTF conflicts
Exit Timing Analysis:
Identify which threshold layer caused exit
Track performance by exit type
Analyze re-entry eligibility
This analysis system provides transparency into strategy decision-making processes, allowing users to understand how signals are generated and positions are managed according to the programmed logic during various market conditions and position states.
SIGNAL TYPES AND CHARACTERISTICS
🔥 Core Momentum Signals
Flash Signal
Calculation: ta.rma(math.abs(close - close ), 5) > ta.sma(math.abs(close - close ), 7)
Purpose: Detects sudden price acceleration using smoothed momentum comparison
Characteristics: Triggers when recent price movement exceeds historical average movement
Usage: Primary momentum confirmation across multiple composite calculations
Weight: 1.3 points in composite scoring
Blink Signal
Calculation: math.abs(ta.change(close, 1)) > ta.sma(math.abs(ta.change(close, 1)), 5)
Purpose: Identifies immediate price velocity spikes
Characteristics: More sensitive than Flash, captures single-bar momentum bursts
Usage: Secondary momentum confirmation, often paired with Flash
Weight: 1.3 points in composite scoring
⚡ Advanced Composite Signals
Apex Pulse Signal
Calculation: apexAngleValue > 30 or apexAngleValue < -30
Purpose: Detects extreme EMA angle momentum
Characteristics: Identifies when trend angle exceeds ±30 degrees
Usage: Confirms directional momentum strength in trend-following scenarios
Pressure Surge Signal
Calculation: volSpike_AVP and strongTrendUp_ATG
Purpose: Combines volume expansion with trend confirmation
Characteristics: Requires both volume spike and strong uptrend simultaneously
Usage: bullish signal for trend continuation
Shift Wick Signal
Calculation: ta.crossunder(ema1, ema2) and isWickTrapDetected and directionFlip
Purpose: Detects bearish reversal with wick trap confirmation
Characteristics: Combines EMA crossunder with upper wick dominance and directional flip
Usage: Reversal signal for trend change identification
🛡️ Trap Exit Protection Signals
Bear Trap Exit
Calculation: isUpperWickTrap and isBearEngulfNow
Conditions: Previous bullish candle with 80%+ upper wick, followed by current bearish engulfing
Purpose: Emergency exit signal for long positions
Priority: Highest - overrides all other hold conditions
Action: Immediate position closure with full state reset
Bull Trap Exit
Calculation: isLowerWickTrap and isBullEngulfNow
Conditions: Previous bearish candle with 80%+ lower wick, followed by current bullish engulfing
Purpose: Emergency exit signal for short positions
Priority: Highest - overrides all other hold conditions
Action: Immediate position closure with full state reset
📊 Technical Analysis Foundation Signals
RSI-MFI Hybrid System
Base Calculation: (ta.rsi(close, 14) + ta.mfi(close, 14)) / 2
Oversold Threshold: < 35
Overbought Threshold: > 65
Weak Condition: < 35 and declining
Strong Condition: > 65 and rising
Usage: Momentum confirmation and reversal identification
ADX-DMI Trend Classification
Strong Up Trend: (adx > 25 and diplus > diminus and (diplus - diminus) > 5) or (ema1 > ema2 and ema2 > ema3 and ta.rising(ema2, 3))
Strong Down Trend: (adx > 20 and diminus > diplus - 5) or (ema1 < ema2 and ta.falling(ema1, 3))
Trend Weakening: adx < adx and adx < adx
Usage: Primary trend direction confirmation
Bollinger Band Squeeze Detection
Calculation: bbWidth < ta.lowest(bbWidth, 20) * 1.2
Purpose: Identifies low volatility periods before breakouts
Usage: Entry filter - avoids trades during consolidation
🎨 Visual Signal Indicators
Red X Signal
Calculation: isBearCandle and ta.crossunder(ema1, ema2)
Visual: Red X above price
Purpose: Bearish EMA crossunder with confirming candle
Composite Weight: +1.0 for short positions, -1.0 for long positions
Characteristics: Simple but effective trend change indicator
Green Dot Signal
Calculation: isBullCandle and ta.crossover(ema1, ema2)
Visual: Green dot below price
Purpose: Bullish EMA crossover with confirming candle
Composite Weight: +1.0 for long positions, -1.0 for short positions
Characteristics: Entry confirmation for trend-following strategies
Blue Diamond Signal
Trigger Conditions: amcBuySignal and score >= 4
Scoring Components: 11 different technical conditions
Key Requirements: AMC bullish + momentum rise + EMA expansion + volume confirmation
Visual: Blue diamond below price
Purpose: Bullish reversal or continuation signal
Characteristics: Multi-factor confirmation requiring 4+ technical alignments
Red Diamond Signal
Trigger Conditions: amcSellSignal and score >= 5
Scoring Components: 11 different technical conditions (stricter than Blue Diamond)
Key Requirements: AMC bearish + momentum crash + EMA compression + volume decline
Visual: Red diamond above price
Purpose: Potential bearish reversal or continuation signal
Characteristics: Requires higher threshold (5 vs 4) for more selective triggering
🔵 Specialized Detection Signals
Blue Dot Signal
Calculation: volumePulse and isCandleStrong and volIsHigh
Requirements: Volume > 2.0x MA, strong candle body > 35% of range, volume MA > 55
Purpose: Volume-confirmed momentum signal
Visual: Blue dot above price
Characteristics: Volume-centric signal for high-liquidity environments
Orange X Signal
Calculation: Complex multi-factor oversold reversal detection
Requirements: AMC oversold + wick trap + flash/blink + RSI-MFI oversold + bullish flip
Purpose: Oversold bounce signal with multiple confirmations
Visual: Orange X below price
Characteristics: Reversal signal requiring 5+ simultaneous conditions
VSS (Velocity Signal System)
Components: Volume spike + EMA angle + trend direction
Buy Signal: vssTrigger and vssTrendDir == 1
Sell Signal: vssTrigger and vssTrendDir == -1
Visual: Green/Red triangles
Purpose: Velocity-based momentum detection
Characteristics: Fast-response signal for momentum trading
⭐ Elite Composite Signals
Star Uprising Signal
Base Requirements: entryCompositeBuySignal and echoBodyLong and strongUpTrend and isAMCUp
Additional Confirmations: RSI hybrid strong + not high risk
Special Conditions: At bottom zone OR RSI bottom bounce OR strong volume bounce
Visual: Star symbol below price
Purpose: Bullish reversal signal from oversold conditions
Characteristics: Most selective bullish signal requiring multiple confirmations
Ultra Short Signal
Scoring System: 7-component scoring requiring 4+ points
Key Components: EMA trap + volume decline + RSI weakness + composite confirmation
Additional Requirements: Falling EMA structure + volume spike + flash confirmation
Visual: Explosion emoji above price
Purpose: Aggressive short entry for trend reversal or continuation
Characteristics: Complex multi-layered signal for experienced short selling
🎯 Composite Signal Architecture
Enhanced Composite Scoring
Long Composite: 15+ weighted components including structure, momentum, flash/blink, volume, price action, reversal triggers, trend alignment
Short Composite: Mirror structure with bearish bias
Threshold: 5.0 points required for signal activation
Conflict Resolution: If both long and short signals trigger simultaneously, both are disabled
Final Validation: Requires EMA momentum confirmation (ta.rising(emaFast_ATG, 2) for longs, ta.falling(emaFast_ATG, 2) for shorts)
Risk Assessment Integration
High Risk Long: RSI > 70 OR close > upper Bollinger Band 80%
High Risk Short: RSI < 30 OR close < lower Bollinger Band 80%
Zone Analysis: Top zone (95% of 50-bar high) vs Bottom zone (105% of 50-bar low)
Risk Penalty: High risk conditions subtract 1.5 points from composite scores
This signal architecture creates a multi-layered detection system where simple momentum signals provide foundation, technical analysis adds structure, visual indicators offer clarity, specialized detectors capture different market conditions, and composite signals identify potential opportunities while integrated risk assessment is designed to filter risky entries.
VISUAL FEATURES SHOWCASE
Ichimoku Cloud Visualization
Dynamic Color Intensity: Cloud transparency adapts to momentum strength - darker colors indicate stronger directional moves, while lighter transparency shows weakening momentum phases.
Gradient Color Mapping: Bullish momentum renders blue-purple spectrum with increasing opacity, while bearish momentum displays corresponding color gradients with intensity-based transparency.
Real-time Momentum Feedback: Color saturation provides immediate visual feedback on market structure strength, allowing traders to assess levels at a glance without additional indicators.
EMA Ribbon Bands
The 8-level exponential moving average system creates a comprehensive trend structure map with gradient color coding.
Signal Type Visualization
STRATEGY PROPERTIES & BACKTESTING DISCLOSURE
📊 Default Strategy Configuration:
✅ Initial Capital: 100,000 USD (realistic for average traders)
✅ Commission: 0.075% per trade (realistic exchange fees)
✅ Slippage: 3 ticks (market impact consideration)
✅ Position Size: 5% equity per trade (sustainable risk level)
✅ Pyramiding: Disabled (single position management)
✅ Sample Size: 185 trades over 12-month backtesting period
✅ Risk Management: Adaptive stop loss with maximum 1% risk per trade
COMPREHENSIVE BACKTESTING RESULTS
Testing Period & Market Conditions:
Backtesting Period: June 25, 2024 - June 25, 2025 (12 months)
Timeframe: 15-minute charts (MTF system active)
Market: BTCUSDT (Bitcoin/Tether)
Market Conditions: Full market cycle including volatility periods
Deep Backtesting: Enabled for maximum accuracy
📈 Performance Summary:
Total Return: +2.19% (+2,193.59 USDT)
Total Trades Executed: 185 trades
Win Rate: 34.05% (63 winning trades out of 185)
Profit Factor: 1.295 (gross profit ÷ gross loss)
Maximum Drawdown: 0.65% (653.17 USDT)
Risk-Adjusted Returns: Consistent with conservative risk management approach
📊 Detailed Trade Analysis:
Position Distribution:
Long Positions: 109 trades (58.9%) | Win Rate: 36.70%
Short Positions: 76 trades (41.1%) | Win Rate: 30.26%
Average Trade Duration: Optimized for 15-minute timeframe efficiency
Profitability Metrics:
Average Profit per Trade: 11.74 USDT (0.23%)
Average Winning Trade: 151.17 USDT (3.00%)
Average Losing Trade: 60.27 USDT (1.20%)
Win/Loss Ratio: 2.508 (winners are 2.5x larger than losses)
Largest Single Win: 436.02 USDT (8.69%)
Largest Single Loss: 107.41 USDT (controlled risk management)
💰 Financial Performance Breakdown:
Gross Profit: 9,523.93 USDT (9.52% of capital)
Gross Loss: 7,352.48 USDT (7.35% of capital)
Net Profit After Costs: 2,171.44 USDT (2.17%)
Commission Costs: 1,402.47 USDT (realistic trading expenses)
Maximum Equity Run-up: 2,431.66 USDT (2.38%)
⚖️ Risk Management Validation:
Maximum Drawdown: 0.65% showing controlled risk management
Drawdown Recovery: Consistent equity curve progression
Risk per Trade: Successfully maintained below 1.5% per position
Position Sizing: 5% equity allocation proved sustainable throughout testing period
📋 Strategy Performance Characteristics:
✅ Strengths Demonstrated:
Controlled Risk: Maximum drawdown well below industry standards (< 1%)
Positive Expectancy: Win/loss ratio of 2.5+ creates profitable edge
Consistent Performance: Steady equity curve without extreme volatility
Realistic Costs: Includes actual commission and slippage impacts
Sample Size: 185 trades during testing period
⚠️ Performance Considerations:
Win Rate: 34% win rate requires discipline to follow system signals
Market Dependency: Performance may vary significantly in different market conditions
Timeframe Sensitivity: Optimized for 15-minute charts; other timeframes may show different results
Slippage Impact: Real trading conditions may affect actual performance
📊 Benchmark Comparison:
Strategy Return: +2.19% over 12 months
Buy & Hold Bitcoin: +71.12% over same period
Strategy Advantage: Significantly lower drawdown and volatility
Risk-Adjusted Performance: Different risk profile compared to holding cryptocurrency
🎯 Real-World Application Insights:
Expected Trading Frequency:
Average: 15.4 trades per month (185 trades ÷ 12 months)
Weekly Frequency: Approximately 3-4 trades per week
Active Management: Requires regular monitoring during market hours
Capital Requirements:
Minimum Used in Testing: $10,000 for sustainable position sizing
Tested Range: $50,000-$100,000 for comfortable risk management
Commission Impact: 0.075% per trade totaled 1.4% of capital over 12 months
⚠️ IMPORTANT BACKTESTING DISCLAIMERS:
📈 Performance Reality:
Past performance does not guarantee future results. Backtesting results represent hypothetical performance and may not reflect actual trading outcomes due to market changes, execution differences, and emotional factors.
🔄 Market Condition Dependency:
This strategy's performance during the tested period may not be representative of performance in different market conditions, volatility regimes, or trending vs. sideways markets.
💸 Cost Considerations:
Actual trading costs may vary based on broker selection, market conditions, and trade size. Commission rates and slippage assumptions may differ from real-world execution.
🎯 Realistic Expectations:
The 34% win rate requires psychological discipline to continue following signals during losing streaks. Risk management and position sizing are critical for replicating these results.
⚡ Technology Dependencies:
Strategy performance assumes reliable internet connection, platform stability, and timely signal execution. Technical failures may impact actual results.
CONFIGURATION OPTIMIZATION
5-Minute Timeframe Optimization (Advanced Users Only)
⚠️ Important Warning: 5-minute timeframes operate without MTF confirmation, resulting in reduced signal quality and higher false signal rates.
Example 5-Minute Parameters:
Composite Thresholds: Long 6.5, Short 7.0 (vs 15M default 5.0/5.4)
Signal Lookback Bars: 12 (vs 15M default 8)
Volume Multiplier: 2.2 (vs 15M default 1.8)
MTF Timeframe: Disabled (automatic below 30M)
Risk Management Adjustments:
Position Size: Reduce to 3% (vs 5% default)
TP1: 0.8%, TP2: 1.2%, TP3: 2.0% (tighter targets)
SL: 0.8% (tighter stop loss)
Cooldown Minutes: 8 (vs 5 default)
Usage Notes for 5-Minute Trading:
- Wait for higher composite scores before entry
- Require stronger volume confirmation
- Monitor EMA structure more closely
15-Minute Scalping Setup:
TP1: 1.0%, TP2: 1.5%, TP3: 2.5%
Composite Threshold: 5.0 (higher filtering)
TP ATR Multiplier: 7.0
SL ATR Multiplier: 2.5
Volume Multiplier: 1.8 (requires stronger confirmation)
Hold Time: 2 bars minimum
3-Hour Swing Setup:
TP1: 2.0%, TP2: 4.0%, TP3: 8.0%
Composite Threshold: 4.5 (more signals)
TP ATR Multiplier: 8.0
SL ATR Multiplier: 3.2
Volume Multiplier: 1.2
Hold Time: 6 bars minimum
Market-Specific Adjustments
High Volatility Periods:
Increase ATR multipliers (TP: 2.0x, SL: 1.2x)
Raise composite thresholds (+0.5 points)
Reduce position size
Enable cooldown periods
Low Volatility Periods:
Decrease ATR multipliers (TP: 1.2x, SL: 0.8x)
Lower composite thresholds (-0.3 points)
Standard position sizing
Disable extended cooldowns
News Events:
Temporarily disable strategy 30 minutes before major releases
Increase volume requirements (2.0x multiplier)
Reduce position sizes by 50%
Monitor for unusual price action
RISK MANAGEMENT
Dual ROI System: Adaptive vs Fixed Mode
Adaptive RR Mode:
Uses ATR (Average True Range) for automatic adjustment
TP1: 1.0x ATR from entry price
TP2: 1.5x ATR from entry price
TP3: 2.0x ATR from entry price
Stop Loss: 1.0x ATR from entry price
Automatically adjusts to market volatility
Fixed Percentage Mode:
Uses predetermined percentage levels
TP1: 1.0% (default)
TP2: 1.5% (default)
TP3: 2.5% (default)
Stop Loss: 0.9% total (0.6% risk tolerance + 0.3% slippage buffer)(default)
Consistent levels regardless of volatility
Mode Selection: Enable "Use Adaptive RR" for ATR-based targets, disable for fixed percentages. Adaptive mode works better in varying volatility conditions, while fixed mode provides predictable risk/reward ratios.
Stop Loss Management
In Adaptive SL Mode:
Automatically scales with market volatility
Tight stops during low volatility (smaller ATR)
Wider stops during high volatility (larger ATR)
Include 0.3% slippage buffer in both modes
In Fixed Mode:
Consistent percentage-based stops
2% for crypto, 1.5% for forex, 1% for stocks
Manual adjustment needed for different market conditions
Trailing Stop System
Configuration:
Enable Trailing: Activates dynamic stop loss adjustment
Start Trailing %: Profit level to begin trailing (default 1.0%)
Trailing Offset %: Distance from current price (default 0.5%)
Close if Return to Entry: Optional immediate exit if price returns to entry level
Operation: Once position reaches trailing start level, stop loss automatically adjusts upward (longs) or downward (shorts) maintaining the offset distance from favorable price movement.
Timeframe-Specific Risk Considerations
15-Minute and Above (Tested):
✅ Full MTF system active
✅ Standard risk parameters apply
✅ Backtested performance metrics valid
✅ Standard position sizing (5%)
5-Minute Timeframes (Advanced Only):
⚠️ MTF system inactive - local signals only
⚠️ Higher false signal rate expected
⚠️ Reduced position sizing preferred (3%)
⚠️ Tighter stop losses required (0.8% vs 1.2%)
⚠️ Requires parameter optimization
⚠️ Monitor performance closely
1-Minute Timeframes (Limited Testing):
❌ Excessive noise levels
❌ Strategy not optimized for this frequency
Risk Management Practices
Allocate no more than 5% of your total investment portfolio to high-risk trading
Never trade with funds you cannot afford to lose
Thoroughly backtest and validate the strategy with small amounts before full implementation
Always maintain proper risk management and stop-loss settings
IMPORTANT DISCLAIMERS
Performance Disclaimer
Past performance does not guarantee future results. All trading involves substantial risk of loss. This strategy is provided for informational purposes and does not constitute financial advice.
Market Risk
Cryptocurrency and forex markets are highly volatile. Prices can move rapidly against positions, resulting in significant losses. Users should never risk more than they can afford to lose.
Strategy Limitations
This strategy relies on technical analysis and may not perform well during fundamental market shifts, news events, or unprecedented market conditions. No trading strategy can guarantee 100% success or eliminate the risk of loss.
Legal Compliance
You are responsible for compliance with all applicable regulations and laws in your jurisdiction. Consult with licensed financial professionals when necessary.
User Responsibility
Users are responsible for their own trading decisions, risk management, and compliance with applicable regulations in their jurisdiction.
Advanced Correlation Monitor📊 Advanced Correlation Monitor - Pine Script v6
🎯 What does this indicator do?
Monitors real-time correlations between 13 different asset pairs and alerts you when historically strong correlations break, indicating potential trading opportunities or changes in market dynamics.
🚀 Key Features
✨ Multi-Market Monitoring
7 Forex Pairs (GBPUSD/DXY, EURUSD/GBPUSD, etc.)
6 Index/Stock Pairs (SPY/S&P500, DAX/NASDAQ, TSLA/NVDA, etc.)
Fully configurable - change any pair from inputs
📈 Dual Correlation Analysis
Long Period (90 bars): Identifies historically strong correlations
Short Period (6 bars): Detects recent breakdowns
Pearson Correlation using Pine Script v6 native functions
🎨 Intuitive Visualization
Real-time table with 6 information columns
Color coding: Green (correlated), Red (broken), Gray (normal)
Visual states: 🟢 OK, 🔴 BROKEN, ⚫ NORMAL
🚨 Smart Alert System
Only alerts previously correlated pairs (>80% historical)
Detects breakdowns when short correlation <80%
Consolidated alert with all affected pairs
🛠️ Flexible Configuration
Adjustable Parameters:
📅 Periods: Long (30-500), Short (2-50)
🎯 Threshold: 50%-99% (default 80%)
🎨 Table: Configurable position and size
📊 Symbols: All pairs are configurable
Default Pairs:
FOREX: INDICES/STOCKS:
- GBPUSD vs DXY • SPY vs S&P500
- EURUSD vs GBPUSD • DAX vs S&P500
- EURUSD vs DXY • DAX vs NASDAQ
- USDCHF vs DXY • TSLA vs NVDA
- GBPUSD vs USDCHF • MSFT vs NVDA
- EURUSD vs USDCHF • AAPL vs NVDA
- EURUSD vs EURCAD
💡 Practical Use Cases
🔄 Pairs Trading
Detects when strong correlations break for:
Statistical arbitrage
Mean reversion trading
Divergence opportunities
🛡️ Risk Management
Identifies when "safe" assets start moving independently:
Portfolio diversification
Smart hedging
Regime change detection
📊 Market Analysis
Understand underlying market structure:
Forex/DXY correlations
Tech sector rotation
Regional market disconnection
🎓 Results Interpretation
Reading Example:
EURUSD vs DXY: -98.57% → -98.27% | 🟢 OK
└─ Perfect negative correlation maintained (EUR rises when DXY falls)
TSLA vs NVDA: 78.12% → 0% | ⚫ NORMAL
└─ Lost tech correlation (divergence opportunity)
Trading Signals:
🟢 → 🔴: Broken correlation = Possible opportunity
Large difference: Indicates correlation tension
Multiple breaks: Market regime change
BornInvestor Gap Detector📈 BornInvestor Gap Detector
The BornInvestor Gap Detector is a powerful visual tool for identifying and analyzing price gaps on any chart. It automatically detects up and down gaps, highlights them with customizable boxes, and offers detailed labeling and alerting functionality.
🔍 Key Features:
Automatic Detection of bullish and bearish gaps based on customizable deviation settings.
Visual Highlighting of gaps using colored boxes with optional trail length limitation.
Gap Size Labels showing the percentage size of the gap, with the ability to display them only on the most recent N gaps.
Alerts for:
New gap appearance
Gap fully or partially closed
Price entering a gap zone (ideal for breakout/backfill strategies)
Customizable Colors for up/down gap borders and backgrounds.
Optional Message when no gaps are found on the current chart.
💡 Usefulness:
Gaps are an edge. They frequently act as support or resistance—especially on the first retest—when aligned with high-volume areas or other key price zones. Many strong stock moves begin with gaps, a concept central to strategies like Episodic Pivots.
This indicator helps you:
Identify gaps as potential entry zones on secondary setups
Quantify gaps via percentage size
Filter gaps based on size to suit your specific trading approach
Set alerts when price enters a gap or meets your custom criteria
Time-Based Market Structure – DEMO (TRAL 00 / 03 / 29)This is a simplified DEMO version of our advanced time-based levels indicator.
It highlights only three key algorithmic time anchors:
00, 03, and 29 — moments when price is likely to react due to internal logic derived from advanced temporal analysis (Hopiplaka-inspired).
These time levels are often associated with liquidity shifts and potential trend reversals, especially when price aligns with these anchors.
Ideal for both intraday and multi-timeframe traders looking to observe how time-based reactions influence price behavior.
Session Anchors – DEMOThis indicator highlights the four major trading sessions: London, New York AM, New York PM, and Asia using color-coded boxes directly on the chart.
It is designed to help traders identify the most active and relevant time zones, enhancing price action analysis and liquidity interpretation.
✅ Fully customizable: enable/disable individual sessions
✅ Adjustable color settings for each session
🔒 This is a DEMO version, showing only session time zones, excluding session-based key levels (available in the private version).
ℹ️ To use: add the indicator to your chart, select which sessions to display, and customize colors as needed.
⚠️ Works on all timeframes.
Dynamic Fib Pro by Qabas Algo🔹 Dynamic Fib Pro by Qabas Algo
Dynamic Fib Pro is an intelligent Fibonacci-based indicator that adapts to real market behavior by incorporating volatility and momentum into classic Fibonacci levels. This tool is ideal for traders who want realistic, responsive, and smart support/resistance zones rather than static levels.
⸻
🚀 Key Features:
• Adaptive Fibonacci Levels: Each level is dynamically adjusted based on current volatility and momentum strength, offering more relevant price zones.
• Smart Trend Detection: Option to auto-detect trend using SMA20 vs SMA50 crossover or pure price action logic.
• Volatility-Aware Scaling: Levels expand or contract depending on market volatility, avoiding rigid assumptions.
• Momentum-Based Adjustment: Uses range and average price to assess strength and adjust levels accordingly.
• Custom Styling: Choose from dashed, dotted, or solid lines, and control the max level displayed.
• Optional Percentage Labels: View both classic and adjusted Fibonacci % next to each level (e.g., 61.8% → 78.4%).
⸻
🎯 Use Case:
This indicator is built for discretionary traders, swing traders, and scalpers who want to:
• Identify meaningful dynamic support/resistance levels
• React to price behavior in real time
• Incorporate market volatility and strength into their strategy
⸻
⚙️ Settings Overview:
• Show Fibonacci Levels – Toggle main levels on/off
• Max Level – Limit the highest level to keep the chart clean
• Show Percentage Labels – View classic vs adjusted percentages
• Use Moving Averages – Enable SMA20/50 trend filtering
• Line Style – Choose between solid, dashed, or dotted
⸻
📌 Notes:
• Levels are calculated from the last 100 bars (High/Low range)
• Adjustments use both current volatility and 50-bar momentum strength
• The indicator updates in real time on each new bar
⸻
🧠 Created with precision by Qabas Algo — designed to make Fibonacci smarter.
If you like this tool, leave a comment or follow for more advanced indicators!
BarFlow Reversal [SiDec]BarFlow Reversal is a powerful indicator designed to help traders spot momentum exhaustion and potential turning points using consecutive candle streaks. It tracks up- and down-runs, highlights key exhaustion counts (like 9, 11, 13, 15), and provides clean visual signals alongside an optional multi-timeframe dashboard — giving you a powerful, customisable momentum map right on your chart.
Overview
Main Components
1. Run Counters
gCnt increments on up‑closes or dojis; rCnt increments on down‑closes or dojis.
seqCount is the larger of those two, and only streaks at or above your Min Consecutive
Special “strong” counts are emphasised with larger labels and unique colours.
2. Reversal Signals
➡️ An arrow plots when a streak of at least your Reversal Threshold is followed by:
A candle closing opposite the streak
Volume above a configurable multiple of its 25‑bar average
ATR expanding
➡️ Arrows come in three strengths (Weak, Strong, Max) based on the prior streak length and your predefined “strong” counts.
3. Bar Shading
Optionally tint each bar during an active run for instant visual feedback on trend direction and strength.
4. Multi‑Timeframe Dashboard
Displays current vs. previous run counts on 1H, 4H, 12H, Daily, Weekly, and Monthly.
Colour‑coded cells show direction and highlight special counts, so you can quickly assess broader momentum.
5. Clean Label Management
Automatically removes outdated streak labels to keep your chart uncluttered.
Labels are positioned just above or below bars and offset slightly to avoid overlap.
Inputs at a Glance
Appearance: Choose Classic, Mono, or Manual theme; set Dark/Light background.
Counting: Define minimum streak length, list of strong counts, and toggle bar shading.
Trend & Filters: Adjust volume multiplier, reversal threshold, and enable/disable arrow plotting.
Dashboard & Cleanup: Show or hide the multi‑timeframe table; auto‑clear old labels.
Colours: Fully customise run labels, special counts, arrows, and dashboard.
Important Trading Note
BarFlow Reversal is not a standalone indicator.
It’s designed to be used in combination with other confluence factors — such as key support/resistance levels, supply/demand zones, VWAP, Fibonacci, liquidity zones, or your preferred price action setups.
While BarFlow Reversal can help you identify moments of exhaustion or likely reversals, it does not provide full trade signals on its own.
Make sure to combine it with proper confirmation tools and risk management before entering trades.
Here are some example screenshots of this indicator in action:
Quick Start
Once you click “Add to favorites,” you’ll find BarFlow Reversal under Indicators for quick use on any chart.
Tweak inputs to match your trading style: set streak lengths, arrow sensitivity, and colour themes.
Watch as BarFlow Reversal highlights exhaustion points and reversal opportunities—across all your favorite timeframes.
If you find it helpful, feel free to leave a like or comment and let me know how you use BarFlow Reversal in your own trading!
Happy trading! 📈
RSI CONPECTThis is an indicator measuring relative strength. I added the price on the RSI at the HT and KC zones, where RSI 60 is Resistance and 40 is Support. You should watch those price zones for buying and selling signals with a reversal. I also added a warning function when the RSI and EMA9 WMA45 cross each other, creating a buy or sell pattern.
Delorean EMAs NSYNC Bye, Bye, Bye# Delorean EMA Trend Alerts - Multi-Timeframe Edition
A Pine Script indicator for TradingView that tracks exponential moving averages (EMAs) across multiple timeframes and generates alerts only when both 1-hour and 4-hour charts agree on the trend direction. As NSYNC says, if the timeframes don't agree, your money will go "Bye, Bye, Bye!"
## Features
- Displays 5 EMAs (5, 13, 50, 200, 800 periods)
- **Multi-Timeframe Analysis**: Checks both 1H and 4H charts simultaneously
- **Trend Agreement Required**: Only signals when BOTH timeframes show the same trend
- Detects bullish trends: 50 EMA > 200 EMA > 800 EMA (on both 1H and 4H)
- Detects bearish trends: 50 EMA < 200 EMA < 800 EMA (on both 1H and 4H)
- **NSYNC Warning**: Orange warning when timeframes disagree
- Visual trend signals with up/down arrows (only when timeframes agree)
- Background coloring: Green (bullish), Red (bearish), Orange (no sync)
- **Status Table**: Shows trend status for each timeframe
- Customizable alert conditions
- Multiple alert types: Bullish, Bearish, NSYNC Warning, Alignment
Smart Money Concepts Matrix (SMC)Smart Money Concepts – User Guide
This indicator is designed to visually map institutional price behavior using Smart Money Concepts (SMC). It includes Market Structure, Order Blocks, Fair Value Gaps, Liquidity Swings, and more. Below is a breakdown of each section and its settings.
1. Market Structure
Internal Structure
Draws dashed lines.
Labels include BOS+ (Break of Structure) and CHoCH+ (Change of Character) for internal trend shifts.
Swing Structure
Draws solid lines for major structure.
Labels include standard BOS and CHoCH for clear market structure shifts.
Swing Points
Displays significant Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), Lower Lows (LL) directly on the chart.
Show Strong/Weak High/Low
Highlights the latest strong and weak swing highs/lows, helping you identify potential continuation or reversal points.
Show Trendline
Automatically plots trendlines following the swing structure (HH-HL for uptrend, LH-LL for downtrend).
2. Order Blocks
Swing Type
MS (Market Structure): Syncs with the major swing structure – useful for long-term analysis.
Swing: Detects short-term swings – ideal for scalping or intraday trades.
Length
Controls swing detection sensitivity.
Higher values detect larger, more significant swings.
Internal Buy/Sell Activity
Enables visualization of volumetric order blocks based on internal candle dynamics.
Show Breaker Blocks
Displays mitigated order blocks that can act as reversal zones or liquidity voids.
Hide Overlay
Removes overlapping order blocks, keeping only the most relevant ones visible for cleaner charts.
3. Fair Value Gaps (FVG)
Threshold
Filters out smaller, less relevant FVGs.
Higher threshold filters out smaller gaps, preserving only Fair Value Gaps with larger price imbalances.
Internal Buy/Sell Activity
Displays volumetric information inside the FVG, enhancing precision.
Inverse FVG
Plots mitigated FVGs (inverse), which can be potential liquidity zones.
Hide Overlay
Hides overlapping FVGs to keep only the most impactful ones on the chart.
Extend
Extends the FVG boxes forward in time until mitigated, providing ongoing trade reference zones.
4. Equal High / Equal Low
These often represent areas of resting liquidity and are used by institutions to trigger breakouts or reversals.
Bars Confirmation
Defines how many bars should confirm the equality.
Higher value = stricter match, longer-term relevance.
Threshold
Controls proximity sensitivity.
Lower value = more precise equality, fewer signals.
5. Liquidity Swings
Identifies swing points with potential liquidity pools where price might react.
Length
Adjusts swing sensitivity.
Higher = detects long-term swing points.
Threshold
Filters for relevance.
Higher = more valid liquidity areas.
Internal Activity
Displays how often price has revisited the swing zones, indicating their strength.
Show Metrics
Shows volume data and percentage move from liquidity zones for deeper insight.
6. Fibonacci Retracements
Automatically draws Fibonacci retracement levels based on the detected swing type.
Fibonacci Swing Type
MS OB Swing: Uses swings from Market Structure Order Blocks.
OB Swing: Uses swings from general Order Blocks.
Useful for planning entries and take-profits based on institutional logic.
Important Notes:
Smart Money Concepts Matrix is a tool to identify potential trading zones, not a guaranteed predictor of future price movements.
Always practice proper risk management techniques, including stop-loss orders.
Backtest this strategy on historical data to understand its effectiveness before risking real capital.
GMP CHoCH & BOS with Dual-TF StatusThis indicator provides a clean real-time display of market structure status from both the M15 and H1 timeframes — directly on your M5 chart.
It’s designed to help GMP traders maintain perfect multi-timeframe alignment before taking any entry.
🔍 What You’ll See:
✅ CHoCH ↑ or BOS ↓ labels for M15 and H1
✅ Color-coded (green = bullish, red = bearish)
✅ Updates dynamically as structure shifts
✅ All info shown on your M5 chart for fast decision-making
🧠 Use Case:
Use this to filter out low-quality entries by only entering when:
✅ M15 bias aligns with H1
✅ Both are in sync with your H1 trendline bias
✅ Your M5 entry setup confirms the direction
This feature is especially powerful when used together with the GMP Entry Execution Assistant and Trendline Identifier.