ShaPick: EMA 9/21 & VWAPBUY signal generates when lower EMA crosses above higher EMA and price is above VWAP & SELL signal generates when lower EMA crosses below higher EMA and price is below VWAP.Stratégie Pine Script®par alruwwaduae0
Apex Channel [Lite] | MyViewLabApex Channel Pro is a precision-engineered trend-following system designed to help traders identify high-probability entry points while filtering out market noise. This script combines advanced statistical regression with volatility-based momentum analysis to provide a clear, objective view of the market state. 🧠How It Works (The Logic) This indicator is built upon three core mathematical components: 1. The Apex Channel Unlike standard linear regression, the Apex Channel calculates a logarithmic curve of best fit over a lookback period (default 100 bars). This allows the channel to adapt more naturally to the compounding nature of asset prices. Green Channel: The curve is sloping upwards (Bullish Trend). Red Channel: The curve is sloping downwards (Bearish Trend). 2. Momentum Filter We utilize a proprietary momentum algorithm that measures the distance between price and a quadratic decay function. This separates legitimate bullish volatility from random noise. Bullish Signal: Bullish volatility exceeds the signal line. 3. Smart RSI Confirmation To prevent buying into exhausted trends, the system requires the Relative Strength Index (RSI) to be above its moving average and a baseline (50) before validating any signal. 🎯Features in this Lite Version Visual Trend Channel: Instantly see if the market is in an Uptrend or Downtrend. High-Precision Buy Signals: Green "BUY" labels appear only when Trend, Momentum, and RSI conditions align. Smart Cooldown: After a signal is generated, the system enforces a 15-bar cooldown period to prevent signal clutter and focus on the primary move. Market Status Dashboard: A professional panel in the bottom-right corner displaying the real-time health of the market (Trend, Momentum, and RSI status). 🚀 Limitations & Pro Version This is the LITE (Educational) version. It is designed to help you master the ENTRY. However, professional trading requires mastering the EXIT and RISK MANAGEMENT. The full Pro Strategy (available separately) includes: 📊 Automated Backtesting: Verify the strategy's win rate and profit factor on historical data. 💰 Trailing Stops: Dynamic exit lines that move up with price to lock in profits. ⚖️ Auto Risk Calculation: Automatically calculates position size based on your risk tolerance (e.g., 2% per trade). 📉 Sell Signals: Clear "Take Profit" and "Stop Loss" alerts. (For access to the Pro features, please check the link inside the indicator Settings.) ⚠️ Disclaimer Educational Use Only: This script is for educational purposes and does not constitute financial advice. No Repainting: All signals are confirmed at the close of the bar. Risk Warning: Trading involves significant risk. Always use proper risk management.Indicateur Pine Script®par MyViewLab0
EdgeGate Liquidity State - Session Liquidity Tracker🟣 EdgeGate™ — Liquidity State™ “Liquidity has a state. Trade the active one.” EdgeGate™ — Liquidity State™ is a session-based liquidity tracker designed to keep your chart focused on what still matters. Unlike traditional session high/low indicators that permanently clutter your chart, this tool dynamically tracks only the latest active liquidity pools for: Asia London (AM Open) US (AM) Once liquidity is swept, levels transition according to your selected behavior. 🔥 Core Concept Markets rotate liquidity. When a session’s high or low is taken, its purpose is often fulfilled. EdgeGate™ reflects that by allowing liquidity to transition from: Active → Faded → Removed Your chart adapts as liquidity shifts — instead of accumulating outdated levels. ⚙️ Features 🕒 DST-Safe Session Tracking All sessions are based on America/New_York time, automatically adjusting for daylight savings. 🎯 Sweep Definition Control Choose how liquidity is considered “swept”: Wick — price trades through the level Close — candle must close beyond the level 🎛 After-Sweep Behavior Remove — delete levels immediately Fade — reduce intensity but keep visible Fade then Remove — fade first, remove based on rule 🔄 Removal Logic Any Side — one sweep removes Both Sides — wait for both high and low 🎨 Fade Scope Control Swept Side Only — only the taken side fades Both Lines — any sweep fades both 🧠 Smart Protection Optional guard to ignore sweeps on the same bar levels are drawn, preventing instant false removals. 📈 Designed For Liquidity-based traders ICT / SMC session traders Intraday futures and index traders Traders who want dynamic context instead of static clutter 🟣 About EdgeGate™ EdgeGate™ builds tools around one principle: Structure. Liquidity. Execution. We focus on developing precision-based session and liquidity frameworks designed for intraday traders who care about context, not clutter. This is Version 1.0.0 of the EdgeGate™ public toolkit — released free to the TradingView community. More session tools and execution-focused models coming soon. 🟣 Version EdgeGate™ — Liquidity State™ Version: 1.0.0 Release Type: Initial Public Release Status: Stable Build Philosophy: Active liquidity only Included in v1.0.0 Asia / London / US session tracking (DST-safe) Wick or Close sweep detection Fade / Remove / Fade-then-Remove logic Per-side fade control (High & Low independently) Configurable removal rules (Any Side / Both Sides) Active-session-only design 🟣 Release Standard (EdgeGate™ Framework) All EdgeGate™ public tools will follow a structured release format: Version number Release type (Major / Minor / Patch) Documented feature set Defined behavioral philosophy Transparent future roadmap 🆓 Open Source This script is released free and open-source for the community. You’re welcome to modify, improve, and build upon it respectfully. ⚠️ Disclaimer For educational purposes only. Not financial advice.Indicateur Pine Script®par adam_knorr13114
Adit - LONG circlesput a circle when to go long on a chart. helps to find the exact candle of when to go long.Indicateur Pine Script®par aditisvegeta0
MTF ZigZag with Customizable RaysMTF ZigZag with Live Tracking (v6) Documentation This indicator is a sophisticated market structure tool designed for TradingView (Pine Script v6). It combines traditional ZigZag logic with Multi-Timeframe (MTF) analysis, Horizontal Support/Resistance Rays, and a Real-time Tracking Line. 1. Three Core Features ① Multi-Timeframe (MTF) Analysis Displays ZigZag patterns from higher timeframes (e.g., 1-hour ZigZag on a 5-minute chart). Advantage: Allows you to see the "Big Picture" without the noise of lower timeframe price action, helping you stay aligned with the primary trend. ② Horizontal Rays (Support & Resistance) Automatically draws horizontal lines extending to the right from confirmed ZigZag peaks (Highs) and troughs (Lows). Advantage: Identifies key price levels that act as Support or Resistance. These are excellent for spotting potential breakout zones or reversal areas. ③ Live Tracking Line Solves the "lag" issue inherent in standard ZigZag indicators. It draws a line from the last confirmed pivot point directly to the current real-time price. Advantage: Visualizes the current "unconfirmed" wave. You can see exactly how the current momentum compares to previous market structure in real-time. 2. How the Logic Works Detection Criteria The script identifies market pivots based on two primary settings: Depth: The minimum number of bars required where the price is the highest/lowest in that range. Deviation (%): The minimum percentage price change required to validate a new wave. Confirmed vs. Temporary Solid Lines: Confirmed ZigZag waves that have met the Depth and Deviation criteria. Dashed Lines (Live): The "Live Tracking" line. This moves with the current price and represents a wave that has not yet been locked in. 3. Parameter Settings Parameter Description Timeframe Specify the timeframe to pull data from (leave empty for current chart). Deviation (%) The sensitivity of the wave. Smaller values catch minor swings; larger values catch major trends. Depth The lookback period for pivot detection. Larger values result in smoother, larger waves. Horizontal Rays Customize colors, width, and styles (Solid, Dotted, Dashed) for High/Low levels. Live Tracking Style Adjust the appearance of the real-time line follow the current price.Indicateur Pine Script®par ukontya0
Forex Cross-Asset Correlation Mapper Forex Cross-Asset Correlation Mapper — an indicator for tracking correlations between major currency pairs and the US Dollar Index (DXY). The indicator automatically detects the currency pair on the current chart and calculates a rolling Pearson correlation with DXY in real time. What it shows: Heatmap (matrix) — visualizes correlations between all enabled pairs. Green indicates positive correlation, red indicates negative. Cells with anomalies are highlighted with a yellow marker. Correlation plot — the dynamic correlation of the current pair with DXY over time. The yellow line represents the mean value, red dashed lines mark the normal range boundaries (±N standard deviations). When an anomaly is detected, the chart background is highlighted in yellow. Info panel — displays the current correlation value, mean, deviation in sigma units, and status (Normal / ANOMALY). An anomaly is triggered when the correlation moves beyond N standard deviations from its rolling mean. This signals a breakdown in the typical relationship between the pair and the dollar. Settings: correlation period, anomaly threshold, mean calculation period, enable/disable each pair individually. Supported pairs: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD + DXY (DX1!). Indicateur Pine Script®par Smart-Day-Trader1
Gold Wick Enhanced Gold Wick Enhanced – Indicator Description Gold Wick Enhanced is a smart price-action indicator designed to detect strong wick formations (candlestick rejections) and highlight potential reversal zones, especially useful for Gold (XAUUSD) and lower timeframes. The indicator analyzes candle structure by measuring: Upper and lower wick size Candle body size Wick-to-body strength ratio This helps traders identify areas where liquidity grabs and price rejection may occur. Key Features ✅ 1) Strong Wick Detection Automatically detects candles with unusually long upper or lower wicks compared to the candle body, signaling possible market rejection and reversal behavior. ✅ 2) Buy & Sell Wick Signals Displays clear on-chart signals: BUY Wick when a strong lower wick appears (possible bullish reversal) SELL Wick when a strong upper wick appears (possible bearish reversal) ✅ 3) Wick Zone Boxes The indicator automatically draws price boxes around important wick levels to mark potential support/resistance zones where price may react again. ✅ 4) Confirmation Filter Includes an optional candle confirmation mode to reduce false signals by only triggering signals after the candle is fully closed. ✅ 5) Optional Volume Filter A volume confirmation option is available, allowing signals only when volume is above the average, improving signal quality during active market conditions. ✅ 6) Golden Wick Alerts Special “Golden Wick” conditions are detected when wick behavior becomes extremely strong, helping traders identify high-probability reversal moments. Best Use This indicator performs best on: XAUUSD (Gold) Lower timeframes (1m, 3m, 5m) Volatile market sessions (London / New York) Disclaimer This indicator is a technical tool and does not guarantee profitable trades. Always combine it with proper risk management and confirmation strategies.Indicateur Pine Script®par iqraa8881
Triple EMA (7/25/100) Triple EMA (7 / 25 / 100) – Trend Alignment & Bias Tool This script plots three Exponential Moving Averages (7, 25, and 100) to help identify market bias and trend alignment. EMA 100 (Blue, thick) → Primary bias / higher timeframe control EMA 25 (Orange) → Intermediate trend direction EMA 7 (Yellow) → Short-term momentum How to use: Bullish alignment: 7 > 25 > 100 → Strong uptrend structure Bearish alignment: 7 < 25 < 100 → Strong downtrend structure Price above 100 EMA → Buyers in control Price below 100 EMA → Sellers in control This tool is best used for trend continuation setups and filtering trades in conjunction with structure, displacement, or Fair Value Gaps (FVGs). Designed for clean, bias-first decision making without indicator clutter.Indicateur Pine Script®par k57dqbbnnx1
Smart Swing Indicator The Problem with Most Charts Every trader knows the feeling. You're staring at a chart, candles flickering, and you're not quite sure what you're looking at. Is this a trend? A reversal? Noise? The problem isn't you. It's that raw price action hides its structure. The market moves in swings—rhythmic expansions and contractions—but standard charts don't show them. You're left guessing where one move ends and another begins. Swing charting solves this. It's a method that cuts through the noise and reveals the market's actual footprint: where buyers took control, where sellers pushed back, and where the next move might begin. The challenge? True swing chart tools have been locked behind expensive software—$150/month platforms, $3,000/year institutional packages. Or they've been attempted on TradingView with incomplete logic that breaks in real market conditions. This indicator exists to change that. What This Indicator Does Smart Swing Indicator LITE implements mechanical swing chart rules directly on your TradingView chart. No external software. No subscription. No complexity. When you add it to any chart, you'll immediately see swing lines connecting significant highs and lows according to objective rules. These aren't arbitrary trendlines you draw yourself—they're calculated automatically based on how each bar relates to the one before it. The result is clarity. Where you once saw a jumble of candles, you now see structure: upswings and downswings, inside bars that pause the action, outside bars that signal potential shifts. How Swings Form The indicator follows strict mechanical rules that remove subjectivity from your analysis: Up Bars An up bar forms when both the high AND low exceed the previous qualifying bar. This AND logic—requiring both conditions—filters out the false signals that plague simpler approaches. Down Bars A down bar forms when both the high AND low fall below the previous qualifying bar. The same AND logic applies, ensuring only genuine directional moves register. Inside Bars Inside bars are ignored entirely. They represent consolidation—the market catching its breath, buyers and sellers in temporary equilibrium. This indecision doesn't define direction, so the swing continues as if they don't exist, preserving the larger structure. Outside Bars Outside bars are where most indicators fail. The bar exceeds both the high and low of the previous bar—so which direction wins? This indicator uses "wait and see" logic: it holds a pending state until the next qualifying bar reveals the answer. Outside Bar Continuation: If price resumes the prior trend direction, the indicator shows the intraday path—a distinctive zigzag revealing where the market tested the opposite direction but was rejected. Outside Bar Reversal: If the outside bar marks a genuine trend change, the swing extends to its extreme before reversing, showing the exact level where market direction shifted. [ Your Preference Traders disagree on how to handle outside bars. The indicator lets you choose: - Mark as Continuation — Shows the zigzag path where price tested the opposite direction before resuming the trend (default) - Mark as Reversal — Treats the outside bar as a pivot point, reversing the swing at its extreme - Skip Entirely — Ignores outside bars completely, waiting for cleaner signals There's no "correct" answer—it depends on your charting philosophy and how much detail you want to see. Visual Styles You can display swing lines in two styles depending on your visual preference: Rectangular: Lines move horizontally to the swing point, then vertically to the next level. This style emphasizes the price levels themselves. Diagonal: Lines connect swing points directly. This style emphasizes the angle and momentum of each move. Both show the same underlying structure—choose whichever helps you read the chart more naturally. What You See on Your Chart Labels appear at each swing point showing the data that matters: the price range of the swing, the absolute price level, and the duration in days. This information appears cleanly at each turning point, giving you immediate context without cluttering your chart. Inside bars and outside bars can be highlighted with distinct colors, so you always know which bars are actively participating in the swing structure and which are in consolidation or pending states. Works Everywhere The indicator functions on any market TradingView supports—stocks, forex, futures, crypto, commodities—and on any timeframe from 1-minute scalping charts to monthly position trading views. Decimal precision adjusts automatically based on the instrument. A forex pair displays pips correctly; a stock displays dollars and cents; Bitcoin displays appropriate precision for its price range. Who This Is For If you've never used swing charting before, this is your introduction. The visual clarity alone will change how you see price action. You'll start noticing structure that was always there but hidden beneath the noise. If you're familiar with swing concepts but tired of drawing lines manually or paying for external software, this brings the method home to TradingView where it belongs. And if you're evaluating whether swing charting fits your trading style, this free version gives you everything you need to decide—no commitment, no trial period, no pressure. The Philosophy Behind the Design Markets generate endless data. The question isn't how to see more—it's how to see what matters. This indicator doesn't try to predict anything. It doesn't generate buy or sell signals. It simply reveals the structure that's already present in price action and lets you—the human—decide what to do with that information. That's intentional. The best tools don't replace your judgment; they clarify the situation so your judgment can work with better information. Getting Started Add the indicator to any chart. The default settings work well for most situations. If you want to adjust colors, line styles, or label content, everything is customizable in the settings panel. Spend time with it. Watch how swings form and complete. Notice how inside bars pause the action and outside bars create moments of decision. The patterns will start to make sense quickly. Explore the settings panel to customize colors, line styles, and label content to your preference. For Traders Ready for More This LITE version covers the essential swing charting foundation. For traders who want deeper analysis—multi-day swing periods, price and time ratios, comprehensive alerts, data export—there's a PRO version that extends these foundations with professional-grade tools. But start here. Master the basics. The structure is the same; PRO simply adds more ways to measure and act on it.Indicateur Pine Script®par SmartSwingTools4
Smart Buy/Sell Signal by donutfinoHere is a complete, formatted description ready for you to copy and paste into the TradingView publishing window. I have structured this to meet TradingView's House Rules, which require a detailed explanation of the logic behind the script to ensure it provides educational value to the community. --- ### **Smart Buy/Sell Signal** The **Smart Buy/Sell Signal** is a hybrid trend-following system designed to filter market noise and provide clear entry and exit points. By combining Moving Averages, Standard Deviation (Volatility), and Average True Range (ATR), this indicator creates a dynamic trailing trend line that adapts to changing market conditions. #### **How It Works** This script operates on a three-stage logic system to determine the trend direction: **1. The Baseline (Moving Average)** The core of the calculation begins with a user-selectable Moving Average (MA). You can choose between SMA, EMA, WMA, or the HullMA (for reduced lag). This establishes the mean price of the asset. **2. Volatility Detection (Bollinger Logic)** The script calculates a Standard Deviation channel around the chosen MA. * **Upper Band:** * **Lower Band:** Price breaking these bands suggests a potential volatility expansion and trend initiation. **3. The Trend Line & ATR Filter** This is the unique "Smart" component. Instead of simply flipping on a moving average cross, the script uses the **Average True Range (ATR)** to calculate a trailing stop-loss line: * **In an Uptrend:** If the price is above the Upper Band, the trend line tracks `Low - ATR`. It will only move up, never down, acting as a trailing support. * **In a Downtrend:** If the price is below the Lower Band, the trend line tracks `High + ATR`. It will only move down, acting as trailing resistance. **The Signals** * **Smart Buy:** Triggered when the trailing trend line flips from acting as resistance to support (Trend becomes positive). * **Smart Sell:** Triggered when the trailing trend line flips from acting as support to resistance (Trend becomes negative). --- #### **Features & Settings** * **MA Type:** Choose your preferred baseline. * *SMA:* Simple and standard. * *EMA:* Weighs recent data more heavily. * *WMA:* Weighted Moving Average. * *HullMA:* Very fast and responsive, reduces lag significantly. * **MA Period:** Adjust the length of the lookback period (Default: 21). * **BB Deviations:** Controls how strictly the price must break out to influence the trend (Default: 1.0). * **ATR Filter Period:** Controls the sensitivity of the trailing line (Default: 5). * **Visuals:** Toggle Buy/Sell labels on or off to keep your chart clean. #### **How to Use** This indicator is best used as a **Trend Following** tool. 1. **Entry:** Wait for a "Smart Buy" label and the line to turn green. 2. **Hold:** Stay in the trade as long as the line remains green. The line acts as a dynamic stop-loss level. 3. **Exit:** Close the position when the "Smart Sell" label appears or price closes below the trend line. *Note: Like all trend indicators, this works best in trending markets. In a flat or chopping market, consider increasing the MA Period or BB Deviations to filter out false signals.* --- **Alerts Included** You can set up server-side alerts for: * `Smart Buy Alert` * `Smart Sell Alert` ---Indicateur Pine Script®par tothemoonfx63
Block-Based Visual Logic Builder FrameworkThis strategy demonstrates a modular, block-based approach to strategy design in Pine Script. While TradingView does not support true drag-and-drop strategy builders, this script is structured to simulate a visual logic builder by separating trading logic into independent, configurable blocks. Each block represents a conceptual component (trend, momentum, volatility, session, and risk), allowing users to enable, disable, or modify individual modules for testing and experimentation. Visual Logic Builder Concept The strategy is organized into distinct logic blocks: Session Block - controls when trades are allowed Trend Block - defines directional bias Momentum Block - confirms directional strength Volatility Block - filters for sufficient market movement Risk Block - standardized ATR-based stop and target logic This structure mirrors how visual trading systems and drag-and-drop interfaces organize logic into reusable components. How It Works Market conditions are evaluated through separate logic blocks. Each block can be enabled or disabled using inputs. Final entry decisions are based on the combined output of active blocks. All exits are managed through a centralized risk block using ATR-based stops and fixed risk-reward. Purpose This script is intended as a structural template for building and testing modular trading systems. It emphasizes clarity, execution realism, and repeatable logic rather than optimization or signal density. Usage Notes Results depend on symbol, timeframe, volatility regime, and selected block settings. Users are encouraged to experiment with different combinations of blocks and validate behavior across multiple markets before relying on any configuration.Stratégie Pine Script®par AIScripts0
Bit Secure Gama Blast + snipper theeta decay)⚡ Bit Secure – Gamma Blast + Sniper Theta Decay NIFTY Options | Greeks-Based Smart Signals Bit Secure – Gamma Blast + Sniper Theta Decay ek advanced options-focused TradingView indicator hai jo Delta, Gamma aur Theta behavior ke through high-probability intraday & expiry trades identify karta hai. Ye indicator ATM Straddle logic par kaam karta hai aur specially NIFTY weekly options ke liye design kiya gaya hai. 🔍 Core Logic (Behind the Scenes) Indicator real Greeks nahi, balki price-based smart proxies use karta hai jo live market me reliable behavior dikhate hain: • Delta → Directional strength • Gamma → Sudden momentum / expansion • Theta → Time decay (expiry edge) • Straddle Change → Volatility & premium expansion / contraction 🟢 STRADDLE BUY – Gamma Blast BUY signal tab generate hota hai jab: ✔ Delta strong ho (directional intent) ✔ Gamma spike kare (explosive move) ✔ Straddle premium increase ho ✔ Clear momentum confirmation mile 👉 Best for trend days & breakout sessions 🔴 EXPIRY DECAY SELL – Sniper Mode SELL signal sirf expiry day (Thursday) par aata hai jab: ✔ Delta neutral ho (directionless market) ✔ Gamma weak ho ✔ Straddle premium gir raha ho ✔ Theta positive ho (fast decay) 👉 Best for expiry theta decay scalping 🧠 Smart Features ✅ Auto ATM Strike Detection (NIFTY based) ✅ One-Shot Signal System (No signal spam) ✅ BUY / SELL Mode Toggle ✅ Live Greeks Dashboard ✅ Clean & Minimal Chart Labels 🛠 How to Use 1️⃣ Chart par NIFTY index lagao 2️⃣ Weekly ATM CE & ATM PE symbols manually paste karo 3️⃣ Mode select karo → BUY ya SELL 4️⃣ Signal aaye → trade only in that direction 5️⃣ SL = premium structure / personal RR rules 🎯 Best Suitable For • NIFTY Weekly Options • ATM Straddle Traders • Expiry Day Scalping • Greeks-Based Strategy Users ⚠️ Disclaimer Ye indicator educational & analytical purpose ke liye hai. Options trading high risk hoti hai — proper risk management & capital discipline zaroor follow karein.Indicateur Pine Script®par devh6974
MACD,EMA Signals [Non-Repainting]MACD,EMA Signals MACD,EMA Signals MACD,EMA Signals Indicateur Pine Script®par bhavneetsinghwalia0
Modular Trend Pullback StrategyThis strategy focuses on trading pullbacks within established trends. Instead of entering immediately when a trend forms, it waits for a temporary retracement and then looks for confirmation before placing a trade. The goal is to improve entry timing while keeping risk controlled. Core Idea Markets often move in waves. During a strong trend, price tends to retrace toward a short-term average before continuing in the dominant direction. This script attempts to participate in those continuation moves. How It Works 1. Trend Identification Two exponential moving averages (EMAs) define direction. Fast EMA above Slow EMA → bullish environment Fast EMA below Slow EMA → bearish environment 2. Pullback Condition In an uptrend, price must retrace below the fast EMA. In a downtrend, price must retrace above the fast EMA. This avoids chasing extended moves. 3. Break Confirmation After a pullback, the strategy waits for price to break the previous candle’s high (for longs) or low (for shorts). This acts as confirmation that momentum is returning in the direction of the trend. 4. Risk Management Stop-loss and take-profit levels are based on ATR (Average True Range), allowing exits to adapt to current volatility. A configurable risk-reward ratio defines profit targets. Key Features Non-repainting logic Entries only when flat (no stacking positions) ATR-based dynamic stop and target levels Commission and slippage included for more realistic backtests Structured, modular logic for easier testing and adjustment Suitable Market Conditions This type of approach generally performs best in: Trending environments Instruments with sustained directional movement Timeframes where pullbacks are clearly visible It may underperform in sideways or low-volatility markets. Notes This script is intended for research and testing purposes. Results will vary depending on symbol, timeframe, and market regime. Always evaluate performance across multiple market conditions before considering live execution.Stratégie Pine Script®par AIScripts0
FAILED 9 BACK TEST This indicator, FAILED 9 , is a high-precision volatility expansion strategy designed for the SPY, QQQ, and IWM indices. It focuses on institutional liquidity sweeps occurring during the NYSE pre-market and the high-volume opening hour. Strategy Overview The core logic identifies a "liquidity trap" formed between 8:00 AM and 9:00 AM EST. By tracking the 50% midline of this range, the strategy enters trades when price action sweeps the initial range boundaries and then reverts to the mean. How to Trade It The Sweep: Wait for a green (bullish) or red (bearish) triangle to appear before 9:30 AM, indicating a range break. The Entry: Look for a retracement to the Yellow Midline. The script will label this "Entry" automatically. The Target: The primary goal is the opposite side of the 8:00 AM range (High or Low). The Cut-Off: If the target is not reached by 10:30 AM, the trade is closed.Indicateur Pine Script®par tashiakter36Mis à jour 8
Context Div Board【裁量トレーダーの羅針盤】Context Div Board ~トレンドの「構造」と「勢い」を可視化し、騙しを回避する環境認識ツール~ 1. はじめに(コンセプト) 「私が欲しかった機能を、1つの画面に凝縮しました」 トレードで最も重要なのは、サインが出たかどうかではなく「今、戦って良い相場なのか?」という環境認識です。 このインジケーターは、私が普段のトレードで監視している「ダウ理論(構造)」「MACD(転換の予兆)」「RCI(大局の勢い)」をすべて可視化し、プロの相場観をチャート上に再現するために開発しました。 2. 機能解説:なぜこの機能が必要なのか? ① SuperTrend × Zigzag (相場の「構造」を知る) 多くの人がトレンドの判断に迷いますが、このツールでは「SuperTrend」をベースにしたZigzagラインを自動描画します。 役割: 「高値・安値の切り上げ/切り下げ」を一目で把握できます。 メリット: 今が目線(買い・売り)のどちらなのか、迷うことがなくなります。SuperTrendはあくまで補助輪として、まずはZigzagで「相場の波」を捉えてください。 ② MACD ダイバージェンスの「予兆」検知 (転換を「先読み」する) トレンド転換や押し目買いのチャンスを、MACDのダイバージェンス(逆行現象)で捉えます。 特徴: 通常のツールは「確定後」にサインが出ますが、これは 「予兆(仮サイン)」をリアルタイムで表示 します。 メリット: 「あ、ダイバージェンスになりそうだ」と事前に察知できるため、水平線でのプライスアクション待ちや、早めのエントリー準備が可能になります。マルチタイムフレーム(上位足)のダイバージェンスも検知するため、大きな波の転換も見逃しません。 ③ 上位足RCIの「推移」表示 (大局の「勢い」を読む) 「上位足が上昇中」といっても、勢いよく上がっているのか、天井に張り付いているのかで意味合いは全く異なります。 新機能: 右上のテーブルに、上位足RCIの 「直近5本の推移」 を表示しました。 使い方: 80 → 82 → 81 → 80 (赤色): 「天井に張り付いている=強いトレンド継続中(押し目買いチャンス)」 -80 → -75 → -60 (緑色): 「底から立ち上がった=トレンド転換の初動」 このように、数値の「変化」を見ることで、プロと同じような環境認識が可能になります。 3. このインジケーターの使い方(実践シナリオ) このツールは、サインに従うだけの自動売買ツールではありません。以下のように、あなたの裁量判断を強力にサポートします。 【シナリオA:順張り(押し目買い・戻り売り)】 環境: 右上のテーブルで上位足RCIが「天井/底に張り付いている(強いトレンド)」ことを確認。 合図: メインチャートで 「Hidden(ヒドゥン)」 のダイバージェンス予兆が出現。 行動: トレンド継続のサインです。短期的な調整終了と判断し、エントリーを検討します。 【シナリオB:逆張り(天底・転換狙い)】 環境: 上位足RCIが「80以上から下落」または「-80以下から上昇」し始めたことを確認。 合図: メインチャートで 「Regular(レギュラー)」 のダイバージェンス予兆が出現し、Zigzagラインが反転。 行動: トレンドの終焉を示唆します。重要な水平線(サポレジ)と重なれば、優位性の高い逆張りポイントです。 4. 開発者からのメッセージ このインジケーターには、ダウ理論による目線付け、オシレーターによる過熱感、そしてダイバージェンスによるエントリー根拠と、裁量トレードに必要な要素を程よく詰め込みました。 「なんとなくのエントリー」を卒業し、 「根拠のあるトレード」 を身につけたい方にとって、これ以上ない補助輪となるはずです。ぜひ、あなたのチャート分析の相棒として活用してください。 ーーー Context Div Board ~ An environmental recognition tool to visualize trend "Structure" and "Momentum" and avoid false signals ~ 1. Introduction (Concept) "I packed all the features I wanted into a single screen." The most critical aspect of trading isn't just whether a signal appears, but determining "Is this a market worth trading in right now?" (Market Context). This indicator was developed to visualize "Dow Theory (Structure)," "MACD (Signs of Reversal)," and "RCI (Overall Momentum)"—everything I monitor in my daily trading—to reproduce a professional market perspective directly on your chart. 2. Feature Explanation: Why do you need these features? ① SuperTrend × Zigzag (Understanding Market "Structure") Many struggle with judging trends. This tool automatically draws Zigzag lines based on the "SuperTrend." Role: Instantly grasp "Higher Highs/Higher Lows" or "Lower Highs/Lower Lows." Benefit: Eliminates confusion about the current directional bias (Buy/Sell). Use SuperTrend as a guide, but focus on the Zigzag to catch the "Market Waves." ② MACD Divergence "Early Detection" (Forecasting Reversals) Catch trend reversals and dip-buying opportunities using MACD Divergence. Feature: Unlike standard tools that signal after confirmation, this tool displays "Provisional Signals" (Potential Divergences) in real-time . Benefit: Since you can sense "a divergence is likely forming" beforehand, you can prepare for entries early or wait for price action at horizontal lines. It also detects Multi-Timeframe (MTF) divergences, so you won't miss reversals in the larger waves. ③ HTF RCI "History" Display (Reading Overall "Momentum") Just saying "HTF is rising" isn't enough. Is it rising with momentum? Or is it stuck at the ceiling? The meaning is totally different. New Feature: The table in the top right displays the "History of the last 5 RCI values" . Usage: 80 → 82 → 81 → 80 (Red): "Stuck at ceiling = Strong trend continuing (Dip buying chance)." -80 → -75 → -60 (Green): "Rising from the bottom = Beginning of a trend reversal." By watching the "change" in values like this, you can perform environment recognition just like a pro. 3. How to Use (Practical Scenarios) This is not an auto-trading tool where you simply follow signals. It powerfully supports your discretionary judgment as follows: Environment: Confirm on the table that HTF RCI is "Stuck at Ceiling/Floor (Strong Trend)." Signal: A "Hidden" divergence warning appears on the main chart. Action: This is a sign of trend continuation. Judge that the short-term correction is over and consider an entry. Environment: Confirm HTF RCI has started "Falling from above 80" or "Rising from below -80." Signal: A "Regular" divergence warning appears on the main chart, and the Zigzag line flips. Action: This suggests the end of a trend. If it overlaps with a key Horizontal Line (Support/Resistance), it is a high-probability reversal point. 4. Message from the Developer I have packed this indicator with the essential elements for discretionary trading: Directional bias via Dow Theory, Overbought/Oversold conditions via Oscillators, and Entry Rationale via Divergence. For those who want to graduate from "random entries" and acquire "Logic-based Trading," this should serve as the ultimate set of training wheels. Please use it as your partner in chart analysis.Indicateur Pine Script®par sasakure_trade11Mis à jour 2
Trading Session Plotted by Marky [Fixed]Trading session inspired by Waqar of Titans of TomorrowIndicateur Pine Script®par Maychristine1
Advanced Divergence Hunter [JOAT]Advanced Divergence Hunter Introduction The Advanced Divergence Hunter is an open-source multi-oscillator indicator that simultaneously tracks divergences across six different momentum indicators: RSI, MACD, Stochastic RSI, CCI, MFI, and Williams %R. This mashup creates a comprehensive divergence detection system designed to identify momentum exhaustion and potential reversals by analyzing when multiple oscillators simultaneously show divergence from price action. The indicator addresses a critical limitation of single-oscillator divergence detection: false signals. By requiring confluence across multiple oscillators using different calculation methods, this tool significantly reduces false divergence signals and highlights only the most reliable momentum exhaustion patterns that occur when price and momentum fundamentally disconnect across multiple measurement frameworks. Chart showing multiple divergence signals across oscillators with dashboard on 1H timeframe Why This Mashup Exists This indicator combines six oscillators that detect divergences using fundamentally different methodologies: RSI: Momentum oscillator based on average gains vs losses MACD: Trend-following momentum using EMA convergence/divergence Stochastic RSI: Stochastic calculation applied to RSI for enhanced sensitivity CCI (Commodity Channel Index): Measures deviation from statistical mean MFI (Money Flow Index): Volume-weighted RSI showing buying/selling pressure Williams %R: Momentum indicator measuring overbought/oversold using highest high/lowest low Each oscillator responds to different market dynamics: RSI tracks momentum speed, MACD shows trend strength changes, Stochastic RSI catches early shifts, CCI identifies statistical extremes, MFI incorporates volume, and Williams %R uses price extremes. When multiple oscillators show divergence simultaneously, it indicates genuine momentum exhaustion rather than noise from a single calculation method. The mashup is justified because these oscillators use distinct mathematical approaches (rate of change, moving average convergence, stochastic, statistical deviation, volume-weighted, price extremes) that respond to different aspects of price movement. Confluence across multiple methods provides significantly higher reliability than any single divergence signal. Example showing all six oscillators with divergence markers and alignment indicators Core Components Explained 1. RSI Divergence Detection Standard RSI calculation with pivot-based divergence logic: rsi = ta.rsi(close, 14) // Identify swing points pivotHigh = ta.pivothigh(rsi, 5, 5) pivotLow = ta.pivotlow(rsi, 5, 5) // Regular Bullish Divergence // Price: Lower Low, RSI: Higher Low bullDiv = priceLow < prevPriceLow AND rsiLow > prevRSILow // Regular Bearish Divergence // Price: Higher High, RSI: Lower High bearDiv = priceHigh > prevPriceHigh AND rsiHigh < prevRSIHigh 2. MACD Histogram Divergence MACD histogram divergences often lead price divergences: = ta.macd(close, 12, 26, 9) // Histogram divergence detection // Bullish: Price LL, Histogram HL // Bearish: Price HH, Histogram LH The indicator plots MACD histogram with enhanced visualization and tracks divergences separately from RSI. 3. Stochastic RSI Divergence More sensitive than regular RSI, catches early momentum shifts: stochRSI = ta.stoch(rsi, rsi, rsi, 14) // K and D line divergences // Often diverges before regular RSI Stochastic RSI K and D lines are plotted, and divergences on both lines are tracked independently. 4. CCI Divergence Detection CCI measures price deviation from statistical mean: cci = ta.cci(close, 20) // CCI divergences indicate statistical exhaustion // Bullish: Price LL, CCI HL // Bearish: Price HH, CCI LH CCI divergences are particularly reliable at extreme levels (> +100 or < -100). 5. MFI Divergence (Volume-Weighted) MFI incorporates volume, making divergences more significant: // Calculate typical price typicalPrice = (high + low + close) / 3 // Money flow with volume rawMoneyFlow = typicalPrice * volume // MFI calculation mfi = 100 - (100 / (1 + positiveFlow / negativeFlow)) // Volume divergences often lead price // Bullish: Price LL, MFI HL (buying pressure increasing) // Bearish: Price HH, MFI LH (selling pressure increasing) MFI divergences are weighted more heavily in the confluence system because they incorporate volume. 6. Williams %R Divergence Williams %R uses highest high and lowest low: williamsR = -100 * (ta.highest(high, 14) - close) / (ta.highest(high, 14) - ta.lowest(low, 14)) // Divergences at extreme levels (-80 to -100 or -20 to 0) // Bullish: Price LL, Williams %R HL // Bearish: Price HH, Williams %R LH Williams %R divergences are most reliable when oscillator is in extreme zones. Divergence Confluence System The indicator tracks divergences across all six oscillators and calculates confluence: Divergence Confluence Score: - Single oscillator divergence: 1 point - Two oscillators: 2 points - Three oscillators: 4 points - Four oscillators: 7 points - Five oscillators: 11 points - All six oscillators: 15 points (MEGA divergence) Divergence classification: Weak Divergence: 1-2 oscillators (score 1-2) Moderate Divergence: 3 oscillators (score 4) Strong Divergence: 4 oscillators (score 7) Very Strong Divergence: 5 oscillators (score 11) MEGA Divergence: All 6 oscillators (score 15) The dashboard displays which oscillators are showing divergence and the total confluence score. Oscillator Alignment Analysis Beyond divergences, the indicator tracks oscillator alignment: Alignment Score: - RSI in healthy range (40-60 bull, 60-40 bear): +1 - MACD histogram direction: +1 - Stochastic RSI position: +1 - CCI direction: +1 - MFI level: +1 - Williams %R position: +1 Total Alignment: 0-6 points Alignment interpretation: 5-6 aligned: Strong momentum consensus 3-4 aligned: Moderate momentum 0-2 aligned: Weak or conflicting momentum Enhanced Dashboard System The indicator features an 11-row dashboard showing: Row 1: Overall momentum direction (BULL/BEAR/NEUTRAL) Row 2: Divergence confluence score with color coding Row 3: RSI value and divergence status Row 4: MACD histogram status Row 5: Stochastic RSI K value Row 6: CCI value and status Row 7: MFI value and divergence status Row 8: Williams %R value Row 9: Momentum strength (0-100) Row 10: Oscillator alignment (X/6 aligned) Row 11: Active divergences count Dashboard showing divergence confluence with individual oscillator breakdown Visual Elements Oscillator Lines: All six oscillators plotted with distinct colors Divergence Labels: "DIV" markers at divergence points, sized by confluence Confluence Markers: Large diamond shapes for MEGA divergences (6/6) Background Zones: Color-coded backgrounds for extreme conditions Overbought/Oversold Lines: Reference levels for each oscillator Zero/Midpoint Lines: Centerline references Histogram Bars: MACD histogram with gradient coloring Dashboard: Comprehensive table with all oscillator readings How Components Work Together The mashup creates layered divergence analysis: Layer 1 - Individual Detection: Each oscillator independently detects divergences Layer 2 - Confluence Calculation: System counts how many oscillators show divergence Layer 3 - Weighting: Volume-based divergences (MFI) weighted more heavily Layer 4 - Alignment Check: Verifies overall oscillator consensus Layer 5 - Extreme Zones: Identifies when divergences occur at statistical extremes Layer 6 - Signal Generation: Produces graded signals based on confluence strength Example scenario: Price makes higher high, but RSI, MACD, Stochastic RSI, and MFI all make lower highs (4/6 divergence). CCI and Williams %R are in extreme overbought zones. Confluence score is 7 (Strong Divergence), and dashboard shows 4 active divergences. This signals high-probability bearish reversal setup. Input Parameters Oscillator Settings: RSI Length: Period for RSI (default: 14) MACD Settings: Fast 12, Slow 26, Signal 9 Stochastic RSI Length: Period for Stoch RSI (default: 14) CCI Length: Period for CCI (default: 20) MFI Length: Period for MFI (default: 14) Williams %R Length: Period for Williams %R (default: 14) Divergence Settings: Pivot Lookback: Bars for pivot detection (default: 5) Min Confluence: Minimum oscillators for signal (default: 3) Show All Divergences: Display single-oscillator divergences (default: disabled) Show Only Strong: Display only 4+ confluence (default: enabled) Display Options: Show Dashboard: Toggle dashboard (default: enabled) Show Oscillators: Toggle oscillator plots (default: enabled) Show Background Zones: Toggle extreme zone coloring (default: enabled) Dashboard Position: Top-right, bottom-right, etc. How to Use This Indicator Step 1: Monitor Divergence Confluence Watch the dashboard divergence score. Wait for 3+ oscillators showing divergence (score 4+) before considering reversal trades. Step 2: Check Oscillator Extremes Divergences are most reliable when oscillators are in extreme zones (RSI > 70 or < 30, MFI > 80 or < 20, etc.). Step 3: Verify Alignment Check oscillator alignment score. Low alignment (0-2) with high divergence confluence suggests strong reversal potential. Step 4: Identify MEGA Divergences When all 6 oscillators show divergence (MEGA), it signals extremely high probability reversal setup. These are rare but very reliable. Step 5: Confirm with Price Action Wait for price action confirmation (reversal candlestick patterns, trendline breaks) before entering trades based on divergences. Step 6: Use for Exit Signals If holding trend-following position and strong divergence appears, consider taking profits or tightening stops. Best Practices Use on 15-minute to 4-hour timeframes for optimal divergence reliability Wait for 3+ oscillator confluence before acting on divergence signals MEGA divergences (6/6) are rare but extremely reliable - don't ignore them MFI divergences are particularly significant because they incorporate volume Divergences in strong trends often lead to pullbacks, not full reversals Combine with support/resistance levels for precise entry timing Hidden divergences signal trend continuation, regular divergences signal reversal Multiple consecutive divergences increase reversal probability Use oscillator alignment to gauge overall momentum health Indicator Limitations Divergences can persist for extended periods before reversal occurs Strong trends can continue despite multiple oscillator divergences Pivot-based detection means divergences are confirmed with lag False divergences can occur in choppy, ranging markets MEGA divergences are rare - waiting only for these may miss opportunities Oscillator calculations vary in sensitivity - some may diverge prematurely Requires understanding of each oscillator's characteristics No divergence system eliminates false signals entirely Performance varies across different markets and volatility regimes Technical Implementation Built with Pine Script v6 using: Six independent oscillator calculations Pivot-based divergence detection for each oscillator Confluence scoring algorithm with weighted components Oscillator alignment tracking system Enhanced 11-row dashboard with real-time updates Dynamic background zones for extreme conditions Anti-overlap logic for divergence labels Gradient coloring for MACD histogram The code is fully open-source and can be modified to adjust oscillator parameters, confluence thresholds, and visual preferences. Originality Statement This indicator is original in its multi-oscillator divergence confluence approach. While individual oscillators (RSI, MACD, Stochastic RSI, CCI, MFI, Williams %R) are established tools, this mashup is justified because: It tracks divergences across six oscillators using fundamentally different calculations The confluence scoring system quantifies divergence strength across multiple methods Integration of volume-weighted divergence (MFI) with price-based oscillators Oscillator alignment analysis provides momentum consensus measurement Enhanced dashboard presents complex multi-oscillator data clearly MEGA divergence detection identifies extremely rare, high-probability setups Each oscillator contributes unique divergence information: RSI shows momentum speed divergence, MACD shows trend strength divergence, Stochastic RSI catches early divergences, CCI shows statistical divergence, MFI shows volume-weighted divergence, and Williams %R shows price extreme divergence. The mashup's value lies in identifying when multiple independent calculation methods simultaneously show momentum exhaustion, significantly reducing false signals. Disclaimer This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Trading involves substantial risk of loss and is not suitable for all investors. Divergence indicators are analytical tools that identify potential momentum exhaustion, not guarantees of reversals. Divergences can persist for extended periods, and strong trends can continue despite multiple divergence signals. Past divergence performance does not guarantee future results. The confluence score is a mathematical calculation based on current oscillator readings, not a prediction of future price movement. High confluence scores do not ensure profitable trades. Market conditions change, and divergence patterns that worked historically may not work in the future. Always use proper risk management, including stop losses and position sizing appropriate for your account size and risk tolerance. Never risk more than you can afford to lose. Consider consulting with a qualified financial advisor before making investment decisions. The author is not responsible for any losses incurred from using this indicator. Users assume full responsibility for all trading decisions made using this tool. -Made with passion by officialjackofalltradesIndicateur Pine Script®par officialjackofalltrades10
Body Close Outside Prior Body - BOS Filtered (MTF) by JKStrategy: MTF Market Structure & Body Breakout (BOS Filtered) Overview This Pine Script strategy identifies high-probability trade entries by combining Price Action Engulfing/Breakout patterns with Multi-Timeframe Market Structure (BOS). It is designed for traders who want to follow the "Path of Least Resistance" by ensuring entries on a lower timeframe align with the trend of a higher timeframe. Key Features Multi-Timeframe (MTF) Filter: Automatically detects Break of Structure (BOS) on a higher timeframe (e.g., 15m) using Pivot Highs/Lows to determine the overall market bias. Body-Close Logic: Unlike standard engulfing patterns, this entry triggers specifically when a candle body closes entirely outside the price action of the prior candle's body, signaling strong momentum. Dynamic Risk Management: * Calculates position size automatically based on a fixed dollar amount ($200 by default) per trade. Adjustable Stop Loss source (Wick-based for safety or Body-based for tighter entries). Institutional Safeguards: * Daily Loss/Profit Limits: Stops trading once a specific dollar target or loss threshold is hit for the day. Loss Streak Protection: Automatically halts trading after a user-defined number of consecutive losses to prevent revenge trading. Post-Trade Cooldown: Forces a "wait period" (candle count) after an exit before a new entry can be taken. Session Filtering: Restricts trading to specific hours (e.g., NYSE Open) to avoid low-liquidity chop. Technical Logic Market Bias: The script tracks PivotHigh and PivotLow on the BOS Timeframe. A close above the last Pivot High sets a Bullish bias; a close below the last Pivot Low sets a Bearish bias. The Entry: Long: Market Bias is Bullish + Prior candle was Bearish + Current candle is Bullish + Current Close is higher than the prior candle's Body High. Short: Market Bias is Bearish + Prior candle was Bullish + Current candle is Bearish + Current Close is lower than the prior candle's Body Low. Exit Strategy: Uses a fixed Risk:Reward ratio (Default 1:2). The Stop Loss is dynamically placed at the recent swing (wick) or the candle open. Visual Dashboard The strategy includes a real-time HUD (Heads-Up Display) in the top-right corner of the chart, tracking: Current Trend Direction (MTF) Current Daily P&L (USD) Current Loss Streak vs. Maximum allowed.Stratégie Pine Script®par jonmoffitt2
Flat Candle Liquidity (Stable Anchored)This is a simple indicator I created to help identify bearish or bullish flat candles. Once they have been swept the symbol above or below should disappear. You can adjust the settings for the placement of marker.(if symbols seem to be floating right click on the chart where you see the marker and go to select Pinned to Scale--select Pinned to Right Scale or Pinned to Left Scale) The only thing I ask if you create a better version please leave a comment with an updated version so I can check it out!! Happy Trading Fam!! LixilsIndicateur Pine Script®par Lixils2
Best-Trading v1Best-Trading v1 is an advanced time-based trading strategy for TradingView that combines pattern-based trading, technical indicators, and sophisticated risk management. The strategy is designed for traders who want to automate their trading based on specific time windows and follow systematic buy/sell patterns over weekly cycles.Stratégie Pine Script®par JoeBester3
Blessings Day Fibs iOi 61.8 Alerts FibLevelsBlessings Day Fibs Alerts FibLevels descriptions in=s enough for a private invite only script. don't you think so?Indicateur Pine Script®par APlayer11
10/35/65/90 kevelslevels at 10/35/65/90 for support and resistance. have other indicatorsIndicateur Pine Script®par nicndahood1