SPX OR Enhanced V7Open range SPX 15 mins strategy. Auto plot 15 min candle. prior session low and high. current session low and high. Penunjuk Pine Script®oleh Yazfreee7
9 EMA Full Candle Highlight (Bars Only)This indicator highlights individual candles that close completely above or completely below the 9 EMA. A candle turns yellow only when the entire candle (body and wicks) is fully on one side of the 9 EMA: • Fully above EMA → low is above the 9 EMA • Fully below EMA → high is below the 9 EMA Candles that touch or cross the EMA are ignored. Only the specific candle bar is colored — no background shading, no columns, and no extra signals — keeping the chart clean and distraction-free. Purpose Designed for simple, rule-based trading with minimal decisions. It visually marks strong momentum candles while filtering out chop around the EMA. How to use • Yellow candle above → bullish momentum • Yellow candle below → bearish momentum • No highlight → no clear edge Best used on: • 5-minute charts • SPY / highly liquid ETFs • Trend-following strategiesPenunjuk Pine Script®oleh myttthew3
Full Candle 9 EMA HighlightThis indicator highlights momentum candles based on their complete position relative to the 9 EMA. A candle is highlighted yellow only when it closes entirely above or entirely below the 9 EMA: Fully above: the candle’s low is above the EMA Fully below: the candle’s high is below the EMA Candles that touch or cross the EMA are ignored, helping filter out chop and indecision. Purpose The goal is to reduce decision-making and visually isolate clean momentum conditions using a single indicator. How to use Yellow candle above the EMA → bullish momentum Yellow candle below the EMA → bearish momentum No highlight → stay out Designed for: 5-minute charts SPY / liquid index ETFs Simple, rule-based trading Minimal indicators and minimal discretion This indicator is meant to be used as a visual guide, not a prediction tool. It works best during strong intraday trends and should be avoided during sideways market conditions.Penunjuk Pine Script®oleh myttthew2
Risk Command CenterRisk Command Center Concept & Philosophy Trading psychology is the hardest edge to master. The "Risk Command Center" is designed to act as a visual accountability partner for day traders. It tackles the common problem of "Tilt" (emotional trading) by forcing you to confront your P&L and Risk Limits visually before you reach a breaking point. Unlike automated trackers, this tool relies on Manual Accountability. By manually inputting your P&L after every trade, you engage your prefrontal cortex (logic), breaking the "trance" of emotional trading. This script visualizes your Daily Loss Limit not as a number, but as "Ammo"—a resource bar that depletes as you take risks. Key Features Visual Risk Bar: A health-bar style display that fills up as you approach your Max Daily Loss. Adaptive Environment: The chart background changes color subtly (Yellow -> Orange -> Red) as your risk increases, giving you subconscious cues to slow down. The "Tilt Guard": If you breach your Max Loss limit or hit your max "Consecutive Loss" streak, the screen locks down with a "TRADING STOPPED" enforcement label. Session Timer: Automatically greys out the dashboard and background when the market session is closed, helping you avoid low-probability trading hours. Strike Counter: Tracks consecutive losses to prevent "revenge trading" spirals. How It Works This indicator does not connect to your broker (Pine Script security limitation). It operates as a Heads-Up Display (HUD) that you control: Input: You set your Max Daily Loss (e.g., $500). Process: As you trade, you update your Current Session P&L in the settings. Calculation: The script calculates your % Risk Used and updates the dashboard. Alerts: If Net P&L <= -Max Limit OR Consecutive Losses >= Max Streak, the visual alarms trigger. How to Use This Tool Pre-Market: Open the settings and define your Max Daily Loss Limit (e.g., $600) and Allowed Trading Session (e.g., 0930-1600). During Trading: Keep the settings window accessible. After every closed trade, type your P&L into the Current Session P&L field. Example: If you lose $150, type -150. If you win $300 next, change it to +150 (net). Monitoring: Watch the "Ammo Left" and the "Risk Level" bar. Green: Safe Zone. Orange: Caution (75% of limit used). Red: Breach. Walk away. Settings Breakdown Max Daily Loss Limit: Your hard stop for the day. Current Session P&L: The input field for your running total. Max Consecutive Losses: The number of losses in a row allowed before a forced break. Allowed Trading Session: The time window where the dashboard is "Active." Outside this window, it shows "CLOSED." Disclaimer This tool is for educational and risk-management purposes only. It cannot physically prevent you from placing trades on your broker. It is a visual aid to support disciplined trading habits.Penunjuk Pine Script®oleh DivergentTrades2
Structural Liquidity Framework (Corrected Box Final)Structural Liquidity Framework (SLF) is an original market structure and liquidity indicator designed to help traders identify high-probability reversal and continuation setups using external (higher-timeframe) structures. It combines concepts from market structure shifts (BOS/CHOCH), order blocks, and inducements, providing a clear framework for pullback entries and institutional-style analysis. Key Features and Logic: External Structure (HTF) Uses a configurable number of candles (default 500) to define high and low boundaries. Helps identify long-term support/resistance and the overall market bias. Break of Structure (BOS) Detects shifts in structure: bullish BOS occurs when price breaks above the high of the external range; bearish BOS occurs when price breaks below the low. Change of Character (CHOCH) Highlights the first reversal movement that signals a potential market bias change. Visualized directly on the chart for easy identification. Order Blocks Identifies the last opposing candle before a BOS as a potential institutional order block. Bullish order block: last bearish candle before bullish BOS. Bearish order block: last bullish candle before bearish BOS. Inducement Markers Highlights failed break attempts or liquidity grabs (spikes beyond structure with a reversal) to anticipate potential traps set by larger market participants. Entry Signals Pullback entries are plotted when price interacts with the identified order blocks in the direction of the external structure. Prevents premature entries and filters false breaks. How to Use: Observe the external structure range for the current bias. Watch for BOS and CHOCH signals to detect potential shifts. Look for bullish or bearish order blocks as zones of interest for pullback entries. Use inducement markers to confirm the potential trap and entry. Enter trades when price respects the order block in the direction of the external bias. This indicator is designed for higher-timeframe structural analysis, making it suitable for traders seeking institutional-style confirmations on any timeframe chart.Penunjuk Pine Script®oleh jonathanmwendwa20211
5M 9EMA Entry & ExitThis indicator highlights high-probability trend shifts using only one rule: how a full candle closes relative to the 9 EMA. The goal is to remove decision-making and create a clean, mechanical system. How it works: • A candle is considered fully under the 9 EMA when its high is below the EMA → Signals downside momentum → Highlighted as a potential short entry • A candle is considered fully above the 9 EMA when its low is above the EMA → Signals upside momentum → Highlighted as a potential exit (or long entry) The script: • Plots the 9 EMA • Highlights entry candles in red • Highlights exit candles in green • Optionally supports alerts Trading logic (simple mode): Wait for a full candle close completely under the 9 EMA → Enter puts/short Stay in trade while candles remain below Exit when a candle closes fully above the 9 EMA Repeat Designed for: • SPY options • 5-minute timeframe • Low decision trading • Quick trend continuation moves • Minimal indicators, minimal thinking This system avoids chop by requiring the entire candle body and wick to clear the EMA, reducing false signals and keeping trades aligned with momentum. Best results during: • First 2–3 hours after market open • Strong trend days • Avoiding midday sideways conditionsPenunjuk Pine Script®oleh myttthew3
Liquidity Heatmap Matrix [MTF] - PhenLabs📊Liquidity Heatmap Matrix Version: PineScript™v6 📌Description The Liquidity Heatmap Matrix is a multi-timeframe liquidity detection and visualization tool built to identify where equal highs and equal lows are forming across up to five configurable timeframes. It solves a core challenge for smart money and ICT-style traders: knowing exactly where stop-loss clusters and liquidity pools are building — before price sweeps them. Rather than manually scanning multiple timeframes for double tops and bottoms, this indicator automates the entire process and presents confluence-weighted liquidity zones as a heatmap overlay directly on your chart. Levels confirmed by more timeframes glow with greater intensity, giving you an immediate sense of which zones carry the highest probability of a liquidity grab. When price sweeps through a detected level, the indicator confirms it in real time with on-chart labels, color changes, and optional alerts — turning reactive analysis into proactive trade planning. 🚀Points of Innovation ● First-of-its-kind heatmap approach that scores liquidity zones on a 1-to-5 confluence scale across independent timeframes ● Automatic merging of nearby equal levels using a percentage-based tolerance system, eliminating duplicate zone clutter ● Real-time sweep confirmation engine that detects when price pierces a level and closes back inside, validating the liquidity grab ● Dynamic zone coloring that shifts from transparent to fully opaque as more timeframes confirm the same price level ● Built-in dashboard that ranks all active levels by confluence strength and tracks bullish versus bearish sweep counts ● Comprehensive alert suite covering new equal high/low formation and sweep events for both directions 🔧Core Components ● Multi-Timeframe Pivot Engine: Runs pivot high/low detection independently on each of the five timeframes using request.security calls, then feeds results into a unified level registry ● Equal Level Comparator: Compares each new pivot against a rolling window of recent pivots using a configurable percentage tolerance to identify price levels that have been tested more than once ● Confluence Merger: When the same price level appears on multiple timeframes, the system merges them into a single zone and increments the confluence score rather than stacking overlapping boxes ● Sweep Detection Module: Monitors all active levels bar-by-bar, confirming a sweep when price breaches the zone edge and then closes back within it — filtering out false breakouts ● Heatmap Renderer: Translates each level’s confluence score into a color intensity gradient, with separate palettes for equal highs (red spectrum) and equal lows (green spectrum) ● Dashboard Table: Displays every active level in a sortable table with type, price, per-timeframe dot indicators, confluence rating, and sweep status 🔥Key Features ● Supports 5 fully independent timeframes that can be toggled on or off and set to any interval from 1 minute to Monthly ● Heatmap coloring intensity scales automatically with confluence count — single-timeframe levels appear faint while 5-TF levels are fully saturated ● Sweep labels display the direction, confluence count, confirming timeframes, and exact price of each swept level directly on the chart ● Dashboard tracks all active equal high and equal low levels sorted by confluence descending with real-time bull and bear sweep counters ● Four alert conditions cover new equal highs, new equal lows, bearish sweeps (EQH taken), and bullish sweeps (EQL taken) ● Swept zones automatically change to a distinct highlight color and freeze their right edge at the sweep bar for clear historical reference ● Old swept levels are cleaned up after 100 bars and stale unswept levels expire after 500 bars to keep the chart uncluttered ● All zone colors, widths, extension lengths, and dashboard positioning are fully customizable 🎨Visualization ● Liquidity Zone Boxes: Colored rectangles overlaid on the chart representing each equal high or equal low level — red-spectrum for EQH, green-spectrum for EQL, with opacity increasing as confluence rises ● Heatmap Intensity Gradient: Single-TF zones appear nearly transparent while 5-TF zones are fully opaque, creating a visual heat signature of where liquidity is densest ● Sweep Labels: Appear at the sweep bar with directional arrows (🔻 for EQH swept, 🔺 for EQL swept), showing confluence count, confirming timeframe list, and price ● Swept Zone Highlight: Confirmed sweeps turn the zone box to a yellow highlight color, clearly distinguishing consumed liquidity from active levels ● Dashboard Table: A compact on-chart table (repositionable to any corner) showing Type, Price, per-TF active dots (● / ○), and confluence rating for every tracked level ● Summary Footer: Bottom row of the dashboard displays total bullish sweeps, bearish sweeps, and combined sweep count 📖Usage Guidelines ● TF 1 through TF 5 Enabled — Toggle each timeframe on or off (Default: TF1 and TF2 enabled, TF3-TF5 disabled) ● TF 1 through TF 5 Interval — Set each timeframe independently (Defaults: 5m, 15m, 1H, 4H, Daily) ● Pivot Lookback Left — Number of bars to the left for pivot detection (Default: 6, Range: 1–50) ● Pivot Lookback Right — Number of bars to the right for pivot confirmation (Default: 6, Range: 1–50) ● Equal Level Tolerance (%) — Maximum percentage difference for two pivots to be considered equal (Default: 0.1%, Range: 0.01–2.0%) ● Max Pivots to Compare — Rolling window size of recent pivots checked for equal levels (Default: 5, Range: 2–10) ● Max Active Levels — Maximum number of liquidity zones tracked simultaneously (Default: 20, Range: 5–50) ● Sweep Confirm Bars — Bars to wait before confirming a sweep after price pierces a level (Default: 2, Range: 1–10) ● Show Liquidity Zones — Toggle zone box rendering on or off (Default: On) ● Show Sweep Labels — Toggle sweep confirmation labels on or off (Default: On) ● Show Dashboard — Toggle the summary dashboard table on or off (Default: On) ● Zone Width (%) — Percentage-based half-width of each liquidity zone box (Default: 0.05%, Range: 0.01–1.0%) ● Zone Extend (bars) — How far forward active zone boxes extend on the chart (Default: 50, Range: 10–200) ● Dashboard Position — Corner placement of the dashboard table (Options: Top Right, Bottom Right, Top Left, Bottom Left) ● EQH Colors — Customizable color range from 1-TF to 5-TF confluence for equal high zones (Default: Red spectrum with varying transparency) ● EQL Colors — Customizable color range from 1-TF to 5-TF confluence for equal low zones (Default: Green spectrum with varying transparency) ● Swept Zone Color — Highlight color for levels that have been confirmed swept (Default: Yellow at 30% transparency) ✅Best Use Cases ● Identifying high-probability reversal zones where liquidity has clustered across multiple timeframes before entering a mean-reversion trade ● Pre-planning take-profit targets by locating where dense liquidity pools sit above or below current price ● Filtering breakout trades by checking whether price is approaching a high-confluence liquidity zone likely to cause a sweep and reversal ● Confirming ICT and smart money concepts by visualizing where equal highs and equal lows form as institutional liquidity targets ● Setting up sweep-based alerts to get notified the moment a multi-TF liquidity level gets taken, enabling rapid reaction entries ● Using the dashboard as a real-time liquidity scoreboard during active trading sessions to track which levels remain live and which have been consumed ⚠️Limitations ● Pivot detection requires a right-side lookback, so level identification has an inherent delay equal to the Pivot Lookback Right setting ● Very low tolerance values on volatile assets may produce few matches, while very high values may create false confluences — tuning to the asset’s typical spread is recommended ● The indicator tracks up to the Max Active Levels limit, so on extremely active charts some older unswept levels may be pruned before they are reached ● Multi-timeframe security calls can increase chart loading time, especially when all five timeframes are enabled on lower-timeframe charts ● Sweep detection relies on close price returning inside the zone — wicks that pierce and immediately reverse on the same bar without closing inside may not be captured ● This tool identifies liquidity zones and sweeps but does not generate buy or sell signals — it is designed to complement your existing strategy, not replace it 💡What Makes This Unique ● Confluence-weighted heatmap visualization is a fundamentally different approach to liquidity mapping compared to simple equal-high/low markers, providing probabilistic weight to each level ● The automatic cross-timeframe merging system eliminates zone stacking and clutter that plagues most multi-timeframe indicators ● Real-time sweep confirmation with multi-bar validation filters out noise and false breakouts that single-bar detection methods frequently flag ● The integrated dashboard provides a full-spectrum situational awareness panel without needing to switch between timeframes or use multiple indicators 🔬How It Works ● Step 1 — Pivot Detection: On each enabled timeframe, the script independently identifies pivot highs and pivot lows using a configurable left/right lookback window via ta.pivothigh and ta.pivotlow functions ● Step 2 — Equal Level Matching: Each new pivot is compared against a rolling buffer of recent pivots on the same timeframe; if two pivots fall within the percentage tolerance, an equal high or equal low is flagged ● Step 3 — Cross-Timeframe Registration and Merging: Detected equal levels are registered into a central level array; if a level from one timeframe falls near an existing level, it merges by incrementing the confluence score rather than creating a duplicate ● Step 4 — Heatmap Rendering: Each active level is drawn as a zone box with color intensity mapped to its confluence score using a 5-tier gradient — more confirming timeframes produce more visually prominent zones ● Step 5 — Sweep Monitoring: Every bar, the script checks whether price has breached a zone edge and closed back inside, confirming a liquidity sweep; confirmed sweeps update the zone color, freeze the box, and generate labels and alerts ● Step 6 — Lifecycle Management: Swept levels are retained for 100 bars for historical reference then removed; unswept levels older than 500 bars are pruned to maintain chart performance and visual clarity 💡Note: For best results, start with the default settings and adjust tolerance and pivot lookback values to match the volatility profile of your specific asset. Lower timeframe combinations (e.g., 5m + 15m) are ideal for intraday scalping, while higher timeframe setups (e.g., 1H + 4H + Daily) suit swing trading. This indicator is designed as a confluence tool — combine it with your existing strategy, order flow analysis, or market structure methodology for highest-probability trade setups. It does not produce buy or sell signals on its own. Penunjuk Pine Script®oleh PhenLabs33874
NX - ICT PD Arrays (Enhanced v2) Credit to asyncoderCredit to @asyncoder This is a TradingView Pine Script indicator that identifies and displays ICT (Inner Circle Trader) Premium Discount Arrays on a price chart. Here's what it does: What It Shows The indicator detects two key price action concepts: 1. Fair Value Gaps (FVGs) Bullish FVG (BISI): When there's a gap between the current candle's low and the low of 2 candles ago, indicating unfilled buy-side imbalance Bearish FVG (SIBI): When there's a gap between the current candle's high and the high of 2 candles ago, indicating unfilled sell-side imbalance 2. Order Blocks (OBs) Bullish OB: A down candle followed by strong upward price movement (displacement), suggesting institutional buying Bearish OB: An up candle followed by strong downward displacement, suggesting institutional selling How It Works The indicator scans the last 250 bars (configurable) and: Detects patterns - Looks for the specific candle formations that create FVGs and OBs Filters quality - Uses multiple criteria to show only significant zones: Minimum gap/block size relative to ATR (volatility) Minimum price displacement percentage Optional swing point alignment Significance scoring (0-100 scale) Draws boxes - Creates colored zones on the chart that extend forward until price fills them (touches the zone) Adjustable sensitivity - Offers presets from "Very High" (shows many zones) to "Low" (shows only the strongest), or custom filtering Trading Use These zones are considered areas where institutional orders may be waiting, potentially acting as support/resistance. Traders watch for price reactions when these unfilled zones are tested. The indicator helps identify these levels automatically rather than marking them manually.Penunjuk Pine Script®oleh dannydholmes133
PyraTime Liquidity & TimeThe Problem: Why Most Traders Get Trapped Most trading indicators fail because they only look at half the picture: Price. Traders draw support and resistance lines, wait for the price to hit them, and then get stopped out by a wick that instantly reverses. This is a "Liquidity Sweep," and it is how institutional algorithms trap retail traders. Furthermore, free indicators often suffer from the "Floating Indicator" bug—where lines detach from price during zooming—making them unreliable for precision trading. The Solution: PyraTime Liquidity & Time PyraTime L&T solves this by filtering every price move through Time. It does not just ask "Is price at support?" It asks "Is price at support at the exact right time?" This tool combines three institutional concepts into one dashboard: Geometric Liquidity Traps: Identifies when a swing point is swept (false breakout) exactly during a Fibonacci Time Cluster. Institutional Time Cycles: Projects future volatility windows (Gold Lines) based on the geometry of past pivots. Silver Bullet Zones: Automatically highlights the specific hours where algorithms are most active (London, NY, Tokyo sessions). How to Use This Indicator 1. The "Trap" Signal (Your Entry Trigger) The core function of this tool is to identify "Time-Price Traps." Wait for a Signal: A "TRAP" or "SWEEP" label will appear when price breaks a previous high/low but closes back inside the range AND this happens inside a Fibonacci Time Cluster. The Logic: This confirms that Time and Price have squared. It is a high-probability reversal signal. Cyan Label: Bullish Trap (Look for Longs) Pink Label: Bearish Trap (Look for Shorts) 2. The Golden Time Lines (Your Filter) The vertical Gold lines are future time projections. Cluster Confirmation: If you see multiple Gold lines grouped closely together, expect high volatility or a reversal at that specific time. Trade Filter: Do not take a trade just because a line appears. Use it to time your entry at a key price level. 3. Silver Bullet Zones (Session Awareness) The indicator highlights the three most powerful 60-minute windows in the market (New York Time). London SB (03:00 - 04:00): Often sets the high or low of the London session. New York SB (10:00 - 11:00): The classic "Silver Bullet" continuation or reversal window. Tokyo SB (22:00 - 23:00): Key for crypto and Asian forex pairs. PRO TIP: Managing the Noise For High Timeframes (4H, Daily): Go to Settings and uncheck "Silver Bullet Zones." These zones are designed for intraday "zoning in" (1m to 15m charts) and will look cluttered on a Daily chart. For Precision (1m - 15m): Turn the Silver Bullet Zones ON to see exactly when the algorithmic windows open. Technical Features & Compliance Zero Repainting: Signals are confirmed on candle close. History is never altered. Floating Fix: Built with xloc.bar_time to ensure all drawings stay locked to their exact historical moment, regardless of chart scaling. Memory Optimized: Automatically cleans up old lines to maintain maximum performance on all devices.Penunjuk Pine Script®oleh PyraTime11507
Grid Bot Demonstrator🚀 Grid Bot Demonstrator Overview The Grid Bot Demonstrator is a high-performance visualization tool designed for traders utilizing Grid Trading strategies (similar to Pionex, Binance, or KuCoin). It allows you to simulate and visualize a grid bot's structure directly on your chart, enabling precise planning of ranges and grid density before deploying capital. 🛠 Key Features Dynamic Auto-Range: When limits are set to 0, the indicator automatically calculates an optimal range (±10% from current price) rounded to the nearest $10,000—ideal for Bitcoin’s psychological levels. Dual Mode Support: Seamlessly toggle between Long and Short strategies via a simple dropdown menu. Intelligent Grid Coloring: Long Mode: Green lines above price (Take Profit), Red lines below (Buy/Support). Short Mode: Red lines above price (Entry/Stop), Green lines below (Take Profit). Performance Optimized (Smart Window): Even with up to 500 grids , the chart remains fluid. The script renders only the 100 lines closest to the current price while maintaining perfect mathematical accuracy of the total grid count. Boundary Protection: Features bold, distinct safety lines for the Upper and Lower limits so you know exactly when your bot leaves the active trading zone. 📖 How to Use 1. Grid Settings Enter your Upper and Lower price limits. Use "0" for the automated 10k-rounding logic. 2. Grid Count Set the number of grids (up to 500) to match your bot's specific configuration. 3. Strategy Mode Select "Long" or "Short" to instantly adapt the color coding to your trade direction. 4. Scalability Works across all timeframes, from 1-minute scalping to daily charts. 🔬 Technical Specifications Grid Type: Arithmetic (Equal USD distance between levels). Engine: Pine Script V5 with max_lines_count optimization. Clarity: Focuses on visual price levels to provide a clean, distraction-free trading environment.Penunjuk Pine Script®oleh AlexTrading2022Telah dikemas kini 16
Bollinger Bands with Squeeze. Adjustable consolidation lines.Core Purpose This is a Bollinger Bands indicator with squeeze detection and consolidation zone identification - it helps you spot low volatility periods that often precede big price moves. Main Components: 1. Bollinger Bands (The Foundation) Basis Line: Moving average (SMA/EMA/etc.) of price - shows the trend Upper/Lower Bands: Calculated as basis ± (2 × standard deviation) When bands are wide = high volatility When bands are narrow = low volatility 2. Squeeze Detection (Yellow highlights) pinenormalizedWidth = (bbWidth - lowestWidth) / widthRange inSqueeze = normalizedWidth < squeezeThreshold Monitors how tight the BB bands are compared to recent history When bands get extremely narrow (< 2% threshold), it flags a squeeze Visual cues during squeeze: Basis turns yellow Bands turn orange Background gets yellow tint Yellow dot appears at top of chart Trading significance: Squeezes often precede explosive breakouts - low volatility builds pressure 3. Consolidation Detection (Green lines) pineconsRange = (consHigh - consLow) / close isConsolidating = consRange < consRangeThreshold Looks back 10 bars and checks if price is trapped in a tight range If the high-to-low range is < 1.5% of current price = consolidation Draws green horizontal lines at the consolidation high and low Lines persist for 5 bars after breakout Trading significance: These become support/resistance levels - great for entries on breakouts How It Works Together: Squeeze forms - Bands narrow, colors change to yellow/orange Consolidation detected - Green lines mark the trading range Breakout happens - Price breaks above/below green lines with momentum You trade the direction of the breakout with clearly defined levels Customizable Settings: Bollinger Bands: Length (20), source (close), standard deviation multiplier (2.0) All colors for normal vs squeeze states Squeeze: Threshold (0.02) - lower = tighter squeeze required Consolidation: Lookback period (10 bars) Range threshold (0.015 = 1.5%) Line color What This Gives You: Early warning system for volatility breakouts Clear support/resistance levels from consolidation zones Visual confirmation when conditions align (squeeze + consolidation = prime setup) Works on any timeframe - especially powerful when higher TF shows consolidation for lower TF entries This is essentially a breakout trading system that combines volatility compression (squeeze) with range identification (consolidation) to help you catch explosive moves with defined risk levels.Penunjuk Pine Script®oleh dannydholmes16
Body-Based Swings + Trend Changes (Improved)Plots HH,HL,LL,LH along with Bullish and Bearish SwingsPenunjuk Pine Script®oleh BTC1Billion79
HTF Candle Projections [LuxAlgo]The HTF Candle Projections indicator projects recent and current higher timeframe candles onto the right side of the chart, providing a clear visualization of macro trends and internal candle composition. 🔶 USAGE The tool is designed to bridge the gap between lower timeframe execution and higher timeframe context. By projecting HTF candles into the future space (right of the current bar), traders can maintain a clear perspective on the larger trend without constantly switching tabs. 🔹 HTF Trend Alignment Traders can use the projected candles to ensure their lower timeframe (LTF) entries align with the broader market direction. For instance, a scalp trader might only look for long setups if the current projected Daily candle is bullish. This "Top-Down" filter helps traders avoid "fighting the trend" by providing a constant visual reminder of the HTF candle's polarity and momentum. 🔹 Anticipating Reversals & Level Origins The indicator includes connection lines that trace back from the projected HTF wicks to the exact LTF bars that established the High and Low of that period. This allows traders to pinpoint the specific price action or "order block" responsible for the HTF extrema. If price returns to the origin of an HTF wick, traders can watch for a reaction, as these levels often represent areas of significant supply or demand. 🔹 Internal Sentiment Divergence A unique feature of this script is the "Internal Sentiment Bars." These small bars inside the HTF candle body show the ratio of bullish vs. bearish LTF bars that make up that specific HTF candle. If a bullish HTF candle has a high bearish sentiment bar, it suggests a "weak" or "grinding" trend where sellers are actively fighting the move, potentially signaling exhaustion. Conversely, if the sentiment bars align strongly with the HTF candle direction (e.g., a bullish candle with almost entirely bullish sentiment), it indicates a high-conviction "power move" with little resistance. 🔹 Range Play & Breakouts The indicator highlights the absolute highest high and lowest low of the entire projected sequence with solid connection lines. These lines define the current HTF trading range. Traders can use these boundaries to identify mean reversion opportunities within the range or to prepare for high-probability breakout trades once price moves beyond these absolute levels. 🔹 Visualizing Wick Development By observing the live development of the current HTF candle, traders can see "wicking" behavior as it happens. If the current price is far from the HTF high but the connection line remains anchored there, it visually confirms a rejection from that level. This real-time feedback is crucial for identifying if an HTF candle is closing as a "Pin Bar" or "Shooting Star" before the timeframe actually expires. 🔶 DETAILS The script uses a custom data structure to track the Open, High, Low, and Close of the selected timeframe. It also tracks the specific bar index of the highs and lows to draw the connection lines accurately. The absolute high and low of the entire projected sequence are highlighted with solid lines to identify the "Range High" and "Range Low" of the projected window. 🔶 SETTINGS HTF Timeframe: Sets the higher timeframe to be projected (e.g., Daily, Weekly, Monthly). Candle Width (Bars): Determines how many bars wide each projected candle appears on the right side of the chart. Gap Between Candles: Sets the horizontal spacing between the projected HTF candles. Number of HTF Candles: The total number of candles to project (previous completed candles + current live candle). Show Internal Sentiment Bars: Toggles the visibility of the internal bull/bear composition bars. 🔹 Colors HTF Bull/Bear Body: Adjusts the colors and transparency of the main projected candle bodies. Sentiment Bull/Bear: Sets the color for the internal composition bars (ratio of LTF closes). Wick Color: Customizes the color of the projected candle wicks. Connection Line: Sets the color for the dotted lines connecting HTF wicks to their LTF origins. Absolute High/Low Connection: Sets the color for the solid lines marking the highest and lowest points of the projected set. Penunjuk Pine Script®oleh LuxAlgoTelah dikemas kini 77826
UT Bot Alerts (T-15s Confirm)This script is a modified UT Bot indicator that confirms buy and sell signals near the end of each candle. If a buy or sell signal appears during the candle and is still valid within the final 15 seconds before close, a confirmation alert is triggered.Penunjuk Pine Script®oleh KannonXBT60
GOLD KEY LEVELSKEY LEVELS GOLD Find by change the number for 25 all the most probably places where you can expecte a reversal in price Penunjuk Pine Script®oleh hugogs696933
Multiple Time frame Correlation Structure LabelsBasically nullifying Timeframe correlation mix up Duplicate the indicator twice on your chart one for Higher TF and one for Lower TFs as one indicator alone will get messy Penunjuk Pine Script®oleh SRTpietro36
TB 5.1 - IRL -> ERLHTF IRL - > ERL If you know what price took last, then you probably know what it will take then. So knowing if we go from IRL to ERL or from ERL to IRL is key here. that's what this indicator does for you not more not lessPenunjuk Pine Script®oleh RobinTShark1141
zero lag linreg candleszero lag linreg candles mixed with utlra smooth rma of three layers to make it perfect for trend following(highly prefered to use on heikin ashi chart)Penunjuk Pine Script®oleh ysfmohamed1553
Averaged Heikin Ashia good trend following indicator that uses multiple sources like heikin ashi candles for trend directionPenunjuk Pine Script®oleh ysfmohamed159
TomiChoro SPY-OPTIONS 5m//@version=5 indicator("OM SPY A+ Confirm (Fib 1H + Filters)", shorttitle="OM A+", overlay=true, max_labels_count=500, max_lines_count=500) // ══════════════════════════════════════════════════════════════════════════════ // ORIGINAL OptionsMillionaire BASE (mantiene toda la funcionalidad) // ══════════════════════════════════════════════════════════════════════════════ priceSource = input(close, title="Price Source For The Moving Averages", group="General") IgnoreExtendedHours = input(true, title="Ignore Extended Hours", group="General") resolution = timeframe.period price = request.security(syminfo.tickerid, resolution, priceSource) shortMAPeriod = input.int(8, title="Short Moving Average Period & Type:", group="Crossover Moving Averages", inline="short") shortMAType = input.string("EMA", title="", options= , group="Crossover Moving Averages", inline="short") longMAPeriod = input.int(21, title=" Long Moving Average Period & Type :", group="Crossover Moving Averages", inline="long") longMAType = input.string("EMA", title="", options= , group="Crossover Moving Averages", inline="long") i_timeframe_signal = input.timeframe("", title="Crossover MAs Timeframe", group="Crossover Moving Averages") useTextLabels = input.bool(true, title="Use Text-Based Crossover Labels?", group="Crossover Moving Averages") showBonusMA1 = input.bool(true, title="Bonus MA", group="Bonus Moving Averages", inline="bma1") bonusMA1Period = input.int(34, title="", group="Bonus Moving Averages", inline="bma1") bonus1MAType = input.string("EMA", title="", options= , group="Bonus Moving Averages", inline="bma1") i_timeframe_bma1 = input.timeframe("", title="", group="Bonus Moving Averages", inline="bma1") showBonusMA2 = input.bool(false, title="Bonus MA", group="Bonus Moving Averages", inline="bma2") bonusMA2Period = input.int(50, title="", group="Bonus Moving Averages", inline="bma2") bonus2MAType = input.string("SMA", title="", options= , group="Bonus Moving Averages", inline="bma2") i_timeframe_bma2 = input.timeframe("", title="", group="Bonus Moving Averages", inline="bma2") showBonusMA3 = input.bool(false, title="Bonus MA", group="Bonus Moving Averages", inline="bma3") bonusMA3Period = input.int(100, title="", group="Bonus Moving Averages", inline="bma3") bonus3MAType = input.string("SMA", title="", options= , group="Bonus Moving Averages", inline="bma3") i_timeframe_bma3 = input.timeframe("", title="", group="Bonus Moving Averages", inline="bma3") ZLMASmooth = 3 f_security(_sym, _res, _src) => request.security(_sym, _res, _src , barmerge.gaps_off, barmerge.lookahead_off) ticker = ticker.new(syminfo.prefix, syminfo.ticker, IgnoreExtendedHours ? session.regular : syminfo.session) // MA calculation f_ma(_src, _len, _type) => switch _type "SMA" => ta.sma(_src, _len) "EMA" => ta.ema(_src, _len) "WMA" => ta.wma(_src, _len) "HMA" => ta.hma(_src, _len) "ALMA" => ta.alma(_src, _len, 0.85, 6) "LIN" => ta.linreg(_src, _len, 0) "ZLMA" => (2 * ta.wma(ta.wma(_src, _len), ZLMASmooth)) - ta.wma(ta.wma(ta.wma(_src, _len), ZLMASmooth), _len) => ta.ema(_src, _len) short = f_security(ticker, i_timeframe_signal, f_ma(price, shortMAPeriod, shortMAType)) long = f_security(ticker, i_timeframe_signal, f_ma(price, longMAPeriod, longMAType)) bonus1 = f_security(ticker, i_timeframe_bma1, f_ma(price, bonusMA1Period, bonus1MAType)) bonus2 = f_security(ticker, i_timeframe_bma2, f_ma(price, bonusMA2Period, bonus2MAType)) bonus3 = f_security(ticker, i_timeframe_bma3, f_ma(price, bonusMA3Period, bonus3MAType)) // Crossover signals (base) Bull = ta.crossover(short, long) Bear = ta.crossunder(short, long) trendColor = short >= long ? color.new(color.red, 85) : color.new(color.blue, 85) MA1 = plot(short, title="Short Period Moving Average", color=#FF00FF, linewidth=2) MA2 = plot(long, title="Long Period Moving Average", color=#00FF00, linewidth=1) fill(MA1, MA2, color=trendColor, title="Short/Long Divergence Fill") plot(showBonusMA1 ? bonus1 : na, title="Bonus Moving Average 1", color=#FFFF00, linewidth=1) plot(showBonusMA2 ? bonus2 : na, title="Bonus Moving Average 2", color=#0000FF, linewidth=1) plot(showBonusMA3 ? bonus3 : na, title="Bonus Moving Average 3", color=#FFFFFF, linewidth=1) plotshape(Bull, title="Calls Label", color=color.new(color.green, 25), textcolor=useTextLabels ? color.white : color.new(color.white, 100), style=useTextLabels ? shape.labelup : shape.triangleup, text="Call", location=location.belowbar) plotshape(Bear, title="Puts Label", color=color.new(color.red, 25), textcolor=useTextLabels ? color.white : color.new(color.white, 100), style=useTextLabels ? shape.labeldown : shape.triangledown, text="Put", location=location.abovebar) if Bull alert("Call Alert: 8ema crossed over 21ema", alert.freq_once_per_bar_close) if Bear alert("Put Alert: 8ema crossed under 21ema", alert.freq_once_per_bar_close) // -- VWAP -- // showVWAP = input.bool(true, title="Show VWAP?", group="VWAP") vwapSource = input(hlc3, title="VWAP Source", group="VWAP") vwapAnchor = input.string("Session", title="VWAP Anchor Period", options= , group="VWAP") vwapSD1 = input.float(1.00, minval=0, step=0.5, title="Standard Deviation 1", group="VWAP") vwapSD2 = input.float(2.00, minval=0, step=0.5, title="Standard Deviation 2", group="VWAP") vwapSD3 = input.float(3.00, minval=0, step=0.5, title="Standard Deviation 3", group="VWAP") showVWAPSD1Band = input.bool(false, title="Show VWAP Standard Deviation 1?", group="VWAP") showVWAPSD2Band = input.bool(false, title="Show VWAP Standard Deviation 2?", group="VWAP") showVWAPSD3Band = input.bool(false, title="Show VWAP Standard Deviation 3?", group="VWAP") timeChange(period) => ret = 0 if period == "Session" ret := time("D") if period == "Week" ret := time("W") if period == "Month" ret := time("M") if period == "Quarter" ret := time("3M") if period == "Year" ret := time("12M") if period == "Decade" ret := time("12M") % time("120M") == 0 ? 1 : 0 if period == "Century" ret := time("12M") % time("1200M") == 0 ? 1 : 0 ret isNewPeriod = ta.change(timeChange(vwapAnchor)) isFirstBarOfNewPeriod = isNewPeriod and not isNewPeriod var float vwapSum = 0.0 vwapSum := isFirstBarOfNewPeriod ? vwapSource * volume : vwapSource * volume + vwapSum var float volumeSum = 0.0 volumeSum := isFirstBarOfNewPeriod ? volume : volume + volumeSum var float v2Sum = 0.0 v2Sum := isFirstBarOfNewPeriod ? volume * vwapSource * vwapSource : volume * vwapSource * vwapSource + v2Sum mVWAP = vwapSum / volumeSum variance = v2Sum / volumeSum - mVWAP * mVWAP variance := variance < 0 ? 0 : variance standard_deviation = math.sqrt(variance) vwapUpperBand1 = mVWAP + (vwapSD1 * standard_deviation) vwapLowerBand1 = mVWAP - (vwapSD1 * standard_deviation) vwapUpperBand2 = mVWAP + (vwapSD2 * standard_deviation) vwapLowerBand2 = mVWAP - (vwapSD2 * standard_deviation) vwapUpperBand3 = mVWAP + (vwapSD3 * standard_deviation) vwapLowerBand3 = mVWAP - (vwapSD3 * standard_deviation) plot(showVWAP ? mVWAP : na, title="VWAP", color=color.orange, linewidth=1) vwapSD1Plot1 = plot(showVWAPSD1Band ? vwapUpperBand1 : na, title="VWAP SD1 Upper", color=color.gray, linewidth=1) vwapSD1Plot2 = plot(showVWAPSD1Band ? vwapLowerBand1 : na, title="VWAP SD1 Lower", color=color.gray, linewidth=1) fill(vwapSD1Plot1, vwapSD1Plot2, color=color.new(color.gray, 90), title="VWAP SD1 Fill") vwapSD2Plot1 = plot(showVWAPSD2Band ? vwapUpperBand2 : na, title="VWAP SD2 Upper", color=color.gray, linewidth=1) vwapSD2Plot2 = plot(showVWAPSD2Band ? vwapLowerBand2 : na, title="VWAP SD2 Lower", color=color.gray, linewidth=1) fill(vwapSD2Plot1, vwapSD2Plot2, color=color.new(color.gray, 85), title="VWAP SD2 Fill") vwapSD3Plot1 = plot(showVWAPSD3Band ? vwapUpperBand3 : na, title="VWAP SD3 Upper", color=color.gray, linewidth=1) vwapSD3Plot2 = plot(showVWAPSD3Band ? vwapLowerBand3 : na, title="VWAP SD3 Lower", color=color.gray, linewidth=1) fill(vwapSD3Plot1, vwapSD3Plot2, color=color.new(color.gray, 80), title="VWAP SD3 Fill") // ══════════════════════════════════════════════════════════════════════════════ // MÓDULO A+ (Fibonacci 1H + Filtros) // ══════════════════════════════════════════════════════════════════════════════ // Inputs A+ grpAPlus = "═══ A+ Filters (Fib 1H + VWAP + Volume) ═══" enableAPlus = input.bool(true, title="Enable A+ Signals", group=grpAPlus) fibTF = input.timeframe("60", title="Fibonacci Timeframe", group=grpAPlus) pivotLen = input.int(5, title="Pivot Length (1H swing)", minval=1, group=grpAPlus) tolPct = input.float(0.05, title="Fib Zone Tolerance (%)", minval=0.0, step=0.01, group=grpAPlus) volLen = input.int(20, title="Volume SMA Length", minval=1, group=grpAPlus) showFibLines = input.bool(true, title="Show Fib 0.5 & 0.618 Lines", group=grpAPlus) // Pivot detection en 1H f_pivH_1h = request.security(syminfo.tickerid, fibTF, ta.pivothigh(high, pivotLen, pivotLen), lookahead=barmerge.lookahead_off) f_pivL_1h = request.security(syminfo.tickerid, fibTF, ta.pivotlow(low, pivotLen, pivotLen), lookahead=barmerge.lookahead_off) var float lastPH = na var float lastPL = na var int lastPH_seq = 0 var int lastPL_seq = 0 var int seq = 0 seq := seq + 1 if not na(f_pivH_1h) lastPH := f_pivH_1h lastPH_seq := seq if not na(f_pivL_1h) lastPL := f_pivL_1h lastPL_seq := seq // Swing definition var float swingA = na var float swingB = na var bool swingUp = na haveBoth = not na(lastPH) and not na(lastPL) if haveBoth if lastPH_seq > lastPL_seq // Upswing: low → high swingA := lastPL swingB := lastPH swingUp := true else // Downswing: high → low swingA := lastPH swingB := lastPL swingUp := false // Fib levels rng = haveBoth ? math.abs(swingB - swingA) : na var float fib50 = na var float fib618 = na if haveBoth and not na(rng) and rng > 0 if swingUp fib50 := swingB - rng * 0.50 fib618 := swingB - rng * 0.618 else fib50 := swingB + rng * 0.50 fib618 := swingB + rng * 0.618 // Zone check (0.5–0.618 con tolerancia en %) tol = close * (tolPct / 100.0) zoneLow = math.min(fib50, fib618) zoneHigh = math.max(fib50, fib618) inFibZone = haveBoth and not na(zoneLow) and not na(zoneHigh) and (close >= (zoneLow - tol)) and (close <= (zoneHigh + tol)) // VWAP filter vwapCallOk = close > mVWAP vwapPutOk = close < mVWAP // Volume filter volOk = volume > ta.sma(volume, volLen) // A+ conditions AplusCall = enableAPlus and Bull and inFibZone and vwapCallOk and volOk AplusPut = enableAPlus and Bear and inFibZone and vwapPutOk and volOk // Plots plot(showFibLines ? fib50 : na, color=color.yellow, linewidth=1, title="Fib 0.5 (1H)", style=plot.style_circles) plot(showFibLines ? fib618 : na, color=color.orange, linewidth=1, title="Fib 0.618 (1H)", style=plot.style_circles) plotshape(AplusCall, title="A+ CALL", style=shape.labelup, text="A+ CALL", color=color.new(color.lime, 0), textcolor=color.black, location=location.belowbar, size=size.small) plotshape(AplusPut, title="A+ PUT", style=shape.labeldown, text="A+ PUT", color=color.new(color.fuchsia, 0), textcolor=color.white, location=location.abovebar, size=size.small) // Alerts A+ alertcondition(AplusCall, title="A+ CALL", message="A+ CALL confirmed (OM cross + Fib 1H 0.5-0.618 + VWAP + Volume) on {{ticker}} @ {{close}}") alertcondition(AplusPut, title="A+ PUT", message="A+ PUT confirmed (OM cross + Fib 1H 0.5-0.618 + VWAP + Volume) on {{ticker}} @ {{close}}")Penunjuk Pine Script®oleh Tomichoro1213
Swing Flow Indicator [ChartPrime]The Swing Flow Indicator is a trend-following indicator that uses pivot points to determine price direction and momentum. It calculates a midline from pivot highs and lows, and generates upper and lower bands to help visualize trend strength. The indicator adapts to changing market conditions, making it ideal for identifying trend strength, potential reversals, and periods of low momentum or sideways movement. ⯁ KEY FEATURES AND HOW TO USE ⯌ Midline with Dynamic Upper and Lower Bands : The indicator plots a midline, calculated from pivot points, with upper and lower bands. During an uptrend, the lower band is displayed, while the upper band appears in a downtrend. This configuration helps traders visualize current trend direction and strength, making it easier to follow price flow. Example of bands and trends visualization: ⯌ Trend Strength and Sideways Market Detection : The indicator shows a label with an arrow and the percentage distance between the current price and the midline. During an uptrend, if the price enters between the midline and the lower band, the arrow points to the right, signaling low momentum or a potential sideways market. Similarly, in a downtrend, if the price moves above the midline but below the upper band, the arrow points to the right. This feature helps traders detect low momentum periods and potential shifts in the market. Low-momentum sideways market indicator on the chart: ⯌ Pivot Point Markers : Traders can toggle pivot point markers on the chart to see significant high and low levels used to calculate the midline. These points can provide additional insight into market structure and potential areas of support and resistance. Pivot points displayed on the chart as markers: ⯌ Trend Change Signals : When the market trend changes, the indicator marks the chart with diamond icons and price labels at the level where the trend shifted. These markers help traders identify precise points of trend reversals, providing potential entry or exit signals in their strategy. Example of trend change markers on the chart: ⯁ USER INPUTS Length : Controls the number of bars used in the calculation of pivot points. Bands Multiplier : Sets the multiplier for the distance between the midline and upper/lower bands. Show High & Low Pivot Points : Toggle to display pivot points on the chart for a clearer view of market structure. Color Customization : Allows users to customize colors for uptrend and downtrend bands. ⯁ CONCLUSION The Swing Flow Indicator is a versatile tool for trend-following and market analysis, offering clear visual cues for trend direction, strength, and potential reversals. With features like dynamic trend bands, momentum labels, pivot point markers, and trend change signals, it equips traders to make informed decisions in dynamic market conditions.Penunjuk Pine Script®oleh ChartPrime55 1.4 K
MA Narrow State ScannerThis script is a technical scanner specifically designed to find stocks or assets where the short-term trend (20 MA) and the long-term trend (200 MA) have converged significantly. In Oliver Velez's trading strategy, this condition is known as a "Narrow State" and often signals an impending, explosive price move. How the Script Works The script calculates the percentage distance between the 20-day moving average and the 200-day moving average. It doesn't check the current live state, but specifically looks at the closing price of the previous trading day. If the distance is below your defined threshold, the script outputs a signal ("1"). In the Pine Screener, you can use this to filter your favorites list before the market opens to instantly see which stocks closed in a "Narrow State" yesterday. How to Set the Values To adjust the settings, click on the indicator name on the chart and select the gear icon (Settings). In the "Inputs" tab, you will find: Setting Default Value Description 20 MA Length 20 The period for the fast moving average (Velez standard). 200 MA Length 200 The period for the slow moving average (institutional anchor). Narrow Threshold % 1.0 The most important value. It determines how "close" the MAs must be. Pro-Tip for Setting the Threshold: 1.0% (Default): Very strict. Finds only stocks where the lines are almost overlapping. Ideal for blue chips like Apple or Disney. 2.0% - 3.0%: A bit looser. Well-suited for more volatile tech stocks or crypto, as these rarely reach a perfect 1% gap. 0.5%: Extremely narrow. Finds only the absolute "coiled springs" (maximum tension). Daily Application Open the Pine Screener (at the bottom of TradingView). Select your Favorites List. Filter by the indicator result Scan Signal = 1. Any stocks that appear in the list are in a Velez-style "Narrow State" and are ready for your trading plan today.Penunjuk Pine Script®oleh lothodl564
MACD + RSI + EMASTRATEGY LOGIC --- LONG CONDITION --- 1. Trend is Up (Price > EMA) 2. MACD Bullish Crossover (Momentum Starting) 3. RSI is Healthy (Between 50 and 70) - Buyers strong, but not exhausted --- SHORT CONDITION --- 1. Trend is Down (Price < EMA) 2. MACD Bearish Crossover (Momentum Dropping) 3. RSI is Healthy (Between 30 and 50) - Sellers strong, but not exhausted --- EXITS --- Exit Long if RSI gets too hot (> 75) or Trend Reverses Exit Short if RSI gets too cold (< 25) or Trend ReversesStrategi Pine Script®oleh abishek_philip2440