Trend-o-MeterTrend-O-Meter: Smart Fractal Power Balance Indicator Fractal-based trend strength meter showing real-time bull/bear power. อินดิเคเตอร์ Pine Script®โดย Radjon67
SR-Zone v1Automatic Level Detection - Identifies strongest S/R levels through pivot clustering algorithm Strength-Based Filtering - Shows only the most significant zones based on touch count Adaptive Channel Width - Adjusts to market volatility (percentage-based calculation) Color-Coded Zones - Red (resistance), Green (support), Gray (price in channel) Breakout Alerts - Notifies when price breaks through established levels Optional Moving Averages - Display SMA/EMA overlays for trend confirmation Delta Reaction Zones Volume Flow Analysis - Calculates cumulative delta (buy volume - sell volume) Buy/Sell Pressure Stats - Shows percentage of positive vs negative flow in each zone Intelligent Zone Merging - Automatically combines overlapping zones for cleaner visualization ATR-Based Sizing - Zones adapt to current market volatility Flow Classification - Labels zones as "BUY FLOW", "SELL FLOW", or "MIXED" Reclaim Signals - Alerts when price reclaims support or re-enters resistance zones Net Delta Display - Shows total delta value for each zoneอินดิเคเตอร์ Pine Script®โดย JoeBester33
Trend Signals Scalper PRO by KDbuy and sell signal for scalper. gestion de riesgo pata hacer scalping อินดิเคเตอร์ Pine Script®โดย kevindavidortega20231137
Goldbach Start Finish V6.1 GoldBach Indicator -Creator - Trevor -Tks, Ajay and hopi's -29/35 > 47(50) Goldbach Market Algorithm — Unlocking Hidden Patterns This indicator explores the intersection between number theory and market behavior using the concept of Goldbach numbers — the idea that every even number greater than 2 can be expressed as the sum of two prime numbers. By mapping these numerical relationships into time and price structures, this tool detects potential zones of confluence and algorithmic reaction points often hidden to traditional technical indicators. Built with a proprietary engine, it analyzes how prime number pairs might influence market movements through cyclical timing, fractal levels, and algorithm-driven behavior. 🔹 Ideal for: Traders looking to explore unconventional edge, time-based analysis, and algorithmic footprints. 🔹 Works well with: Mini Index (WIN), major FX pairs, and high-volume assets. 🔹ALGO2 - 97-59-83-11-47-29 🔹ALGO1 - 100-89-41-3-17-71อินดิเคเตอร์ Pine Script®โดย lfpires26
Silverhawk Momentum SurgeSilverhawk Momentum Surge Precision momentum detection built for clarity and real edge. This script spots high-probability momentum shifts without chart clutter — perfect for 1H/4H trading on FX majors, Gold, and crypto. **Key Features:** • Smart Buy/Sell signals — triggered only on strong momentum acceleration (RSI + ROC) + volatility expansion • Candle strength filter — ignores weak/noisy moves, focuses on real conviction candles • Dynamic background glow — instant visual cue when momentum is building • Clean momentum histogram — shows acceleration strength at a glance • Non-repainting arrows — reliable, confirmed signals you can trust Designed for traders who want **focus**, not noise. Let's build momentum together. 🚀อินดิเคเตอร์ Pine Script®โดย SilverHawkSuite_25
GCM Hybrid SuperTrendTittle: GCM Hybrid SuperTrend (The Gold Bar Edge — Professional Trading System) "Like a Dead Ball saves a Batsman even if he is bowled-out, our Gold Bar at a Dead Point saves a Trader from Blowing Out." Overview In the world of trading, "Choppy Markets" are the ultimate account killers. Most trend-following indicators fail miserably during sideways movement, trapping traders with false signals and frequent stop-loss hits. GCM HST (Hybrid SuperTrend) is engineered specifically to act as your shield during market noise, ensuring you only participate when the trend has true momentum. The Philosophy: "Dead Ball Saves a Batsman" Our core logic is inspired by Cricket: Just like a batsman remains 'Not Out' even if he is bowled out on a Dead Ball, a trader using GCM HST remains protected during a false breakout. The Gold Bar at the Dead Point creates a safety window that must be breached before a trade is considered invalid, saving your account from "Blowing Out" due to temporary market spikes. Why GCM HST is different (and better) than Classical SuperTrend? • Noise Filtration (The Dead Point): Classical ST flips immediately when the price touches the line, often causing "whipsaws". GCM HST fixes a Gold Bar during the initial bars of a trend change to act as a buffer. • Hybrid Stability: It maintains the previous trend's baseline for a specific window, ensuring the trend has truly shifted before giving a signal. • Timeframe Intelligence: The Auto-Mode adapts sensitivity based on the chart's timeframe (1m, 5m, 15m, etc.), eliminating manual tuning. • Integrated Safety: Provides a specific Safety Exit alert to protect capital during sudden market reversals. To prove the superiority of the GCM HST, we analyzed its performance against the Classical ST. Here are the key advantages found: 1) False Signal Reduction: Classical ST traps traders in minor retracements, whereas GCM HST uses the Gold Bar to filter out nearly 40-50% of false signals. 2) Sideways Performance: While Classical ST suffers from frequent "Whipsaws" (Stop-loss hits), GCM HST stays neutral in the Dead Zone, preserving your capital. 3) Entry Precision: GCM HST provides surgical entry points confirmed only after the Safety Window, in minor retracements Safty Bar shows the loss cutting edge, unlike the standard version's immediate flips. 4) Account Protection: Our Hybrid logic is specifically designed to prevent "Blowing Out" during sudden market spikes. How to Trade with GCM HST? • Long Entry (BUY): Look for the Green Triangle and the Green Hybrid Line. Ensure the price stays above the Gold Bar during the safety window. • Short Entry (SELL): Look for the Red Triangle and the Red Hybrid Line. The price should remain below the Gold Bar. • The Safety Exit: If the price breaches the Gold Bar during the 'Dead Ball Window', exit the trade immediately. • Pro Tip: Use the Dashboard at the bottom-right to monitor trend strength and mode at a glance. Disclaimer: Trading involves significant risk. GCM HST is a technical analysis tool and does not guarantee profits. Past performance is not indicative of future results. Always use proper risk management and consult a financial advisor before trading. ________________________________________ (Description in Kannada Language) Tittle: ಜಿಸಿಎಂ ಹೈಬ್ರಿಡ್ ಸೂಪರ್ ಟ್ರೆಂಡ್ (ದಿ ಗೋಲ್ಡ್ ಬಾರ್ ಎಡ್ಜ್ — ಪ್ರೊಫೆಷನಲ್ ಟ್ರೇಡಿಂಗ್ ಸಿಸ್ಟಮ್) "ಡೆಡ್ ಬಾಲ್ನಲ್ಲಿ ಬೌಲ್ಡ್ ಆದರೂ ಬ್ಯಾಟ್ಸ್ಮನ್ ಹೇಗೆ ಬಚಾವಾಗುತ್ತಾನೋ, ಹಾಗೆಯೇ ಡೆಡ್ ಪಾಯಿಂಟ್ನಲ್ಲಿರುವ ನಮ್ಮ ಗೋಲ್ಡ್ ಬಾರ್ ಟ್ರೇಡರ್ನನ್ನು ಅಕೌಂಟ್ ಬ್ಲೋ-ಔಟ್ ಆಗದಂತೆ ಕಾಪಾಡುತ್ತದೆ." :ಪೀಠಿಕೆ: ಟ್ರೇಡಿಂಗ್ ಲೋಕದಲ್ಲಿ "ಸೈಡ್ವೇಸ್ ಮಾರ್ಕೆಟ್" ಎಂಬುದು ಟ್ರೇಡರ್ಗಳ ಪಾಲಿನ ಮೃತ್ಯುಪಾಸವಿದ್ದಂತೆ. ಬೆಲೆಯ ಏರಿಳಿತವಿಲ್ಲದ ಸಮಯದಲ್ಲಿ ಸಾಮಾನ್ಯ ಇಂಡಿಕೇಟರ್ಗಳು ಸುಳ್ಳು ಸಿಗ್ನಲ್ಗಳನ್ನು ನೀಡಿ ನಿಮ್ಮ ಸ್ಟಾಪ್ಲಾಸ್ ಹಿಟ್ ಮಾಡಿಸುತ್ತವೆ. ಇದಕ್ಕೊಂದು ಕ್ರಾಂತಿಕಾರಿ ಪರಿಹಾರವೇ GCM HST (Hybrid SuperTrend). ಇದು ಮಾರ್ಕೆಟ್ನ "ನಾಯ್ಸ್" ಫಿಲ್ಟರ್ ಮಾಡಿ, ಶಕ್ತಿಯುತವಾದ ಟ್ರೆಂಡ್ ಇದ್ದಾಗ ಮಾತ್ರ ನಿಮ್ಮನ್ನು ಮಾರುಕಟ್ಟೆಗೆ ಆಹ್ವಾನಿಸುತ್ತದೆ. ಸಿದ್ಧಾಂತ: "ಡೆಡ್ ಬಾಲ್ ಬ್ಯಾಟ್ಸ್ಮನ್ನನ್ನು ಉಳಿಸಿದಂತೆ" ಒಬ್ಬ ಬ್ಯಾಟ್ಸ್ಮನ್ ಡೆಡ್ ಬಾಲ್ನಲ್ಲಿ ಬೌಲ್ಡ್ ಆದರೂ ಅವನು ಹೇಗೆ 'ನಾಟ್ ಔಟ್' ಆಗಿರುತ್ತಾನೋ, ಹಾಗೆಯೇ GCM HST ಬಳಸುವ ಟ್ರೇಡರ್ ಮಾರುಕಟ್ಟೆಯ ಸುಳ್ಳು ಬ್ರೇಕ್ಔಟ್ಗಳಲ್ಲಿ ಎಂಟ್ರಿ ಪಡೆದರೂ, ಅವನು Dead Point (Gold Bar) ಮೂಲಕ ಸುರಕ್ಷಿತವಾಗಿರುತ್ತಾನೆ. ಇದು ನಿಮ್ಮ ಟ್ರೇಡಿಂಗ್ ಅಕೌಂಟ್ "ಬ್ಲೋ ಔಟ್" (ಖಾಲಿ) ಆಗುವುದನ್ನು ತಪ್ಪಿಸುವ ಅಭೇದ್ಯ ಕವಚ. ಕ್ಲಾಸಿಕಲ್ ಸೂಪರ್ಟ್ರೆಂಡ್ಗಿಂತ ಇದು ಹೇಗೆ ಭಿನ್ನ ಮತ್ತು ಶ್ರೇಷ್ಠ? • ನಾಯ್ಸ್ ಫಿಲ್ಟ್ರೇಶನ್: ಸಾಮಾನ್ಯ ಸೂಪರ್ಟ್ರೆಂಡ್ ಬೆಲೆ ಲೈನ್ ಮುಟ್ಟಿದ ತಕ್ಷಣ ಸಿಗ್ನಲ್ ಬದಲಾಯಿಸುತ್ತದೆ. ಆದರೆ GCM HST, ಆರಂಭದಲ್ಲಿ Gold Bar ಅನ್ನು ಫಿಕ್ಸ್ ಮಾಡುವ ಮೂಲಕ ಸುಳ್ಳು ಸಿಗ್ನಲ್ಗಳನ್ನು ತಡೆಯುತ್ತದೆ. • ಹೈಬ್ರಿಡ್ ಸ್ಟೆಬಿಲಿಟಿ: ಟ್ರೆಂಡ್ ಪಕ್ಕಾ ಆಗುವವರೆಗೂ ಹಳೆಯ ಬೇಸ್ಲೈನ್ ಅನ್ನು ಉಳಿಸಿಕೊಳ್ಳುವ ಮೂಲಕ ಹೆಚ್ಚಿನ ಭದ್ರತೆ ನೀಡುತ್ತದೆ. • ಟೈಮ್ಫ್ರೇಮ್ ಇಂಟೆಲಿಜೆನ್ಸ್: ಪ್ರತಿ ಟೈಮ್ಫ್ರೇಮ್ಗೆ ತಕ್ಕಂತೆ ತನ್ನ ಸೆನ್ಸಿಟಿವಿಯನ್ನು ತಾನೇ ಬದಲಾಯಿಸಿಕೊಳ್ಳುತ್ತದೆ (Auto-Mode). • ಸೇಫ್ಟಿ ಎಕ್ಸಿಟ್: ಅಪಾಯದ ಮುನ್ಸೂಚನೆ ನೀಡುವ 'ಸೇಫ್ಟಿ ಎಕ್ಸಿಟ್' ವೈಶಿಷ್ಟ್ಯ ಇದರಲ್ಲಿ ಮಾತ್ರ ಲಭ್ಯವಿದೆ. ಸಾಮಾನ್ಯ ಸೂಪರ್ಟ್ರೆಂಡ್ಗಿಂತ GCM HST ಹೇಗೆ ಶ್ರೇಷ್ಠ ಎಂದು ನಾವು ಅಂಕಿಅಂಶಗಳ ಮೂಲಕ ಇಲ್ಲಿ ವಿವರಿಸಿದ್ದೇವೆ: 1) ಸುಳ್ಳು ಸಿಗ್ನಲ್ಗಳ ನಿಯಂತ್ರಣ: ಸಾಮಾನ್ಯ ಸೂಪರ್ಟ್ರೆಂಡ್ ಸಣ್ಣ ಏರಿಳಿತಗಳಿಗೂ ಸಿಗ್ನಲ್ ನೀಡುತ್ತದೆ. ಆದರೆ GCM HST ತನ್ನ ಗೋಲ್ಡ್ ಬಾರ್ ಮೂಲಕ ಸುಮಾರು 40-50% ಸುಳ್ಳು ಸಿಗ್ನಲ್ಗಳನ್ನು ತಡೆಯುತ್ತದೆ. 2) ಸೈಡ್ವೇಸ್ ಮಾರ್ಕೆಟ್ನಲ್ಲಿ ಸ್ಥಿರತೆ: ಬೆಲೆ ಏರಿಳಿತವಿಲ್ಲದ ಸಮಯದಲ್ಲಿ ಸಾಮಾನ್ಯ ಇಂಡಿಕೇಟರ್ಗಳು ಪದೇ ಪದೇ ಸ್ಟಾಪ್-ಲಾಸ್ ಹಿಟ್ ಮಾಡಿಸುತ್ತವೆ. GCM HST ಇಂತಹ ಸಮಯದಲ್ಲಿ ಶಾಂತವಾಗಿದ್ದು ನಿಮ್ಮ ಹಣವನ್ನು ಉಳಿಸುತ್ತದೆ. 3) ನಿಖರವಾದ ಎಂಟ್ರಿ: ಸೇಫ್ಟಿ ವಿಂಡೋ ನಂತರವಷ್ಟೇ ಕನ್ಫರ್ಮ್ ಸಿಗ್ನಲ್ ನೀಡುವುದರಿಂದ ಎಂಟ್ರಿ ಅತ್ಯಂತ ನಿಖರವಾಗಿ ಇರುತ್ತದೆ. 4) ಗರಿಷ್ಠ ಸುರಕ್ಷತೆ: ಮಾರುಕಟ್ಟೆಯ ದಿಢೀರ್ ಬದಲಾವಣೆಗಳಿಂದ ನಿಮ್ಮ ಅಕೌಂಟ್ ಖಾಲಿಯಾಗದಂತೆ (Blowing Out) ಇದು ಕಾಪಾಡುತ್ತದೆ. GCM HST ಮೂಲಕ ಟ್ರೇಡ್ ಮಾಡುವುದು ಹೇಗೆ? • ಬೈ ಎಂಟ್ರಿ (BUY): ಹಸಿರು ಟ್ರಯಾಂಗಲ್ ಬಂದಾಗ ಎಂಟ್ರಿ ಪಡೆಯಿರಿ. ಬೆಲೆಯು ಆರಂಭದಲ್ಲಿ Gold Bar ಗಿಂತ ಮೇಲಿರಲಿ. • ಸೆಲ್ ಎಂಟ್ರಿ (SELL): ಕೆಂಪು ಟ್ರಯಾಂಗಲ್ ಬಂದಾಗ ಎಂಟ್ರಿ ಪಡೆಯಿರಿ. ಬೆಲೆಯು Gold Bar ಗಿಂತ ಕೆಳಗಿರಲಿ. • ಸೇಫ್ಟಿ ಎಕ್ಸಿಟ್: ಬೆಲೆಯು Gold Bar ಅನ್ನು ದಾಟಿದರೆ, ತಕ್ಷಣ ಟ್ರೇಡ್ನಿಂದ ಹೊರಬನ್ನಿ. ಇದು ನಿಮ್ಮನ್ನು ದೊಡ್ಡ ನಷ್ಟದಿಂದ ಉಳಿಸುತ್ತದೆ. ________________________________________ ಹಕ್ಕುತ್ಯಾಗ: ಟ್ರೇಡಿಂಗ್ನಲ್ಲಿ ಹಣಕಾಸಿನ ಅಪಾಯವಿರುತ್ತದೆ. GCM HST ಒಂದು ತಾಂತ್ರಿಕ ವಿಶ್ಲೇಷಣಾ ಸಾಧನವಾಗಿದ್ದು, ಇದು ಲಾಭದ ಖಾತರಿ ನೀಡುವುದಿಲ್ಲ. ಹೂಡಿಕೆ ಮಾಡುವ ಮೊದಲು ನಿಮ್ಮ ಆರ್ಥಿಕ ಸಲಹೆಗಾರರನ್ನು ಸಂಪರ್ಕಿಸಿ ಮತ್ತು ರಿಸ್ಕ್ ಮ್ಯಾನೇಜ್ಮೆಂಟ್ ಪಾಲಿಸಿ. อินดิเคเตอร์ Pine Script®โดย uniGram1112
Multi Timeframe Scalper StructureWhat It Does This indicator generates trend-filtered scalping entries by requiring three independent layers of confirmation before any signal appears. A higher-timeframe trend filter sets the allowed direction. Two separate EMA structure zones on the micro timeframe must both confirm momentum alignment. Only when all three agree does an entry dot print on the chart. It also includes a real-time signal matrix table that shows which conditions are currently met, an on-chart TP/SL line system for quick risk-reward visualization, and configurable alerts. How It Works The indicator operates on two timeframe layers: Macro layer — A moving average (selectable: EMA, SMA, WMA, or VWMA) is calculated on a higher timeframe you choose (default: 4H). If the closing price on that timeframe is above the MA, the macro trend is bullish. If below, bearish. This acts as a directional gate — no signal can fire against it. The chart background tints green or red to reflect this bias. Micro layer — Two pairs of EMAs run on the chart timeframe (or a custom micro timeframe), each forming a colored filled zone: Structure 2 (default periods: 16 and 30) — the wider zone. When its fast EMA is above its slow EMA, the zone fills green, confirming bullish intermediate momentum. Below fills red. Structure 1 (default periods: 8 and 16) — the tighter zone, used for precise entry timing. A crossover of its fast EMA above the slow EMA is the trigger event for a long entry. A crossunder triggers a short entry. Entry conditions: A long entry dot appears when: The macro layer is bullish (price above the higher-TF MA) Structure 2 is bullish (fast above slow) Structure 1 crosses bullish (fast crosses above slow) A short entry dot appears under the mirror conditions — macro bearish, both structures bearish, Structure 1 crosses down. Early reversal detection (optional) — When enabled, the indicator can also trigger a signal when Structure 2 flips from bearish to bullish (or vice versa), allowing entry before Structure 1 has crossed, as long as the macro confirms. This captures momentum shifts earlier. Non-repainting — All higher-timeframe data uses lookahead_off. The "Wait for Candle Close" option (on by default) ensures signals only appear after the candle is fully confirmed. How the Components Interact The macro layer decides which direction you are allowed to trade — it is the filter. Structure 2 confirms that intermediate momentum on the chart timeframe has already shifted in that same direction — it is the confirmation. Structure 1 provides the exact timing — its crossover is the trigger that places the entry dot. Each layer serves a distinct purpose: direction, confirmation, and timing. A signal must pass through all three before it appears, which is what reduces noise compared to a single crossover system. When early reversal detection is active, Structure 2 can also serve as an alternative trigger (its color flip), but only while the macro still confirms. This creates two possible trigger paths under the same directional filter. How to Use It Set your macro timeframe meaningfully above your chart timeframe. If you scalp on the 5-minute chart, a 1-hour or 4-hour macro works well. On the 1-minute, try 15 minutes or 1 hour. The background color tells you the macro bias instantly — green for bullish, red for bearish. Watch the two filled zones on your chart. When both turn green (or both red) and align with the background color, conditions are building toward a signal. Entry dots appear at the bottom of the chart for longs (green) and at the top for shorts (red). The signal matrix table (movable to any corner) shows real-time status of each layer: Macro Trend, Structure 2, Structure 1, and the combined result — LONG, SHORT, or WAIT. Use the TP/SL tool to project take-profit and stop-loss lines on the chart. Set the direction (Long or Short), optionally enter a manual entry price, and configure your percentages. Up to two partial TP levels can be displayed alongside the main TP. Set alerts using the built-in alert conditions ("LONG Signal" or "SHORT Signal") to be notified when a confirmed entry fires. Key Features Three-layer hierarchical filtering architecture: Each layer has a distinct role — directional gating (macro), momentum confirmation (Structure 2), and entry timing (Structure 1) — and all three must agree simultaneously. This multi-layer approach reduces noise compared to single crossover systems. Dual EMA structure zones: Two independent pairs of EMAs operating at different speeds provide both intermediate momentum confirmation and precise entry timing under a separate higher-timeframe umbrella. Early reversal detection: Optional second trigger path that reads when the wider Structure 2 zone changes polarity, allowing entries at the point where intermediate momentum shifts. Real-time signal matrix: Dashboard view showing which conditions are satisfied in real time, turning the indicator into a structured workflow rather than just a dot generator. Integrated TP/SL system: On-chart trade management with optional partial targets keeps risk management visible without needing a separate tool. Non-repainting design: All signals are confirmed and use proper lookahead settings to ensure historical accuracy matches real-time behavior. Suitability Markets: Any liquid market — forex pairs, crypto, stock indices, commodities, equities. Timeframes: Designed for lower chart timeframes (1m, 3m, 5m, 15m) with the macro set higher (1H, 4H). Can also be adapted for intraday swing setups using 15m–1H charts with a daily macro. Trading style: Trend-following momentum scalping — taking quick entries in the direction of the dominant trend when short-term momentum confirms the higher-timeframe bias. Entries target short directional bursts within established trends, not reversals or range-bound conditions. The built-in candle-close confirmation and the three-layer filter are designed for disciplined, fast-execution scalping where you enter with momentum and exit at predefined percentage targets. Disclaimer This indicator is a technical analysis tool, not financial advice. It does not guarantee profits and does not predict future price movements. No indicator can eliminate risk. Past behavior of signals does not ensure future results. Always use proper risk management and assess your own financial situation before entering any trade. อินดิเคเตอร์ Pine Script®โดย TheScalpingAnt27
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.อินดิเคเตอร์ Pine Script®โดย tashiakter36ที่อัปเดต: 25
[CodaPro] Volume Breakout LevelsVolume Breakout Levels — Auto S&R with Volume-Confirmed Breaks OVERVIEW Volume Breakout Levels automatically detects support and resistance from pivot highs and lows, then signals when price breaks through with VOLUME CONFIRMATION. Unlike basic S&R indicators, this uses volume separation engine to split each candle into estimated bull and bear volume — ensuring breaks are backed by real directional conviction, not just price crossing a line. HOW IT WORKS 1. LEVEL DETECTION Support and resistance are detected using pivot highs and pivot lows with configurable left/right bar confirmation. Levels hold until a new pivot replaces them. Simple, proven, reliable. 2. VOLUME SEPARATION Each candle's volume is split into bull and bear components based on the body-to-range ratio. A strong bullish candle assigns more volume to buyers. A strong bearish candle assigns more to sellers. 3. BREAK CONFIRMATION A break is only confirmed when three conditions are met simultaneously: - Price closes beyond the level (not just a wick) - Volume exceeds the average by the spike multiplier (default 1.5x) - Directional volume matches the break (bull volume dominant on upside breaks, bear volume dominant on downside breaks) This triple filter eliminates the majority of false breaks. 4. WICK BREAK DETECTION When price breaks a level with volume but the candle shows a long wick in the opposite direction, the break is flagged as a "WICK" break instead of a confirmed break. This signals hesitation — the level was broken but buyers/sellers showed resistance. Use these as caution signals. FEATURES - Automatic support and resistance from pivot detection - Volume spike confirmation on all breaks - Bull/bear volume separation for directional validation - Wick break detection (flags hesitation) - Break candle highlighting - 4 alert conditions (confirmed breaks + wick breaks) - Clean, minimal visuals — two lines, occasional labels - Works on any instrument, any timeframe - Non-repainting (all signals confirmed on bar close) SETTINGS - Left/Right Bars: Controls pivot sensitivity. Higher values detect stronger, more significant levels. - Volume Average Length: Lookback for calculating normal volume. - Volume Spike Multiplier: How much above average volume must be for a confirmed break. 1.5x default. Increase for stricter filtering. - Show Wick Breaks: Toggle wick hesitation signals. - Color Break Candles: Highlights confirmed break candles on chart. ABOUT THE BUILD This indicator was engineered using ARiS, the AI coding engine behind CodaPro.ai. Strategy logic and volume separation methodology by Aris. Created by Aris | CodaPro Engine DISCLAIMER This tool was created using the CodaPro Pine Script architecture engine — designed to produce robust trading overlays, educational visuals, and automation-ready alerts. It is provided strictly for educational purposes and does not constitute financial advice. Always backtest and demo before applying to real capital.อินดิเคเตอร์ Pine Script®โดย ArisCodes25
QEMA Signal System// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 // mozilla.org // © QEMA Signal System for MNQ/NQ Futures // QEMA = 4×EMA¹ − 6×EMA² + 4×EMA³ − EMA⁴ (single line, reduced lag) // Direction: Price > QEMA = LONG | Price < QEMA = SHORT // Backtested 330 days CME MNQ: 64.5% WR, PF 1.45, Sharpe 4.37 //@version=6 indicator("QEMA Signal System", shorttitle="QEMA", overlay=true, max_labels_count=500, max_lines_count=500) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 1: QEMA // ═══════════════════════════════════════════════════════════════════════════════ grpQEMA = "══ QEMA ══" qema_len = input.int(170, "QEMA Period", minval=2, maxval=500, group=grpQEMA, tooltip="Quadruple EMA period. Optimized: 200. Your default: 144. Both profitable.") ema_src = input.source(close, "Source", group=grpQEMA) show_qema = input.bool(true, "Show QEMA Line", group=grpQEMA) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 2: ADX // ═══════════════════════════════════════════════════════════════════════════════ grpADX = "══ ADX ══" adx_len = input.int(14, "ADX Period", minval=5, maxval=50, group=grpADX) adx_smooth = input.int(14, "ADX Smoothing", minval=5, maxval=50, group=grpADX) adx_threshold = input.int(20, "ADX Trend Threshold", minval=10, maxval=50, group=grpADX, tooltip="Optimized: 35") adx_strong = input.int(45, "ADX Strong Trend", minval=20, maxval=60, group=grpADX) require_adx = input.bool(true, "Require ADX Confirmation", group=grpADX) show_adx_bg = input.bool(true, "Show ADX Background", group=grpADX) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 3: VOLUME // ═══════════════════════════════════════════════════════════════════════════════ grpVOL = "══ Volume ══" vol_avg_len = input.int(20, "Volume Average Period", minval=5, maxval=100, group=grpVOL) vol_threshold = input.float(0.8, "Volume Spike Threshold", minval=0.5, maxval=5.0, step=0.1, group=grpVOL, tooltip="Optimized: 1.0x") vol_delta_mode = input.string("Candle Body", "Delta Estimation", options= , group=grpVOL) require_vol = input.bool(true, "Require Volume Confirmation", group=grpVOL) show_vol_dots = input.bool(true, "Show Volume Dots", group=grpVOL) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 4: ATR / SL / TP // ═══════════════════════════════════════════════════════════════════════════════ grpATR = "══ ATR / Risk ══" atr_len = input.int(14, "ATR Period", minval=5, maxval=50, group=grpATR, tooltip="Optimized: 14") atr_sl_mult = input.float(1.0, "ATR SL Multiplier", minval=0.5, maxval=5.0, step=0.1, group=grpATR, tooltip="Optimized: 3.5") atr_tp1_mult = input.float(2.0, "ATR TP1 Multiplier", minval=1.0, maxval=10.0, step=0.5, group=grpATR, tooltip="Optimized: 2.0") atr_tp2_mult = input.float(2.5, "ATR TP2 Multiplier", minval=1.5, maxval=15.0, step=0.5, group=grpATR, tooltip="Optimized: 2.5") show_sl_tp = input.bool(true, "Show SL/TP Lines", group=grpATR) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 5: SESSION // ═══════════════════════════════════════════════════════════════════════════════ grpSES = "══ Session ══" use_session = input.bool(true, "Enable Session Filter", group=grpSES) sess_start = input.int(930, "Session Start (HHMM)", minval=0, maxval=2359, group=grpSES) sess_end = input.int(1100, "Session End (HHMM)", minval=0, maxval=2359, group=grpSES) skip_first_min = input.int(10, "Skip First N Minutes", minval=0, maxval=30, group=grpSES, tooltip="Optimized: 5") sess_tz = input.string("America/New_York", "Timezone", options= , group=grpSES) show_session_bg = input.bool(true, "Highlight Active Session", group=grpSES) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 6: SIGNAL // ═══════════════════════════════════════════════════════════════════════════════ grpSIG = "══ Signal ══" cooldown_bars = input.int(5, "Signal Cooldown (bars)", minval=0, maxval=30, group=grpSIG, tooltip="Optimized: 2") show_labels = input.bool(true, "Show Signal Labels", group=grpSIG) alert_enabled = input.bool(true, "Enable Alerts", group=grpSIG) // ═══════════════════════════════════════════════════════════════════════════════ // ██ GROUP 7: COLORS // ═══════════════════════════════════════════════════════════════════════════════ grpVIS = "══ Colors ══" col_bull = input.color(#00E676, "Bullish", group=grpVIS) col_bear = input.color(#FF1744, "Bearish", group=grpVIS) col_neutral = input.color(#9E9E9E, "Neutral", group=grpVIS) col_qema = input.color(#FFD600, "QEMA Line", group=grpVIS) // ═══════════════════════════════════════════════════════════════════════════════ // ██ QEMA CALCULATION // ═══════════════════════════════════════════════════════════════════════════════ // Real Quadruple EMA: QEMA = 4×EMA¹ − 6×EMA² + 4×EMA³ − EMA⁴ ema1 = ta.ema(ema_src, qema_len) ema2 = ta.ema(ema1, qema_len) ema3 = ta.ema(ema2, qema_len) ema4 = ta.ema(ema3, qema_len) qema_val = 4 * ema1 - 6 * ema2 + 4 * ema3 - ema4 // ═══════════════════════════════════════════════════════════════════════════════ // ██ ADX CALCULATION // ═══════════════════════════════════════════════════════════════════════════════ tr_val = ta.tr(true) plus_dm = math.max(high - high , 0) minus_dm = math.max(low - low, 0) plus_dm := plus_dm > minus_dm ? plus_dm : 0.0 minus_dm := minus_dm > plus_dm ? minus_dm : 0.0 smoothed_tr = ta.rma(tr_val, adx_len) smoothed_plus_dm = ta.rma(plus_dm, adx_len) smoothed_minus_dm = ta.rma(minus_dm, adx_len) plus_di = smoothed_tr != 0 ? (smoothed_plus_dm / smoothed_tr) * 100 : 0 minus_di = smoothed_tr != 0 ? (smoothed_minus_dm / smoothed_tr) * 100 : 0 dx = (plus_di + minus_di) != 0 ? math.abs(plus_di - minus_di) / (plus_di + minus_di) * 100 : 0 adx_val = ta.rma(dx, adx_smooth) adx_trending = adx_val >= adx_threshold adx_strong_trend = adx_val >= adx_strong adx_bullish = plus_di > minus_di adx_bearish = minus_di > plus_di // ═══════════════════════════════════════════════════════════════════════════════ // ██ VOLUME CALCULATION // ═══════════════════════════════════════════════════════════════════════════════ vol_raw = volume > 0 ? volume : ta.tr(true) vol_avg = ta.sma(vol_raw, vol_avg_len) vol_spike = vol_raw > vol_avg * vol_threshold vol_relative = vol_avg != 0 ? vol_raw / vol_avg : 1.0 candle_body = close - open candle_range = high - low close_position = candle_range != 0 ? (close - low) / candle_range : 0.5 vol_delta = switch vol_delta_mode "Candle Body" => candle_range != 0 ? (candle_body > 0 ? vol_raw * (candle_body / candle_range) : -vol_raw * math.abs(candle_body / candle_range)) : 0 "Close Position" => vol_raw * (2 * close_position - 1) "Hybrid" => candle_range != 0 ? vol_raw * ((candle_body / candle_range) * 0.5 + (2 * close_position - 1) * 0.5) : 0 => candle_range != 0 ? vol_raw * (candle_body / candle_range) : 0 vol_delta_ema = ta.ema(vol_delta, vol_avg_len) vol_delta_bull = vol_delta > 0 and vol_delta > vol_delta_ema vol_delta_bear = vol_delta < 0 and vol_delta < vol_delta_ema // ═══════════════════════════════════════════════════════════════════════════════ // ██ ATR // ═══════════════════════════════════════════════════════════════════════════════ atr_val = ta.atr(atr_len) // ═══════════════════════════════════════════════════════════════════════════════ // ██ SESSION FILTER // ═══════════════════════════════════════════════════════════════════════════════ current_hour = hour(time, sess_tz) current_minute = minute(time, sess_tz) current_hhmm = current_hour * 100 + current_minute sess_start_hour = math.floor(sess_start / 100) sess_start_min = sess_start % 100 sess_start_total_min = sess_start_hour * 60 + sess_start_min current_total_min = current_hour * 60 + current_minute minutes_into_session = current_total_min - sess_start_total_min in_session = use_session ? (current_hhmm >= sess_start and current_hhmm <= sess_end and minutes_into_session >= skip_first_min) : true // ═══════════════════════════════════════════════════════════════════════════════ // ██ SIGNAL ENGINE // ══════════════════════════════════════════════════════════════════════════════ // // Direction comes ONLY from price vs QEMA: // Price > QEMA → LONG candidate // Price < QEMA → SHORT candidate // // ADX and Volume are optional confirmation gates. // // ═══════════════════════════════════════════════════════════════════════════════ // Direction gate: QEMA only bull_direction = close > qema_val bear_direction = close < qema_val // ADX gate adx_bull_ok = require_adx ? (adx_trending and adx_bullish) : true adx_bear_ok = require_adx ? (adx_trending and adx_bearish) : true // Volume gate vol_bull_ok = require_vol ? (vol_spike and close > open) : true vol_bear_ok = require_vol ? (vol_spike and close < open) : true // Cooldown var int bars_since_signal = 100 bars_since_signal += 1 // Final signals bull_signal = bull_direction and adx_bull_ok and vol_bull_ok and in_session and bars_since_signal >= cooldown_bars bear_signal = bear_direction and adx_bear_ok and vol_bear_ok and in_session and bars_since_signal >= cooldown_bars if bull_signal or bear_signal bars_since_signal := 0 // ═══════════════════════════════════════════════════════════════════════════════ // ██ SL / TP // ═══════════════════════════════════════════════════════════════════════════════ bull_sl = bull_signal ? close - atr_val * atr_sl_mult : na bull_tp1 = bull_signal ? close + atr_val * atr_tp1_mult : na bull_tp2 = bull_signal ? close + atr_val * atr_tp2_mult : na bear_sl = bear_signal ? close + atr_val * atr_sl_mult : na bear_tp1 = bear_signal ? close - atr_val * atr_tp1_mult : na bear_tp2 = bear_signal ? close - atr_val * atr_tp2_mult : na // ═══════════════════════════════════════════════════════════════════════════════ // ██ SIGNAL QUALITY (1-5 stars) // ═══════════════════════════════════════════════════════════════════════════════ signal_quality = 0 if bull_signal or bear_signal signal_quality += 1 // base signal_quality += adx_strong_trend ? 1 : 0 // strong ADX signal_quality += vol_relative > 1.5 ? 1 : 0 // big volume signal_quality += vol_relative > 2.0 ? 1 : 0 // huge volume signal_quality += (bull_signal and vol_delta_bull) or (bear_signal and vol_delta_bear) ? 1 : 0 // delta confirms quality_stars = switch signal_quality 1 => "★" 2 => "★★" 3 => "★★★" 4 => "★★★★" 5 => "★★★★★" => "" // ═══════════════════════════════════════════════════════════════════════════════ // ██ PLOTTING // ═══════════════════════════════════════════════════════════════════════════════ // QEMA line plot(show_qema ? qema_val : na, "QEMA", color=col_qema, linewidth=2) // Session background bgcolor(in_session and show_session_bg ? color.new(#2196F3, 95) : na, title="Active Session") // ADX background adx_bg = show_adx_bg ? (adx_strong_trend and adx_bullish ? color.new(col_bull, 93) : adx_strong_trend and adx_bearish ? color.new(col_bear, 93) : na) : na bgcolor(adx_bg, title="ADX Trend Background") // Volume dots plotshape(show_vol_dots and vol_spike and vol_delta > 0 ? low - atr_val * 0.3 : na, "Vol Bull", shape.circle, location.absolute, color.new(col_bull, 40), size=size.tiny) plotshape(show_vol_dots and vol_spike and vol_delta < 0 ? high + atr_val * 0.3 : na, "Vol Bear", shape.circle, location.absolute, color.new(col_bear, 40), size=size.tiny) // Signal arrows plotshape(bull_signal, "LONG", shape.triangleup, location.belowbar, col_bull, size=size.normal) plotshape(bear_signal, "SHORT", shape.triangledown, location.abovebar, col_bear, size=size.normal) // Signal labels if show_labels and bull_signal txt = "LONG " + quality_stars + " " txt += "SL: " + str.tostring(bull_sl, format.mintick) + " " txt += "TP1: " + str.tostring(bull_tp1, format.mintick) + " " txt += "TP2: " + str.tostring(bull_tp2, format.mintick) + " " txt += "ADX: " + str.tostring(adx_val, "#.0") + " | ATR: " + str.tostring(atr_val, "#.0") label.new(bar_index, low - atr_val * 0.8, txt, style=label.style_label_up, color=color.new(col_bull, 20), textcolor=color.white, size=size.small) if show_labels and bear_signal txt = "SHORT " + quality_stars + " " txt += "SL: " + str.tostring(bear_sl, format.mintick) + " " txt += "TP1: " + str.tostring(bear_tp1, format.mintick) + " " txt += "TP2: " + str.tostring(bear_tp2, format.mintick) + " " txt += "ADX: " + str.tostring(adx_val, "#.0") + " | ATR: " + str.tostring(atr_val, "#.0") label.new(bar_index, high + atr_val * 0.8, txt, style=label.style_label_down, color=color.new(col_bear, 20), textcolor=color.white, size=size.small) // SL/TP lines if show_sl_tp and bull_signal line.new(bar_index, bull_sl, bar_index + 10, bull_sl, color=col_bear, style=line.style_dashed, width=1) line.new(bar_index, bull_tp1, bar_index + 10, bull_tp1, color=col_bull, style=line.style_dotted, width=1) line.new(bar_index, bull_tp2, bar_index + 10, bull_tp2, color=col_bull, style=line.style_dotted, width=1) if show_sl_tp and bear_signal line.new(bar_index, bear_sl, bar_index + 10, bear_sl, color=col_bear, style=line.style_dashed, width=1) line.new(bar_index, bear_tp1, bar_index + 10, bear_tp1, color=col_bull, style=line.style_dotted, width=1) line.new(bar_index, bear_tp2, bar_index + 10, bear_tp2, color=col_bull, style=line.style_dotted, width=1) // ═══════════════════════════════════════════════════════════════════════════════ // ██ DASHBOARD // ═══════════════════════════════════════════════════════════════════════════════ var table dash = table.new(position.top_right, 2, 7, bgcolor=color.new(#1E1E1E, 10), border_color=color.new(#424242, 30), border_width=1, frame_color=color.new(#424242, 30), frame_width=1) if barstate.islast table.cell(dash, 0, 0, "QEMA", text_color=color.white, text_size=size.small, bgcolor=color.new(#2196F3, 20)) table.cell(dash, 1, 0, str.tostring(qema_len), text_color=color.white, text_size=size.small, bgcolor=color.new(#2196F3, 20)) // Price vs QEMA pos_col = close > qema_val ? col_bull : col_bear pos_txt = close > qema_val ? "ABOVE → Long bias" : "BELOW → Short bias" table.cell(dash, 0, 1, "Price vs QEMA", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 1, pos_txt, text_color=pos_col, text_size=size.tiny) // ADX adx_col = adx_strong_trend ? col_bull : adx_trending ? #FFB300 : col_neutral adx_dir = adx_bullish ? " +DI" : " -DI" table.cell(dash, 0, 2, "ADX", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 2, str.tostring(adx_val, "#.0") + adx_dir, text_color=adx_col, text_size=size.tiny) // ATR table.cell(dash, 0, 3, "ATR", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 3, str.tostring(atr_val, "#.1"), text_color=color.white, text_size=size.tiny) // Volume vol_col = vol_spike ? col_bull : col_neutral table.cell(dash, 0, 4, "Vol", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 4, str.tostring(vol_relative, "#.1") + "x" + (vol_delta > 0 ? " Buy" : " Sell"), text_color=vol_col, text_size=size.tiny) // Session sess_col = in_session ? col_bull : col_neutral table.cell(dash, 0, 5, "Session", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 5, in_session ? "ACTIVE" : "INACTIVE", text_color=sess_col, text_size=size.tiny) // Filters filter_txt = (require_adx ? "ADX " : "") + (require_vol ? "VOL" : "") table.cell(dash, 0, 6, "Filters", text_color=color.gray, text_size=size.tiny) table.cell(dash, 1, 6, filter_txt != "" ? filter_txt : "None", text_color=#FFB300, text_size=size.tiny) // ═══════════════════════════════════════════════════════════════════════════════ // ██ ALERTS // ═══════════════════════════════════════════════════════════════════════════════ alertcondition(bull_signal, title="QEMA LONG", message="🟢 LONG | Price above QEMA | {{close}}") alertcondition(bear_signal, title="QEMA SHORT", message="🔴 SHORT | Price below QEMA | {{close}}") alertcondition(vol_spike, title="Volume Spike", message="📊 Volume Spike") // ═══════════════════════════════════════════════════════════════════════════════ // ██ DATA WINDOW // ═══════════════════════════════════════════════════════════════════════════════ plot(qema_val, "QEMA", display=display.data_window) plot(close - qema_val, "Price-QEMA Distance", display=display.data_window) plot(adx_val, "ADX", display=display.data_window) plot(atr_val, "ATR", display=display.data_window) plot(vol_relative, "Vol Ratio", display=display.data_window) plot(vol_delta, "Vol Delta", display=display.data_window) plot(signal_quality, "Quality", display=display.data_window)อินดิเคเตอร์ Pine Script®โดย martinrecalde77722
Xiznit EMA Cross StrategyXiznit EMA Cross Strategy is a robust, filtered trend-following trading system built in Pine Script v6 for TradingView. It improves upon classic EMA crossover signals by incorporating multiple confirmations to reduce whipsaws and fakeouts, while using dynamic risk management to protect capital and let winners run in strong trends. Core Concept The strategy enters trades on Exponential Moving Average (EMA) crossovers (fast EMA crossing above/below slow EMA), but only when the market shows sufficient trend strength and momentum confirmation. This helps focus on higher-probability setups and avoids choppy, range-bound conditions where simple EMA crosses often fail. Key Features & Logic Entry Signals (Filtered for Quality) Long Entry: Fast EMA crosses above Slow EMA AND all filters pass: ADX > user-defined threshold (default 25) — confirms a strong trend. +DI > -DI — confirms bullish directional momentum. Current volume > SMA(volume, length) × multiplier (default 1.5) — ensures volume surge backing the move (reduces low-conviction fakeouts). Short Entry: Fast EMA crosses below Slow EMA AND: ADX > threshold. -DI > +DI (bearish momentum). Volume surge condition. Trades respect the selected direction mode: Long only, Short only, or Both (reversals allowed). Position Management & Exits Initial Stop-Loss: Placed at entry price ± ATR × multiplier (default 1.5× ATR(14)). Visualized as a short red dashed horizontal line for the first 10 bars after entry. Trailing Stop (Chandelier Exit style): Dynamic ATR-based trail: Longs: Trails below price at highest high since entry minus ATR × multiplier (default 3.0). Shorts: Trails above price at lowest low since entry plus ATR × multiplier. Updates every bar to move only in the trade's favor. Visualized as a stepped line on the chart (green/teal for longs, red/maroon for shorts) — only shown while position is open. Breakeven (BE) Move: When unrealized profit reaches RR × initial risk (default RR = 1.0), the stop-loss automatically moves to the exact entry price (breakeven). Triggers a label ("SL → BE") near the current price. Changes trailing line appearance: brighter color (lime for longs, fuchsia for shorts), thicker width, and solid style instead of dashed — clear visual cue that the trade is now risk-free. Exit: Position closes only when price hits the trailing stop (market order at close). No opposite EMA cross exits — allows trades to capture larger moves in trending markets. Visuals on the Chart (Clean & Informative) Fast EMA (orange, thick) and Slow EMA (blue, thick). Entry markers: Green upward triangle below bar + "Long" label for valid longs. Red downward triangle above bar + "Short" label for valid shorts. Trailing stop line (dynamic, position-based). Temporary initial SL dashed red line (fades after 10 bars). Breakeven trigger label and trailing line style/color change. ADX/DMI pane elements (overlaid but visually distinct): ADX line (purple). +DI (green) and -DI (red) lines. Dashed red horizontal at ADX threshold. Small diamond markers on +DI/-DI crossovers. Background fill: light green when ADX > threshold (trending allowed), light gray when below (range-bound, signals blocked). Overall chart background tint: subtle green/gray based on ADX condition for quick trend context. Inputs (Fully Customizable) Fast EMA & Slow EMA lengths (defaults 10 / 20). Trade Direction: Long, Short, or Both. ADX/DMI Length (default 14) and ADX Threshold (default 25.0). Volume SMA Length (default 20) and Volume Multiplier (default 1.5). ATR Length (default 14). Trailing ATR Multiplier (default 3.0 — Chandelier distance). Initial SL ATR Multiplier (default 1.5 — starting risk distance). RR for BE Move (default 1.0 — reward:risk ratio to trigger breakeven). Important Notes & Disclaimers This is a trend-following strategy — performs best in trending markets (e.g., stocks, forex, crypto on higher timeframes like 1H, 4H, Daily). It may underperform or generate few signals in sideways/choppy conditions due to strict ADX + DMI + volume filters. No guarantees of profitability — past backtest results do not predict future performance. Always forward-test, paper trade, and use proper risk management. Designed for illustration and educational purposes only. Not financial advice. Trading involves substantial risk of loss. Uses calc_on_every_tick=true for real-time responsiveness. No pyramiding, fixed quantity sizing (uses strategy defaults — adjust in Settings/Properties tab). Commission, slippage, and realistic fill assumptions should be set in the Strategy Tester for more accurate results.กลยุทธ์ Pine Script®โดย Xiznitที่อัปเดต: 226
Auto-Anchored Pitchfork PRO [Point algo] Auto-Anchored Pitchfork PRO Auto-Anchored Pitchfork PRO automatically detects swing pivots and builds an Andrew’s Pitchfork structure without manual anchor selection. The script dynamically updates as new pivots form and supports multiple pitchfork variants. Designed for traders who use market geometry and median line theory. Core Features 1. Automatic Pivot Detection Uses configurable pivot lookback Continuously tracks recent swing highs and lows Builds pitchfork from the latest valid A-B-C structure 2. Fork Variants Supported Original Pitchfork Schiff Modified Schiff Handle placement adjusts automatically depending on selected variant. 3.Projection Engine Extends fork lines forward by user-defined projection bars Width multiplier allows channel expansion or contraction Geometry Components: The script plots: Median Line (Handle → midpoint of B-C) Upper & Lower Parallel Lines Base Line (B → C) Optional Quartile Lines (0.5 levels) Optional Warning Lines (1x outside fork) Optional Trigger Lines (Handle → B and Handle → C) A, B, and C pivot points are labeled automatically. Alerts: Optional alert conditions include: Touch Median (ATR tolerance based) Touch Upper / Lower Cross Above / Below Median Break Above Upper / Below Lower Tolerance is configurable using ATR-based distance. Inputs : Pivot Lookback Fork Variant Projection Length Width Multiplier Quartile / Warning / Trigger toggles ATR Length and Touch Tolerance All parameters are adjustable. Notes: Pitchforks update when new pivots are confirmed. Disclaimer: Signals and alerts are informational only. This script does not provide financial advice. Users should test thoroughly before applying in live markets.อินดิเคเตอร์ Pine Script®โดย pointalgo117
Early Momentum Build Detector V2🔥 Early Momentum Build Detector (15m+ Optimized) 📌 What This Indicator Does Early Momentum Build Detector is designed to identify the ignition phase of momentum — the moment when a stock transitions from consolidation into expansion. Instead of reacting late to moving average crosses, this tool detects: • Break of recent structure • EMA spread expansion (momentum acceleration starting) • ATR expansion (volatility ignition) • Volume participation It highlights the earliest statistically favorable point where momentum begins to build. Tiny, non-intrusive visuals are plotted slightly away from price for clean chart structure. 🧠 The Core Idea Momentum doesn’t start with a big candle. It starts when: - Structure breaks - Moving averages begin separating - Volatility expands - Participation increases This indicator combines all four into one clean signal. - No clutter. - No oscillators. - No lagging confirmation crosses. 🎯 Who It’s For • 15-minute, 30-minute, and 1-hour traders • Intraday and short swing traders • Breakout and expansion traders • Traders who prefer price-action logic over heavy indicators Not designed for scalping under 5 minutes. 🚀 How It Helps Traders ✔ Detects early trend ignition ✔ Filters many false breakouts ✔ Avoids late EMA cross entries ✔ Keeps chart visually clean ✔ Provides alert capability This allows traders to enter closer to the start of expansion rather than chasing extended candles. 📈 How To Use It Effectively Bullish Setup - Signal appears below candle - Confirm higher timeframe bias (optional but recommended) - Use in conjunction with MACD/RSI/CVD/ADL for confluences - Enter on signal candle close - Stop below recent structure low - Target 2R+ or trail with EMA Bearish Setup Same logic in reverse. ⚠️ Important Notes • Works best in stocks with liquidity • Avoid extremely low volume environments • Strong news candles may trigger signals — manage risk accordingly • Always use proper position sizing This is a momentum ignition detector — not a full trading system. 🔔 Alerts Custom alert conditions included for both bullish and bearish early momentum. You can set alerts to: “Once Per Bar Close” for cleaner execution. 💡 Trading Philosophy Behind It Most traders enter too late — at the EMA cross or after a large breakout candle. This tool focuses on: - Structure break + acceleration shift - That’s where asymmetric risk/reward lives.อินดิเคเตอร์ Pine Script®โดย arupnj201816
Nifty Gainers/Losers Dashboard [REALTIME]Nifty Gainers/Losers Dashboard Understand what the Nifty index is doing internally — in real time. The Nifty Gainers/Losers Dashboard provides a structured view of market breadth directly on your chart. Instead of checking multiple stock lists, this tool summarizes advancing and declining components of the index and ranks them by percentage change. It is designed to help traders quickly evaluate participation strength behind index moves. ━━━━━━━━━━━━━━━━━━━━━━ WHAT IT SHOWS ━━━━━━━━━━━━━━━━━━━━━━ • Number of advancing vs declining stocks • Percentage-based ranking of gainers and losers • Optional highlight of strongest and weakest performers • Clear, lightweight dashboard layout ━━━━━━━━━━━━━━━━━━━━━━ WHY MARKET BREADTH MATTERS ━━━━━━━━━━━━━━━━━━━━━━ Index movement alone does not always reflect true market strength. For example: • If the index is rising but only a few stocks are contributing, participation may be narrow. • If most stocks are advancing together, the move may be broader and more sustainable. This dashboard helps visualize that internal structure without switching charts. ━━━━━━━━━━━━━━━━━━━━━━ DESIGNED FOR ━━━━━━━━━━━━━━━━━━━━━━ • Intraday traders • Swing traders • Index traders • Options traders • Market structure analysts ━━━━━━━━━━━━━━━━━━━━━━ IMPORTANT NOTE ━━━━━━━━━━━━━━━━━━━━━━ This indicator is a decision-support and analytical tool. It does not generate buy/sell signals and does not provide financial advice. Always combine breadth analysis with your own strategy and risk management framework. อินดิเคเตอร์ Pine Script®โดย TradeYouLikeที่อัปเดต: 17
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 officialjackofalltradesอินดิเคเตอร์ Pine Script®โดย officialjackofalltrades16
Trader's Multiverse Dealing Range EquilibriumThis Indicator tells you where is the running Equilibrium range of current moving price.อินดิเคเตอร์ Pine Script®โดย Garvitgarg16
SMC Pro BTC - ICT Order Blocks & FVG [DOE]# SMC Pro BTC - ICT Order Blocks & FVG A multi-timeframe smart money concepts engine built exclusively for Bitcoin. This indicator combines order blocks, fair value gaps, liquidity sweeps, break of structure, and premium discount zone analysis into one backtest-verified, non-repainting strategy — every signal you see in history is exactly what you would have seen live. Built by a former quantitative analyst from a US-based systematic fund. The structural logic behind this indicator is the same order flow mechanics that institutional algorithms use to identify and exploit liquidity imbalances — adapted for retail traders on TradingView. At the fund, we did not use RSI or MACD. We tracked where unfilled orders sat, where liquidity clustered, and where price needed to travel to resolve imbalances. That is what Smart Money Concepts formalizes, and that is what this indicator automates. This is a free, open-source tool. All backtest results below are fully reproducible on your chart with the default settings. No hidden parameters. No curve-fitting. No repainting. ## TWO STRATEGY MODES — CHOOSE YOUR RISK PROFILE The indicator offers two distinct execution modes built on the same structural foundation. The difference is filter strictness — one prioritizes opportunity, the other prioritizes quality. Both include commissions and slippage in their backtested results, because a backtest without commissions is fiction. ### AGGRESSIVE MODE Entries fire on any valid Break of Structure (BOS) or Change of Character (CHoCH) confirmed by an order block and fair value gap on the confirmation timeframe. This mode captures more setups, including momentum re-entries and early reversal signals. It accepts a lower win rate in exchange for catching a larger portion of trending moves. | Metric | Value | |---|---| | Total Trades | 55 | | Win Rate | 49.09% | | Net P&L | +49.12% | | Profit Factor | 1.41 | | Max Drawdown | 14.70% | A 49% win rate may not sound impressive on the surface. But this is not a coin flip. The 1.41 profit factor means that winning trades meaningfully outweigh losers — the strategy is designed to let winners run through a configurable risk-to-reward ratio. Over 55 trades with real commissions (0.075% per trade) and slippage (3 ticks per order), the system returned nearly 50% on initial capital. That is what positive expectancy looks like in practice. Mark Douglas wrote that there is a random distribution between wins and losses for any set of variables that define an edge. You do not need to win every trade. You need an edge and the discipline to follow it over a series. This mode is built for that exact mindset. ### SELECTIVE MODE Adds a premium/discount zone filter on top of all Aggressive conditions. Longs are only permitted in the discount zone of the higher-timeframe dealing range. Shorts are only permitted in the premium zone. This single structural filter cuts the trade count by more than half while dramatically improving signal quality. | Metric | Value | |---|---| | Total Trades | 21 | | Win Rate | 61.90% | | Net P&L | +26.92% | | Profit Factor | 2.347 | | Max Drawdown | 8.66% | A profit factor above 2.0 combined with single-digit drawdown is rare for any fully disclosed, non-repainting BTC strategy. The Selective mode achieves both over three full years of data. The tradeoff is fewer trades — 21 versus 55 — which means this mode requires patience. It is designed for traders who prefer waiting for optimal positioning over catching every move. Both modes are provided so you can evaluate the tradeoff between frequency and precision on your own terms. There is no objectively "better" mode. There is only the mode that matches your risk tolerance and psychological profile. ## ENTRY LOGIC — STEP BY STEP Every signal is generated through a strict multi-timeframe confluence model. No single condition is sufficient. The indicator requires alignment across structure, zone, imbalance, and liquidity before producing a signal. Here is the full logic for long entries — short entries mirror the process with inverted conditions. ### LONG ENTRY SEQUENCE **Step 1 — HTF Directional Bias (Break of Structure)** The Direction Timeframe (default: 4H) detects a bullish break of structure or change of character using swing highs and lows. This establishes the higher-timeframe directional bias. Without bullish structure on the HTF, no long signal can fire. This is the first gate. **Step 2 — MTF Confirmation (Structural Alignment)** The Confirmation Timeframe (default: 1H) must confirm with its own bullish BOS or CHoCH, aligning both timeframes in the same direction. This dual-timeframe structural alignment filters out a significant amount of noise and counter-trend traps. **Step 3 — Order Block Identification** The script looks back up to the configured OB Lookback Bars to find the last bearish candle before the impulsive bullish move — the order block where smart money accumulated positions. This zone represents an area of institutional demand that is likely to attract price on a revisit. **Step 4 — Fair Value Gap Validation** The indicator checks for a bullish fair value gap (the gap between candle 1's high and candle 3's low in a three-candle sequence) that overlaps the identified order block zone. An OB alone is a level. An OB combined with an FVG is confluence — two independent structural signals agreeing on the same price zone. This overlap is where the highest-probability entries concentrate. **Step 5 — Liquidity Sweep Confirmation** Before the signal can fire, the indicator verifies that a recent liquidity sweep occurred within the configured Sweep Memory window. A liquidity sweep means price dipped below a prior swing low, triggering stop-loss orders and pending sell orders, before reversing. This is the classic ICT stop hunt — institutional participants accumulating liquidity from retail stop-outs. Without this sweep, the setup lacks the liquidity fuel that drives the reversal. **Step 6 — Premium/Discount Zone Filter (Selective Mode Only)** In Selective mode, the entry must occur in the discount zone of the HTF dealing range, defined by the P/D Zone Threshold parameter. This ensures longs are taken only when price is trading at a structural discount — the lowest-risk portion of the range. **Step 7 — Execution** All conditions are met. The long signal fires on the next confirmed bar. Stop-loss is placed below the order block low minus the SL Buffer percentage. Take-profit is calculated at the configured Risk:Reward Ratio distance from entry. Both levels are plotted visually on the chart. ### SHORT ENTRY SEQUENCE The short entry mirrors the long with inverted conditions across all seven steps: 1. HTF bearish BOS or CHoCH establishes bearish bias 2. MTF bearish BOS or CHoCH confirms the direction 3. Bearish order block identified (last bullish candle before the sell-off) 4. Bearish fair value gap overlaps the order block zone 5. Liquidity sweep above a prior swing high (stop hunt to the upside) 6. Price in the premium zone of the HTF dealing range (Selective mode only) 7. SL placed above OB high plus buffer; TP calculated at R:R distance below entry Every step is objective. There is no discretionary component. The indicator either detects the confluence or it does not. This is not chart art — it is structure, codified. ## FEATURES - Non-repainting, non-lookahead signals — barstate.isconfirmed enforced on all calculations; what you see in history is what you would have seen live - Multi-timeframe structure analysis — HTF for direction, MTF for confirmation, entry timeframe for execution - Order block detection with configurable lookback depth and automatic invalidation when price trades through the zone - Fair value gap multi-zone display — shows up to N unfilled FVGs per direction simultaneously, configurable by maximum count and maximum distance from current price, so you only see the gaps that are structurally relevant to your current timeframe and price action - Liquidity sweep recognition with adjustable memory window for detecting stop hunts before entries - Break of Structure (BOS) and Change of Character (CHoCH) detection via swing-point analysis on multiple timeframes - Premium/discount zone mapping from the HTF dealing range, with configurable threshold for zone extremes - Automatic trade management — stop-loss and take-profit levels plotted with visual trade boxes on every signal - Two strategy modes — Aggressive for opportunity-seeking traders, Selective for precision-focused traders - Fully configurable parameters — every setting is exposed with sensible defaults optimized for BTC 4H - Built-in strategy engine — run backtests directly in TradingView's Strategy Tester with your own commission and slippage settings - Clean chart presentation — signals, zones, and labels are designed for readability on both desktop and mobile ## SETTINGS DOCUMENTATION **Strategy Mode** — Aggressive / Selective Aggressive uses the full confluence model: BOS/CHoCH + Order Block + FVG + Liquidity Sweep. Selective adds the premium/discount zone filter on top of everything. If you are new to smart money concepts, start with Selective — fewer signals, but each one carries stronger structural backing. **Direction TF (HTF)** — Default: 240 (4H) The higher timeframe that establishes directional bias through structural breaks. Increase to Daily (1440) for fewer, higher-conviction signals on larger moves. Decrease to 60 (1H) for more responsive structure detection on shorter swings. **Confirmation TF (MTF)** — Default: 60 (1H) The mid timeframe that confirms HTF bias before any entry can trigger. Must be lower than or equal to the Direction TF. The default 240/60 pair provides a 4:1 ratio that balances responsiveness with structural reliability. **Swing Length** — Default: 10 | Range: 3-50 The number of bars used to identify swing highs and swing lows for structural analysis. Lower values increase sensitivity (more BOS/CHoCH signals, more noise). Higher values detect only major structural shifts. The default of 10 is balanced for BTC on the 4H timeframe. **OB Lookback Bars** — Default: 15 | Range: 3-30 How far back the script searches for a valid order block after a structural break is detected. Smaller values yield higher precision but may miss valid blocks that formed earlier. Larger values capture more blocks but increase the risk of the OB being partially mitigated. **Sweep Memory** — Default: 20 bars | Range: 5-50 The lookback window for detecting a liquidity sweep before confirming an entry. If valid sweeps are being missed on your asset or timeframe, increase this value. If you want tighter sweep-to-entry timing, decrease it. **Risk:Reward Ratio** — Default: 2.0 | Range: 1.0-5.0 Determines take-profit placement relative to stop-loss distance. At 2.0, the TP is placed twice the SL distance from entry. Higher values produce larger winning trades but lower win rates. Always re-run the backtest after changing this setting to understand the impact on overall expectancy. **SL Buffer %** — Default: 0.3 | Range: 0.0-2.0 A buffer added beyond the order block boundary for stop-loss placement, designed to prevent wick stop-outs on volatile assets like BTC. At 0.3%, a $100,000 OB low places the stop-loss at $99,700. **P/D Zone Threshold** — Default: 0.80 | Range: 0.50-0.85 | Selective Mode Only Controls how deep into the premium or discount zone price must be for an entry to qualify. At 0.80, longs require price to be in the bottom 20% of the HTF range and shorts require the top 20%. At 0.50, the indicator uses standard equilibrium (above/below 50%). This parameter is ignored in Aggressive mode. **Max FVGs per Side** — Default: 5 | Range: 1-10 Controls how many unfilled fair value gaps are displayed per direction (bullish and bearish independently). At 5, the chart shows up to 5 active bullish FVGs and 5 active bearish FVGs simultaneously. Lower values reduce visual clutter on smaller timeframes. Higher values provide more structural context on higher timeframes where gaps may persist longer. When the limit is reached, the oldest FVG is removed to make room for the newest one. **FVG Max Distance %** — Default: 8.0 | Range: 1.0-25.0 FVGs whose midpoint is further than this percentage from the current price are automatically hidden. This keeps the chart focused on structurally relevant gaps — a gap at 85K is not actionable when price is at 97K. On higher timeframes or during high-volatility periods, increase this value to retain wider context. On lower timeframes or in tight ranges, decrease it to keep only the nearest gaps visible. **Show Trade Boxes** — On / Off Toggles the visual boxes that display entry, stop-loss, and take-profit levels for each signal. Green boxes indicate long positions. Red boxes indicate short positions. ## CONCEPTS EXPLAINED For traders learning smart money concepts, here is a plain-language breakdown of every structural element this indicator uses. **Order Blocks (OB)** An order block is the last opposing candle before a significant impulsive move. In a bullish scenario, it is the last bearish candle before a strong rally. Institutional traders place large orders at these levels during accumulation or distribution phases, creating zones where price is statistically likely to react when it returns. Order blocks are the foundation of SMC entry models — they represent where smart money positioned itself. **Fair Value Gap (FVG)** A fair value gap is a three-candle price imbalance where a gap exists between candle 1's high (or low) and candle 3's low (or high). In a bullish FVG, candle 2 moved so aggressively that it left a gap between candle 1's high and candle 3's low. These gaps represent areas where price moved too fast for orders to fill completely. Markets tend to return to these inefficiencies to rebalance. When an FVG overlaps an order block, you have two independent structural signals pointing to the same zone — that is high-probability confluence. **Break of Structure (BOS)** A break of structure occurs when price moves beyond a prior swing high (bullish BOS) or swing low (bearish BOS) in the direction of the prevailing trend. It signals continuation — the trend is intact and expanding. This indicator uses BOS detection on both the higher timeframe and the confirmation timeframe to ensure structural alignment before entries. **Change of Character (CHoCH)** A change of character is a structural break against the prevailing trend, signaling a potential reversal. In a downtrend, a CHoCH occurs when price breaks above the most recent lower high. This is significant because it is the first objective signal that sellers may be losing control. The indicator treats CHoCH as a valid trigger alongside BOS, allowing entries on both trend continuations and early reversals. **Liquidity Sweep** A liquidity sweep occurs when price briefly pushes beyond a key structural level — a swing high or swing low — to trigger clustered stop-loss orders and pending orders, then reverses. This is a core ICT concept. Institutional participants need liquidity to fill large positions, and retail stop-losses provide that liquidity. The sweep-and-reverse pattern is one of the most reliable structural signals in price action analysis. This indicator requires a confirmed sweep before any entry signal fires. **Premium and Discount Zones** The premium/discount zone model divides the higher-timeframe dealing range into two halves using the 50% equilibrium level. The upper half is the premium zone — where price is expensive relative to the range, favoring short positions. The lower half is the discount zone — where price is cheap relative to the range, favoring long positions. The Selective mode narrows this further using the P/D Zone Threshold, requiring entries at the extremes of these zones for maximum positional advantage. ## HOW TO USE THIS INDICATOR **Step 1 — Add to Chart** Add the indicator to any BTCUSDT chart. The default settings are optimized for the 4H timeframe on Binance data, but the logic works on any Bitcoin pair and can be adapted to other timeframes by adjusting the Direction TF, Confirmation TF, and Swing Length parameters. **Step 2 — Choose Your Mode** Open Settings and select either Aggressive or Selective mode. Aggressive generates more signals and captures more of the trend. Selective generates fewer, higher-quality signals with tighter risk control. If you are still learning smart money concepts, Selective mode provides a cleaner read because every signal has maximum structural confluence. **Step 3 — Read the Signals** Entry arrows appear directly on the chart when all confluence conditions are met. Green arrows indicate long entries. Red arrows indicate short entries. Stop-loss and take-profit levels are plotted as horizontal lines extending from each signal. **Step 4 — Enable Trade Boxes** Turn on Show Trade Boxes in Settings for a clear visual representation of each trade's risk and reward. The box spans from entry to TP, with the SL level marked. This makes it easy to evaluate the risk-reward ratio of each signal at a glance. **Step 5 — Run the Strategy Tester** Open TradingView's Strategy Tester panel to verify the backtest results on your chart and data. Set commission and slippage to match your exchange's actual fees. The default commission of 0.075% per trade represents Binance taker fees. Adjust if you trade on a different exchange. **Step 6 — Adjust Settings Carefully** If you modify parameters, change one at a time and re-run the backtest after each change to understand the isolated impact. The default settings are the product of extensive testing — they are not arbitrary. Move away from them deliberately, not casually. **Step 7 — Combine with Your Own Context** This indicator provides structural signals based on smart money concepts. It does not account for fundamental catalysts, macroeconomic events, or on-chain data. Use these signals as one input within your broader analytical framework. The strongest results come from traders who combine structural signals with their own understanding of market context. **Step 8 — Manage Risk** No indicator guarantees profits. Size your positions according to your account size and risk tolerance. Never risk more than you can afford to lose on a single trade. The backtest results represent historical performance under specific conditions — live trading introduces variables that backtests cannot fully capture. ## BACKTEST CONDITIONS — FULL TRANSPARENCY Every number published here is reproducible. Load the indicator with default settings on BTCUSDT 4H and open the Strategy Tester. Here are the exact conditions: - Symbol: BTCUSDT (Binance) - Timeframe: 4H - Period: January 2023 through February 2026 (3+ years of data) - Initial Capital: $10,000 - Order Size: 100% of equity per trade - Commission: 0.075% per trade (Binance taker fee) - Slippage: 3 ticks per order - Non-repainting: barstate.isconfirmed enforced on all signal calculations - No lookahead bias: lookahead = barmerge.lookahead_off on all request.security() calls - No future leakage: entries execute on the bar after all conditions are confirmed Sample sizes are moderate — 55 trades for Aggressive, 21 for Selective. The Selective mode's 21 trades in particular should be supplemented with forward-testing on live data to build stronger statistical confidence. Both modes are provided so you can evaluate the frequency-versus-quality tradeoff with full transparency. Past performance under specific historical conditions does not guarantee future results. Markets evolve. Volatility regimes shift. The only honest way to evaluate any strategy is continuous forward-testing alongside historical backtesting. ## DISCLAIMER This indicator is published for educational and informational purposes only. It is not financial advice, investment advice, or a recommendation to buy or sell any asset. Trading Bitcoin and other financial instruments involves substantial risk of loss. Leverage, volatility, exchange downtime, liquidity gaps, and other real-world factors can significantly impact live performance versus backtested results. You should carefully consider your financial objectives, level of experience, and risk appetite before trading. Never trade capital you cannot afford to lose. You are solely responsible for your own trading decisions and their outcomes. The author makes no guarantees about the accuracy, completeness, or reliability of this indicator or its signals. Use it at your own risk. --- **Suggested Tags:** `smartmoneyconcepts` `orderblocks` `fairvaluegap` `bitcoin` `ICT` `BOS` `liquidez` `bloques` `accionprecio` --- ## VERSION EN ESPANOL (Resumen) Para la documentacion completa, consulta la seccion en ingles arriba. A continuacion, un resumen de los puntos clave. --- ### Que es SMC Pro BTC Motor de smart money concepts multi-temporal construido exclusivamente para Bitcoin. Combina bloques de ordenes, fair value gaps, barridos de liquidez, rupturas de estructura y zonas premium/descuento en una sola estrategia verificada por backtest, sin repintado y de codigo abierto. Desarrollado por un ex-analista cuantitativo de un fondo sistematico en Estados Unidos — la misma mecanica de flujo de ordenes que usan los algoritmos institucionales, adaptada para traders retail en TradingView. Todos los resultados son reproducibles con los ajustes por defecto. Sin parametros ocultos. Sin sobreajuste. ### Dos Modos de Estrategia **Modo Agresivo** — Entradas en cualquier BOS/CHoCH valido confirmado por bloque de ordenes + FVG + barrido de liquidez. Mas operaciones, mayor exposicion a movimientos tendenciales. | Metrica | Valor | |---|---| | Total de Trades | 55 | | Win Rate | 49.09% | | P&L Neto | +49.12% | | Factor de Beneficio | 1.41 | | Drawdown Maximo | 14.70% | **Modo Selectivo** — Agrega filtro de zona premium/descuento. Longs solo en zona de descuento, shorts solo en zona premium. Menos operaciones, mayor calidad por senal. | Metrica | Valor | |---|---| | Total de Trades | 21 | | Win Rate | 61.90% | | P&L Neto | +26.92% | | Factor de Beneficio | 2.347 | | Drawdown Maximo | 8.66% | Ambos modos incluyen comisiones (0.075%) y slippage (3 ticks) en los resultados. No hay un modo objetivamente mejor — solo el que se ajusta a tu perfil de riesgo. ### Como Usar - **Agrega el indicador** a cualquier chart BTCUSDT (optimizado para 4H, Binance). Selecciona modo Agresivo o Selectivo en Configuracion. - **Lee las senales:** flechas verdes = largo, flechas rojas = corto. Activa Show Trade Boxes para ver entrada, SL y TP visualmente. Los FVGs activos se muestran como zonas en el chart — configura cuantos quieres ver y a que distancia maxima del precio con Max FVGs per Side y FVG Max Distance %. - **Verifica con el Strategy Tester:** abre el panel de Strategy Tester de TradingView, ajusta comisiones y slippage a las tarifas de tu exchange, y confirma los resultados en tu propio chart. - **Gestiona tu riesgo:** ningun indicador garantiza ganancias. Dimensiona posiciones segun tu cuenta y tolerancia al riesgo. Combina estas senales con tu propio analisis fundamental y de contexto de mercado. ### Condiciones del Backtest BTCUSDT (Binance) | 4H | Enero 2023 - Febrero 2026 | Capital: $10,000 | 100% equity por trade | Comision: 0.075% | Slippage: 3 ticks | Sin repintado (barstate.isconfirmed) | Sin lookahead bias | Sin filtracion futura. ### Aviso Legal Este indicador se publica con fines educativos e informativos unicamente. No constituye asesoria financiera ni recomendacion de compra o venta. Operar Bitcoin implica riesgo sustancial de perdida. Nunca operes con capital que no puedas permitirte perder. El rendimiento pasado no garantiza resultados futuros. Usalo bajo tu propio riesgo.กลยุทธ์ Pine Script®โดย DOE_Trade56
Weekly Support Zone - Advanced# Weekly Support Zone - Advanced (WSZ) ## Overview Weekly Support Zone - Advanced is a **multi-factor confluence scoring indicator** with a built-in **Auto-Tune Engine** that automatically optimizes all parameters for the current chart timeframe. It evaluates 5 independent market dimensions and combines them into a single directional score with percentage-based signal strength. Drop it on any chart, any timeframe, any instrument — it adapts instantly. **Free & Open Source** — no invite-only access, no paywall. Full source code, fully transparent. ## Key Features - **Auto-Tune Engine** — Detects your timeframe (Scalping / Intraday / Swing / Position / Macro) and applies research-backed parameter profiles automatically - **5-Factor Confluence Scoring** — Only signals when multiple independent dimensions agree, reducing noise and false signals - **Adaptive OB/OS Detection** — Uses Constance Brown / Cardwell method: overbought/oversold levels dynamically shift based on trend state (not static 70/30) - **Chaikin Money Flow (CMF)** — Volume analysis based on where price closes within the bar range, not simple green/red candle counting - **Non-Repainting** — All signals use confirmed bars only (barstate.isconfirmed) - **Full Manual Override** — Disable Auto-Tune and control every parameter individually ## How The Scoring Works The indicator evaluates 5 independent market dimensions. Each contributes +1 (bullish) or -1 (bearish) to the final score: | # | Dimension | What It Measures | |---|-----------|-----------------| | 1 | **Macro Trend** | Price direction confirmed over N consecutive bars above/below SMA | | 2 | **Momentum** | RSI directional bias — percentage of recent bars with RSI above/below 50 | | 3 | **Market Structure** | Higher highs / lower lows pattern detection across N bars | | 4 | **OB/OS** | Adaptive overbought/oversold detection using trend-shifted RSI ranges | | 5 | **Volume Flow** | Chaikin Money Flow direction confirmed by volume spike or elevated volume | **Signal strength** (0-100%) = the net agreement of all 5 factors. A "Strong" signal requires different thresholds per timeframe — 80% on scalping charts (4/5 factors) vs 40% on macro (2/5 factors). ## Auto-Tune Engine — 5 Timeframe Profiles You don't need to change any settings when switching timeframes. The engine selects the optimal configuration automatically: | Profile | Timeframes | MA | RSI | Strong Threshold | |---------|------------|-----|-----|-----------------| | **Scalping** | 1m - 5m | SMA 50 | RSI 7 | 80% (4/5 factors) | | **Intraday** | 10m - 30m | SMA 100 | RSI 9 | 80% (4/5 factors) | | **Swing** | 1H - 4H | SMA 200 | RSI 14 | 60% (3/5 factors) | | **Position** | Daily - Weekly | SMA 200 | RSI 14 | 60% (3/5 factors) | | **Macro** | Monthly+ | SMA 10 | RSI 14 | 40% (2/5 factors) | All confirmation periods, thresholds, CMF settings, and OB/OS base levels also adapt per profile. The active profile and all parameters are displayed in the dashboard for full transparency. ## Adaptive OB/OS — Constance Brown Method Traditional indicators use fixed RSI levels (70/30). This fails in trending markets: - In a **bull market**, RSI oscillates between 40-80. An RSI of 40 IS oversold. - In a **bear market**, RSI oscillates between 20-60. An RSI of 60 IS overbought. WSZ Advanced uses the RSI moving average (Cardwell method) to detect the current trend regime, then shifts OB/OS levels accordingly. The dashboard shows the currently active dynamic levels (e.g., "OB:60 OS:20" in a bear market). ## Volume Flow — Chaikin Money Flow + Spike Detection Instead of counting green vs red candles (which fails when candles have long wicks or small bodies), WSZ uses: 1. **Chaikin Money Flow (CMF)** — Measures where price closes within each bar's range, weighted by volume. A close near the high = buying pressure, near the low = selling pressure. 2. **Volume Spike Detection** — Identifies bars with volume significantly above the moving average. 3. **Elevated Volume Check** — Detects sustained above-average volume over multiple bars. A volume signal triggers when CMF confirms a direction AND volume is either spiking or elevated. ## Chart Elements - **Moving Average** — Adaptive SMA (auto-scales per timeframe) - **Background Coloring** — Subtle green/red tint for overall signal bias - **Triangle Markers** — Oversold (green, below bar) and overbought (red, above bar) - **BUY/SELL Labels** — Only appear when signal strength exceeds the adaptive threshold - **Dashboard** — 10-row panel showing mode, profile, all 5 factor signals, score, and active parameters ## Settings **Mode** — Single toggle: Auto-Tune ON/OFF. **Manual Overrides** (only active when Auto-Tune is OFF): - Base Indicators: MA Length, RSI Length, OB/OS Levels, CMF Length - Confirmation Periods: Candle counts for each of the 5 dimensions - Thresholds: Momentum ratio, Volume Spike Multiplier, CMF Threshold, Strong Signal % **Visual** — Toggle each element independently. Choose dashboard position (6 options). ## Alerts 5 built-in alert conditions: - Strong Buy Signal — multiple factors aligned bullish - Strong Sell Signal — multiple factors aligned bearish - Oversold Condition — adaptive RSI threshold reached - Overbought Condition — adaptive RSI threshold reached - MA Cross — price crosses the moving average ## Best Used For - Drop onto any chart, any timeframe — it adapts automatically - Identifying confluence zones where multiple factors align - Quick visual overview of market bias across 5 dimensions - Spotting overbought/oversold conditions that traditional RSI misses (adaptive ranges) - Confirming entries alongside your own strategy - Works on all instruments: stocks, forex, crypto, futures, indices ## Technical Notes - Pine Script v6 (latest version) - Signals on confirmed bars only — no repainting - Open source, no external dependencies, no security/library calls - All inputs have tooltips explaining their function - Float division throughout — no integer truncation issues ## Important Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice. No signals should be interpreted as buy or sell recommendations. Past performance is not indicative of future results. No indicator can predict market movements with certainty. Always implement proper risk management. The author assumes no responsibility for trading losses. Trade at your own risk.อินดิเคเตอร์ Pine Script®โดย Coinmeister115
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.อินดิเคเตอร์ Pine Script®โดย EdgeGateLabs1117
CandelaCharts - Quadratic Killzones📝 Overview The Quadratic Killzones indicator is a specialized tool for visualizing key trading sessions and their price ranges divided into quadrants. These session ranges are significant because they help traders identify potential support and resistance zones based on session highs and lows. The indicator tracks multiple sessions (Asia, London Open, NY AM, NY Lunch, NY PM) and displays their price ranges with quadrant levels (0%, 25%, 50%, 75%, 100%). Session Visualization: Boxes and lines highlight trading session ranges directly on the chart. Quadrant Levels: Price ranges are divided into quadrants for precise level identification. Level Invalidation: Lines extend until price invalidates the level, providing dynamic support/resistance tracking. Session highs and lows serve as key reference points for intraday traders. The quadrant divisions help identify premium (above 50%) and discount (below 50%) zones within each session's range. 📦 Features Key features of the indicator include: Multi-Session Support: Track up to 6 different sessions (Asia, London Open, NY AM, NY Lunch, NY PM, Custom). Quadrant Division: Session ranges divided into 0%, 25%, 50%, 75%, and 100% levels. Level Invalidation: Lines automatically terminate when price invalidates the level. Session Boxes: Visual boxes showing the session range with optional session name labels. Customizable Styling: Configurable colors, line styles, and display options per session. Time Dividers: Optional vertical dividers at specified timeframe intervals. ⚙️ Settings History Sessions: Number of historical sessions to display (1-10). Session Settings (First through Fifth + Custom) Show: Toggle visibility of each session. Name: Custom label for the session (AS, LO, NYAM, NYLA, NYPM). Time: Session time range in 24-hour format. Color: Color for the session's boxes and lines. Styles Lines: Line style (solid, dashed, dotted). Line Width: Thickness of the lines (1-4). Show Box: Display session range as a box. Show Labels: Display high/low labels at line endpoints. Show Session Name: Display session name inside the box. Show Quadrant Lines: Display 25% and 75% quadrant levels. Show Percentage Labels: Display percentage labels (0%, 25%, 50%, 75%, 100%). Dividers Show: Toggle vertical time dividers. Timeframe: Interval for divider lines. Style: Divider line style. Width: Divider line thickness. Color: Divider line color. Extend: Extend dividers to chart edges. 🌟 Benefits Why use Quadratic Killzones over standard session indicators? Granularity : The quadratic division (0%, 25%, 50%, 75%, 100%) allows you to identify "Premium" and "Discount" pricing within a specific session's range, offering more precision than simple High/Low markers. Clean Charts : The "Level Invalidation" feature automatically stops drawing lines once price breaks them. This keeps your chart clean and focused only on active, defended levels. Time Alignment : With the "New York Midnight" setting, you ensure your session data is aligned with the true institutional trading day, regardless of your broker's server time. Structure Identification : Quickly spot when a session range is being respected (ranging/consolidation) or broken (expansion/trend). ⚡️ Showcase Session Boxes Session Boxes with Quadrants Session Boxes with Labels Session Deviders Multiple Sessions 🚨 Alerts This indicator does not include built-in alerts. Users can create custom alerts based on price crossing session levels using TradingView's alert functionality. ⚠️ Disclaimer Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results. อินดิเคเตอร์ Pine Script®โดย CandelaCharts36
Futures Regime Break Strategy [KedArcQuant]Overview Futures Regime Engine v1.0 is a professional-grade, non-repainting trend regime strategy designed for Futures trading and option selling alignment. It identifies institutional directional bias using price structure, VWAP positioning, trend confirmation, and momentum validation. This engine is built specifically to detect when markets transition from neutral to directional regimes. It avoids chop conditions and focuses on high-probability trend continuation and reversal confirmation zones. The strategy works equally well for: * Futures trading (LONG and SHORT execution) * Option selling (PE SELL and CE SELL alignment) * Index futures such as NIFTY and BANKNIFTY * Liquid stock futures All signals are confirmed only on candle close. No repainting or forward-looking logic is used. Core Philosophy Markets operate in regimes, not random noise. Institutional participation creates directional bias which can be detected using objective price positioning relative to VWAP, trend structure, and momentum confirmation. This engine is designed to identify those regime shifts and allow traders to align with institutional directional flow. Why this is not a mashup This strategy is not a mashup of unrelated indicators. It uses a single integrated regime model based on four logically connected components: 1. Institutional bias via VWAP positioning 2. Trend confirmation via EMA directional alignment 3. Momentum validation via RSI threshold structure 4. Structural confirmation via breakout of recent price structure Additional filters such as regime strength, cooldown logic, and trend lock are not separate indicators. They are execution safeguards to prevent false entries and overtrading. All components work together as part of a unified regime detection framework. There is no indicator stacking, curve fitting, or arbitrary combination of unrelated tools. Key Features * Non repainting signals * Candle close confirmation only * Regime based directional detection * Trend continuation capture * Regime reversal detection * Chop avoidance logic * Futures and options compatible * Institutional bias aligned logic How to use for Futures trading LONG Futures signal appears when: * Price is above VWAP * Price is above trend EMA * Momentum confirms bullish regime * Price breaks recent structure high This indicates bullish institutional regime. SHORT Futures signal appears when: * Price is below VWAP * Price is below trend EMA * Momentum confirms bearish regime * Price breaks recent structure low This indicates bearish institutional regime. Entry execution: Enter at candle close when signal appears. Stop loss: LONG trade stop loss below signal candle low SHORT trade stop loss above signal candle high Target: Minimum 1.5 times stop loss distance How to use for option selling Futures signals directly map to option selling direction. LONG signal: Market regime is bullish Sell PUT option Recommended delta range: 0.20 to 0.30 delta Example: If NIFTY is at 25000 Sell 24800 PE or 24700 PE SHORT signal: Market regime is bearish Sell CALL option Recommended delta range: 0.20 to 0.30 delta Example: If NIFTY is at 25000 Sell 25200 CE or 25300 CE Avoid selling ATM options for safety. Input Configuration Guide Trend EMA Length: Controls trend sensitivity. Default 50 recommended. RSI Length: Momentum measurement period. Default 14 recommended. Structure Length: Determines breakout sensitivity. Default 10 recommended. ADX Strength Filter: Filters weak regime conditions. Helps avoid chop markets. VWAP Distance Filter: Prevents entering when price is overextended from institutional value. Cooldown Bars: Prevents repeated entries during same trend. Trend Lock: Prevents rapid signal flipping in noisy conditions. Default settings are optimized for 5 minute timeframe. Recommended Markets and Timeframes Best instruments: NIFTY futures BANKNIFTY futures Liquid stock futures Best timeframes: 5 minute for balanced trading 15 minute for safer swing trading 3 minute for aggressive intraday trading Expected behavior Strategy performs best in trending markets. During sideways or low volatility markets, signals will reduce significantly. This is intentional and helps avoid false trades. The strategy focuses on quality over quantity. FAQ Does this repaint No. All signals are confirmed at candle close and never change after appearing. Can this be used for option selling Yes. Futures signals can be directly used to sell PUT or CALL options based on regime direction. Does this work on all stocks Works best on liquid futures and index instruments. Can this be used for automation Yes. Logic can be mapped to automated execution platforms. Why are there fewer signals This is intentional. The strategy avoids low probability trades. Glossary VWAP Volume weighted average price. Represents institutional fair value. EMA Exponential moving average. Used to identify trend direction. Regime Market state indicating bullish, bearish, or neutral conditions. Momentum Measurement of strength behind price movement. Structure breakout Price breaking recent highs or lows indicating directional continuation. Delta Option sensitivity to price movement. Used to select strike distance. กลยุทธ์ Pine Script®โดย kedarcquant18
Fractal Sweep Strategy# Fractal Sweep Strategy A trend-following strategy that trades **sweeps** of fractal highs and lows, using two complementary entry models that can run in parallel. --- ## Concept The strategy identifies **fractal points** (local highs/low over N bars) and enters when price **sweeps** them—breaking above a fractal high or below a fractal low—then closes back in the opposite direction. This often signals a rejection and potential reversal. **Sweep High** → Short bias **Sweep Low** → Long bias --- ## Entry Models ### 1. Attempted Candle - **Immediate trade:** The sweep candle itself is bearish (for short) or bullish (for long). - **Delayed trade:** If the sweep candle is not in the right direction, the strategy waits for the first **Attempted candle**: - **Short:** Bearish candle with `high > high ` (takes out the prior candle’s high). - **Long:** Bullish candle with `low < low ` (takes out the prior candle’s low). - **Entry:** At the close of the Attempted candle (repainting-safe). - **SL:** Low of the Attempted candle (short) / High of the Attempted candle (long). - **TP:** CRV × risk (default CRV = 2). ### 2. Trigger Level - **Setup:** Fractal high is swept by a **bullish** candle, and the **next candle is not** an Attempted candle. - **Trigger level:** Body low of the sweep candle (`min(open, close)`), ignoring the wick. - **Activation:** Any later candle closes **below** the trigger level. - **Entry:** At the close of the breaking candle, or at the open of the next candle if the break is detected one bar late. - **SL:** High of the sweep candle (Trigger Level candle). - **TP:** CRV × risk (default CRV = 2). ### Parallel Mode With **"Both"** selected, both models run at the same time. Pyramiding allows up to 2 short positions (one from each model) when both trigger. --- ## Risk Management - **Stop Loss:** High/Low of the reference candle (Attempted or Trigger Level candle). - **Take Profit:** Entry ± (CRV × risk), with separate CRV for each model. - **Max Trades per Day:** Limits total entries across both models (default: 5). --- ## Optional Filters ### Supertrend H1 (Directional Bias) - **Off:** No filter. - **With Trend:** Long only in H1 uptrend, short only in H1 downtrend. - **Counter Trend:** Long only in H1 downtrend, short only in H1 uptrend. ### Session Filter - Restricts trades to a time window (e.g. 08:00–17:00) in the selected timezone. --- ## Fractal Settings - **Bars in Fractal:** 3, 5, 7, or 9 (default: 5). - **Fractals Timeframe:** Chart TF or higher (e.g. M15 for MTF fractals). - **Max Age:** Fractals older than N bars are ignored. --- ## Visuals - Fractal lines and markers (▲/▼). - SL/TP lines for open trades. - Optional debug labels (trade explanation, sweep labels, no-trade reasons). - Optional H1 Supertrend overlay when bias is active. --- ## Repainting Safety Entries are placed only on **confirmed bars** (`barstate.isconfirmed`), so signals are fixed once the candle closes. --- ## Credits - **Fractal logic:** Based on MTF Fractals - **Strategy:** Lean Strategy Blueprint - **License:** CC BY-NC-SA 4.0 กลยุทธ์ Pine Script®โดย Lean_Trading34
Volume Profile - Previous DayPrevious Day Volume Profile (PDVP) plots a fixed volume distribution for the prior trading day directly on your chart. It builds a price-by-volume histogram from the previous session and highlights key auction levels: POC (Point of Control): the price level with the highest traded volume VAH / VAL (Value Area High/Low): the value area boundaries based on your selected percentage Previous Day High/Low: optional session extremes for context How to Use It Contextual Trading: Use the vPOC (Point of Control) and Value Area as magnets or hurdles for price. Price staying inside the Value Area suggests a balanced/ranging market. Price breaking out of the Value Area suggests a trend initiation. Mean Reversion: Look for "Value Area Rejections" at the VAH or VAL to play moves back toward the POC. PDH/PDL Anchors: The blue rays provide instant daily bias. Breaking the Previous Day High often signals bullish momentum, while failing to do so suggests a potential reversal. Settings Auto-Detect Settings: Toggle this on to let the script handle the math, or toggle off to input your own custom "Row Height" in ticks. Value Area %: Defaulted to 70% (Standard). Histogram Width: Adjust how far the profile extends across your chart. Calculation Granularity: Defaulted to 10m for the best balance of speed and accuracy.อินดิเคเตอร์ Pine Script®โดย prater1826