xTrader 20/200 EMA Wave Ribbon🔹 20/200 EMA Wave Ribbon
This indicator expands on the classic 20/200 moving average crossover by turning it into a momentum-aware ribbon. Instead of only showing where two lines cross, it highlights trend bias and momentum strength together in a visual form that adapts across timeframes.
🔑 How It Works
Fast / Slow MAs: Calculates a fast MA (default 20) and a slow MA (default 200). Traders can choose the MA type (EMA, SMA, WMA, RMA).
Bias: When the fast MA is above the slow MA, the ribbon turns 🟢 green (bullish). When it is below, the ribbon turns 🔴 red (bearish).
Wave Ribbon: A band is plotted around the fast MA. Its width comes from a user-defined percent of price, optionally scaled by ATR volatility so the ribbon stays meaningful on both 5m and 1D charts.
MACD-style intensity: Ribbon color adjusts with the separation between fast and slow MAs. Strong expansion makes the ribbon brighter and thicker; contraction makes it softer and thinner. This gives the same “growing and fading” feel traders know from MACD histograms.
Noise Control: Persistence settings can require several bars of agreement before a bias flip is confirmed, reducing whipsaws.
Signals: Optional markers and alerts trigger on bullish and bearish crosses.
📈 Practical Use
Bright, widening ribbon → trend is accelerating; continuation bias is strong.
Dimming ribbon → momentum is weakening; consider scaling out or tightening risk.
Color flip → regime change; possible entry/exit depending on confirmation settings.
Timeframe scaling → ensures ribbon width adapts to volatility, so interpretation is consistent across intraday and higher-timeframe charts.
⚡ What Makes It Different
Unlike open-source EMA cross scripts that only mark crosses:
✅ Plots a dynamic ribbon around the fast MA instead of shading the whole chart.
✅ Uses ATR-based auto-scaling to stay useful on all timeframes.
✅ Applies MACD-style intensity mapping to show not just bias, but trend strength and momentum shifts.
✅ Includes MA type selection (EMA, SMA, WMA, RMA) and persistence logic for confirmation.
⚠️ Disclaimer: This script is for educational and analytical purposes only. It is not financial advice. Always do your own research and use proper risk management before trading.
Candlestick analysis
RSI+VOL——Binary(One bar)Overview
This indicator integrates Stochastic RSI, MACD trend alignment, ADX trend strength, and multi-dimensional volume analysis to provide intelligent signal guidance and market activity monitoring. It is suitable for short-term, swing, and event-driven trading, offering clear visualization of trend direction, market strength, and volume anomalies.
Core Features
1️⃣ Stochastic RSI Signals
Automatically identifies overbought and oversold conditions to generate buy and sell reference signals.
Signals are filtered with candle closing direction to reduce counter-trend entries.
2️⃣ MACD Trend Alignment
Signals trigger only when MACD trend direction aligns with Stochastic RSI, improving accuracy.
Real-time trend alignment reduces noise from ranging markets.
3️⃣ ADX Trend Strength Filter
Signals trigger only when ADX indicates a significant trend, filtering out low-strength movements.
Helps capture primary market directions.
4️⃣ Multi-Dimensional Volume Analysis
Differentiates bullish and bearish volume to identify breakout signals.
Relative volume (RVOL) ensures signals occur during periods of active trading.
Background highlights abnormal spikes and extreme volume, clearly reflecting market activity.
5️⃣ Signal Visualization and Alerts
Buy and sell labels with corresponding RSI values are displayed on the chart.
Built-in alert conditions support TradingView notifications and strategy integration.
Indicator Value
Multi-dimensional alignment: combines trend, momentum, and market activity for comprehensive assessment.
High-precision signal reference: filters noise and provides clear entry indications.
Market activity monitoring: highlights extreme volume to reflect market participation.
Broad applicability: suitable for short-term, swing, and event-driven trading across various markets.
Grand Master's Candlestick Dominance (ATR Enhanced)### Grand Master's Candlestick Dominance (ATR Enhanced)
**Overview**
Unleash the ancient wisdom of Japanese candlestick charting with a modern twist! This comprehensive Pine Script v5 strategy and indicator scans for over 75 classic and advanced candlestick patterns (bullish, bearish, and neutral), assigning dynamic strength scores (1-10) to each for precise signal filtering. Enhanced with Average True Range (ATR) for volatility-aware body size validation, it dominates the markets by combining timeless pattern recognition with robust confirmation layers. Whether used as a backtestable strategy or visual indicator, it empowers traders to spot high-probability reversals, continuations, and indecision setups with surgical accuracy.
Inspired by Steve Nison's *Japanese Candlestick Charting Techniques*, this tool elevates pattern analysis beyond basics—think Hammers, Engulfing patterns, Morning Stars, and rare gems like Abandoned Baby or Concealing Baby Swallow—all consolidated into intelligent arrays for real-time averaging and prioritization.
**Key Features**
- **Extensive Pattern Library**:
- **Bullish (25+ patterns)**: Hammer (8.0), Bullish Engulfing (10.0), Morning Star (7.0), Three White Soldiers (9.0), Dragonfly Doji (8.0), and more (e.g., Rising Three, Unique Three River Bottom).
- **Bearish (25+ patterns)**: Hanging Man (8.0), Bearish Engulfing (10.0), Evening Star (7.0), Three Black Crows (9.0), Gravestone Doji (8.0), and exotics like Upside Gap Two Crows or Stalled Pattern.
- **Neutral/Indecision (34+ patterns)**: Doji variants (Long-Legged, Four Price), Spinning Tops, Harami Crosses, and multi-bar setups like Upside Tasuki Gap or Advancing Block.
Each pattern includes duration tracking (1-5 bars) and ATR-adjusted body/shadow criteria for relevance in volatile conditions.
- **Smart Confirmation Filters** (All Toggleable):
- **Trend Alignment**: 20-period SMA (customizable) ensures entries align with the prevailing trend; optional higher timeframe (e.g., Daily) MA crossover for multi-timeframe confluence.
- **Support/Resistance (S/R)**: Pivot-based levels with 0.01% tolerance to confirm bounces or breaks.
- **Volume Surge**: 20-period volume MA with 1.5x spike multiplier to validate momentum.
- **ATR Body Sizing**: Filters small bodies (<0.3x ATR) and long bodies (>0.8x ATR) for context-aware pattern reliability.
- **Follow-Through**: Ensures post-pattern confirmation via bullish/bearish closes or closes beyond prior bars.
Minimum average strength (default 7.0) and individual pattern thresholds (5.0) prevent weak signals.
- **Entry & Exit Logic**:
- **Long Entry**: Bullish average strength ≥7.0 (outweighing bearish), uptrend, volume spike, near support, follow-through, and HTF alignment.
- **Short Entry**: Mirror for bearish dominance in downtrends near resistance.
- **Exits**: Bearish/neutral shift, or fixed TP (5%) / SL (2%)—pyramiding disabled, 10% equity sizing.
- Backtest range: Jan 1, 2020 – Dec 31, 2025 (editable). Initial capital: $10,000.
- **Interactive Dashboard** (Top-Right Panel):
Real-time insights including:
- Market phase (e.g., "Bullish Phase (Avg Str: 8.2)"), active pattern (e.g., "BULLISH: Bullish Engulfing (Str: 10.0, Bars: 2)"), and trend status.
- Strength breakdowns (Bull/Bear/Neutral counts & averages).
- Filter status (e.g., "Volume: ✔ Spike", "ATR: Enabled (L:0.8, S:0.3)").
- Backtest stats: Total trades, win rate, streak, and last entry/exit details (price & timestamp).
Toggle mode: Strategy (live trades) or Indicator (signals only).
- **Advanced Alerts** (15+ Toggleable Types):
Set up via TradingView's "Any alert() function call" for bar-close triggers:
- Entry/Exit signals with strength & pattern details.
- Strong patterns (≥2 bullish/bearish), neutral indecision, volume spikes.
- S/R breakouts, HTF reversals, high-confidence singles (≥8.0 strength).
- Conflicting signals, MA crossovers, ATR volatility bursts, multi-bar completions.
Example: "STRONG BULLISH PATTERN detected! Strength: 9.5 | Top Pattern: Three White Soldiers | Trend: Up".
**Customization & Usage Tips**
- **Inputs Groups**: Strategy toggles, confirmations, exits, backtest dates, and 15+ alert switches—all intuitively grouped.
- **Optimization**: Tune min strengths for aggressive (lower) or conservative (higher) trading; enable/disable filters to suit your style (e.g., disable S/R for scalping).
- **Best For**: Forex, stocks, crypto on 1H–Daily charts. Test on historical data to refine TP/SL.
- **Limitations**: No external data installs; relies on built-in TA functions. Patterns are probabilistic—combine with your risk management.
Master the candles like a grandmaster. Deploy on TradingView, backtest relentlessly, and let dominance begin! Questions? Drop a comment.
*Version: 1.0 | Updated: September 2025 | Credits: Built on Pine Script v5 with nods to Nison's timeless techniques.*
ICT SMC ToolKit By VIPIN | High Volume OB + BOS, CHoCH, FVG📌 ICT Smart Money Concepts (SMC) Toolkit
This indicator provides traders with a complete Smart Money Concepts (SMC) framework inside a single tool. It helps to visualize institutional trading footprints and market structure shifts more effectively without the need to combine multiple separate indicators.
---
🔹 Key Features
1. **Order Blocks (OB):**
- Automatically detects bullish and bearish order blocks.
- Helps traders identify institutional buying/selling zones where large players may be active.
- Volume filters included for more accurate signals.
2. **Break of Structure (BOS):**
- Marks market structure breaks that indicate continuation of the trend.
- Useful for identifying trend direction and confirming order flow.
3. **Change of Character (CHoCH):**
- Highlights early signs of market reversals.
- Shows when price transitions from bullish to bearish order flow (or vice versa).
4. **Fair Value Gaps (FVG):**
- Automatically draws zones of price imbalance.
- Traders can use these zones as possible retracement or entry levels.
- Helps to spot areas where price may return to "rebalance".
5. **Liquidity Sweeps:**
- Identifies liquidity grabs around recent highs and lows.
- Useful for spotting stop hunts and smart money manipulation before reversals.
6. **Custom Presets & Filters:**
- Users can toggle between OB-only, FVG-only, Sweep-only, or full SMC mode.
- Multiple color settings available for clear chart visualization.
---
🎯 Purpose of the Script
- Brings all major SMC tools (OB, BOS, CHoCH, FVG, Liquidity Sweep) together in one indicator.
- Reduces the need for multiple overlapping indicators.
- Helps traders simplify their workflow and keep charts clean.
- Focused on education, analysis, and market structure visualization.
---
⚠️ Disclaimer
This script is intended **for educational and analytical purposes only**.
It does not provide financial advice, trade recommendations, or guaranteed profits.
Traders should always manage their own risk and confirm setups with additional confluences.
---
ℹ️ Notes for Users
- This indicator works on multiple timeframes and instruments (Forex, Commodities, Indices, Crypto).
- Best used with a strong understanding of Smart Money Concepts (SMC) and ICT methodology.
- Combining this tool with your own analysis will provide the best results.
Reversal Scalper – Adib NooraniThe Reversal Scalper is an indicator designed to identify potential reversal zones based on supply and demand dynamics. It uses smoothed stochastic logic along with ATR bands, to reduce noise and highlight areas where momentum may be weakening, signaling possible market turning points.
🔹 Smooth, noise-reduced stochastic oscillator
🔹 Custom zones to highlight potential supply and demand imbalances
🔹 Non-repainting, compatible across all timeframes and assets
🔹 Visual-only tool — intended to support discretionary trading decisions
This oscillator assists scalpers and intraday traders in tracking subtle shifts in momentum, helping them identify when a market may be preparing to reverse — always keeping in mind that trading is based on probabilities, not certainties.
📘 How to Use the Indicator Efficiently
For Reversal Trading:
Buy Setup
– When the blue line dips below the 20 level, wait for it to re-enter above 20.
– Look for reversal candlestick patterns (e.g., bullish engulfing, hammer, or morning star).
– Enter above the pattern’s high, with a stop loss below its low.
Sell Setup
– When the blue line rises above the 80 level, wait for it to re-enter below 80.
– Look for bearish candlestick patterns (e.g., bearish engulfing, inverted hammer, or evening star).
– Enter below the pattern’s low, with a stop loss above its high.
🛡 Risk Management Guidelines
Risk only 0.5% of your capital per trade
Book 50% profits at a 1:1 risk-reward ratio
Trail the remaining 50% using price action or other supporting indicators
趨勢突破交易 [CK Trading] 趨勢突破交易
指標介紹
厭倦了在盤整中被反覆掃損,或在趨勢啟動時猶豫不決嗎?
市場上充斥著落後、充滿噪音的指標,它們讓交易者陷入「追高殺低」的困境,並在關鍵時刻提供錯誤的訊號。無數交易者因為被假突破欺騙、在無趨勢的行情中消磨掉本金而最終離場。
「趨勢突破交易 」 是一套專為解決這些核心痛點而設計的專業級交易輔助系統。它不是另一個簡單的移動平均線或傳統指標的組合,而是一個經過精心構建、旨在精準定位趨勢起點的決策框架。
核心特色 (Core Features)
智慧降噪核心 (Intelligent Noise-Reduction Core):
我們的系統內建一個先進的價格數據處理引擎,能有效過濾掉市場的隨機波動與噪音。它為您呈現出更平滑、更真實的潛在趨勢,讓您能洞察市場的主要流向,而不是被短期的價格毛刺所干擾。
動態動能偵測 (Dynamic Momentum Detection):
真正的趨勢始於動能的爆發。本指標配備了自適應的波動偵測模組,它能動態識別出市場從「盤整」到「趨勢」的關鍵轉折點。當價格展現出超越正常波動的突破性力量時,系統才會將其視為潛在的交易機會。
雙重驗證進場引擎 (Dual-Validation Entry Engine):
這是我們系統的獨家優勢。一個訊號的可靠性取決於多重條件的共振。我們的進場引擎要求**「趨勢方向」與「突破動能」**必須同時得到驗證,形成一致的信號。這種雙重確認機制極大地提高了訊號的可靠性,旨在為您過濾掉大量的假突破和弱趨勢。
趨勢鎖定濾波器 (Trend-Locking Filter):
一旦趨勢確立,最大的挑戰就是如何「抱住」獲利單。本系統內建趨勢鎖定功能,當一個明確的多頭或空頭訊號出現後,它會自動過濾掉逆勢的微小波動,幫助您專注於當前的主要趨勢,避免因市場的正常回調而被過早地洗出場。
這套系統能為您帶來什麼?
提升訊號勝率:透過獨家的雙重驗證機制,專注於高機率的交易機會。
清晰的進出場點:告別模棱兩可的猜測,系統以明確的視覺化標籤和線條,提供結構化的交易計畫(進場、停損、止盈目標)。
過濾市場噪音:讓您專注於真正重要的趨勢,而不是迷失在混亂的盤整行情中。
紀律化交易:內建基於市場波動率的風險管理工具,幫助您養成一致的倉位與風險控制習慣。
解放您的時間:搭配內建的警報功能,無需時刻盯盤,讓系統成為您24小時的市場監測哨兵。
本指標基於歷史數據回測,所示數據僅供參考,不保證未來獲利。使用者需自行承擔交易手續費、鏈上Gas費、波動與合約漏洞風險。指標僅為交易輔助,不構成投資建議,任何因使用本指標導致的損失,開發者不承擔責任。高波動市場交易風險極高,請審慎評估後使用。
Trend Breakout Indicator Introduction
Tired of being whipsawed in choppy markets and hesitating when a real trend begins?
The market is flooded with lagging, noisy indicators that trap traders into chasing highs and selling lows. Countless traders are ultimately forced out of the game, deceived by false breakouts and bleeding their capital in directionless, choppy conditions.
The Trend Breakout system is a professional-grade trading tool engineered specifically to solve these core challenges. This is not just another repackaged combination of standard indicators; it is a meticulously constructed framework designed to precisely identify the inception of a new trend.
Core Features
Intelligent Noise-Reduction Core:
Our system integrates an advanced data processing engine that effectively filters out random market noise and volatility spikes. It presents a smoother, more authentic view of the underlying trend, allowing you to see the market's true direction without being distracted by insignificant price chatter.
Dynamic Momentum Detection:
True trends begin with a burst of momentum. This indicator is equipped with an adaptive volatility module that dynamically identifies the critical transition from a consolidation phase to a trending phase. Only when price demonstrates exceptional force, breaking beyond its normal volatility threshold, is it considered a potential trading opportunity.
Dual-Validation Entry Engine:
This is the proprietary advantage of our system. A high-quality signal requires the confluence of multiple conditions. Our entry engine demands that both Trend Direction and Breakout Momentum are confirmed and aligned simultaneously. This dual-validation mechanism is designed to significantly increase the reliability of our signals, filtering out a vast majority of false breakouts and weak moves.
Trend-Locking Filter:
Once a trend is established, the greatest challenge is holding on to a winning position. The system features a built-in trend-locking mechanism. After a clear long or short signal is confirmed, it automatically filters out minor counter-trend fluctuations, helping you stay focused on the primary trend and avoid being prematurely shaken out by normal market pullbacks.
What This System Delivers to You
Higher-Probability Signals: Focus on high-conviction trade setups through our unique dual-validation engine.
Clarity and Confidence: Eliminate guesswork with a structured trading plan, featuring clear visual cues for your entry, stop-loss, and profit targets.
Market Noise Filtration: Allow you to focus on what truly matters—the underlying trend—instead of getting lost in chaotic market conditions.
Disciplined Trading: Foster consistent risk management habits with an integrated system based on real-time market volatility.
Free Up Your Time: Use the built-in alert functions so you don't have to watch the charts all day. Let the system act as your 24/7 market watchtower.
Bullish Harami / Engulfing with Arrows with alerts by StephBullish Candles that you can use to make alerts with.
HTF Big Candle ProjectionsWhat it does
This indicator overlays higher-timeframe (HTF) “big candles” at the right edge of any chart and keeps them perfectly parallel with price while you zoom or pan. In End-of-Chart (EOC) mode, all objects are anchored by bar index (not time) and clamped to TradingView’s ≤500 bars into the future rule, so they move 1:1 with the chart—no drift, no lag. A fallback mode preserves time-anchored labels if you prefer them.
Why it’s different / useful
Most MTF overlays drift when you scale or pan because they anchor by time or mix coordinate systems. This script anchors every end-of-chart object (bodies, wicks, OHLC guide lines, labels, range readout) in bar-index space, so the overlay scales identically to real bars. It also includes a safe-clamp to the 500-bar forward limit, automatic TF mapping for D/W/M charts, and optional projections from the previous HTF candle.
How it works (technical overview)
HTF data: The indicator fetches HTF OHLC using request.security() (no lookahead) and updates the current HTF candle live on each chart bar.
EOC placement (ON): Big candles are rendered with index-anchored boxes + wicks (box.new + line.new). X-positions are computed from bar_index + offset, then clamped to stay within the forward limit.
Fallback placement (OFF): Label coordinates switch to time-anchored for familiarity; candle bodies remain parallel via index logic.
OHLC helpers: Optional high/low/close guide lines extend right from the active HTF candle; OHLC labels and a range label can be placed to the side; a remaining-time widget shows how long until the HTF bar closes.
No lookahead / repaint caveat: The current HTF candle naturally evolves until it closes; that’s expected behavior for real-time HTF overlays.
Inputs & features
Place at end of chart (EOC mode toggle): index-anchored layout with ≤500-bar clamp.
Right Candle Timeframe: auto-map for D/W/M (D→W, W→M, M→3M) or set manually.
Offsets & width: right-edge offset (bars), left-candle offset, body width (bars), minimum gap between candles.
Wicks: show/hide (fallback mode draws wicks; index mode draws them via lines).
OHLC guide lines: toggle H/L/C, choose style/width/color, with right-side projection distance.
OHLC labels: side selection, text size, background/text colors, side offset.
Range label: toggle, side offset, size; option to show pip units (1/mintick).
Prev candle projections: optional HTF high/low lines from the left candle.
Remaining-time panel: live countdown to the HTF bar close.
Colors: bullish/bearish bodies and wicks.
How to use
Add to any chart (works best on intraday charts when viewing D/W/M candles).
Keep “Place at end of chart” ON for perfect parallel tracking while zooming/panning.
Choose Right Candle Timeframe (or use auto for D/W/M).
Adjust Body Width and Label/Line Offsets to taste. If you push offsets too far, the script auto-clamps objects to respect the 500-bar forward limit.
Optionally enable Prev Candle HL projections, OHLC labels, and the Range readout.
Publish with a clean chart so the overlay is easy to understand at a glance.
Notes & limitations
Forward plotting limit: TradingView only allows drawing ≤500 bars into the future. The script clamps all end-of-chart objects automatically; if you request more, it will shorten projections to remain compliant.
Sessions & symbols: Exotic sessions or illiquid symbols may produce uneven HTF boundaries. If needed, set the Right Candle Timeframe manually.
No signals, no promises: This is a visualization tool—it does not generate trade signals or promise performance. Use it alongside your own analysis and risk management.
Settings quick reference
EOC mode: ON (index-anchored) / OFF (time-anchored labels).
Right Candle TF: Auto D→W→M→3M or manual TF.
Offsets: Right edge, left candle, label/range/line projections.
Body Width: Candle thickness in bars.
Lines/Labels: OHLC guides, OHLC labels, Range label.
Prev HL: Previous HTF high/low projections.
Timer: Remaining time in the current HTF bar.
Colors: Bull/Bear bodies, wicks.
Disclaimer
For educational purposes only. Not financial advice. Past performance does not guarantee future results. Always test on your own and trade responsibly.
Author’s note on originality
This script focuses on bar-index anchored EOC rendering with comprehensive forward-clamping and dual label modes, aiming to solve the common drift/desync issues seen in MTF overlays during chart scaling.
Session AnchorsDescription
This indicator highlights the four main global trading sessions — London, New York AM, New York PM, and Asia — as color-coded boxes on the chart. Each session is defined by fixed start/end times (New York time) and dynamically updates with the evolving high and low during that interval. This provides a clear view of how volatility and structure shift as trading activity passes from one region to another.
How to use
• Works on any timeframe.
• Toggle sessions on/off based on your trading hours.
• Observe price behavior as one session closes and another opens.
• Use session boxes as context for liquidity, volatility, and structure analysis.
Originality
This script delivers a clean, customizable visualization of global market hours and session ranges, avoiding extra overlays so traders can isolate session-based behavior without distraction.
⚠️ Disclaimer
This indicator does not generate signals. It provides a structural mapping of global sessions for contextual analysis only.
HTF Candle (gajiev)HTF Candle (gajiev) is a simple and clean TradingView indicator that displays a single candlestick from a higher timeframe (HTF) on the right side of your chart. The candle can update in real time (current forming candle) or show the last completed one, depending on your preference.
Features:
Fixed timeframe options: 1h, 4h, 12h, 1D, 1W, 1M, 6M, 12M.
Customizable body, border, and wick (colors, thickness, visibility).
Option to display either the live candle or the previous closed candle.
Adjustable candle width and right offset for clean placement.
Why it’s useful:
Quickly visualize higher timeframe structure while working on lower charts.
Monitor the real-time development of the current HTF candle.
Use candle highs, lows, and body ranges as reference levels.
--------------------------------------
HTF Candle (gajiev) — простой и наглядный индикатор для TradingView, который отображает одну свечу выбранного старшего таймфрейма (HTF) справа от графика. Свеча обновляется в реальном времени (текущая формирующаяся) или фиксируется на предыдущей завершённой — в зависимости от настроек.
Возможности:
Поддержка фиксированных ТФ: 1ч, 4ч, 12ч, 1д, 1н, 1м, 6м, 12м.
Настройка тела, границ и фитиля свечи (цвета, толщина, отображение).
Отображение текущей или предыдущей свечи.
Настройка ширины свечи и отступа вправо для удобного анализа.
Для чего полезен:
Быстро оценить структуру старшего таймфрейма на младших графиках.
Наблюдать за формированием текущей HTF-свечи онлайн.
Использовать границы и экстремумы свечи как ориентиры для уровней и зон.
Candle Range Theory (CRT) +Candle Range Theory (CRT)+
Summary
Purpose: Projects a Higher Timeframe (HTF) candle’s range onto your current chart and adds a compact multi-timeframe confluence table to judge premium/discount, trend vs pullback, and alignment.
What it draws:
HTF Range: Active HTF High, Low, and the 50% Equilibrium (EQ) line. Range updates while the HTF bar is building and resets when a new HTF bar starts.
Confluence Table (optional): Up to 5 rows, each pairing a configurable HTF and LTF. Background tint shows premium/discount relative to that row’s HTF EQ. The row label reports directional state (bullish/bearish and pullback/continuation) using simple bar-close momentum checks and a configurable lookback.
How the Confluence Table works
Rows: Up to five independent HTF/LTF pairs (each row can be toggled on/off and configured).
Location: Price vs that row’s HTF EQ
Above EQ = Premium (maroon tint by default)
Below EQ = Discount (green tint by default)
Direction/State: A bar-close momentum read combined with HTF location to label:
Bullish continuation / Bearish continuation
Bullish pullback (upward momentum in discount) / Bearish pullback (downward momentum in premium)
Lookback control:
Uniform Lookback ON: HTF and LTF both use a 1-bar lookback (more responsive).
Uniform Lookback OFF: HTF uses a slightly longer lookback on higher frames for stability; LTF remains 1-bar for responsiveness.
Disclaimer:
This script is for educational and informational purposes only and does not constitute financial advice, investment advice, or trading recommendations. Trading involves substantial risk; you can lose some or all of your capital. Past performance or examples are not indicative of future results. The author provides no warranties regarding accuracy, completeness, or fitness for any purpose and disclaims liability for any losses arising from the use of this tool. Always use your own judgment, confirm on bar close, and consider multiple factors (e.g., volatility, liquidity, news) before taking any action. You are solely responsible for your trading decisions.
Vertical Lines @ Hour & :45vertical lines at hour and 45 past each hour
when manipulation is most likely to happen
知行短期趋势线(双EMA)Double EMA long and shortDouble EMA long and short K line crosses up and down to generate signals
8 EMA BundleThis indicator plots 8 key Exponential Moving Averages (EMAs) — 5, 8, 13, 20, 34, 50, 100, and 200 — in one script. These EMAs help traders analyze short, medium, and long-term market trends at a glance.
📌 Features:
Short-term EMAs (5, 8, 13, 20) highlight momentum and quick trend changes.
Medium-term EMAs (34, 50) confirm ongoing trends.
Long-term EMAs (100, 200) define the primary trend and major support/resistance.
Suitable for both intraday and swing trading.
This tool simplifies multi-EMA analysis, making it easier to spot crossovers, trend shifts, and pullback opportunities.
[delta2win] Liquidity Zone Map🔥 Liquidity Zone Map — Volume‑normalized pivot zones with adaptive ATR scaling
📊 What it does:
• Detects potential liquidity/liquidation zones above confirmed highs and below confirmed lows
• Draws dynamic zones whose height scales with ATR and whose color intensity scales with volume
• Zones extend right and terminate on rule‑based events (midline cross)
🔬 How it works (core formulas):
• Pivot detection: ta.pivothigh/ta.pivotlow with length L
• Zone height: H = max(ATR(T) × M, MinTicks)
• Intensity (volume‑normalized):
– Z‑Score mode: I = clamp((V − μ) / (σ + ε), 0..1)
– Piecewise mode: I = clamp(V ≤ μ ? V/μ : (V − μ) / (Vmax − μ + ε), 0..1)
• Gradient color: col = Gradient(I) (start → mid → end)
• Zone life‑cycle:
– Creation on new pivot (top/bottom)
– Right edge follows bar_index
– Termination when with Mid = (Top+Bottom)/2, or optional TTL timeout
• Analysis range: global or constrained (Bars Back or ±% price window). Color scaling can be global or range‑scoped.
🆕 What’s new/different:
• Selectable volume normalization (Z‑Score or Piecewise)
• Timeframe‑adaptive ATR multiplier
• Range‑scoped vs. global color scaling
• Optional midlines, borders, info legend, scale legend
• Optional TTL termination for zones (lifetime in bars)
• Object management (cleanup/pooling) for performance
🧭 How to use (suggested presets):
• 1–5m: L=2, T=200, M=0.25, Range=Bars Back 1000, Intensity=Piecewise
• 15–60m: L=3, T=200, M=0.20, Range=Bars Back 1500, Intensity=Piecewise
• 4h+: L=4, T=200, M=0.20, Range=Off, Intensity=Z‑Score
⚙️ Settings:
• Pivot length L, ATR length T, multiplier M, MinTicks
• Opacity: base/auto (min/max)
• Range: Bars Back | Price Range ±% | Off
• Scaling: global vs. range‑scoped
• Midlines/borders/legends on/off
💡 Usage notes:
• Smaller L → more reactive, less robust
• Larger M → longer‑lasting zones
• On higher TFs, constrain "Bars Back" for performance
⚠️ Limitations:
• Non‑predictive; regime/volatility dependent
• Data quality impacts intensity computation
[delta2win] ShockSentinel Early Warnings🚀 ShockSentinel Early Warnings — Advanced Multi-Symbol Shock Detection System
📊 UNIQUE METHODOLOGY:
This indicator implements a proprietary concordance-based shock detection system that goes beyond simple price movement analysis. Unlike basic pump/dump detectors, it uses a sophisticated multi-symbol correlation algorithm to validate signals across multiple assets simultaneously, significantly reducing false positives while maintaining sensitivity to genuine market shocks.
🔬 TECHNICAL APPROACH:
• Adaptive Threshold System: Automatically adjusts detection sensitivity based on timeframe using proprietary scaling algorithms:
- 1m: 0.5% threshold (ultra-sensitive for scalping)
- 3m: 1.0% threshold (high-frequency trading)
- 5m: 2.0% threshold (short-term momentum)
- 15m: 3.0% threshold (intraday swings)
- 1h: 6.0% threshold (daily moves)
- 4h+: 10.0% threshold (swing trading)
• Dual Detection Modes:
- Percent Mode: Calculates maximum percentage change within configurable lookback window (1-6 bars) using the formula: max(|(close - close ) / close * 100|) for i = 1 to window
- ATR-Normalized Mode: Uses Average True Range for volatility-adjusted detection across different market regimes: max(|close - close | / ATR) for i = 1 to window
• Concordance Algorithm: Proprietary multi-symbol validation system that requires minimum correlation count across up to 4 additional symbols, ensuring signals are validated by market-wide participation rather than isolated price movements
• Non-Repainting Architecture: Optional bar-close confirmation prevents false signals from intraday noise while maintaining real-time alert capability for immediate response
🎯 MATHEMATICAL FOUNDATION:
The core algorithm implements a sliding window maximum change detection:
Percent Change Calculation:
For each bar, the system calculates the maximum absolute percentage change over the specified window:
- PctChange = (close - close ) / close * 100
- MaxPct = max(|PctChange |) for i = 1 to window
- Signal triggers when MaxPct >= threshold
ATR-Normalized Calculation:
For volatility-adjusted detection:
- ATRChange = (close - close ) / ATR
- MaxATR = max(|ATRChange |) for i = 1 to window
- Signal triggers when MaxATR >= ATR_multiplier
Concordance Validation:
- Requires minimum N symbols showing same directional movement
- Validates signal strength through market participation
- Reduces false signals from isolated price movements
- Improves signal quality through correlation analysis
⚙️ ADVANCED FEATURES:
• Preset System: 7 pre-configured strategies with optimized parameters:
- Scalp (Ultra-Fast): 0.6x scaling, 2-bar window, real-time alerts
- Aggressive: 0.7x scaling, 2-bar window, real-time alerts
- Balanced: 1.0x scaling, 3-bar window, confirmed signals
- Conservative: 1.3x scaling, 4-bar window, confirmed signals
- Volatility-Adaptive: ATR mode, 7-period ATR, 2.5x multiplier
- Momentum (Intraday): ATR mode, 10-period ATR, 2.0x multiplier
- Swing (Slow): ATR mode, 14-period ATR, 2.8x multiplier
• Real-time vs Confirmed: Choose between immediate alerts or bar-close confirmation
• Visual Analytics: Integrated signal history table with concordance gauges and performance metrics
• Professional Alerts: Multi-format alert system (Compact, Extended, Plain, CSV) with Telegram integration and customizable messaging
💡 UNIQUE VALUE PROPOSITION:
Unlike simple price change detectors, this system provides:
1. Multi-Symbol Validation: Validates signals across multiple correlated assets, ensuring market-wide participation
2. Adaptive Thresholds: Automatically adjusts sensitivity based on timeframe and market conditions
3. Dual Signal Types: Provides both real-time and confirmed signal options for different trading styles
4. Comprehensive Analytics: Includes signal history, concordance gauges, and performance tracking
5. Advanced Concordance: Uses sophisticated correlation algorithms for signal validation
6. Professional Integration: Built-in Telegram support with customizable message formats
🔧 USAGE INSTRUCTIONS:
1. Select Preset: Choose appropriate strategy for your trading style and timeframe
2. Configure Symbols: Add up to 4 additional symbols for concordance validation
3. Set Concordance: Adjust minimum count (higher = more selective, lower = more sensitive)
4. Choose Mode: Select between real-time or confirmed signals based on your risk tolerance
5. Enable Alerts: Configure notification preferences and message formats
6. Monitor Performance: Use integrated tables to track signal quality and concordance
📈 PERFORMANCE CHARACTERISTICS:
• Optimized for Crypto: Designed specifically for high-volatility cryptocurrency markets
• Multi-Timeframe: Effective across all timeframes from 1-minute to 4-hour charts
• False Signal Reduction: Multi-symbol validation significantly reduces false positives
• Flexible Sensitivity: Adjustable thresholds allow customization for different market conditions
• Real-time Capability: Provides immediate alerts for fast-moving markets
• Confirmation Option: Bar-close confirmation for conservative trading approaches
⚠️ TECHNICAL CONSIDERATIONS:
• Real-time Mode: May generate multiple alerts per bar; use cooldown settings to manage frequency
• Data Dependencies: Concordance requires data availability for all configured symbols
• Market Regimes: ATR mode provides better performance in varying volatility conditions
• Signal Quality: Higher concordance requirements reduce false signals but may miss opportunities
• Latency: request.security calls depend on data provider latency and availability
🎯 TARGET MARKETS:
• Cryptocurrency Trading: High-volatility crypto markets with frequent shock events
• Scalping: Short-term trading strategies requiring immediate signal detection
• Swing Trading: Medium-term strategies benefiting from confirmed signals
• Portfolio Management: Multi-asset correlation analysis for risk management
• Algorithmic Trading: Systematic strategies requiring reliable signal validation
📊 SIGNAL INTERPRETATION:
• Green Arrows (Pump): Upward price shock with sufficient concordance
• Red Arrows (Dump): Downward price shock with sufficient concordance
• Large Markers: Confirmed signals with high concordance
• Small Markers: Early signals with lower concordance
• Background Colors: Visual intensity based on concordance strength
• Tables: Historical signal tracking with performance metrics
Candlestick Pattern [sma]Detects and labels well-known Japanese candlestick formations directly on the chart, helping traders visually spot potential market reversals or continuation signals.
Bullish patterns
Hammer · Bullish Engulfing · Morning Star · Piercing Pattern · Dragonfly Doji · Bullish Harami
Bearish patterns
Shooting Star · Bearish Engulfing · Evening Star · Dark Cloud Cover · Gravestone Doji · Bearish Harami · Hanging Man
Features
Adjustable label size (tiny, small, normal)
Optional tooltip with candle data (open, close, high, low)
Built-in alerts when any bullish or bearish pattern is detected
This indicator is designed for educational and analytical purposes and does not provide financial advice.
Ripster EMA Cloud A+ Setup + Exit Plan + Buy/Sell TriggersUsing the Ripster Cloud Method, a conditional system that helps with entries and exits
Swing Cross NotifierThis indicator identifies swing highs and lows on the chart and draws horizontal lines at these levels.
It is designed to send an alert when the price first crosses a swing level and then closes with a reversal candle within a user-defined number of bars.
**How to Use for Alerts:**
1. Add the indicator to your chart.
2. Create an Alert.
3. In the "Condition" dropdown, select this script's name.
4. Choose "Any alert() function call".
5. Set the trigger to "Once Per Bar Close".
1300 BarThe "1300 Bar" indicator is a simple yet effective tool designed to highlight the 1:00 PM EDT (New York time) bar on your chart with a yellow background. This helps traders and analysts easily identify this key intraday mark for strategic analysis or decision-making.
Key Features:
Time-Specific Highlighting: Targets the 13:00 EDT bar using the America/New_York timezone, ensuring accuracy regardless of your chart's display timezone. Focuses solely on coloring the bar yellow, providing a clear visual cue without additional overlays. Works on any symbol and timeframe, though best viewed on 1-minute to 30-minute charts for precise 13:00 EDT alignment.
How to Use:
Add the "1300 Bar" indicator to your chart. The 13:00 EDT bar will be highlighted yellow automatically. Scroll to historical data (e.g., 1:00 PM EDT on prior trading days) to see the highlighted bar.
Notes:
The indicator uses the America/New_York timezone, automatically adjusting for Daylight Saving Time (e.g., UTC-4 in EDT as of now). For best results, apply to a low timeframe (e.g., 1-min to 30-min) to ensure a bar exists at 13:00 EDT. No additional customization options are included, keeping the focus on the yellow bar highlight. Ideal for day traders or analysts who need a straightforward way to mark the 1:00 PM EDT period on their charts!
Gabriel's Triple Impulsive Candle DetectorTriple Impulsive Candle Detector
Overview, critical for catching impulse moves in either direction.
SPX Income System is a rule-based framework designed to identify frequent, high-probability income opportunities on the S&P 500 cash index (SPX/SPY) using 0-DTE credit spreads. The core engine operates on 30-minute Impulse bars during the morning trade window and can be extended with optional modules for afternoon, overnight, and weekly swing opportunities. The methodology centers on a single, mechanical price event called a Impulse Bar (small wick to body ratio) to minimize discretion and keep execution consistent.
🔶What’s Inside
Core Strategy: SPX Daily Income
Timeframe: 3 kinds of 30-min bars.
Window: 09:30–11:30 ET (new setups only)
Instrument: SPX (cash index, XSP/SPY), executed with $5-wide credit spreads on 0-DTE SPX options
Bullish Setup
Entry on the break of setup bar high
Use an at the money put credit spread
Bearish Setup
Entry on the break of setup bar low
Use an at the money call credit spread
Intent: Enter shortly after setup; manage to >80% max profit or EOD expiration if SPX. If it's another stock, then a 1.5~2x D ATR is suggested.
Signal: An Impulse Bar that closes at/near the high (bullish) or low (bearish) of its 30-min range, verified with Volume above average.
Risk—limited to the risk of the option spread.
The spread is 5 dollars wide
The premium collected is $2.50
$5 - 2.50 = $2.50, or the breakeven point.
Which means what's left is the risk involved.
The risk is $2.50 per spread
🔶Why the 30-Minute Chart?
The 30-minute bar is the “chart of choice” because it filters noise and aligns with morning institutional flows.
On alternate timeframes, price often retraces half the candle body before following through.
On the 30m: the follow-through is more consistent, especially with 2x volume confirmation.
Adding support/resistance levels at the impulse bar hl2 strengthens execution.
This strategy has roots in MTF Crypto, and SPX/SPY TPO-Order Block logic.
🔶Bonus Examples:
🔹Afternoon SPX Income
Second chance window (typically 14:00–15:00 ET) if the morning trade has exited, 60-min bars instead.
🔹ORB 30 – Opening Range Break (first 30 min)
Classic ORB with an income twist for early action when time is limited. This can be entered on the 15 minute candle break.
🔹ORB 60 – Opening Range Break (second 30 min)
A follow-up ORB variant for traders who miss the first window, verified on a 60-min chart. Enter on the final 3 minutes of the hourly candle or wait for a pullback.
🔹B&B – Bed & Breakfast (Overnight)
Identifies income setups via the 10-minute chart in the last 30–60 minutes of the session with next-day open as the exit.
🔹JB – Just Breakfast
Uses the prior day’s end-of-day setup to enter at the opening bell, then manages into the daily income flow. I trade 0-date, and selling an ITM spread either partially or fully then gives me a head start on the daily income potential. This may work better if you either roll or the ORB 30 also meets the criteria.
🔹All-Day-Scalper
Converts income logic into 30-minute scalps using deep 75/80 delta ITM options as synthetic stock (requires >PDT). Meaning that the option will behave as if it is stock. This strategy comes with a warning: it's better if you can day trade.
🔹Tag ’n Turn—Weekly SPX Income Swing
Weekly swing overlay using 30-min Pulse Bars + Bollinger Bands (50) for 3–7 day swings and as a filter for daily income alignment. I use the TTM Squeeze and obtain similar results. Target heuristics (directional days) with a fired squeeze.
Part of my Gamma Scalping System.
🔶The Impulse Bar (10~40% Wick to Body Bar)
An Impulse Bar is a candle that:
Bullish: Closes higher than it opens and within the top ~10% of its high-low range.
Bearish: Closes lower than it opens and within the bottom ~10% of its high-low range.
Practical tip: Many traders mark 0-10-80-100% levels on the candle range (custom Fib or ruler) to quickly validate Pulse Bars. If it's accompanied by a volume spike, then it's better quality.
🔶SPX Daily Income—Rules & Execution
🔹Rules
Chart: 30 min, no indicators required. Pure PA, TPO-based strategy.
New Setups: 09:30–11:30 ET
Instrument: SPX signals, executed via SPX 0-DTE credit spreads ($5 wide, $2 for SPY)
🔹Entries
Bullish: Enter on a break of the setup bar high, use ATM put credit spread
Bearish: Enter on a break of the setup bar low, use ATM call credit spread
🔹Exits
Primary: Close at >80% of max profit (credit received)
Alternate: Hold to EOD expiration
Stop: Risk of the spread (defined by width – credit)
Target Heuristics (directional days)
Optional: 1.5–2× ATR as a reference (mirrors directional follow-through that often accelerates the >80% outcome)
Credit Guidance (typical)
OTM short strike ≈ $2.40
ITM short strike ≈ $2.50–$2.80
2× ITM short strike ≈ $2.80–$3.00
Trade Management (PDT-Aware)
If under PDT, many prefer set-and-forget with GTC buy-back (e.g., $0.20) or EOD expiration.
1:00 PM ET time check
Trending day ±$15–$20 SPX: usually no action, run to expiration
Non-trending day ±$5 SPX: consider taking 40–60% if available (optional) to avoid 50/50 end-of-day decay dynamics
Rationale: Without a favorable trend by ~1 PM, the odds of a late push decline; choosing a controlled partial outcome can improve long-run expectancy and reduce variance.
🔶Examples (Conceptual)
🔹Bullish: A green dot marks a bullish impulse bar; minor follow-through pushes the spread to >80% quickly.
🔹Bearish: A red triangle marks a bearish Impulse Bar; a modest down move is often sufficient for >80–95%.
🔹Tag ’n Turn—Weekly Swing (Filter & Stand-Alone)
Chart: 30-minute
Overlay: Bollinger Bands 50 (mean-reversion lens), or KC or TTM.
Setup: Tag of upper/lower band + Pulse Bar, enter on break of Pulse Bar in that direction
Target: Opposite Bollinger Band
Use Case: 3–7 day swings and a directional filter for Daily Income signals (trade with weekly bias)
🔹Afternoon SPX Income: Same Pulse logic, 14:00–15:00 ET window.
🔹ORB 30 / ORB 60: Uses 30/60-min opening range; can relax Pulse threshold (up to 40% bars) for early positioning when time-constrained.
🔹B&B (Overnight): Lasts 30–60 minutes; closes the next day at open or after the first 30-minute bar.
🔹JB (Just Breakfast): Enter at open using prior day’s signal; optionally roll into Daily Income if eligible.
🔹All-Day-Scalper: Deep ITM options (~0.75–0.80 delta) as synthetic stock.
Entry: Long ITM option
Stop: ~40% of option price
Target: 70–150% or 30-minute timed exit
Note: Time-intensive; for accounts above PDT.
🔹Brokerage: Must efficiently support SPX options; a <10% spread between OI and Volume is ideal. Preferences vary; Tastytrade, Thinkorswim, and Interactive Brokers are common choices. Use what’s reliable, available in your region, and cost-effective.
🔶Alerts (Check-in)
Bullish Impulse Detected (within 09:30–11:30 ET)
Bearish Impulse Detected (within 09:30–11:30 ET)
Afternoon Pulse (14:00–15:00 ET)
ORB 30/60 Trigger
B&B Window Open (last 60 mins)
JB at Open
Tag ’n Turn: Band Tag + Impulse (Bull/Bear)
🔶Inputs (Typical)
Session windows (morning, afternoon, last hour) ~5~15 Average Bar
Impulse threshold (strict 10% vs relaxed up to 40% for ORB variants)
Marker/label styles (bull/bear colors, dots vs arrows)
Filters (optional ATR TP, band touch BB(50-SMA, 2 Stdv.) for Tag ’n Turn)
Alert toggles (on-close for webhooks)
🔶Best Practices
One playbook, many Doors: Start with daily income; add afternoon or B&B/JB only after you’re consistent.
Credit discipline: Don’t chase poor pricing; stick to the credit guidance.
Time awareness: If no trend by ~1 PM ET, consider variance control.
Weekly bias: When using Tag ’n Turn, align daily trades with the weekly swing direction for added confluence.
Risk is defined as width – credit = max risk per spread. Size, accordingly, 1~2%.
🔶Disclosures & Risk
This is not financial advice. Options involve risk and are not suitable for all investors. Past performance (including backtests or theoretical studies) does not guarantee future results. Slippage, fills, assignment risk, and latency can materially impact outcomes. Trade a plan you fully understand and always size for durability. On the Daily, the Impulse bars, are often a signal that you should plan for it to return back to half of the Candle's body, and plan accordingly. Plot a horizontal support/resistance level and see how price reacts to it. Keep house-money, and use 1~2% Risk, reduce exposure when VIX is low and increase it when VIX is high.
TL;DR (Summary)
Signal: 30-min Pulse Bar (strict 10% close in range)
Window: 09:30–11:30 ET (new setups)
Execution: 0-DTE $5-wide SPX credit spreads
Exit: >80% max profit or EOD
Add-ons: Afternoon, ORB 30/60, B&B/JB overnights, All-Day-Scalper, Tag ’n Turn weekly swing/filter
Philosophy: Fully rule-based, minimal discretion, production-line consistency 0-date.
Ramen & OJ V1Ramen & OJ V1 — Strategy Overview
Ramen & OJ V1 is a mechanical price-action system built around two entry archetypes—Engulfing and Momentum—with trend gates, session controls, risk rails, and optional interval take-profits. It’s designed to behave the same way you’d trade it manually: wait for a qualified impulse, enter with discipline (optionally on a measured retracement), and manage the position with clear, rules-based exits.
Core Idea (What the engine does)
At its heart, the strategy looks for a decisive candle, then trades in alignment with your defined trend gates and flattens when that bias is no longer valid.
Entry Candle Type
Engulfing: The body of the current candle swallows the prior candle’s body (classic momentum shift).
Momentum: A simple directional body (close > open for longs, close < open for shorts).
Body Filter (lookback): Optional guard that requires the current body to be at least as large as the max body from the last N bars. This keeps you from chasing weak signals.
Primary MA (Entry/Exit Role):
Gate (optional): Require price to be above the Primary MA for longs / below for shorts.
Exit (always): Base exit occurs when price closes back across the Primary MA against your position.
Longs: qualifying bullish candle + pass all enabled filters.
Shorts: mirror logic.
Entries (Impulse vs. Pullback)
You choose how aggressive to be:
Market/Bars-Close Entry: Fire on the bar that confirms the signal (respecting filters and sessions).
Retracement Entry (optional): Instead of chasing the close, place a limit around a configurable % of the signal candle’s range (e.g., 50%). This buys the dip/sells the pop with structure, often improving average entry and risk.
Flip logic is handled: when an opposite, fully-qualified signal appears while in a position, the strategy closes first and then opens the new direction per rules.
Exits & Trade Management
Primary Exit: Price closing back across the Primary MA against your position.
Interval Take-Profit (optional):
Pre-Placed (native): Automatically lays out laddered limit targets every X ticks with OCO behavior. Each rung can carry its own stop (per-rung risk). Clean, broker-like behavior in backtests.
Manual (legacy): Closes slices as price steps through the ladder levels intrabar. Useful for platforms/brokers that need incremental closes rather than bracketed OCOs.
Per-Trade Stop: Choose ticks or dollars, and whether the $ stop is per position or per contract. When pre-placed TP is on, each rung uses a coordinated OCO stop; otherwise a single hard stop is attached.
Risk Rails (Session P&L Controls)
Session Soft Lock: When a session profit target or loss limit is hit, the strategy stops taking new trades but does not force-close open positions.
Session Hard Lock: On reaching your session P&L limit, all orders are canceled and the strategy flattens immediately. No new orders until the next session.
These rails help keep good days good and bad days survivable.
Filters & How They Work Together
1) Trend & Bias
Primary MA Gate (optional): Only long above / only short below. This keeps signals aligned with your primary bias.
Primary MA Slope Filter (optional): Require a minimum up/down slope (in degrees over a defined bar span). It’s a simple way to force impulse alignment—green light only when the MA is actually moving up for longs (or down for shorts).
Secondary MA Filter (optional): An additional trend gate (SMA/EMA, often a 200). Price must be on the correct side of this higher-timeframe proxy to trade. Great for avoiding countertrend picks.
How to combine:
Use Secondary MA as the “big picture” bias, Primary MA gate as your local regime check, and Slope to ensure momentum in that regime. That three-layer stack cuts a lot of chop.
2) Volatility/Exhaustion
CCI Dead Zone Filter (optional): Trades only when CCI is inside a specified band (default ±200). This avoids entries when price is extremely stretched; think of it as a no-chase rule.
TTM Squeeze Filter (optional): When enabled, the strategy avoids entries during a squeeze (Bollinger Bands inside Keltner Channels). You’re effectively waiting for the release, not the compression itself. This plays nicely with momentum entries and the slope gate.
How to combine:
If you want only the clean breaks, enable Slope + Squeeze; if you want structure but fewer chases, add CCI Dead Zone. You’ll filter out a lot of low-quality “wiggle” trades.
3) Time & Market Calendar
Sessions: Up to two session windows (America/Chicago by default), with background highlights.
Good-Till-Close (GTC): When ON, trades can close outside the session window; when OFF, all positions are flattened at session end and pending orders canceled.
Market-Day Filters: Skip US listed holidays and known non-full Globex days (e.g., Black Friday, certain eves). Cleaner logs and fewer backtest artifacts.
How to combine:
Run your A-setup window (e.g., cash open hour) with GTC ON if you want exits to obey system rules even after the window, or GTC OFF if you want the book flat at the bell, no exceptions.
Practical Profiles (mix-and-match presets)
Trend Rider: Primary MA gate ON, Slope filter ON, Secondary MA ON, Retracement ON (50%).
Goal: Only take momentum that’s already moving, buy the dip/sell the pop back into trend.
Structure-First Pullback: Primary MA gate ON, Secondary MA ON, CCI Dead Zone ON, Retracement 38–62%.
Goal: Filter extremes, use measured pullbacks for better R:R.
Break-Only Mode: Slope ON + Squeeze filter ON (avoid compression), Body filter ON with short lookback.
Goal: Only catch clean post-compression impulses.
Session Scalper: Tight session window, GTC OFF, Interval TP ON (small slices, short rungs), per-trade tick stop.
Goal: Quick hits in a well-defined window, always flat after.
Automation Notes
The system is built with intrabar awareness (calc_on_every_tick=true) and supports bracket-style behavior via pre-placed interval TP rungs. For webhook automation (e.g., TradersPost), keep chart(s) open and ensure alerts are tied to your order events or signal conditions as implemented in your alert templates. Always validate live routing with a small-size shakedown before scaling.
Tips, Caveats & Good Hygiene
Intrabar vs. Close: Backtests can fill intrabar where your broker might not. The pre-placed mode helps emulate OCO behavior but still depends on feed granularity.
Slippage & Fees: Set realistic slippage/commission in Strategy Properties to avoid fantasy equity curves.
Session Consistency: Use the correct timezone and verify that your broker’s session aligns with your chart session settings.
Don’t Over-stack Filters: More filters ≠ better performance. Start with trend gates, then add one volatility filter if needed.
Disclosure
This script is for educational purposes only and is not financial advice. Markets carry risk; only trade capital you can afford to lose. Test thoroughly on replay and paper before using any automated routing.
TL;DR
Identify a decisive candle → pass trend/vol filters → (optionally) pull back to a measured limit → scale out on pre-planned rungs → exit on Primary MA break or session rule. Clear, mechanical, repeatable.