LANZ Strategy 6.0🔷 LANZ Strategy 6.0 — One-Shot NY Candle Logic with Dynamic SL/TP, Multi-Account Lot Sizing and Visual Confirmation System
LANZ Strategy 6.0 is a high-precision, visually driven indicator that executes a single operation per day based on the 09:00 a.m. New York candle. Built for simplicity and accuracy, it calculates dynamic Stop Loss and Take Profit levels using the candle range, and adapts position sizing per account with pip-accurate risk control. All actions are visualized in real-time for full clarity.
📌 This is an indicator, not a strategy — It does not place trades automatically, but provides exact entry setups, SL/TP levels, risk-based lot size guidance, and optional alerts.
🧠 Core Logic & Features
🚀 Entry Signal (BUY Only)
A BUY setup is triggered only once per day, when:
The current candle is the 09:00–10:00 a.m. NY session candle
The candle is bullish (close > open)
This single candle is used to define the trade levels for the day, and the signal is only evaluated once. If bullish, a visual "BUY" label appears with SL/TP/EP levels calculated from the candle body or full range.
⚙️ Stop Loss and Take Profit
You can configure:
SL as a percentage of the candle’s range (from wick to wick), or use the wick extreme
RR ratio (e.g., 1:4) to dynamically calculate the TP based on SL
Each level is drawn as a line:
EP (Entry Price) at the candle’s close
SL below the low (or % of range)
TP above the entry at the selected RR
💰 Risk-Based Lot Size Calculation per Account
Manage up to 5 independent accounts simultaneously. Each account can have:
Its own capital
Its own risk percentage per trade
Lot size is calculated automatically for each based on:
Defined SL in pips
The pip value (auto-detected for Forex or manually defined for indices/gold)
📋 All lot sizes are displayed in a dedicated info panel, with their corresponding risk-adjusted values per account.
🖼️ Trade Visualization Panel
When a trade is active, a clean table is displayed in the top-right corner showing:
TP / SL / EP levels
Distance in pips for SL and TP
Lot size per account
Line visuals (style, color, thickness) are fully customizable.
🧪 Outcome Tracking (Real-Time Labels)
For each trade:
If SL is hit → a label shows “–1.00%” at the SL level
If TP is hit → a label shows “+X.XX%” at the TP level
If still open at 3:00 p.m. NY, the trade closes manually and the actual result (in %) is calculated and labeled on chart
🔔 Alerts You Can Trust
You'll get an alert when:
A BUY entry is confirmed
SL or TP is hit
Manual close is triggered at 15:00 NY
All alerts include the symbol, price, and result for immediate action or tracking.
🧭 Execution Flow Summary
Every day:
At 09:00 a.m. NY → Evaluate candle
If bullish:
Set EP, SL, TP
Calculate lot sizes
Plot lines + labels
Display dashboard panel
Monitor SL/TP hits
At 15:00 NY → Force close if needed
💡 Ideal For:
Traders who want a clean, single-shot entry system per day
Index or gold traders who operate with strict SL/TP logic
Anyone managing multiple accounts or fixed-capital models
Visual learners and disciplined execution fans
👨💻 Credits:
💡 Developed by: LANZ
🧠 Execution Model & Logic Design: LANZ
📅 Designed for: 1H timeframe, high-conviction NY-based entries
📈 Purpose: Clean decision-making, precision risk control, visual certainty
Göstergeler ve stratejiler
BTC Top & Bottom Dashboard [Plazo Sullivan Roche Capital]Bitcoin Top & Bottom Master Overlay Indicator Manual
Overview
The BTC Top & Bottom Master Overlay is an all-in-one TradingView indicator designed for professional traders seeking high-probability macro turning points on Bitcoin. It combines multiple proven on-chain proxies, smart money concepts, and funding/stablecoin flow data into one cohesive visual dashboard.
It is optimized for:
Daily timeframe (1D)
Binance:BTCUSDT chart (can adapt to others)
Swing and macro-level analysis
Features at a Glance
Macro Top Indicators
Pi Cycle Top: Cross of EMA111 over 2x SMA350
MVRV Z-Score Proxy: Z-score > 7 suggests overheating
Puell Multiple Proxy: Price/365-day MA > 4 signals miner overprofit
Funding Rate Spike: Funding > 0.006 suggests long bias extremes
Stablecoin Outflow: Proxy from USDT Dominance rising (risk-off sentiment)
Macro Bottom Indicators
MVRV Z-Score < 0: Capitulation signal
Puell < 0.4: Miner surrender
Funding < -0.006: Excessive shorting = squeeze risk
Stablecoin Inflow: USDT.D falling = crypto accumulation
Smart Money Concepts
Fair Value Gaps (FVG):
Bullish: Green zone when low > high
Bearish: Red zone when high < low
Order Blocks:
Bullish OB: Bullish engulfing candle
Bearish OB: Bearish engulfing candle
Visual Aids & Dashboard
Background shading:
Red when 2+ top signals flash
Green when 2+ bottom signals flash
Floating Score Label:
Top-right label: "Top Risk" / "Accumulation" / "Neutral"
Live score count out of 5
Signal Table Panel:
Bottom-right emoji panel showing:
Pi Cycle: 🔴 or ✅
MVRV: ⬆️ / ⬇️ / Neutral
Puell: ⬆️ / ⬇️ / Neutral
Funding: 😡 / 🟢 / Neutral
USDT Flow: 🚪 Out / 🚪 In / Neutral
How to Use
1. Chart Setup
Use 1D timeframe for macro trends.
Apply on Binance:BTCUSDT for full compatibility.
Toggle inputs like FVG, OB, or Table Panel to customize view.
2. Entry & Exit Scenarios
Top Risk Setup:
Background turns red
Top Score ≥ 3/5
Signal panel shows: Pi Cycle = ON, MVRV = HOT, Funding = HOT
FVG or OB above current price = ideal exit zone
Bottom Opportunity Setup:
Background turns green
Bottom Score ≥ 3/5
Signal panel shows: Puell = LOW, MVRV = LOW, Stablecoins = Inflow
Bullish FVG or OB nearby = ideal accumulation zone
3. Alerts
Create alerts for:
BTC TOP Signal: 3+ Indicators aligned!
BTC BOTTOM Signal: 3+ Indicators aligned!
Pro Tips
Use in conjunction with volume profile and macro trendlines
Confirm tops with altcoin euphoria (e.g. dominance drop)
Confirm bottoms with volume spikes and stablecoin inflows
Backtest logic using replay + score panel
Use OB/FVG zones for high-RR trades
⚡ Troubleshooting
Error: Invalid Symbol CRYPTOCAP:TOTALUSDT
✉ Fix: Replace with CRYPTOCAP:USDT.D (USDT dominance proxy)
Lag on older devices
✉ Tip: Turn off FVG or OB drawing for performance
📅 Future Upgrades (Planned)
Multi-asset compatibility (ETH, SOL, etc.)
Cross-timeframe alerts
AI-generated trade callouts
Strategy tester version for backtesting
✅ Summary
This indicator acts as your macro market compass. It brings together advanced institutional-style analysis and visual storytelling into a seamless TradingView overlay. Whether you're swing trading or analyzing macro cycles, this tool gives you the edge.
🚀 Trade smarter. Enter with confidence. Exit with clarity.
Ask ChatGPT
ADX + Supertrend Persistent Entry Logicbuy condition should match below condition below
ADX DI plus should above of DI minuse
Supertrend should be bullish
ADX should be above 25
Price should not have order block resistance
Exit from buy when supertrend change trend
Sell condition should match below condition below
ADX DI plus should below of DI minuse
Supertrend should be bearish
ADX should be above 25
Price should not have order block support
Exit from Sell when supertrend change trend
ATR % of yesterday close with SMA (Bull/Bear colored)This script visualizes the Average True Range (ATR) as a percentage of a user-selected price point for a quick view of volatility.
ATR % values are plotted as a color-coded histogram. Bullish days (close > prior close) paint the bar green; bearish days (close < prior close) paint it red; unchanged days are gray.
Two simple moving average (SMA) overlays to reveal volatility trends.
Variables:
Histogram bars represent ATR as a % of one of:
- Previous Close (default option)
- Previous Open
- Today Close
- Today Open
Two SMA lines (default: blue for 20-period, orange for 5-period) shown on ATR % for trend/range regime tracking.
Optionally display the ATR % in continuous line (yellow)—hidden by default.
If you find it helpful, feel free to share any feedback and how you incorporate it into your trading strategy with the community!
OBV Oscillator with Divergence CirclesCredit to original code from the 'PPO Divergence alerts' by Scarf and OBV Oscillator by LazyBear is used as the input.
Replication of Lunndi 'OBV Divergence Alerts (BETA)' script with additional divergence logic implemented.
OBV-based divergence logic adapted from RSI divergence logic added in addition to existing divergence logic.
Modify length and smoothing to suit your trading style. Open source free for use.
XAUMO MEGABAR Detector]The XAUMO MegaBar Detector highlights MEGA BARS — explosive candles that signal strong price movement and breakout potential.
It detects:
📈 Surging volume spikes
💪 Large candle bodies (momentum)
🔓 Breakout conditions
When a Mega Bar is detected:
The candle turns 🟣 purple
A signal label appears:
🟢 Mega Bull = Bullish breakout
🔴 Mega Bear = Bearish breakout
Optional alert is triggered (if enabled)
🌍 WORKS ON ALL ASSETS & TIMEFRAMES
This indicator is universal. It works across:
Metals: XAUUSD, XAGUSD
Forex: EURUSD, GBPJPY, etc.
Indices: NAS100, SPX500, DAX
Crypto: BTC, ETH, SOL, etc.
Stocks: AAPL, TSLA, NVDA, etc.
Commodities: Crude Oil, Natural Gas
ETFs, Futures & more
Works on all timeframes — from 1-minute scalping to daily/weekly swing setups.
🔥 MEGA BAR DETECTOR — LOGIC BREAKDOWN
This ain’t your average candle scanner. This is sniper-level volume + price action breakout detection, tuned with clean logic.
🎯 WHAT IS A “MEGA BAR”?
A Mega Bar is an explosive price candle caused by big money flow. It checks for two breakout weapons:
Body Size Explosion – A strong, full-bodied candle (momentum)
Volume Spike – A surge in volume (liquidity + aggression)
📌 You don’t want just a long candle.
You want a candle that hurts — fat body, high volume.
🧠 TL;DR — This is Price Action + Volume Pressure Fusion.
You’re catching breakout candles where movement and volume align at statistically rare strength.
This isn’t laggy MA crap. This is:
Momentum
Aggression
Liquidity
Explosion
All compressed into one purple damn candle.
🔧 HOW TO USE IT
1. Add the Indicator to Your Chart
Open any chart (XAUUSD, BTCUSD, NAS100, etc.)
Choose your timeframe (1M, 15M, 1H, 4H, 1D, etc.)
Go to Indicators → Paste script → Add to Chart
2. Customize Input Settings (Optional)
By default, the indicator self-adjusts. But if you want manual control:
Turn Manual Override to ON
Adjust the following:
Body Multiplier: e.g. 2.0 = candle body must be 200% of average
Volume Multiplier: e.g. 1.8 = volume must be 180% of average
Lookback Period: how many candles are averaged (e.g. 30)
Show Signal Labels: ON/OFF to display "Mega Bull" / "Mega Bear"
3. Auto Mode (Default)
If Manual Override = OFF, detection is automatic based on your timeframe:
Tighter rules on low timeframes
Smarter thresholds on higher timeframes
No config needed — just drop it on the chart
4. What Happens When a Mega Bar Hits
Candle turns 🟣 purple
Signal appears:
🟢 Mega Bull = Bullish breakout
🔴 Mega Bear = Bearish breakout
Alert fires (if enabled)
🔔 HOW TO SET ALERTS
Click the 🔔 Alerts tab
Set the condition to Mega Bar Detector
Choose:
Mega Bullish Bar
Mega Bearish Bar
Select alert method (Popup, Email, Webhook, etc.)
Click Create
✅ STRATEGY USAGE
Use Mega Bars to:
Catch momentum-based breakouts
Filter low-volatility junk zones
Confirm setups with S/R levels, trendlines, order blocks, etc.
Build precise scalping or swing entries
👇 RECOMMENDED SETTINGS (XAUUSD 15M)
Manual Override: ON
Body Multiplier: 2.0
Volume Multiplier: 1.8
Lookback Period: 30
Show Signal Labels: ON
💡 PRO TIPS
Pair with Fair Value Gaps (FVG), order blocks, or liquidity sweeps
Only enable:
Mega Bull alerts in an uptrend
Mega Bear alerts in a downtrend
Market sentiment and cryptocurrency narratives📈 IDRA + PFLA: Crypto Market Sentiment & Narrative Flow
Uncover hidden opportunities and navigate the dynamic crypto landscape with IDRA + PFLA (Intraday Dynamic Risk Assessment + Public Flow & Liquidity Analysis). This powerful, two-in-one indicator suite is meticulously designed to provide you with a comprehensive understanding of market sentiment and identify active cryptocurrency narratives across different timeframes.
IDRA: Intraday Dynamic Risk Assessment (Daily & 4-Hour)
The IDRA component offers a unique perspective on overall market sentiment, helping you gauge risk appetite within the altcoin space.
Daily Sentiment Plot: Visualize the daily macro sentiment with a dedicated plot that fluctuates between zones of "High Risk (Euphoria)," "Low Risk (Opportunity)," "Very Low Risk (Panic/Opportunity)," and "Absolute Bottom (Max Despair)." Transparent zone fills make it easy to interpret the prevailing market mood.
Bitcoin/Altcoin Season Bar (4-Hour): At the bottom right of your chart, a dynamic bar visually represents the "Bitcoin Season" to "Altcoin Season" spectrum. This intuitive bar, updated every 4 hours, provides real-time insights into which side of the market is currently attracting more capital and attention. A white indicator line moves across the gradient, showing the current IDRA reading on a normalized 0-100 scale.
Customizable Normalization: Adjust the normalization period to fine-tune IDRA's sensitivity to historical market behavior.
Actionable Alerts: Set up alerts for IDRA's key levels (High, Low, Very Low, Absolute Bottom) to be notified of significant shifts in market sentiment, allowing you to react promptly to potential opportunities or threats.
PFLA: Public Flow & Liquidity Analysis (Daily)
The PFLA component provides a detailed breakdown of capital flows and dominance within key crypto narratives. It acts as a daily snapshot, showing you where the money is moving across different crypto sectors.
Ecosystem Performance: Track the daily performance of major ecosystems like Ethereum, Solana, and BNB Chain, observing their dominance and 24-hour capital flow changes.
Trending Categories: Stay ahead of the curve by monitoring the capital movements and dominance of hot narratives such as DePIN, AI, RWA, and MEME coins.
Layer 1 Insights: Gain a clear understanding of the broader Layer 1 landscape.
Consensus Mechanism Analysis : Compare the performance of Proof-of-Work (PoW) and Proof-of-Stake (PoS) coins.
Stablecoin Dominance: Keep an eye on the overall Stablecoin Dominance within the total crypto market, a crucial indicator of risk aversion or appetite.
Daily Snapshot : Each category displays its current dominance, today's capitalization (in billions), and the daily percentage change, all clearly color-coded (green for positive, red for negative).
Ideal for 4-Hour and Daily Timeframes
This indicator is specifically optimized for use on 4-hour and daily charts, providing both intraday and longer-term perspectives on market sentiment and narrative shifts. The IDRA bar updates every 4 hours for more immediate insights, while the PFLA table provides a daily comprehensive overview.
💡 How to Use It
Bias Confirmation: Use the IDRA plot to confirm your general bias on whether the altcoin market is in a phase of euphoria, fear, or panic.
Opportunity Identification: The "Opportunity" and "Extreme Panic" zones of the IDRA plot can signal opportune moments for accumulation.
Risk Management: The "High Risk/Euphoria" zone of the IDRA plot alerts you to be more cautious or consider profit-taking.
Capital Flow Analysis: The PFLA table instantly shows you which ecosystems and narratives are attracting or losing capital today, helping you identify the strongest trends or areas under pressure.
Bitcoin vs. Altcoin Season: The IDRA Bitcoin/Altcoin Season Bar visually indicates the current market phase.
When the white indicator line is closer to "Bitcoin Season" (left side of the bar), it suggests Bitcoin is outperforming altcoins, and capital is flowing into BTC or larger-cap assets for stability. This might be a time to prioritize Bitcoin trades or be cautious with altcoins.
When the white indicator line is closer to "Altcoin Season" (right side of the bar), it indicates altcoins are outperforming Bitcoin, and capital is rotating into the broader altcoin market, often in search of higher returns. This could signal a more favorable environment for altcoin trading.
Use this bar to quickly assess the broader market's risk appetite: generally, Bitcoin Season implies more risk-off sentiment, while Altcoin Season suggests more risk-on.
Customizable Alerts: Configure alerts on IDRA to receive notifications when the index enters or exits its key zones.
The "IDRA & PFLA Integrated" is an indispensable tool for any cryptocurrency investor or trader seeking a deep understanding of capital flow and altcoin market sentiment.
IDRA + PFLA empowers you with the data you need to make more informed trading and investment decisions in the fast-paced world of cryptocurrencies. Gain a distinct edge by understanding where the smart money is flowing and which narratives are gaining traction.
Please note: This indicator is private and requires an invitation to access.
Liquidity+FVG Bullish Strategy (by Mestre dos Traders)📈 Liquidity+FVG Bullish Strategy (by Mestre dos Traders)
The Liquidity+FVG Bullish Strategy indicator is designed for traders who want to operate based on liquidity zones and price imbalances (Fair Value Gaps - FVG), combined with strategic monitoring of the London and New York session openings. This tool is ideal for pullback strategies and institutional manipulation-based entries, providing advanced price behavior insights right after market open.
✅ Key Features:
🔹 Automatic Detection of London and New York Sessions
You can select which session to monitor: London, New York, or Both. The indicator automatically identifies the opening 1-hour candle based on Brazil’s timezone (UTC-3), even on intraday charts.
🔹 Opening Candle (H1) Highlighting
As soon as the market opens, the corresponding 1-hour candle is highlighted with horizontal lines at its high and low, making it easy to visualize the manipulation range.
🔹 Liquidity Grab Identification
The indicator detects when price breaks below the opening candle low but closes back above it — indicating a liquidity grab, a common institutional move.
🔹 Fair Value Gap (FVG) Detection on M15
After the liquidity grab, the indicator automatically searches for fair value gaps on 15-minute candles. These gaps are visually plotted as orange boxes on the chart, representing bullish pullback opportunities.
🔹 Entry Confirmation and Target (TP/SL) Visualization
When price returns to the FVG zone, the indicator confirms the entry with a label ("ENTRY DETECTED") and plots Take Profit and Stop Loss levels with dashed lines.
🔹 Customizable Visual Elements:
Option to show/hide labels, opening candle lines, and FVG boxes
Intuitive shapes, labels, and lines for clear chart visualization
🧠 Ideal For:
Institutional flow and price imbalance-based trading strategies
Reversal (pullback) trades right after session openings
Scalpers and day traders on volatile assets (BTCUSD, indices, forex, etc.)
🌎 Important:
All times are adjusted to UTC-3 (Brazil time), making it easy for Brazilian traders to read without manual timezone conversion. "But you will be able to customize your timezone in the settings panel."
52SIGNAL RECIPE Smart Money Detector : CME + Exchanges=================52SIGNAL RECIPE CME-Exchange Smart Money Detector=================
◆ Overview
The 52SIGNAL RECIPE CME-Exchange Smart Money Detector is an advanced technical indicator designed to identify institutional and smart money movements by analyzing and comparing futures markets across both CME and cryptocurrency exchanges. This powerful tool detects coordinated buying and selling patterns that often precede significant price movements, giving traders an edge in anticipating market direction.
What makes this indicator unique is its cross-market verification approach. By requiring confirmation from both CME Bitcoin futures (dominated by institutional players) and crypto exchange futures (with broader market participation), it significantly reduces false signals and identifies high-probability smart money footprints that typically lead market movements.
─────────────────────────────────────
◆ Key Features
• Dual Market Confirmation: Simultaneously analyzes both CME Bitcoin futures and exchange futures charts to identify synchronized smart money activity
• Smart Volume Analysis: Uses advanced algorithms to separate buying and selling volume based on candle structure and price action
• Energy Wave Visualization: Displays smart money signals as intuitive energy waves with varying sizes reflecting signal strength
• Strength Rating System: Quantifies signal strength on a 0-100% scale, with multiple visualization levels (10%+, 40%+, 60%+, 80%+)
• Candlestick Pattern Integration: Incorporates bullish/bearish candle formations to enhance signal reliability
• Volume Spike Detection: Identifies abnormal volume increases that often accompany smart money positioning
• Trend Context Analysis: Evaluates signals in relation to current market trend for higher probability setups
• Dynamic Strength Calculation: Uses a multi-factor model considering volume ratio, buying/selling imbalance, candle structure, and trend alignment
• Transparent Signal Labeling: Displays precise strength percentage values with each signal for clear decision-making
• Real-time Institutional Flow Monitor: Tracks the footprints of large players across both regulated (CME) and crypto exchange markets
─────────────────────────────────────
◆ Understanding Signal Types
■ Buy Signal Energy Waves (Green)
• Definition: Detected when significant buying pressure appears simultaneously on both CME and exchange futures, typically on bearish candles
• Visual Appearance: Green circular waves below price bars, with size/opacity increasing with signal strength
• Market Interpretation: Indicates institutional buying interest even as price is declining, often preceding bullish reversals
• Signal Strength Factors:
▶ Higher buying volume relative to selling volume
▶ Above-average total volume
▶ Lower wicks on bearish candles
▶ Appearance at key support levels
▶ Coinciding with oversold conditions
■ Sell Signal Energy Waves (Red)
• Definition: Detected when significant selling pressure appears simultaneously on both CME and exchange futures, typically on bullish candles
• Visual Appearance: Red circular waves above price bars, with size/opacity increasing with signal strength
• Market Interpretation: Indicates institutional selling interest even as price is rising, often preceding bearish reversals
• Signal Strength Factors:
▶ Higher selling volume relative to buying volume
▶ Above-average total volume
▶ Upper wicks on bullish candles
▶ Appearance at key resistance levels
▶ Coinciding with overbought conditions
─────────────────────────────────────
◆ Signal Strength Understanding
■ The Four Strength Levels
• Level 1 (10-39%): Initial Detection
▶ Visual: Smallest energy wave
▶ Meaning: Early smart money positioning detected
▶ Usage: Early warning, prepare for possible setup
• Level 2 (40-59%): Moderate Strength
▶ Visual: Medium-small energy wave
▶ Meaning: Clearer institutional positioning
▶ Usage: Begin position planning, watch for confirmation
• Level 3 (60-79%): Strong Signal
▶ Visual: Medium-large energy wave
▶ Meaning: Significant smart money footprint
▶ Usage: High-probability setup forming, consider entry
• Level 4 (80-100%): Exceptional Strength
▶ Visual: Largest energy wave
▶ Meaning: Powerful institutional movement confirmed
▶ Usage: Highest probability setup, strong conviction entry point
■ Understanding Signal Strength Calculation
• Volume Component (0-50 points):
▶ Measures how current volume compares to recent average
▶ Maximum points when volume is 2x or higher than average
• Buy/Sell Ratio Component (0-50 points):
▶ Measures imbalance between buying and selling pressure
▶ Maximum points when ratio exceeds predefined multiplier threshold
• Advanced Weighting Factors:
▶ Candle Structure: Body size, wick length, and orientation
▶ Trend Alignment: Signal relationship to current trend
▶ Volume Spike: Abnormal volume increase detection
▶ Cross-Market Confirmation: Strength of signal alignment between CME and exchange
─────────────────────────────────────
◆ Practical Trading Applications
■ Reversal Trading Strategy
• Buy Signal Application:
▶ Setup: Strong buy energy wave (60%+) on a bearish candle
▶ Entry: After confirmation candle following the signal
▶ Stop Loss: Below recent low or 1 ATR below entry
▶ Take Profit: Previous resistance or 1:2 risk-reward minimum
▶ Enhancers: Signal occurring at support zone, oversold conditions, or trend line tests
• Sell Signal Application:
▶ Setup: Strong sell energy wave (60%+) on a bullish candle
▶ Entry: After confirmation candle following the signal
▶ Stop Loss: Above recent high or 1 ATR above entry
▶ Take Profit: Previous support or 1:2 risk-reward minimum
▶ Enhancers: Signal occurring at resistance zone, overbought conditions, or trend line tests
■ Trend Continuation Strategy
• During Uptrends:
▶ Focus on buy signals that appear during pullbacks
▶ Higher probability when signals occur at key moving averages or support levels
▶ Enter on strength when price shows signs of resuming the uptrend
• During Downtrends:
▶ Focus on sell signals that appear during relief rallies
▶ Higher probability when signals occur at key moving averages or resistance levels
▶ Enter on strength when price shows signs of resuming the downtrend
■ Multiple Timeframe Approach
• Signal Confirmation Across Timeframes:
▶ Major signals on higher timeframes (4H, daily) provide strategic direction
▶ Signals on lower timeframes (15m, 1H) offer tactical entry points
▶ Highest probability setups occur when signals align across multiple timeframes
• Signal Clustering:
▶ Multiple signals in the same price area significantly increase probability
▶ Look for areas where both buy and sell signals have appeared, indicating battleground zones
▶ The most recent signal direction often wins these battles
─────────────────────────────────────
◆ Technical Foundation
■ Why Cross-Market Confirmation Matters
• Institutional Participation:
▶ CME Bitcoin futures are dominated by regulated institutional investors
▶ Crypto exchange futures include both retail and institutional players
▶ When both markets show the same smart money pattern, the signal reliability increases dramatically
• Market Inefficiency Exploitation:
▶ Large players often position across multiple venues to minimize market impact
▶ This coordinated activity creates detectable footprints when analyzed correctly
▶ Cross-market confirmation helps filter out market noise and isolate true smart money movements
■ Smart Volume Calculation Methodology
• Price-Volume Relationship Analysis:
▶ Uses candle structure to estimate buying vs. selling volume
▶ Buying volume = Total volume × (Close - Low) / (High - Low)
▶ Selling volume = Total volume × (High - Close) / (High - Low)
• Signal Triggering Logic:
▶ Buy signal: When buying volume exceeds selling volume by multiplier factor
▶ Sell signal: When selling volume exceeds buying volume by multiplier factor
▶ Both conditions must be met simultaneously on CME and exchange futures
• Advanced Pattern Recognition:
▶ Evaluates candle body-to-range ratio for signal quality
▶ Analyzes wick length and position for additional confirmation
▶ Considers recent highs/lows to detect potential turning points
─────────────────────────────────────
◆ Indicator Settings Guide
■ Main Settings
• CME Bitcoin Futures Symbol:
▶ Default: CME:BTC1!
▶ Purpose: Sets the CME futures contract to analyze alongside current chart
• Buy/Sell Volume Multiplier:
▶ Default: 3.0
▶ Range: 1.0-10.0
▶ Purpose: Determines how much buying volume must exceed selling volume (or vice versa) to trigger a signal
▶ Higher values = fewer but stronger signals
▶ Lower values = more signals but potentially lower reliability
■ Volume Filter Settings
• Enable Volume Filter:
▶ Default: Enabled
▶ Purpose: When enabled, only considers candles with above-threshold volume
• Volume Average Period:
▶ Default: 20 candles
▶ Range: 5-200 candles
▶ Purpose: Sets the lookback period for calculating average volume
• Volume Threshold:
▶ Default: 150%
▶ Range: 10%-500%
▶ Purpose: Minimum volume percentage (of average) required for signal consideration
▶ Higher values focus on only the most significant volume spikes
■ Signal Visualization
• Show Signal Strength Value:
▶ Default: Enabled
▶ Purpose: Displays the exact percentage strength value with each signal
• Energy Wave Colors:
▶ Buy Energy Wave: Green (#00ff80)
▶ Sell Energy Wave: Red (#ff4040)
▶ Purpose: Customize the appearance of energy waves for visual preference
■ Advanced Settings
• Use Advanced Strength Calculation:
▶ Default: Enabled
▶ Purpose: When enabled, uses the full multi-factor model for signal strength
▶ When disabled, uses only basic volume and ratio factors
─────────────────────────────────────
◆ Synergy with Other Indicators
• Support/Resistance Levels:
▶ Smart money signals occurring at key support/resistance significantly increase reliability
▶ Particularly powerful when signals appear at tested price levels
• Moving Averages:
▶ Signals near key moving averages (50MA, 200MA) often indicate institutional interest
▶ Moving average crosses combined with smart money signals create high-probability setups
• RSI/Momentum Indicators:
▶ Buy signals in oversold conditions increase probability of successful reversal
▶ Sell signals in overbought conditions increase probability of successful reversal
• Volume Profile:
▶ Signals occurring at high volume nodes often indicate significant turning points
▶ Low volume nodes between high volume areas can act as acceleration zones after signal triggers
• Market Structure:
▶ Smart money signals that break key market structure levels (higher highs/lows or lower highs/lows) are particularly significant
▶ Can signal the early stages of trend changes when aligned with structure breaks
─────────────────────────────────────
◆ Conclusion
The 52SIGNAL RECIPE CME-Exchange Smart Money Detector provides traders with a powerful edge by revealing institutional positioning across both regulated futures and crypto exchange markets. By requiring synchronized signals from both venues, it cuts through market noise to identify the most reliable smart money footprints.
What sets this indicator apart is its sophisticated cross-market verification system. Rather than relying on signals from a single market, it only triggers when both CME and exchange futures display the same smart money pattern simultaneously. This approach dramatically reduces false signals and highlights truly significant institutional activity.
The intuitive energy wave visualization system makes it easy to spot signals of varying strength, while the transparent percentage rating allows for objective assessment of each opportunity. By focusing on these dual-confirmed smart money movements, traders can position themselves alongside institutional players rather than against them.
Remember that the most powerful signals typically appear at key market junctures, often before significant price movements. By incorporating this indicator into your trading approach, you gain insight into institutional positioning that can help anticipate market direction with greater confidence.
─────────────────────────────────────
※ Disclaimer: Like all trading tools, the CME-Exchange Smart Money Detector should be used as a supplementary indicator and not relied upon exclusively for trading decisions. Past patterns of institutional behavior may not guarantee future market movements. Always employ appropriate risk management strategies in your trading.
================52SIGNAL RECIPE CME-Exchange Smart Money Detector==================
◆ 개요
52SIGNAL RECIPE CME-Exchange Smart Money Detector는 CME와 암호화폐 거래소의 선물 시장을 동시에 분석하여 기관 및 스마트 머니의 움직임을 포착하는 고급 기술적 지표입니다. 이 강력한 도구는 주요 가격 움직임에 선행하는 조직적인 매수 및 매도 패턴을 감지하여 트레이더들에게 시장 방향 예측에 유리한 정보를 제공합니다.
이 지표의 독보적인 특징은 교차 시장 검증 접근법에 있습니다. CME 비트코인 선물(기관 투자자 중심)과 암호화폐 거래소 선물(광범위한 시장 참여자) 모두에서 확인을 요구함으로써, 허위 신호를 크게 줄이고 일반적으로 시장 움직임을 선도하는 고확률 스마트 머니 흔적을 식별합니다.
─────────────────────────────────────
◆ 주요 특징
• 듀얼 마켓 확인: CME 비트코인 선물과 거래소 선물 차트를 동시에 분석하여 동기화된 스마트 머니 활동 식별
• 스마트 볼륨 분석: 캔들 구조와 가격 행동을 기반으로 매수 및 매도 볼륨을 분리하는 고급 알고리즘 사용
• 에너지 파동 시각화: 스마트 머니 신호를 신호 강도를 반영하는 다양한 크기의 직관적인 에너지 파동으로 표시
• 강도 평가 시스템: 신호 강도를 0-100% 척도로 수치화하고 여러 시각화 레벨(10%+, 40%+, 60%+, 80%+) 제공
• 캔들스틱 패턴 통합: 신호 신뢰성을 높이기 위해 상승/하락 캔들 형성을 분석에 통합
• 볼륨 스파이크 감지: 스마트 머니 포지셔닝을 동반하는 비정상적인 볼륨 증가 식별
• 추세 맥락 분석: 현재 시장 추세와 관련하여 신호를 평가하여 높은 확률의 설정 제공
• 동적 강도 계산: 볼륨 비율, 매수/매도 불균형, 캔들 구조 및 추세 일치도를 고려하는 다중 요소 모델 사용
• 투명한 신호 라벨링: 명확한 의사 결정을 위해 각 신호와 함께 정확한 강도 백분율 값 표시
• 실시간 기관 자금 흐름 모니터: 규제된(CME) 시장과 암호화폐 거래소 시장 모두에서 대형 플레이어의 흔적 추적
─────────────────────────────────────
◆ 신호 유형 이해하기
■ 매수 신호 에너지 파동 (녹색)
• 정의: 일반적으로 하락 캔들에서 CME와 거래소 선물 모두에서 동시에 상당한 매수 압력이 감지될 때 발생
• 시각적 모습: 가격 바 아래에 녹색 원형 파동으로 표시되며, 신호 강도에 따라 크기/불투명도 증가
• 시장 해석: 가격이 하락하는 동안에도 기관의 매수 관심이 있음을 나타내며, 종종 상승 반전에 선행
• 신호 강도 요소:
▶ 매도 볼륨 대비 높은 매수 볼륨
▶ 평균 이상의 총 거래량
▶ 하락 캔들의 아래 꼬리
▶ 주요 지지 수준에서의 출현
▶ 과매도 조건과 일치
■ 매도 신호 에너지 파동 (적색)
• 정의: 일반적으로 상승 캔들에서 CME와 거래소 선물 모두에서 동시에 상당한 매도 압력이 감지될 때 발생
• 시각적 모습: 가격 바 위에 적색 원형 파동으로 표시되며, 신호 강도에 따라 크기/불투명도 증가
• 시장 해석: 가격이 상승하는 동안에도 기관의 매도 관심이 있음을 나타내며, 종종 하락 반전에 선행
• 신호 강도 요소:
▶ 매수 볼륨 대비 높은 매도 볼륨
▶ 평균 이상의 총 거래량
▶ 상승 캔들의 위 꼬리
▶ 주요 저항 수준에서의 출현
▶ 과매수 조건과 일치
─────────────────────────────────────
◆ 신호 강도 이해하기
■ 네 가지 강도 레벨
• 레벨 1 (10-39%): 초기 감지
▶ 시각적: 가장 작은 에너지 파동
▶ 의미: 초기 스마트 머니 포지셔닝 감지
▶ 활용: 초기 경고, 가능한 설정 준비
• 레벨 2 (40-59%): 중간 강도
▶ 시각적: 중간-작은 에너지 파동
▶ 의미: 더 명확한 기관 포지셔닝
▶ 활용: 포지션 계획 시작, 확인 대기
• 레벨 3 (60-79%): 강한 신호
▶ 시각적: 중간-큰 에너지 파동
▶ 의미: 중요한 스마트 머니 흔적
▶ 활용: 고확률 설정 형성, 진입 고려
• 레벨 4 (80-100%): 예외적 강도
▶ 시각적: 가장 큰 에너지 파동
▶ 의미: 강력한 기관 움직임 확인
▶ 활용: 최고 확률 설정, 강한 확신의 진입 지점
■ 신호 강도 계산 이해하기
• 볼륨 구성 요소 (0-50 포인트):
▶ 현재 볼륨이 최근 평균과 비교하여 얼마나 높은지 측정
▶ 볼륨이 평균보다 2배 이상 높을 때 최대 포인트 부여
• 매수/매도 비율 구성 요소 (0-50 포인트):
▶ 매수와 매도 압력 간의 불균형 측정
▶ 비율이 미리 정의된 배율 임계값을 초과할 때 최대 포인트 부여
• 고급 가중치 요소:
▶ 캔들 구조: 몸통 크기, 꼬리 길이 및 방향
▶ 추세 일치: 현재 추세와의 신호 관계
▶ 볼륨 스파이크: 비정상적인 볼륨 증가 감지
▶ 교차 시장 확인: CME와 거래소 간 신호 일치 강도
─────────────────────────────────────
◆ 실전 트레이딩 응용
■ 반전 트레이딩 전략
• 매수 신호 응용:
▶ 설정: 하락 캔들에서 강한 매수 에너지 파동(60%+)
▶ 진입: 신호 이후 확인 캔들 이후
▶ 손절: 최근 저점 아래 또는 진입점 아래 1 ATR
▶ 이익실현: 이전 저항 또는 최소 1:2 리스크-리워드
▶ 강화 요소: 지지 구역, 과매도 조건 또는 추세선 테스트에서 발생하는 신호
• 매도 신호 응용:
▶ 설정: 상승 캔들에서 강한 매도 에너지 파동(60%+)
▶ 진입: 신호 이후 확인 캔들 이후
▶ 손절: 최근 고점 위 또는 진입점 위 1 ATR
▶ 이익실현: 이전 지지 또는 최소 1:2 리스크-리워드
▶ 강화 요소: 저항 구역, 과매수 조건 또는 추세선 테스트에서 발생하는 신호
■ 추세 지속 전략
• 상승 추세 중:
▶ 조정 중에 나타나는 매수 신호에 집중
▶ 주요 이동평균선이나 지지 수준에서 신호가 발생할 때 확률이 높음
▶ 가격이 상승 추세를 재개할 징후를 보일 때 강도에 맞춰 진입
• 하락 추세 중:
▶ 일시적 반등 중에 나타나는 매도 신호에 집중
▶ 주요 이동평균선이나 저항 수준에서 신호가 발생할 때 확률이 높음
▶ 가격이 하락 추세를 재개할 징후를 보일 때 강도에 맞춰 진입
■ 다중 시간프레임 접근법
• 다양한 시간프레임에서의 신호 확인:
▶ 상위 시간프레임(4시간, 일봉)의 주요 신호는 전략적 방향 제공
▶ 하위 시간프레임(15분, 1시간)의 신호는 전술적 진입 지점 제공
▶ 여러 시간프레임에서 신호가 일치할 때 가장 높은 확률의 설정 발생
• 신호 클러스터링:
▶ 동일한 가격 영역에서 여러 신호가 발생하면 확률이 크게 증가
▶ 매수와 매도 신호가 모두 나타난 영역을 찾아 전투 구역 식별
▶ 이러한 전투에서는 대개 가장 최근의 신호 방향이 우세
─────────────────────────────────────
◆ 기술적 기반
■ 교차 시장 확인이 중요한 이유
• 기관 참여:
▶ CME 비트코인 선물은 규제된 기관 투자자가 주도
▶ 암호화폐 거래소 선물은 소매 및 기관 플레이어 모두 포함
▶ 두 시장이 동일한 스마트 머니 패턴을 보일 때 신호 신뢰성이 크게 증가
• 시장 비효율성 활용:
▶ 대형 플레이어들은 시장 영향을 최소화하기 위해 여러 거래소에 걸쳐 포지션을 취하는 경우가 많음
▶ 이러한 조직적인 활동은 올바르게 분석할 때 감지 가능한 흔적을 남김
▶ 교차 시장 확인은 시장 노이즈를 필터링하고 진정한 스마트 머니 움직임을 분리하는 데 도움
■ 스마트 볼륨 계산 방법론
• 가격-볼륨 관계 분석:
▶ 캔들 구조를 사용하여 매수 대 매도 볼륨 추정
▶ 매수 볼륨 = 총 볼륨 × (종가 - 저가) / (고가 - 저가)
▶ 매도 볼륨 = 총 볼륨 × (고가 - 종가) / (고가 - 저가)
• 신호 트리거 로직:
▶ 매수 신호: 매수 볼륨이 매도 볼륨을 배율 요소만큼 초과할 때
▶ 매도 신호: 매도 볼륨이 매수 볼륨을 배율 요소만큼 초과할 때
▶ 두 조건 모두 CME와 거래소 선물에서 동시에 충족되어야 함
• 고급 패턴 인식:
▶ 신호 품질을 위한 캔들 몸통-범위 비율 평가
▶ 추가 확인을 위한 꼬리 길이 및 위치 분석
▶ 잠재적 전환점을 감지하기 위해 최근 고점/저점 고려
─────────────────────────────────────
◆ 지표 설정 가이드
■ 주요 설정
• CME 비트코인 선물 심볼:
▶ 기본값: CME:BTC1!
▶ 목적: 현재 차트와 함께 분석할 CME 선물 계약 설정
• 매수/매도 볼륨 배율:
▶ 기본값: 3.0
▶ 범위: 1.0-10.0
▶ 목적: 신호를 트리거하기 위해 매수 볼륨이 매도 볼륨을 얼마나 초과해야 하는지(또는 그 반대) 결정
▶ 높은 값 = 적지만 더 강한 신호
▶ 낮은 값 = 더 많은 신호지만 잠재적으로 낮은 신뢰성
■ 볼륨 필터 설정
• 볼륨 필터 활성화:
▶ 기본값: 활성화됨
▶ 목적: 활성화되면 임계값 이상의 볼륨을 가진 캔들만 고려
• 볼륨 평균 기간:
▶ 기본값: 20 캔들
▶ 범위: 5-200 캔들
▶ 목적: 평균 볼륨 계산을 위한 룩백 기간 설정
• 볼륨 임계값:
▶ 기본값: 150%
▶ 범위: 10%-500%
▶ 목적: 신호 고려에 필요한 최소 볼륨 백분율(평균 대비)
▶ 높은 값은 가장 중요한 볼륨 스파이크에만 집중
■ 신호 시각화
• 신호 강도 값 표시:
▶ 기본값: 활성화됨
▶ 목적: 각 신호와 함께 정확한 백분율 강도 값 표시
• 에너지 파동 색상:
▶ 매수 에너지 파동: 녹색(#00ff80)
▶ 매도 에너지 파동: 적색(#ff4040)
▶ 목적: 시각적 선호도에 맞게 에너지 파동의 모양 사용자 정의
■ 고급 설정
• 고급 강도 계산 사용:
▶ 기본값: 활성화됨
▶ 목적: 활성화되면 신호 강도에 전체 다중 요소 모델 사용
▶ 비활성화되면 기본 볼륨 및 비율 요소만 사용
─────────────────────────────────────
◆ 다른 지표와의 시너지
• 지지/저항 레벨:
▶ 주요 지지/저항에서 발생하는 스마트 머니 신호는 신뢰성을 크게 높임
▶ 특히 테스트된 가격 레벨에서 신호가 나타날 때 강력함
• 이동평균선:
▶ 주요 이동평균선(50MA, 200MA) 근처의 신호는 종종 기관의 관심을 나타냄
▶ 이동평균선 교차와 스마트 머니 신호의 조합은 고확률 설정 생성
• RSI/모멘텀 지표:
▶ 과매도 조건에서의 매수 신호는 성공적인 반전 확률 증가
▶ 과매수 조건에서의 매도 신호는 성공적인 반전 확률 증가
• 볼륨 프로파일:
▶ 높은 볼륨 노드에서 발생하는 신호는 종종 중요한 전환점을 나타냄
▶ 높은 볼륨 영역 사이의 낮은 볼륨 노드는 신호 트리거 후 가속 구간으로 작용할 수 있음
• 시장 구조:
▶ 주요 시장 구조 레벨(높은 고점/저점 또는 낮은 고점/저점)을 깨는 스마트 머니 신호는 특히 중요
▶ 구조 깨짐과 일치할 때 추세 변화의 초기 단계를 알릴 수 있음
─────────────────────────────────────
◆ 결론
52SIGNAL RECIPE CME-Exchange Smart Money Detector는 규제된 선물 시장과 암호화폐 거래소 시장 모두에서 기관의 포지셔닝을 드러냄으로써 트레이더에게 강력한 우위를 제공합니다. 두 거래소에서 동기화된 신호를 요구함으로써, 시장 노이즈를 제거하고 가장 신뢰할 수 있는 스마트 머니 흔적을 식별합니다.
이 지표를 차별화하는 것은 정교한 교차 시장 검증 시스템입니다. 단일 시장의 신호에 의존하는 대신, CME와 거래소 선물 모두가 동시에 동일한 스마트 머니 패턴을 표시할 때만 트리거됩니다. 이 접근 방식은 허위 신호를 크게 줄이고 진정으로 중요한 기관 활동을 강조합니다.
직관적인 에너지 파동 시각화 시스템을 통해 다양한 강도의 신호를 쉽게 발견할 수 있으며, 투명한 백분율 평가를 통해 각 기회를 객관적으로 평가할 수 있습니다. 이러한 이중 확인된 스마트 머니 움직임에 집중함으로써, 트레이더는 기관 참가자들에 대항하기보다는 그들과 함께 포지션을 취할 수 있습니다.
가장 강력한 신호는 일반적으로 주요 시장 변곡점에서, 종종 중요한 가격 움직임 이전에 나타난다는 점을 기억하세요. 이 지표를 트레이딩 접근법에 통합함으로써, 시장 방향을 더 높은 확신으로 예측하는 데 도움이 되는 기관 포지셔닝에 대한 통찰력을 얻을 수 있습니다.
─────────────────────────────────────
※ 면책 조항: 모든 트레이딩 도구와 마찬가지로, CME-Exchange Smart Money Detector는 보조 지표로 사용되어야 하며 트레이딩 결정을 전적으로 의존해서는 안 됩니다. 과거의 기관 행동 패턴이 미래 시장 움직임을 보장하지는 않습니다. 항상 적절한 리스크 관리 전략을 트레이딩에 사용하세요.
Fair Value MSThis indicator introduces rigid rules to familiar concepts to better capture and visualize Market Structure and Areas of Support and Resistance in a way that is both rule-based and reactive to market movements.
Typical "Market Structure" or "Zig-Zag" methods determine swing points based on fixed thresholds (length or percentage). While this does provide rigid structure, the results may be lagging or confusing due to the timing, since it is fixed to static parameters.
I believe the concept of Fair Value Gaps can solve this problem.
As you will notice, there are no length settings in this indicator.
> FVG Market Structure
Fair Value Gaps are a well known concept used to indicate directional intent, forming when price moves aggressively in one direction, leaving behind an imbalance between buyers and sellers. While the term FVG was popularized by ICT, the underlying concept predates them, known historically as imbalances, inefficiencies, or liquidity voids in institutional trading.
Note: For simplicity, in this indicator they'll be called FVGs.
By reading into this, we are able to clearly and rigidly define market structure simply by "looking" at the chart, using objective price events rather than subjective interpretation, or lengths.
By using FVGs to determine structure direction, the length, and speed of identification lies entirely on the market. If an FVG Down occurs immediately after a New Higher High forms, it is reasonable to assume there was a seller at that point, so the script would indicate a New Swing High.
The script is NOT stuck, waiting for a % retrace, or # bars to pass to identify it as such.
Sometimes the market is in a steady trend in a single direction and no FVGs form; therefore, no structure forms. -> Why would we try to impose structure on a clear trend?
Ultimately, the FVG Structure Method uses real reactions from the market to determine Market structure, and is not fixed to specific parameters.
As with other market structure indicators, "Market Structure Breaks" are still identifiable when price moves outside the most recent swing points.
These are helpful to indicate larger direction. In the following section you will see how these help us determine when we should start the search for an "Area of Interest (AOI)".
> Areas of Interest (AOIs)
"Area of Interest (AOI)" is a generalized term, and could refer to many types of zones you might recognize under different names. While the AOIs in this indicator are specialized in their own way, I have chosen to simply use the term "Area of Interest" because it’s more important to understand how they behave and why they exist than to focus on what they’re called.
The goal of an AOI is to point out reasonable areas where buyers or sellers may be staging, as is typical with support and resistance.
In order to reasonably identify these areas, we look for cause and effect relationships. When considering these relationships, it's easier to understand the placement of the points to define each zone.
(Buyer Examples)
Cause: Strong Buyers step in at Swing Low
Effect: Fair Value Gap Forms
Cause: Sustained Buying Pressure
Effect: Market Structure Breaks
In this example, The zone is drawn from the Swing Low, to the Bottom of the FVG closest to the swing point.
In theory, the participation at the swing point was strong and aggressive enough to create the FVG imbalance. Which then found acceptance and continued into a Market Structure Break. So with these AOIs, we are trying to locate the aggressive Buyers or Sellers which were positioned BEFORE the FVG.
These Zones are intended to act as areas to look for reactions from market participants, to judge where price may be going. When revisiting these zones, we look for a reaction or a break, to further provide us information to if the buyers or sellers are still there.
As seen in the screenshot above, The information we gain is not from the creation of these zones, but from the behavior we witness when these zones are revisited.
Technical Note: In this indicator, Market Structure Breaks are only considered when price closes outside the recent swing points. Wicks are not considered as confirmation, therefore are not used to detect structural breaks.
Inside each AOI you can optionally display a readout of the volume which accumulated during the time starting at the swing point and going until the closing bar of the FVG.
Note: We are counting volume until the closing bar of the FVG since the FVG is a 3 bar formation, and aggressive volume is required throughout to create the imbalance.
There are multiple FVGs that typically occur in a single direction, but we do not look to every single one to be indicative of structure, only the first FVG in the opposite direction of the previous direction (which is determined by previous FVGs)
You will probably notice, the AOIs do not form from the closest swing or FVG to the break, this is because we are targeting larger directional changes to draw these AOIs from.
Since they do not always happen perfectly every time, the AOI formation waits for an FVG to occur AND a Market structure break to happen. One without the other will result in no Zone displaying.
> Reflection Lines
While they may seem slightly redundant, Reflection Lines serve as reminders of previous support and resistance pivots. They are drawn at the same Pivots where and AOI is formed, and extend beyond the mitigation of the AOI.
These lines are often points of price to look for "Support Flips", a re-test pattern where price trades through previous support (or resistance) then returns to it and rejects, continuing into a larger move or trend.
Their namesake is based on the behavior of price, "reflecting" at these levels.
The Reflection lines are simple and change color based on price's location.
If price is above, we would typically look to a reflection line in with support in mind.
As a basic filter, these lines use an average price to determine their color, this way they will not change their color as frequently in choppy situations.
> Session Start/End Lines
For analysis purposes and trade review, it is helpful to analyze with context.
For that reason, I have implemented start and end session lines into the indicator, these are helpful when reviewing historical charts to not provide additional context.
By default, they are set to the NYSE Session, but can be changed to fit any needs.
These lines are not advanced, and simply draw a line as the chart passes the start and end of the sessions. It's very likely that you may need to adjust the session for your specific needs.
Note: The Timezone can be adjusted within the code if needed. By Default, the indicator uses "America/New_York" Timezone.
> Conclusion
If you’ve ever felt like your structure tools were confusing or lagging, drawing zones too late, or zones that simply don't make sense, this should feel like a breath of fresh air.
By removing arbitrary length settings and instead using FVGs to define structure and as a basis for AOIs, you're getting a more accurate look at what price is doing and where it's reacting from.
This indicator is rule-based, reactive, and aims to keep things logical without fluff or false confidence.
Enjoy!
Previous-Period Range Box - Fixed to CandlesThis indicator, "Previous-Period Range Box," visually highlights the high, low, and range of the previous completed period (using a user-selectable timeframe) directly on your chart. It draws a colored box for the previous period's full range, an optional box for the candle body, and projects horizontal dashed lines for the previous high, low, and optional Fibonacci levels (25%, 50%, 75%) into the current session. The indicator also supports live (in-progress) range boxes, range size labels, and alert conditions for breakouts and fib tags. It is ideal for traders who want to track and react to key levels from the most recent completed session, with full flexibility to use any
Auto Harmonic Screener - UltimateX [Trendoscope®]🎲 Introduction to Auto Harmonic Screener UltimateX
The Auto Harmonic Screener UltimateX is a sophisticated TradingView indicator designed to automatically detect and screen for a wide range of harmonic patterns across multiple zigzag levels. It builds on the foundation of harmonic trading principles, using recursive zigzag analysis to identify potential reversal zones based on Fibonacci ratios. This indicator complements the Auto Harmonic Pattern UltimateX by focusing on screening functionality rather than isolated pattern detection. This is script is designed and optimized to be used with Pine Screener
The indicator produces harmonic patterns on the chart. As an indicator, it does not offer more than what Auto Harmonic Pattern UltimateX offers. However, the major difference is that Auto Harmonic Pattern UltimateX concentrates on the usage as indicator and providing stats and back test data based on historical patterns whereas this script is optimized to be used with Pine Screener to screen across 100s of symbols at once to find out potential patterns across the market.
🎲 Core Mechanics: How the Indicator Works
🎯 Zigzag Pivot Detection
The indicator starts by calculating zigzag pivots. Zigzag identifies swing highs and lows by filtering price movements based on a minimum length (default: 8 bars) and depth (default: 100 pivots).
You can opt to use close prices instead of high/low for zigzag calculation (via Use Close Prices ), which smooths out noise in volatile markets but may miss extreme swings.
Zigzag is recursive: It begins with a base level (level 0) and generates higher levels by combining pivots from lower levels. This allows scanning for patterns at various scales, from short-term to long-term structures.
New pivots trigger pattern scans only when confirmed
🎯 Harmonic Pattern Scanning
Patterns are scanned using the last 5 zigzag pivots: X (oldest), A, B, C, D (newest)
The scan compares price ratios (e.g., AB/XA, BC/AB, CD/BC, XD/XA) against predefined Fibonacci-based ranges for each pattern type, with an adjustable error threshold (default: 8%).
Log scale scanning (Scanning under Log Scale ) can be enabled for assets with exponential growth (e.g., cryptocurrencies), ensuring ratios are calculated proportionally.
Strict mode ( Strict Ratio Scanning Mode ) disables error additions when ratio ranges vary, prioritizing accuracy over quantity of detections.
Detected patterns are stored in an array and checked for duplicates (based on pivot indices) to avoid redundancy.
The Potential Reversal Zone (PRZ) is calculated as a range where the D point should land for pattern completion.
🎯 Pattern Categories and Types
Classic Patterns : Standard harmonic formations like Gartley, Bat, Butterfly, Crab, Deep Crab, Cypher, Shark, Nenstar,
Anti/Alternate Patterns : Variations with inverted or extended ratios, such as Anti Gartley, Anti Bat, Anti Butterfly, Anti Crab, Anti Cypher, Anti Shark, Anti Nenstar, Navarro.
Non-Standard Patterns : Less common structures like 5-0, Three Drives, or Black Swan, White Swan, 121, Sea Pony, Leonardo, Total.
You can enable/disable categories or individual patterns via inputs. The indicator uses a map to track active patterns and scans only those selected
🎯 Trade Monitoring and Confirmation
Patterns identified are monitored for entry, failure and success. Patterns are kept on the chart until they are either invalidated, stopped or reaches the target. The status of the pattern is also used during the filtering of patterns using Pine Screener
🎯 Output and Signals
The following plots are displayed in data window mode. These plots are used in Pine Screener for filtering symbols based on the presence of patterns.
Bullish (Awaiting Entry) : Plots 1 if there is a bullish pattern awaiting entry
Bullish (In Trade) : Plots 1 if there is a bullish pattern that has reached Entry and in trade.
Bearish (Awaiting Entry) : Plots 1 if there is a bearish pattern awaiting entry
Bearish (In Trade) : Plots 1 if there is a bearish pattern that has reached Entry and in trade.
🎲 Detailed Input Parameters
The indicator offers extensive customization through grouped inputs. Here's a breakdown:
🎯 Zigzag Parameters :
Use Close Prices (bool, default: false): Switches zigzag to use close prices for pivots, reducing sensitivity to wicks.
Length (int, default: 8, min: 3): Minimum bars between pivots; higher values filter more noise but may miss small patterns.
Depth (int, default: 100, max: 500): Maximum pivots stored; affects recursive zigzag levels and performance.
🎯 Generic Settings
Base (string, default: 'correction'): Determines the wave (impulse/correction) used for target projections. Options include 'min'/'max' for conservative/aggressive targets, or 'AD'/'CD' for specific legs.
Error Percent (int, default: 8, 0-20): Tolerance for ratio matches; lower = fewer but more accurate patterns.
Strict Ratio Scanning Mode (bool, default: false): Enforces exact ratios without error buffer for varying ranges.
Log Scale (two bools): Separate toggles for scanning patterns vs. projecting targets.
🎯 Trade Settings
Stop/Entry/Target (floats): Ratios for trade levels (stop=0.0 default, entry=0.3, target=0.618). Stop at 0.0 means no stop (use with caution); entry/target based on PRZ extension.
🎯 Display Settings
Draw (bool, default: true): Enables pattern drawings. When running in pine screener, this can be turned off
Theme (enum, default: DARK): Auto-generates colors (light/dark shades); or CUSTOM with 22 user-defined colors.
XABCD/Ratios (bools, default: true): Show/hide pivot labels and ratio annotations.
Label Size (string, default: small): Size for on-chart labels (tiny to huge).
🎲 Using with Pine Screener
Pine Screener is a powerful tradingview utility that allows users to build complex programmable screeners using Pinescript®. This script is designed in an optimized way in order to work with Pine Screener. Hence, the display of the indicator is limited. In order to use this script with pine screener, we need to follow these steps.
Prepare your watchlist
Pine screener works on a watchlist with less than 1000 symbols in them. We can use built-in tradingview screeners to perform initial screening based on broad categories. This can be as simple as filtering based on market cap. This initial filtering is only required if the number of symbols are more than 1000.
Load the watchlist and indicator to pine screener
Go to screener menu and load Pine Screener.
Once done, load the watchlist and indicator. Set filtering criteria, timeframe and indicator settings. And then press Scan to filter the symbols that match given criteria.
For more details, please watch the video published under the below idea.
Penguin Volatility State StrategyPenguin Volatility State Strategy
This document provides details on the "Penguin Volatility State" trading strategy for the TradingView platform. It is a strategy designed to identify different market conditions and execute trades based on momentum and volatility.
Overview
This strategy uses a combination of several popular indicators, including Bollinger Bands (BB), Keltner Channels (KC), Exponential Moving Averages (EMAs), and the Relative Strength Index (RSI), to classify the market into four main states, represented by different colors on the chart:
Green: Strong uptrend.
Red: Strong downtrend.
Yellow: A pullback or consolidation phase within an uptrend (potential reversal signal).
Blue: A pullback or consolidation phase within a downtrend (potential reversal signal).
The goal of the strategy is to enter trades in the direction of the strong trend (Green and Red states) and allow the user to filter out noise during sideways market conditions (Yellow and Blue states).
How the Indicators Work
Bollinger Bands & Keltner Channels: Used to measure market volatility. The difference between the width of the BB and KC (diff) is used to calculate an RSI to measure the "acceleration" of volatility.
EMAs (Fast & Slow): Used to determine the primary trend direction. If the fast EMA is above the slow EMA, it is considered an uptrend, and vice versa.
RSI of Diff: This is the core component for measuring the momentum of volatility. When this RSI value is above its own moving average, it signifies strong momentum, which is a key condition for entering a trade.
Filters and Strategy Logic
Users can customize the strategy's behavior through three main filters:
Filter Sideways Markets (RULE 1): If enabled, the strategy will only enter trades in the Green state (for Longs) and Red state (for Shorts), avoiding sideways conditions (Yellow and Blue).
Trade Only on Strong Momentum (RULE 2): If enabled, the strategy will only enter trades when there is strong momentum (when the RSI of Diff is above its moving average).
Enter/Exit on Exact Transition (RULE 3): If enabled, the strategy will enter and exit orders only at the exact crossover of the RSI of Diff and its moving average. This can lead to more precise entries/exits but may also cause some opportunities to be missed.
Inputs
BB/KC Length: The number of bars used to calculate Bollinger Bands and Keltner Channels.
BB Multiplier: The standard deviation multiplier for the Bollinger Bands.
KC Multiplier: The ATR multiplier for the Keltner Channels.
Fast EMA Length: The number of bars for the fast EMA.
Slow EMA Length: The number of bars for the slow EMA.
RSI of Diff Length: The number of bars for the RSI of diff.
SMA of RSI Length: The number of bars for the moving average of the RSI of Diff.
Trade Direction: Choose to trade Long Only, Short Only, or Both.
Filters (RULE 1, 2, 3): Enable/disable the filters as described above.
Pine Script Code
Here is the full code for the strategy. You can copy and paste it into the Pine Editor on TradingView.
//@version=5
strategy("Penguin Volatility State Strategy", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_value=0.075)
// ===================================================================
// INPUTS
// ===================================================================
// --- Indicator Settings ---
string group_indicators = "Indicator Settings"
bb_len = input.int(20, "BB/KC Length", group=group_indicators)
bb_mult = input.float(2.0, "BB Multiplier", group=group_indicators)
kc_mult = input.float(2.0, "KC Multiplier", group=group_indicators)
ema_fast_len = input.int(12, "Fast EMA Length", group=group_indicators)
ema_slow_len = input.int(26, "Slow EMA Length", group=group_indicators)
rsi_diff_len = input.int(14, "RSI of Diff Length", group=group_indicators)
rsi_avg_len = input.int(7, "SMA of RSI Length", group=group_indicators)
// --- Strategy Filter Settings ---
string group_filters = "Strategy Filters"
trade_direction = input.string("Both", "Trade Direction", options= , group=group_filters)
use_regime_filter = input.bool(true, "RULE 1: Filter Sideways Markets (Yellow & Blue)?", group=group_filters)
use_strength_filter = input.bool(true, "RULE 2: Trade Only on Strong Momentum (RSI Accel)?", group=group_filters)
use_timing_filter = input.bool(false, "RULE 3: Enter/Exit on Exact Transition?", group=group_filters)
// ===================================================================
// INDICATOR CALCULATIONS
// ===================================================================
// --- Bollinger Bands & Keltner Channel ---
basisBB = ta.sma(close, bb_len)
dev = bb_mult * ta.stdev(close, bb_len)
upperBB = basisBB + dev
lowerBB = basisBB - dev
atr = ta.atr(bb_len)
upperKC = basisBB + kc_mult * atr
lowerKC = basisBB - kc_mult * atr
// --- Diff & RSI of Diff Calculation ---
diff = (upperBB - upperKC) / upperKC * 100
diff_change = ta.change(diff)
up = ta.rma(math.max(diff_change, 0), rsi_diff_len)
down = ta.rma(-math.min(diff_change, 0), rsi_diff_len)
rsi_diff = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsi_diff2 = ta.sma(rsi_diff, rsi_avg_len)
// --- EMAs for Market State ---
fast_ma = ta.ema(close, ema_fast_len)
slow_ma = ta.ema(close, ema_slow_len)
apcdc = ta.ema(ohlc4, 2)
// ===================================================================
// STATE DEFINITIONS
// ===================================================================
isBullishTrend = fast_ma > slow_ma
isBearishTrend = fast_ma < slow_ma
isGreen = isBullishTrend and apcdc > fast_ma
isRed = isBearishTrend and apcdc < fast_ma
isYellow = isBullishTrend and apcdc < fast_ma
isBlue = isBearishTrend and apcdc > fast_ma
isRsiAccel = rsi_diff > rsi_diff2
// ===================================================================
// STRATEGY LOGIC
// ===================================================================
// --- Apply Filters to define tradable conditions ---
can_long_base = use_regime_filter ? isGreen : (isGreen or isYellow)
can_short_base = use_regime_filter ? isRed : (isRed or isBlue)
long_condition = use_strength_filter ? can_long_base and isRsiAccel : can_long_base
short_condition = use_strength_filter ? can_short_base and isRsiAccel : can_short_base
entry_long_timing = ta.crossunder(rsi_diff2, rsi_diff) and can_long_base
exit_long_timing = ta.crossunder(rsi_diff, rsi_diff2)
entry_short_timing = ta.crossunder(rsi_diff2, rsi_diff) and can_short_base
exit_short_timing = ta.crossunder(rsi_diff, rsi_diff2)
// --- Determine Final Entry/Exit Conditions ---
final_entry_long = use_timing_filter ? entry_long_timing : long_condition
final_exit_long = use_timing_filter ? exit_long_timing : not long_condition
final_entry_short = use_timing_filter ? entry_short_timing : short_condition
final_exit_short = use_timing_filter ? exit_short_timing : not short_condition
// --- Check Trade Direction permission ---
allow_long = trade_direction == "Both" or trade_direction == "Long Only"
allow_short = trade_direction == "Both" or trade_direction == "Short Only"
// --- Execute Trades ---
if (final_entry_long and allow_long)
strategy.entry("Long", strategy.long)
if (final_exit_long)
strategy.close("Long")
if (final_entry_short and allow_short)
strategy.entry("Short", strategy.short)
if (final_exit_short)
strategy.close("Short")
// ===================================================================
// VISUALIZATION
// ===================================================================
bgcolor(isGreen ? color.new(color.green, 85) : isRed ? color.new(color.red, 85) : isYellow ? color.new(color.yellow, 85) : isBlue ? color.new(color.blue, 85) : na)
Disclaimer
This strategy is provided for educational and informational purposes only and is not financial advice.
Past performance from backtesting does not guarantee future results.
Trading involves risk. Investors should conduct their own research and exercise due diligence before making any investment decisions and should manage their own risk.
TheDevashishratio-MomentumThis custom momentum indicator is inspired by Fibonacci principles but builds a unique sequence with steps of 0.5 (i.e., 0, 0.5, 1, 1.5, 2, ...). Instead of traditional Fibonacci numbers, each step functions as a dynamic lookback period for a momentum calculation. By cycling through these fractional steps, you capture a layered view of price momentum over varying intervals.
The "Fibonacci" Series Used
Sequence:
0, 0.5, 1, 1.5, 2, … up to a user-defined maximum
For trading indicators, lag values (lookback) must be integers, so each step is rounded to the nearest integer and duplicates are removed, resulting in lookbacks:
1, 2, 3, 4, ... N
Indicator Logic
For each selected lookback, the indicator calculates momentum as:
Momentum
n
=
close
−
close
Momentum
n
=close−close
Where:
close = current price
n = integer from your series of
You can combine these momenta for an averaged or weighted momentum profile, displaying the composite as an oscillator.
How To Use
Bullish: Oscillator above zero indicates positive composite momentum.
Bearish: Oscillator below zero indicates negative composite momentum.
Crosses: A cross from below to above zero may signal emerging bullish momentum, and vice versa.
Customization
Adjust max_step to control how many interval lags you want in your composite.
This oscillator averages across many short and mid-term momenta, reducing noise while still being sensitive to changes.
Summary
TheDevashishratio-Momentum offers a fresh momentum oscillator, blending a "Fibonacci-like" progression with technical analysis, and can be easily copy-pasted into TradingView to experiment and refine your edge.
For more on momentum indicator logic or how to use arrays and series in Pine Script, explore TradingView's official documentation and open-source scripts
Timing LinesSmall indicator to show third Friday of each month and triple witching events when monthly, weekly and quarterly contracts expire together.
There is also a period of max pain highlighted, when market makers try to balance options with equities before monthly option contracts expiry.
Fakeout marks events when market MAY be very turbulent
Analisis Perubahan Persentase Blok v2(Part 1: Summary)
The Block Percentage Change Analysis Indicator (APP Block) is a visual tool designed to detect significant price movements within a specific time period. Instead of analyzing each candle individually, this indicator identifies a group (block) of candles and provides a visual signal if the total price change from the first candle to the last candle in the block exceeds the percentage you specify.
The goal is to help traders quickly recognize strong momentum, potential reversals, or breakouts from consolidation phases.
(Part 2: Key Features)
Block Visualization: Automatically colors the entire block of candles that meet the criteria, making it easy to see periods of significant price movement.
Direction Detection: Uses different colors (customizable) for upward (Bullish) and downward (Bearish) movements, providing instant insight into the direction of momentum.
Full Customization: You can easily adjust the main parameters according to your trading style, asset, and timeframe:
Number of candles in one block.
Minimum percentage price change required.
Price source being analyzed (Open, High, Low, Close).
Colors for upward and downward blocks.
Alert System: Equipped with built-in alert conditions that you can set to receive notifications whenever a signal block forms.
(Section 3: How It Works)
This indicator works in a simple way:
It looks back at the number of candles you specify (e.g., 20 candles).
Then, it calculates the price change in percentage between the price on the first candle and the price on the last candle in that block.
If the change (whether up or down) exceeds the threshold you set (e.g., 2%), the entire candle block will be colored according to its direction of movement.
(Section 4: How to Use in Trading)
This indicator is flexible and can be used in various ways:
Momentum Confirmation: After a breakout from a pattern, the appearance of a green block (upward) can serve as strong confirmation that a bullish momentum is underway. The opposite applies for red blocks.
Market Exhaustion Identification: In a prolonged upward trend, the first appearance of a red block can signal the initial entry of significant selling pressure, indicating a potential reversal or correction.
Signal Filter: Use as a filter for other indicators. Example: “I will only take a buy signal from RSI if the price has just formed a green block,” to avoid false signals when the market is sideways.
(Section 5: Settings)
Number of Candles in Block: Set the length of the block being analyzed. Smaller values will be more sensitive, while larger values will indicate long-term trends.
Minimum Percentage Change (%): The threshold to trigger a signal. Adjust this value based on asset volatility (e.g., stocks may require 5%, while forex may need 1%).
Price Source: Select which price (Open, High, Low, Close) best suits your strategy. Close is the default option.
Block Color (Up/Down): Adjust the background color to match your chart theme.
(Section 6: Conclusion and Disclaimer)
We hope this indicator is useful for your analysis and trading strategies.
Remember, no indicator is 100% accurate. Always use the APP Block as part of your larger trading system, combine it with other analyses (such as market structure, support/resistance, etc.), and most importantly, always apply proper risk management.
Suggestions and feedback for further development are greatly appreciated! Happy trading!
Translated with D
High/Low mura visionDescription
High/Low mura vision plots static support and resistance lines based on the completed high and low values of the prior trading day, week and calendar month.
This script:
Anchors each level to the exact start and end bars of the completed period
Does not repaint or extend levels into the current period
Uses request.security() to retrieve only historical data (no lookahead)
This indicator was built to give traders clear, unambiguous reference points for breakout entries, pullback targets or confirmation of supply/demand zones without guessing where to draw manually.
How It Works
At the close of each daily candle, the script captures high and low via request.security() and draws flat lines spanning only that day’s bars.
Similarly, at the close of Friday’s weekly candle and the last bar of each calendar month, it draws the completed week’s and month’s high/low ranges.
All lines are deleted and redrawn only once per period completion, ensuring no forward painting or hidden repainting logic.
Key Features
No repaint: levels appear exactly once, immediately after the period closes
Period‑specific: lines confined to the bars of the prior day, week or month
Customizable: toggle each period on/off; choose independent colors, line styles (Solid, Dotted, Dashed) and width
Lightweight: minimal calculations for maximum performance on any timeframe
How to Use
Apply to any chart (M1 to MN).
In the Inputs panel, enable the levels you need: Yesterday, Last Week or Last Month.
Adjust High and Low line color, style and thickness to suit your chart layout.
Use these historic levels for support/resistance, breakout confirmation or confluence with other tools.
Inputs
Show Yesterday’s High: toggle yesterday’s high line
Show Yesterday’s Low: toggle yesterday’s low line
Show Last Week’s High: toggle last week’s high line
Show Last Week’s Low: toggle last week’s low line
Show Last Month’s High: toggle last month’s high line
Show Last Month’s Low: toggle last month’s low line
High Line Color / Low Line Color: choose colors for each set of lines
High Line Style / Low Line Style: select Solid, Dotted or Dashed
Line Width: adjust overall thickness
Disclaimer
This script is provided “as‐is” under the Public License. It is intended for educational and analytical purposes only and does not constitute trading or investment advice. Past performance does not guarantee future results. Always perform your own analysis and manage risk responsibly.
Ind2_DC_SLThis script allows users to select stop loss for taking decisions on exit
It uses the following for stop loss
1) MA
2) PSAR
3) VStop
It uses the following for price trend
4) Donchian Channel
This indicator will be rendered over the price chart.
For moving average, default type is EMA, and this can be changed from dropdown in inputs setting
In inputs setting, one can select / deselect required indicator depending on your needs
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.
Current and Prior Inside Bar ColoringDescription
This script colors bars that are inside the prior bar's high and low range. Inside is defined as ≤ the high, and ≥ the low of the prior bar. You can choose to color only the current inside bar or all inside bars on the chart.
Utility
This gives a quick visual indication of inside bars across your chart. Inside bars, by definition, indicate consolidation and non-trending price action. By highlighting both current and historical inside bars, you can quickly identify periods of market indecision and potential breakout zones. Seeing the frequency and clustering of inside bars helps assess overall market conditions.
Function
Colors distinguish if the close is above or below the opening price of each inside bar. You can set different colors for current vs prior inside bars to visually separate real-time signals from historical patterns. If you prefer no distinction, simply use the same colors for both. The "Color prior inside bars?" toggle allows you to show only the current inside bar or all inside bars on your chart.
Gann's Master ChartGann Master Chart logic
Gann Master chart for weekly applied on hourly chart by creating square of time and price.
Momentum_EMABand📢 Reposting this script as the previous version was shut down due to house rules. Follow for future updates.
The Momentum EMA Band V1 is a precision-engineered trading indicator designed for intraday traders and scalpers. This first version integrates three powerful technical tools — EMA Bands, Supertrend, and ADX — to help identify directional breakouts while filtering out noise and choppy conditions.
How the Indicator Works – Combined Logic
This script blends distinct but complementary tools into a single, visually intuitive system:
1️⃣ EMA Price Band – Dynamic Zone Visualization
Plots upper and lower EMA bands (default: 9-period) to form a dynamic price zone.
Green Band: Price > Upper Band → Bullish strength
Red Band: Price < Lower Band → Bearish pressure
Yellow Band: Price within Band → Neutral/consolidation zone
2️⃣ Supertrend Overlay – Reliable Trend Confirmation
Based on customizable ATR length and multiplier, Supertrend adds a directional filter.
Green Line = Uptrend
Red Line = Downtrend
3️⃣ ADX-Based No-Trade Zone – Choppy Market Filter
Manually calculated ADX (default: 14) highlights weak trend conditions.
ADX below threshold (default: 20) + Price within Band → Gray background, signaling low-momentum zones.
Optional gray triangle marker flags beginning of sideways market.
Why This Mashup & How the Indicators Work Together
This mashup creates a high-conviction, rules-based breakout system:
Supertrend defines the primary trend direction — ensuring trades are aligned with momentum.
EMA Band provides structure and timing — confirming breakouts with retest logic, reducing false entries.
ADX measures trend strength — filtering out sideways markets and enhancing trade quality.
Each component plays a specific role:
✅ Supertrend = Trend bias
✅ EMA Band = Breakout + Retest validation
✅ ADX = Momentum confirmation
Together, they form a multi-layered confirmation model that reduces noise, avoids premature entries, and improves trade accuracy.
💡 Practical Application
Momentum Breakouts: Enter when price breaks out of EMA Band with Supertrend confirmation
Avoid Whipsaws: Skip trades during gray-shaded low-momentum periods
Intraday Scalping Edge: Tailored for lower timeframes (5min–15min) where noise is frequent
⚠️ Important Disclaimer
This is Version 1 — expect future enhancements based on trader feedback.
This tool is for educational purposes only. No indicator guarantees profitability. Use with proper risk management and strategy validation.
Critical ZonesIntraday trading in Index (Nifty, Bank Nifty, Fin Nifty , Midcap, Sensex ) and F & O Stocks of the Indian Market,Global,Crypto all Indicator is design.
*Outcome of the Indicator* :
1) 4 Zones Resistance Zone= Shown by two red color lines (Resistance Zone on Top )
Support Zone= Shown by two green color lines (Support Zone on Bottom)
Intermediate 2 Critical Zones shown by Blue color Lines (Intermediate Zone)
How to trade on these critical zones: -
a) If Price is above Critical Zone 1 & below the Critical Zone 2 then Critical Zone 1 = Should work as immediate Support of the price and critical zone will work
as resistance zone.
b) If Price Breaks Resistance zone (at 15 Minutes Chart) and Sustain then Its Bullish Signal - Maximum time price will not go below resistance zone
i.e. resistance zone will work as support zone on that day. If Price Breaks Support zone (at 15 Minutes Chart) and Sustain then Its Bearish Signal
- Maximum time price will not go above support zone i.e. support zone will work as resistance zone on that day.
2) Auto Buyers or Sellers as per the situation generated by this indicator on the basis of the predefined parameters (Used by me for intraday & scalping)
which will be helpful to get momentum trades. One can get the help in option buying with this indicator and it can be used for scalping also.
3) For Second confirmation of the market trend Indicator provides two EMA Lines one is small (Green) & Big One is (Red).
If green line is above red line than market is bullish & on the other hand if green line is below red line market is bearish.
Point to remember:
Do not consider the signal of Buyers or Sellers on running Candle i.e you would wait for the current candle to close before evaluating the conditions to generate a signal.
By waiting for the candle to close, you can eliminate any false signals or noise that may occur during the formation of the candle.
For example, if you are using a 5-minute chart, you would wait for the current 5-minute candle to complete before evaluating the conditions for generating a signal.
How to use Indicator:
1) Suitable timeframe of 5 minutes to get the accurate signals for intraday trading and scalping.
2) To avoid overtrading only first 2-3 Buyers & Sellers signals of the day should be considered for trading in sideways market.
3) On the basis of this indicator no trade will be taken after 3.00 PM.
4) You can incorporate any other indicators and price action for second confirmation of the trade.
How to trade:
We have given the name signal candle which candle generated the buyers or sellers signals and red line also start plotted on the chart along
with sellers signal till the trend is in same direction
and in case of buyers signal green line start plotted along with buy signal till the trend is in same direction.
When to enter in the trade :
After breaking of the High (In case of Buy) or breaking of Low (In Case of Sell) of signal candle.
A) Buy Entry – After generation of the Buyers signal by the indicator and high of signal candle breaks.
For Example,
the high of the signal candle is 24000.In that case we will trade on the next candle which break the high of the signal candle i.e. 24000.
B) Sell Entry - After generation of the Sellers signal by the indicator and low of signal candle breaks.
For Example, the low of the signal candle is 23900.In that case we will trade on the next candle which break the low of the signal candle i.e. 23900.
Stop Loss Level:
The stop loss level is set based on the high of the signal candle for sellers signals and the low of the signal candle for buyers signals.
In other words, if indicator generate a sellers signal, the stop loss will be placed at the high of the candle that generated the sellers signal.
If indicator generate a buyers signal, the stop loss will be placed at the low of the candle that generated the buyers signal.
In case the size of the signal candle in case of Nifty, Finnifty & Midcap is less than 15 Points and in case of Bank Nifty 25 points than SL will the higher or lower of the previous candle of the signal candle.
It is important to note that the stop loss level should be placed properly and used consistently to manage the risk of your trades effectively.
Critical Zone Time Frame Selector
Choose custom roadmap views using built-in time frame options:
1 Week View: Gives roadmap from Monday to Friday
1 Month View: Generates roadmap from 1st of the month to month-end
3 Month View: Shows roadmap for 3 Months ,mostly used for postional 3 month roadmap
6 Month View: Provides broader trend zones over 6 Month ,mostly used for postional 6 month roadmap
12 Month View: Gives 1 year roadmap market structure ,mostly used for postional 12 month roadmap.
Disclaimer:
This Trend based (Buyers and Sellers) indicator is designed to provide right direction of the market according to predefined rules, this tool just a tool for enhancement of the trading.
Using this indicator does not guarantee profits or protect against the losses. It is your responsibility to carefully consider your investment objectives, risk tolerance and financial responsibility.