NY Session LinesHighlights price action between midnight and 7am, in order to trade the 9:30 manipulationPine Script® indicatorby swartzrd1
MTF Candle Status Dashboard: Real-Time Volume & MomentumDescription This high-contrast dashboard provides a comprehensive view of market momentum across multiple timeframes (5m, 15m, 30m, and 1h) directly on your main chart. It is specifically designed for day traders who need to monitor price sentiment and volume breakouts simultaneously without switching tabs. Key Features: Multi-Timeframe Analysis: Real-time monitoring of the 5-minute, 15-minute, 30-minute, and 1-hour candles. Live Sentiment Tracking: Instantly see if the current price action is Bullish or Bearish across all periods. Smart Volume Breakout Indicator: Compares the Current Volume of the live candle against the Previous Candle's Volume. ▲ (Lime Green): Current volume has already exceeded the previous candle's total volume (High Momentum). ▼ (Gray): Current volume is still lower than the previous candle. Integrated Countdown Timer: A precision timer for each timeframe showing exactly how much time remains before the current candle closes. High-Contrast UI: Optimized for both dark and light themes with a black background and bold colors to ensure readability over complex indicators or price action. How to use it: Confluence: Look for moments where all timeframes turn the same color (e.g., all Green). This indicates strong trend alignment. Volume Confirmation: When you see a BULLISH status combined with the ▲ symbol in the Volume column, it confirms a high-conviction move supported by increasing market participation. Timing: Use the TIME column to prepare for entries just before a candle closes or to avoid "fakes" during low-volume periods.Pine Script® indicatorby bryan_delft7
OB Identify + Verify v1.8OB Identify + Verify An educational tool to help you identify and verify ICT-style Order Blocks on any timeframe. It marks the key candles involved in OB formation so you can learn to spot them yourself. ━━━ CHART LEGEND ━━━ ▲ = Bullish OB candle (last down-close before upward displacement) ▼ = Bearish OB candle (last up-close before downward displacement) ✓ = Displacement confirmed (candle closed beyond OB open) OB+ = Bullish Order Block — expect price to find support here OB- = Bearish Order Block — expect price to find resistance here ━━━ HOW ORDER BLOCKS FORM ━━━ Bullish OB (OB+) 1. A down-close candle forms (sellers in control) 2. The next candle displaces upward and CLOSES ABOVE the down-close candle's open 3. The down-close candle is now marked as the Order Block 4. Price may return to this level as SUPPORT Bearish OB (OB-) 1. An up-close candle forms (buyers in control) 2. The next candle displaces downward and CLOSES BELOW the up-close candle's open 3. The up-close candle is now marked as the Order Block 4. Price may return to this level as RESISTANCE ━━━ WHEN IS AN OB INVALIDATED? ━━━ An Order Block is invalidated when price CLOSES THROUGH the OB level: • OB+ invalid = price closes BELOW the line • OB- invalid = price closes ABOVE the line The line will stop extending when this happens (if "Stop Line at Mitigation" is enabled). ━━━ HOW TO USE THIS INDICATOR ━━━ Step 1: Identify Look for the ▲/▼ markers — these show you which candle is the Order Block. Step 2: Verify The ✓ confirms that displacement was strong enough. No checkmark = no valid OB. Step 3: Wait for Return Price often returns to OB levels. Watch for price to come back to the OB+ line (support) or OB- line (resistance). Step 4: Confirm Context IMPORTANT: This indicator detects the pattern only. For higher-probability setups, verify that the OB forms at a significant level such as: • Higher timeframe Fair Value Gap (FVG) • Previous Order Block • Liquidity sweep (swing high/low taken) • Key support/resistance ━━━ SETTINGS GUIDE ━━━ ATR Multiplier (Displacement Filter) Controls how strong the displacement candle must be: • 0.5 = More OBs, some weaker • 1.0 = Balanced (default) • 1.5+ = Fewer OBs, higher quality Timeframe suggestions: • 1m charts: 0.8 – 1.2 • 5m charts: 0.5 – 1.0 • 15m charts: 0.5 – 0.8 • 4H charts: 0.3 – 0.7 Max OBs Limits how many OBs display to keep your chart clean. Default is 5 each for bullish/bearish. Stop Line at Mitigation When ON, the OB line ends when price closes through it (invalidation). When OFF, lines extend indefinitely. ━━━ TIPS FOR LEARNING ━━━ 1. Start with markers ON — watch how OBs form in real-time 2. Increase ATR multiplier if you see too many weak OBs 3. Zoom out — check if the OB aligns with higher timeframe levels 4. Practice identifying the OB candle before the indicator marks it ━━━ CREDITS ━━━ Based on ICT (Inner Circle Trader) Order Block concepts. Built for educational purposes to help traders learn to identify these patterns independently. Pine Script® indicatorby Flatty2542
Failed 2 Evaluator v2.2-Failed 2 Evaluator & Continuation EngineDescription: The Failed 2 Evaluator & Continuation Engine is an objective price-action analysis tool designed to categorize, visualize, and statistically track how Failed 2 candles behave when interacting with key market levels. This indicator evaluates whether a breach of a level results in price expansion, choppy price action, or a strict structural failure (a "Failed 2" in Strat terminology), providing traders with a quantitative view of historical follow-through. How It Is Calculated The script operates in three distinct phases: 1. Level Generation & Trigger The indicator establishes boundaries using either auto-calculated Pivot Highs/Lows (with user-defined left/right lengths) or manually inputted price levels. The evaluation sequence is triggered the moment a candle's total range (wick) physically breaches one of these active levels. 2. Strict Outcome Evaluation (On Close) Once the triggering candle closes, the script strictly categorizes the outcome into one of three buckets: Breakout/Breakdown Expansion: The candle successfully closes outside the breached level, indicating a continuation of the break. Strict Failed 2 (F2U / F2D): The candle breaches the level but immediately reverses, failing to hold the extreme. To qualify as a true Failed 2, the script enforces a strict structural rule: the candle must close back inside the level and must be a directional reversal candle (e.g., an F2U requires the close to be below the level and below its own open). Neutral Reclaim (Chop): The candle breaches the level and falls back inside, but fails the strict color/directional logic of a true Failed 2. 3. The Continuation Engine When a strict Failed 2 is confirmed, the script activates a forward-looking continuation tracker. It records the closing price of the Failed 2 candle and waits a user-defined number of bars (e.g., 3 bars). It then checks if the price at that future bar successfully continued in the direction of the reversal, logging the historical frequency of structural follow-through. Dashboard Features & Chart Visuals Real-Time Watcher: A dynamic table row alerts the user when a live, unconfirmed candle is actively testing a level, prompting observation for either a Continuation or a Failed 2. Historical Distribution: The dashboard calculates the exact percentage breakdown of Expansions, True Failed 2s, and Chop over a user-defined lookback window. Chart Markers: Clean, unobtrusive visual tags pinpoint exactly where Breaks (B↑/B↓) and True Reversals (F2U/F2D) occurred on the chart for easy visual backtesting. Analytical Purpose The primary benefit of this tool is the removal of emotional bias and subjectivity from "false breakout" analysis. By rigidly defining what constitutes a failed move and statistically tracking its historical continuation rate, this indicator allows analysts to quantify an asset's unique behavior at range extremes. It transforms abstract price action theories into measurable, observable data.Pine Script® indicatorby hardwaybetsUpdated 37
HTF Candles [crlmx] Higher Timeframe Candle Overlay (HTFC) for multi-timeframe overview/analysis. Key Features - Overlay candles from any higher timeframe (default: 1D) - Live candle updates on last bar - Configurable outline and body transparency - Streamlined inputs / UI brought to you by crlmx Trading Applications - View Daily candles in context of intraday charts (W/M with 1-12H) - Higher timeframe support/resistance levels visible - Match HTF to trading style, pick 1-2 levels above chart TF - Daily HTF candles on 15min-1H charts provide structure reference - Live last candle develops with price Scalping: HTF: 1H | Chart: 1m-5m Day Trading: HTF: 4H or 1D | Chart: 15m-1H Swing Trading: HTF: 1W | Chart: 4H-1D Version History v1.26 (Latest - 21 Feb 2026) - HTF candle overlay (1D default) - Configurable timeframe selection - Outline/body transparency control - Live candle updatesPine Script® indicatorby crlmx8
HTF Candle Profile [UAlgo]HTF Candle Profile is a higher timeframe candle visualization tool that rebuilds each selected HTF candle from the lower timeframe bars that form it, then projects a horizontal volume profile inside that HTF candle range. The goal is to make intrabar participation visible directly on the price chart, so you can see where volume concentrated within the candle, where it was thin, and where the dominant traded price level emerged. Instead of treating a daily or four hour candle as a single block, the script aggregates the lower timeframe bars as they arrive and distributes their volume across price bins covering the HTF candle’s high to low range. The result is a compact profile drawn from the start time of the HTF candle toward the right, with width proportional to relative volume per bin and color intensity driven by a gradient. This provides a fast read of internal structure: balanced candles, directional candles, rejection wicks, and consolidation pockets become easier to interpret because you can see the volume distribution inside the candle. The indicator draws on the main chart and keeps a small rolling history of recent HTF candles to stay responsive and to respect object limits. 🔹 Features 1) Multi Timeframe HTF Candle Reconstruction The script listens for a new HTF candle event using the selected timeframe input. When a new HTF candle begins, the previous one is finalized and drawn. During the active HTF candle, each incoming lower timeframe bar updates the running OHLC and stores its high, low, and volume for profiling. This approach enables a live building profile for the current HTF candle while preserving completed profiles for recent candles. 2) Intrabar Volume Profile Built from LTF Data For each HTF candle, the price range from low to high is divided into a user defined number of bins. Each lower timeframe bar contributes volume into all bins it spans. Volume is distributed evenly across the spanned bins to approximate participation within that bar’s range. This produces a per bin volume distribution that is stable and visually interpretable even when lower timeframe candles have large ranges. 3) Gradient Based Profile Intensity Each bin is drawn as a horizontal box. Its color comes from a gradient that maps low volume to a softer profile color and high volume to a stronger profile color. This makes it easy to spot high participation nodes and low participation voids within the HTF candle. Inputs allow independent control for bullish and bearish candle coloring and for the low volume and high volume profile colors. 4) POC Line Option The script can optionally plot a POC line representing the price level of maximum volume within the HTF candle. This is drawn as a dashed horizontal line that spans the candle’s start time to end time. POC is often used as a reference for acceptance, fair value, or a magnet level during retracements. 5) Candle Body, Wick, and Time Boundaries To keep the profile anchored and readable, the script also draws: A translucent body box from HTF open to HTF close A vertical wick line from HTF high to HTF low A dotted start boundary and a dotted end boundary for the HTF candle window These elements provide context so the profile is always interpreted within the candle structure that produced it. 6) Object Management and Rolling History To keep charts clean and avoid exceeding platform limits, the script maintains a small history of HTF candles and deletes drawings for older ones. Each candle owns its objects and can fully clear them when removed from the rolling window. 🔹 Calculations 1) New HTF Candle Detection A new candle event is detected using timeframe change on the selected timeframe: isNew = timeframe.change(tf) When isNew is true: The previous HTF candle is finalized by setting its end time and drawing it A new HTF candle object is created and added to the array Old candles beyond the history limit are removed and their drawings deleted 2) HTF Candle Aggregation from LTF Bars Each incoming lower timeframe bar updates the active HTF candle: method addLtf(HtfCandle this, float h, float l, float c, float v) => this.ltfData.push(LtfBar.new(h, l, v)) this.h := math.max(this.h, h) this.l := math.min(this.l, l) this.c := c Interpretation: High is updated to the maximum seen so far within the HTF candle window Low is updated to the minimum seen so far Close is updated to the most recent close Each LTF bar is stored with its high, low, and volume for later bin distribution 3) Bin Construction Across the HTF Candle Range When drawing a candle, the script divides the HTF range into binCount segments: float step = (this.h - this.l) / bCount for i = 0 to bCount - 1 this.bins.push(ProfileData.new(this.l + i * step, this.l + (i + 1) * step, 0.0, na)) Each bin stores: minP and maxP boundaries accumulated volume for that price segment a box handle for drawing 4) Volume Distribution from Each LTF Bar into Bins For each stored LTF bar, the script determines which bins the bar spans and distributes volume evenly across them: int startIdx = int((ltf.l - this.l) / step) int endIdx = int((ltf.h - this.l) / step) startIdx := math.max(0, math.min(startIdx, bCount - 1)) endIdx := math.max(0, math.min(endIdx, bCount - 1)) int spanned = endIdx - startIdx + 1 float vPerBin = ltf.v / spanned for j = startIdx to endIdx ProfileData b = this.bins.get(j) b.vol += vPerBin Interpretation: The bar range is mapped to bin indexes Indexes are clamped so they remain inside the array Volume is divided by the number of spanned bins Each spanned bin receives an equal share of that bar’s volume This is a robust approach for intrabar profiling without tick data. 5) POC Computation The script finds the bin with the maximum accumulated volume and sets the POC price at the midpoint of that bin: float maxVol = 0.0 float pocP = na for b in this.bins if b.vol > maxVol maxVol := b.vol pocP := math.avg(b.minP, b.maxP) If enabled, a dashed POC line is drawn across the HTF candle window: if sPoc and not na(pocP) this.lPoc := line.new(x1=this.st, y1=pocP, x2=this.et, y2=pocP, xloc=xloc.bar_time, color=cPoc, style=line.style_dashed, width=2) 6) Profile Box Width Scaling Each bin’s box width scales by its volume relative to the maximum volume bin. Width is capped as a fraction of the candle’s time duration: int duration = math.max(this.et - this.st, 1) int volWidth = int((duration * 0.40) * (b.vol / maxVol)) int boxRight = this.st + volWidth Interpretation: duration represents the HTF candle time width 0.40 is the maximum profile width fraction of the candle duration b.vol / maxVol converts volume to a normalized ratio boxRight is calculated so all profile boxes start at the candle start time and extend rightward based on volume 7) Gradient Coloring of the Profile Each bin color is mapped from low volume to high volume using a gradient: color gradColor = color.from_gradient(b.vol, 0, maxVol, cLow, cHigh) This keeps low participation zones visually lighter and high participation zones more prominent. 8) Candle Body and Wick Drawing The script draws an HTF candle body box and a wick line for context: float topP = math.max(this.o, this.c) float botP = math.min(this.o, this.c) this.bBody := box.new(left=this.st, top=topP, right=this.et, bottom=botP, xloc=xloc.bar_time, bgcolor=color.new(c, 85)) this.lWick := line.new(x1=midTime, y1=this.h, x2=midTime, y2=this.l, xloc=xloc.bar_time, color=color.new(c, 30), width=2) It also draws start and end boundary lines so the candle window is clearly defined in time. Pine Script® indicatorby UAlgo22138
Delta Ladder Order Flow [UAlgo]Delta Ladder Order Flow is an overlay order flow visualizer that builds a per bar delta ladder using lower timeframe candles as an intrabar proxy. For each recent bar, the script pulls the underlying lower timeframe open, high, low, close, and volume arrays, then distributes volume into discrete price buckets. Each bucket accumulates estimated buy volume and sell volume, producing a ladder that resembles a footprint style view. The display focuses on three core outputs: A delta heatmap ladder where each price level is colored by net delta dominance A Point of Control highlight that marks the highest total volume level inside the bar A stacked imbalance detector that scans diagonally across levels to identify aggressive one sided participation and optionally projects that stack forward The system is designed with stability controls for real world chart conditions. It includes dynamic scaling to prevent excessive level counts on high range bars, object budgeting through bars to draw limits, and text filtering to reduce clutter. 🔹 Features 1) Intrabar Resolution via Lower Timeframe Data The ladder is constructed using request.security_lower_tf. You select an Intrabar Resolution timeframe that must be lower than the chart timeframe. The script then receives arrays of LTF candles for each chart bar and uses them as a proxy for footprint style aggregation. This approach provides a practical order flow approximation on TradingView charts without requiring native tick level data. 2) Ladder Aggregation with Tick Size Multiplier Price levels are aggregated using the symbol mintick multiplied by a user multiplier. Increasing the multiplier produces thicker ladder steps and fewer levels. Decreasing it produces finer granularity but increases the number of boxes drawn. This control is critical for balancing detail versus performance across different symbols and volatility regimes. 3) Dynamic Scaling to Prevent High Range Bar Overload A single volatile bar can contain too many price steps if the granularity is too fine. To prevent crashes, the script estimates how many steps would be required for the bar and increases the effective step size when the raw step count exceeds Max Levels per Bar. This keeps rendering stable even during high volatility events while still maintaining a consistent ladder representation. 4) Buy, Sell, and Neutral Volume Attribution Each LTF candle’s direction is inferred from its open and close: Close above open is treated as buy side volume Close below open is treated as sell side volume Close equal open is treated as neutral and split evenly between buy and sell Volume is then distributed across the price buckets covered by the LTF candle range so that wide candles spread their influence across multiple levels. 5) Delta Heatmap Ladder with Intensity Scaling Each price bucket computes delta as buy volume minus sell volume and total volume as the sum of both. Ladder cells are colored positive or negative based on delta sign, and transparency is scaled by how dominant the delta is relative to the maximum total volume level inside that bar. This yields a compact heatmap where strong imbalances visually stand out. A square root curve is applied to intensity to improve mid tone visibility without making everything fully opaque. 6) Point of Control Highlight The ladder tracks the price level with the highest total volume and marks it as the Point of Control. When enabled, the POC row uses a dedicated border color and a stronger border width so the acceptance anchor is immediately visible. 7) Stacked Imbalance Detection and Projection The script can detect stacked diagonal imbalances. It compares volume across adjacent price levels using a diagonal logic similar to footprint tools: Bullish diagonal checks buy volume at a level versus sell volume at the level below Bearish diagonal checks sell volume at a level versus buy volume at the level above An imbalance requires the winning side to exceed the losing side by the configured Imbalance Ratio and also exceed a minimum volume threshold to filter low volume noise. When consecutive imbalanced levels reach the Stacked Levels count, the stack is marked and optionally extended forward as a zone. Stack members also override normal heatmap coloring and are rendered more solid for emphasis. 8) Clean Visual Controls Several options support readability: Bars to Draw limits workload and object count Show Delta Values can be toggled on or off Min Delta to Show Text filters small prints Ladder Width percent controls how wide the ladder is relative to the bar space Text size can be adjusted for different chart zoom levels Box outline can be hidden by default for a cleaner footprint aesthetic 🔹 Calculations 1) Intrabar data acquisition (lower timeframe arrays) The script requests arrays of LTF OHLCV values for each chart bar using request.security_lower_tf. ltf_open = request.security_lower_tf(syminfo.tickerid, tf_input, open) ltf_close = request.security_lower_tf(syminfo.tickerid, tf_input, close) ltf_high = request.security_lower_tf(syminfo.tickerid, tf_input, high) ltf_low = request.security_lower_tf(syminfo.tickerid, tf_input, low) ltf_vol = request.security_lower_tf(syminfo.tickerid, tf_input, volume) These arrays contain the lower timeframe candles that make up each chart bar. Each chart bar index has its own embedded array. 2) Base tick step (bucket size control) Bucket size starts from mintick multiplied by Tick Size Multiplier. var float base_tick_step = syminfo.mintick * tick_size_mult This is the baseline price increment used to build the ladder levels. 3) Last bar execution model (performance design) The script only builds and draws ladders when barstate.islast is true. It then reconstructs the last N bars using an index offset. if barstate.islast int start_idx = math.max(0, bar_index - bars_to_draw + 1) for i = start_idx to bar_index int offset = bar_index - i float arr_o = ltf_open float arr_c = ltf_close float arr_h = ltf_high float arr_l = ltf_low float arr_v = ltf_vol This design dramatically reduces CPU and memory load compared to updating every bar. 4) Dynamic scaling per bar (anti crash protection) For each bar, the script estimates how many price steps would be needed using the current bucket size. If that count exceeds Max Levels per Bar, it increases the step size only for that bar. float bar_h = high float bar_l = low float bar_range = bar_h - bar_l float raw_steps = bar_range / base_tick_step int scaler = 1 if raw_steps > max_levels_per_bar scaler := int(math.ceil(raw_steps / max_levels_per_bar)) float current_tick_step = base_tick_step * scaler Result: Calm bars use fine granularity High range bars are automatically compressed into fewer buckets 5) LTF candle direction classification (buy, sell, neutral) Each LTF candle is classified using its open and close. Neutral candles split volume evenly. bool is_buy = c > o bool is_sell = c < o bool is_neutral = c == o This is a heuristic proxy for aggressor side. It is not true bid ask data. 6) Align LTF candle range to bucket grid The candle low and high are rounded to the current tick step so bucket prices align cleanly. float low_aligned = math.round(l / current_tick_step) * current_tick_step float high_aligned = math.round(h / current_tick_step) * current_tick_step 7) Step counting and volume per step The script computes how many bucket levels the candle touches and divides volume equally across them. int steps = int(math.round((high_aligned - low_aligned) / current_tick_step)) + 1 if steps > 500 steps := 500 float vol_per_step = v / steps This means wide candles distribute volume across more ladder cells, while tight candles concentrate volume into fewer cells. 8) Writing volume into the ladder map (PriceLevel storage) Each chart bar owns a DeltaLadder with a map of price to PriceLevel. Each PriceLevel stores buy and sell volume. Volume is added step by step. type PriceLevel float price float buy_vol = 0.0 float sell_vol = 0.0 type DeltaLadder int bar_idx map levels float min_price = 10000000.0 float max_price = 0.0 float max_vol_level = 0.0 float poc_price = na float poc_vol = 0.0 The add method updates volumes and also tracks max volume and POC: method add_volume(DeltaLadder this, float price, float vol, bool is_buy, bool is_neutral) => if not this.levels.contains(price) this.levels.put(price, PriceLevel.new(price)) PriceLevel lvl = this.levels.get(price) if is_neutral lvl.buy_vol += vol * 0.5 lvl.sell_vol += vol * 0.5 else if is_buy lvl.buy_vol += vol else lvl.sell_vol += vol float t = lvl.total() if t > this.max_vol_level this.max_vol_level := t if t > this.poc_vol this.poc_vol := t this.poc_price := price The main loop calls this method for each bucket level touched by each LTF candle: for p = 0 to steps - 1 float level_price = low_aligned + (p * current_tick_step) ladder.add_volume(level_price, vol_per_step, is_buy, is_neutral) 9) Delta and total volume formulas Delta and total are defined as methods on PriceLevel. method delta(PriceLevel this) => this.buy_vol - this.sell_vol method total(PriceLevel this) => this.buy_vol + this.sell_vol These values drive both coloring and POC selection. 10) Stacked imbalance detection (diagonal footprint logic) Prices are sorted so neighbor comparisons are correct. A stack_map stores whether each price belongs to a bullish or bearish stacked run. float prices = ladder.levels.keys() array.sort(prices) map stack_map = map.new() Diagonal comparisons: Bullish diagonal compares BuyVol at level i with SellVol at level below i minus 1 Bearish diagonal compares SellVol at level i with BuyVol at level above i plus 1 Bullish check includes a zero handling rule: if i > 0 float p_below = array.get(prices, i-1) PriceLevel lvl_below = ladder.levels.get(p_below) if lvl_below.sell_vol == 0 if lvl.buy_vol > imb_min_vol direction := 1 else if lvl.buy_vol > lvl_below.sell_vol * imb_ratio and lvl.buy_vol > imb_min_vol direction := 1 Bearish check includes symmetric logic: if i < array.size(prices) - 1 float p_above = array.get(prices, i+1) PriceLevel lvl_above = ladder.levels.get(p_above) if lvl_above.buy_vol == 0 if lvl.sell_vol > imb_min_vol direction := -1 else if lvl.sell_vol > lvl_above.buy_vol * imb_ratio and lvl.sell_vol > imb_min_vol direction := -1 Runs are tracked and only accepted if the number of consecutive levels meets the stacked requirement: if math.abs(i - run_start_idx) >= stack_count for k = run_start_idx to i - 1 stack_map.put(array.get(prices, k), run_dir) The script also draws a projected zone for the detected stack band: box.new(right_time, p_top + current_tick_step/2, right_time + 1000 * 60 * 60 * 24, p_bot - current_tick_step/2, xloc=xloc.bar_time, border_width=0, bgcolor=color.new(c_stack, 85), extend=extend.right) 11) Heatmap intensity and transparency mapping For each price level, intensity is computed as abs(delta) relative to the maximum total volume level in the bar, then curved and mapped into transparency. float intensity = ladder.max_vol_level > 0 ? math.abs(delta) / ladder.max_vol_level : 0 intensity := math.min(intensity, 1.0) float curved_intensity = math.sqrt(intensity) float transp = 97 - (curved_intensity * 57) Stacked members force stronger visibility: if stack_map.contains(p) intensity := 1.0 transp := 30 12) POC marking in the drawing pass POC is detected during volume accumulation, then used in rendering to upgrade the border style for that cell. bool is_poc = show_poc and (p == ladder.poc_price) color border_c = is_poc ? col_poc : col_outline int border_w = is_poc ? 2 : 1 13) Delta text rendering filter Text labels are optional and can be filtered by a minimum absolute delta threshold. if show_text and math.abs(delta) >= text_threshold string txt = str.tostring(delta, format.volume) label.new(int((left_time + right_time)/2), p, txt, xloc=xloc.bar_time, style=label.style_none, textcolor=txt_col, size=text_size) Pine Script® indicatorby UAlgo202
HTF Candle Dynamics [LuxAlgo]The HTF Candle Dynamics indicator provides traders with a comprehensive view of Higher Timeframe (HTF) price action and volume distribution directly on their lower timeframe charts. By projecting the current developing HTF candle and its internal volume characteristics to the right of the price, users can maintain high-level context without switching tabs. Note: Ensure the chart timeframe is lower than the selected HTF setting for the indicator to function correctly. 🔶 USAGE This tool is designed to bridge the gap between execution timeframes and higher-level market structures. It is particularly useful for scalpers and day traders who need to stay aware of Daily or Weekly levels while trading on 1-minute or 5-minute charts. 🔹 HTF Candle Projection Visualizes the current HTF period (e.g., Daily, Weekly) as a dynamic candle on the right side of the chart. It includes projections for the HTF Open, High, Low, and Close levels. These levels often act as significant psychological barriers where price might find support or resistance. 🔹 Intraday Volume Profile Generates a volume profile specifically for the current HTF period. This allows traders to see where the most volume is being transacted within the developing candle. Identifying "High Volume Nodes" within the current HTF candle can signal where institutional interest is concentrated. 🔹 Dynamic POC Tracking A polyline tracks the movement of the Point of Control (POC) throughout the HTF period, showing how the most traded price level has shifted over time. If the POC is trending upward alongside price, it confirms a healthy bullish trend; if price moves away from a static POC, it might indicate a potential mean reversion back to that high-volume level. 🔹 How to Use Traders can utilize this indicator to align their intraday trades with the broader market direction: Identifying Value : Use the Intraday Volume Profile to spot the Point of Control. If the price is trading above the POC, the market is currently in a premium zone for that HTF. If it is below, it may be considered "discounted" relative to the volume transacted so far. Breakout Confirmation : When price breaks the High or Low of the projected HTF candle, traders look for volume expansion within the profile to confirm if the breakout has significant participation. Mean Reversion : The Dynamic POC line acts as a magnet. If price overextends significantly from the POC line, traders often look for signs of exhaustion to play a move back toward the high-volume area. 🔶 DETAILS The indicator uses security calls to fetch historical HTF data while calculating the current developing period in real-time. A dedicated status table ensures the selected HTF is valid relative to the chart timeframe to prevent calculation errors. 🔹 History Dashboard The dashboard provides a statistical breakdown of the previous three HTF candles (T-1, T-2, T-3). This is crucial for "Contextual Trading." By seeing the OHLC values and Volume Delta of the previous periods, you can determine if the market is experiencing "Expansion" (increasing volume and candle size) or "Contraction" (decreasing volume and tighter ranges). 🔹 Volume Delta The Volume Delta shown in the history dashboard is an approximation calculated by summing volume based on the direction of individual intraday candles. 🔶 SETTINGS HTF Setting : Defines the timeframe for the candle projection and volume profile (default is "D"). Right Offset : Adjusts the horizontal position of the projected candle and labels to avoid overlapping with price. Visuals : Full control over bullish/bearish colors, POC lines, and projection offsets. Volume Profile : Toggle the profile visibility and customize the number of rows or the maximum width of the bars. History Dashboard : Toggle the history dashboard and adjust its position (Top Right, Bottom Right, etc.) or size. Pine Script® indicatorby LuxAlgo429
Smart NR2-NR20 and Inside Bar (Zeiierman)█ Overview Smart NR2–NR20 + Inside Bar (Zeiierman) is a compression + breakout scanner that searches for the tightest Narrow Range (NR) condition across NR2…NR20, plus optional Inside Bar detection. When a valid compression forms, it draws a box around the setup, projects the high/low levels forward, and triggers on the first breakout. Optional Trend Filter logic can restrict triggers to trend-aligned breakouts, and optional Exit markers can annotate TP / SL / Time exits after a trigger. 🔘 What It Detects The Smart Narrow Range (NR2…NR20) script continuously checks NR lengths from 2 to 20 and selects the most extreme contraction (tightest relative range vs history) inside the current Look Back window, highlighting the strongest “compression” zones where expansion risk is building. Optionally, it can also treat an Inside Bar as a valid compression trigger. █ How It Works ⚪ 1) Compression Scan (NR Ranking Engine) For each bar, the script evaluates NR2…NR20: It calculates the N-bar range (highest high − lowest low). It compares that range to prior N-bar ranges over Look Back. It ranks candidates by “tightness” and keeps the strongest one. Key effect: Higher Look Back = fewer but higher-quality compressions Lower Look Back = more frequent compressions ⚪ 2) Adaptive Look Back (Static or ADX-Adaptive) Look Back can be: Static: fixed comparison window ADX Adaptive: Look Back dynamically shifts between LB Min and LB Max depending on trend strength Conceptually: Higher ADX (strong trend) — shorter Look Back (more responsive) Lower ADX (chop/range) — longer Look Back (more selective) █ How to Use ⚪ Bullish Setup Wait for a tight range to form Enter on a breakout above the range high Stop below the opposite side of the range Target a multiple of the range size or trail with momentum Optional: wait for a small breakout retest before entering ⚪ Bearish Setup Wait for a tight range to form Enter on breakout below the range low Stop above the opposite side of the range Target a multiple of the range size or trail with weakness Optional: enter on breakdown retest █ Settings Enable Inside Bar — toggles Inside Bar detection. Look Back (compare window) — history window used to judge contraction quality. Enable Trend Filter — gates long/short triggers relative to Trend MA. Show Trend MA — plots the Trend MA on chart. Trend MA Mode — Static or NR-Adaptive (length follows Look Back × multiplier). MA Type — EMA or RMA smoothing for the Trend MA. NR — MA Multiplier — scales adaptive MA length from Look Back. Static MA Length — used when Trend MA Mode is Static. Look Back Mode — Static or ADX Adaptive. ADX Length / ADX Low / ADX High — controls adaptive response to trend strength. LB Min / LB Max — bounds for adaptive Look Back range. ----------------- Disclaimer The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information. All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs. Pine Script® indicatorby Zeiierman66993
Body Close Outside Prior Body - BOS Filtered (MTF) by JKStrategy: MTF Market Structure & Body Breakout (BOS Filtered) Overview This Pine Script strategy identifies high-probability trade entries by combining Price Action Engulfing/Breakout patterns with Multi-Timeframe Market Structure (BOS). It is designed for traders who want to follow the "Path of Least Resistance" by ensuring entries on a lower timeframe align with the trend of a higher timeframe. Key Features Multi-Timeframe (MTF) Filter: Automatically detects Break of Structure (BOS) on a higher timeframe (e.g., 15m) using Pivot Highs/Lows to determine the overall market bias. Body-Close Logic: Unlike standard engulfing patterns, this entry triggers specifically when a candle body closes entirely outside the price action of the prior candle's body, signaling strong momentum. Dynamic Risk Management: * Calculates position size automatically based on a fixed dollar amount ($200 by default) per trade. Adjustable Stop Loss source (Wick-based for safety or Body-based for tighter entries). Institutional Safeguards: * Daily Loss/Profit Limits: Stops trading once a specific dollar target or loss threshold is hit for the day. Loss Streak Protection: Automatically halts trading after a user-defined number of consecutive losses to prevent revenge trading. Post-Trade Cooldown: Forces a "wait period" (candle count) after an exit before a new entry can be taken. Session Filtering: Restricts trading to specific hours (e.g., NYSE Open) to avoid low-liquidity chop. Technical Logic Market Bias: The script tracks PivotHigh and PivotLow on the BOS Timeframe. A close above the last Pivot High sets a Bullish bias; a close below the last Pivot Low sets a Bearish bias. The Entry: Long: Market Bias is Bullish + Prior candle was Bearish + Current candle is Bullish + Current Close is higher than the prior candle's Body High. Short: Market Bias is Bearish + Prior candle was Bullish + Current candle is Bearish + Current Close is lower than the prior candle's Body Low. Exit Strategy: Uses a fixed Risk:Reward ratio (Default 1:2). The Stop Loss is dynamically placed at the recent swing (wick) or the candle open. Visual Dashboard The strategy includes a real-time HUD (Heads-Up Display) in the top-right corner of the chart, tracking: Current Trend Direction (MTF) Current Daily P&L (USD) Current Loss Streak vs. Maximum allowed.Pine Script® strategyby jonmoffitt7
Gap DetectorGap Detector — Multi-Timeframe Price Gap Scanner Automatically detects and visualizes all price gaps across any timeframe — Daily, Weekly, Monthly, or Intraday. 📊 What It Does This indicator identifies true price gaps where the current candle opens completely above (gap up) or below (gap down) the previous candle's range, with no price overlap between them. Gap Up (Bullish): Current candle's low > Previous candle's high Gap Down (Bearish): Current candle's high < Previous candle's low ✨ Key Features ✅ Auto-Detects Chart Timeframe — Works on any timeframe without manual selection (1min, 5min, 1H, 4H, Daily, Weekly, Monthly) ✅ Visual Gap Boxes — Green boxes for gap ups, red boxes for gap downs, drawn exactly across the gap zone ✅ Gap Size Labels — Shows gap percentage on each box for quick assessment ✅ Customizable Filters — Set minimum and maximum gap size % to filter noise ✅ Summary Statistics Table — Live count of bull gaps, bear gaps, and total gaps detected ✅ Pine Screener Compatible — Built-in signals for bulk scanning stocks with gaps ✅ Clean & Lightweight — No repainting, no lag, works on all markets (stocks, forex, crypto, indices) 🎯 Use Cases Day/Swing Trading: Identify gap fill opportunities on intraday and daily charts Earnings Plays: Track post-earnings gaps on daily/weekly timeframes Breakout Confirmation: Gaps often signal strong momentum or trend continuation Support/Resistance Zones: Unfilled gaps act as magnets for price action Multi-Timeframe Analysis: Scan 4H gaps, daily gaps, or weekly gaps depending on your strategy 🛠️ Settings Visibility Controls: Toggle bull gaps, bear gaps, labels, and summary table on/off independently Filter Settings: Min Gap Size (%) — Ignore gaps smaller than this threshold (default 0.1%) Max Gap Size (%) — Ignore abnormally large gaps like circuit breaker moves (default 5%) Style Customization: Gap box colors, border colors, and table position (Top Right, Top Left, Bottom Right, Bottom Left) 📈 How to Use with Pine Screener (TradingView Pro+) Add indicator to any chart and set your desired timeframe (e.g., 4H for intraday gaps) Open Pine Screener (bottom toolbar) Select Gap Detector indicator Choose Bull Gap Signal or Bear Gap Signal Set condition: Above → 0 Click Scan to find all stocks with gaps on current candle Screener Outputs: Bull Gap Signal = 1 → Gap up formed on current candle Bear Gap Signal = 1 → Gap down formed on current candle Signal = 0 → No gap on current candle 📌 Notes Gaps are detected based on previous candle close to current candle open — not wicks Works on all markets and instruments where gaps occur (stocks, forex, crypto, futures, indices) Signal plots appear in a separate pane below the chart for clean visualization Gap count resets when you reload the chart or change timeframes 💡 Pro Tips 4H Timeframe: Great for intraday gap trading on volatile stocks Daily Timeframe: Classic overnight gaps — ideal for gap fill strategies Weekly/Monthly Timeframe: Macro trend analysis and major support/resistance zones Combine with volume or momentum indicators for higher-probability setups Created for traders who need fast, reliable gap detection without manual scanning.Pine Script® indicatorby barundutta8954
HeikenAshi Trend LiteThe HeikenAshi Trend Lite indicator displays double-smoothed Heikin-Ashi candles on the current timeframe as a trend overlay. By applying two passes of EMA smoothing to Heikin-Ashi calculations, it filters out market noise to reveal clean trend direction. █ USAGE Reading the Trend The indicator draws a filled ribbon representing the smoothed Heikin-Ashi body. When the smoothed HA close is above the smoothed HA open, the ribbon is bullish. When below, it is bearish. The body uses a semi-transparent fill, while the wick range is drawn with a lighter shade, creating a layered visual. Color changes represent confirmed trend shifts after double smoothing has absorbed enough price data. This filtering eliminates most false signals from choppy conditions. █ DETAILS The calculation follows three steps: 1 — EMA smoothing of raw OHLC values 2 — Heikin-Ashi transformation of the smoothed values 3 — Second EMA pass on the resulting HA values This double-smoothing approach reduces noise effectively while maintaining less lag than equivalent single-pass smoothing with very long periods. █ SETTINGS • EMA Length: Period for the first EMA smoothing pass (default: 10). • Smoothing Length: Period for the second EMA pass (default: 10). • Bullish / Bearish Color: Customizable trend colors. • Show Candles: Display traditional HA candle bodies alongside the ribbon. This indicator uses synthetic Heikin-Ashi values that do not represent actual traded prices. It does not constitute financial advice. Past performance does not guarantee future results. Pine Script® indicatorby lost_sol_18
FVG Mapper + FilterHTF FVG Mapper — Multi-Timeframe Imbalance Projection For some reason its not showing on the chart above, this site is a buggy mess sometimes, the UI is just the worst. This script detects Fair Value Gaps (FVGs) on a selectable higher timeframe (HTF) and projects them onto lower timeframes (such as 1-minute) as extended zones. While commonly used with the 4-hour chart, the timeframe is fully customizable, allowing traders to map imbalances from any higher timeframe onto their execution chart. What the Script Does Scans a user-defined higher timeframe using the classic 3-candle FVG model Identifies bullish and bearish imbalances (true displacement gaps) Allows full HTF selection (e.g., 1H, 4H, Daily, etc.) Filters out insignificant gaps using HTF ATR (optional size filter) Draws zones on the lower timeframe chart and extends them right Deletes zones once mitigated (if enabled) Limits the total number of active zones to reduce clutter Optionally removes zones far from current price Allows wick-based or body-based mitigation detection How Fair Value Gaps Are Defined Bullish FVG → Low of candle 3 is greater than High of candle 1 Bearish FVG → High of candle 3 is lower than Low of candle 1 This reflects displacement and temporary imbalance in auction delivery. Important: FVGs are confirmed only after the selected HTF candle closes to prevent repainting. Customisation Options Select the higher timeframe to scan (not restricted to 4H) Set maximum number of visible zones Enable/disable automatic deletion after mitigation Enable minimum size filtering using HTF ATR Adjust minimum gap size sensitivity Enable proximity filtering (show only zones near current price) Toggle wick-based vs body-based fill detection Adjust visual styling (colors, transparency) Intended Usage This indicator is designed for traders who: Trade lower timeframes but anchor bias to higher-timeframe structure Use HTF imbalances as reaction or continuation zones Look for confluence between liquidity sweeps and HTF inefficiencies Want structured multi-timeframe context without visual overload Typical Workflow Select a higher timeframe aligned with your bias (e.g., 4H or Daily) Identify active imbalances on your execution timeframe Wait for price to approach an HTF FVG Drop to lower timeframe structure for confirmation Execute with defined invalidation beyond the zone Important Context This indicator does not generate buy/sell signals It does not predict direction It visualizes higher-timeframe inefficiencies only Trade management and bias determination remain trader-dependent It is not a mechanical strategy. It is a multi-timeframe structural context tool designed to improve execution precision within higher-timeframe imbalance zones. Pine Script® indicatorby alcomehoUpdated 12
Bitcoin CME GAP [SAKANE]This indicator detects and visualizes the weekend gap in CME Bitcoin futures (BTC1!), defined as the difference between the Friday settlement price and the Monday opening price. It stores the final CME close, waits for trading to resume, and then measures the gap. If the gap exceeds the user-defined threshold, it is displayed as a box on the chart. The box remains active until price returns to the gap’s closing level or a specified number of bars has elapsed. During the CME weekend closure, a horizontal reference line marks where CME last settled, providing a clear anchor for price positioning. A key feature is that the gap is displayed correctly even on spot or perpetual BTC charts. Because futures prices often trade at a premium or discount relative to spot markets, plotting CME levels directly would misplace the gap. This script calculates the price difference between CME and the chart instrument and shifts the gap vertically into the chart’s price space while preserving its true size. As a result, traders can see the actual gap location where market participants are likely to react, without distortion from futures basis differences. Gap-fill detection is performed using CME futures prices themselves. The script evaluates whether the CME high or low has reached the prior CME close level that defines the gap. This ensures that once the gap is filled in the futures market, it is considered filled everywhere. Because of this CME-based validation combined with spot-space visualization, users can determine whether a gap has closed without switching to the BTC1! chart. CME gaps are widely observed by market participants because price frequently revisits and fills these discontinuities. By highlighting both the location and the fill status of the gap, this indicator helps track the gap-closure tendency and provides insight into short-term liquidity imbalances, derivatives-driven dislocations, and the market’s process of price repair.Pine Script® indicatorby amusedMagpie26867Updated 27
Inside DayThe Inside Day Background indicator automatically highlights Inside Day candles directly on the chart using a customizable background color. An Inside Day occurs when the current candle’s high is lower than the previous candle’s high, and the current low is higher than the previous candle’s low — signaling price consolidation and range compression. This condition often precedes volatility expansion and breakout opportunities. How It Works The script scans each bar and checks the following condition: Current High < Previous High Current Low > Previous Low When both are true: The chart background is highlighted No shapes or labels are plotted (clean chart visualization) An alert condition is triggered (optional) Trading Use Cases Inside Days are commonly used for: Breakout strategies Range expansion setups Volatility contraction signals Bull Flag / consolidation continuation patterns Opening range continuation plays Traders often watch for a break above the Inside Day high (bullish) or below the low (bearish). Features Clean background highlight only (no chart clutter) Fully customizable background color Toggle on/off visibility Built-in alert condition Works on all timeframes Overlay on price chart Notes Consecutive Inside Days will continue highlighting until range expansion occurs. Best combined with volume, VWAP, or range breakout strategies. Effective for both day trading and swing trading environments.Pine Script® indicatorby barrosnobre9
FxShare - CC ReversalBased on candle count and reverse. You can set how many candles (and their body shape) you count in a row before the retracement and market overstretch happens. It also has an EMA filter if you wish for even stronger but more rare signals. Nothing but classic statistics and probabilities.. Pine Script® indicatorby FxShareRobots100
Inside Candle Positional StrategyIntroduction This strategy implements a structured Inside Candle breakout model designed to capture expansion moves following short-term price compression. An inside candle represents a temporary contraction in volatility, where the entire range of the current bar is contained within the previous bar. The preceding bar becomes the Mother Candle, and its range defines the potential breakout boundaries. The model focuses purely on price structure and predefined risk parameters rather than trend-following overlays or momentum filters. Core Logic and Structure Inside Candle Detection An inside candle is defined as: Current High < Previous High Current Low > Previous Low When this condition occurs, the previous bar is marked as the Mother Candle. Only one breakout attempt is allowed per identified structure to prevent repeated entries within the same consolidation phase. Trade Entry Rules Entries are executed at market on confirmed bar close. Long Position Close > Mother Candle High No active position Short Position Close < Mother Candle Low No active position This ensures breakout confirmation rather than anticipatory positioning. Risk Management Framework Risk control is fully rule-based and determined at the moment of entry. For each trade: Initial Stop Loss = Opposite boundary of the Mother Candle Risk = Distance between entry price and initial stop Target = Entry ± (Risk × Risk-Reward Ratio) The Risk-Reward Ratio is user configurable. Only one position is active at any time (pyramiding disabled). Optional ATR-Based Trailing Stop An optional trailing mechanism may be enabled: Trailing Stop updates on every confirmed bar. Calculated using ATR × Multiplier. Moves only in the direction of profit. Never worsens beyond the initial stop level. If disabled, exits rely solely on the fixed stop and target. Execution Model All signals are calculated on confirmed bar closes. Entries are market orders. Stop and target levels are evaluated using bar OHLC values. No repainting logic is used. No intrabar order sequencing assumptions are applied. Backtest performance may differ from live execution due to slippage, spread, liquidity, and market conditions. Visual Components Inside candles are highlighted (default: yellow). Entry, Initial Stop, Trailing Stop (if enabled), and Target levels are displayed using line-break formatting for clarity. Designed to maintain structural visibility without excessive chart clutter. Strategy Defaults Initial Capital: $1000 Commission: 0.05% Position Size: 1 (fixed quantity) Pyramiding: Disabled These defaults can be adjusted in the Strategy Properties panel. Intended Application This strategy is suited for studying breakout behavior after short-term consolidation phases. Performance characteristics will vary depending on instrument volatility, timeframe, and market regime. It is presented as a structural breakout framework and should be tested and adapted according to individual risk tolerance and trading objectives. Disclaimer Trading involves significant risk. This script is provided for educational and research purposes only and does not constitute financial advice. Users are responsible for evaluating its suitability for their own trading decisions.Pine Script® strategyby subrajitmishra62
Borna ChecklistBorna Checklist Borna Checklist is a manual decision-support tool designed to help traders structure their bias during the London session. The indicator displays a simple checklist on the chart where users manually define: higher-timeframe trend, London open location, London behavior (BOS or pullback), and M15 candle confirmation. Based on the selected inputs, the checklist summarizes a directional bias (LONG / SHORT / WAIT). This bias is not a trade signal and does not execute or suggest entries. It is intended to support discipline, consistency, and manual analysis. Borna Checklist can be used alongside session-based indicators such as Asia High/Low, but it functions independently and does not calculate or plot price levels.Pine Script® indicatorby Borna_trading3
15 Consecutive Heikin Ashi Candles AlertThis indicator detects 15 consecutive Heikin Ashi candles in the same direction (bullish or bearish) and alerts you the moment the 15th candle closes. Key Features: Accurate Heikin Ashi detection using ticker.heikinashi (works on any chart type) Configurable streak length (default 15) and Heikin Ashi timeframe (default 3 minutes) Triggers alerts only once when the streak reaches exactly 15 (no spam on longer streaks) Live visual streak counter (histogram) — green for bullish, red for bearish Optional overlay of clean Heikin Ashi candles on your chart Real-time table showing current streak direction and count Background flash + large on-chart labels when the 15-candle streak is confirmed Clean, lightweight code with zero repainting Best Use: Ideal on 3-minute charts for scalping or momentum trading Great for catching strong trends early in crypto, forex, or stocks Set alerts for "15 Bullish HA Candles" or "15 Bearish HA Candles" Settings: Streak Length → Change alert threshold Overlay Heikin Ashi Candles → Toggle HA display Heikin Ashi Timeframe → Use "3" for 3-minute HA dataPine Script® indicatorby Trend_Informer7
Inside/Outside Bar Highlight在价格行为学中,内包棒外包棒在某些情景下往往是信号,预示趋势可能延续或者反转。 编写此指标是为了各位交易员们更方便快速地识别信号。 默认设置为内包棒为透明,外包棒颜色加深。 In price action, the inside and outside bars often act as signals in certain scenarios, indicating a potential continuation or reversal of a trend. This indicator was created to help traders quickly and easily identify signals. The default setting is that the inside bar is transparent, and the outside bar is darker.Pine Script® indicatorby Kronight3
Paradigm Shift: Delivery StateDescription by way of Example using weekly and 4h readings. THIS INDICATOR IS NOT MADE TO OPERATE BELOW A 4H chart. It is looking for Weekly and 4h price delivery that an ICT trader would call messy. Spikes well below OB but which then turn in the logical direction. A series of FVG that are never returned to or themselves are printed over but then turn support or resistance against the run through. So it is designed to indicate the overall level of stress on algorithm delivery. When you see a significantly higher stress level on the 4h trading is still doable but be careful of sloppy delivery. When you see a significant stress level on the weekly then be very very careful on the lower levels and consider staying out for the time being. The state of price delivery can be seen by anyone. But I have incorporated readings of the global bond market and currency correlations as confluent evidence of the reading for the state of price delivery. The term "grinder" is my word for algorithmic delivery. Contrary to ICT I believe that buying and selling pressure are real determinants of market movement up or down. However, I believe that that pressure is pushed through the algo like meat through a meat grinder to ensure a fair and equitable and efficient delivery of that pressure. So price always moves according to algorithmic principles, but those principles are driven by external pressure. The greater the pressure the more the algo stutters and gaps in its effort to smooth out an efficient delivery of price. This Indicator is looking for those stressors. The Weekly State: "Symmetrical" / Stress: 2% * What it means: At the highest level, the "New Paradigm" has not yet broken the system. A 2% stress level is effectively "Background Noise." This indicates that the global bond market and currency correlations are currently holding their historical norms. * The Price Delivery: Because it is Symmetrical, the "Grinder" is in an efficient mode. Weekly expansions are likely being met with orderly retracements. There are no "Ominous" breakaway gaps on the weekly timeframe yet. * The Dalio View: We are still in the "Accumulation" or "Buffering" phase of the cycle. The systemic heart attack is not happening this week. 2. The 4h State: "Saturated" / Stress: 44% * What it means: While the Weekly is calm, the 4h is heating up. A 44% stress level means that local bond volatility (the US10Y proxy) is higher than it has been 44% of the time over the last year. This is a significant "Step-Up" in pressure. * The Price Delivery: Because it is Saturated, the 4h "Grinder" is starting to struggle with the "meat" being fed into it. * The Result: You will likely see "Deep Stop Runs" and "PD Array Overtravel." Price might not just tap an Order Block; it might blast 15 pips through it before reversing. * Delivery is "Unclean": The 4h Fair Value Gaps might only get partially filled, or price might leave "jagged" wicks that make lower-timeframe entries frustrating. 3. How to Trade This Divergence (Practical Logic) When the Higher Timeframe (HTF) is stable (2%) but the Lower Timeframe (LTF) is stressed (44%), it creates a specific environment: * The "Opaque Trap": You might see a perfect ICT Silver Bullet setup on the 15m, but because the 4h is "Saturated," the setup will likely be messier than usual. You should expect "Judas Swings" to be more violent and "FVG Retracements" to be less precise. * Confidence in the HTF: Since the Weekly is at 2%, you can trust the Overall Direction. If the Weekly is bullish, any "Saturated" mess on the 4h is likely just an aggressive re-accumulation rather than a systemic reversal. * The "Stay Out" Warning: You only need to worry when that 4h Stress (44%) begins to "infect" the Weekly. If the Weekly Stress moves from 2% to 20% to 50%, that is your signal that the Paradigm is Shifting and the "Grinder" is about to start teleporting price. Pine Script® indicatorby BLKMonk7
PinBar Finder by cryptokazancevEnglish description: This script helps traders identify high-probability reversal points based on price action, specifically Pin Bars — a well-known candlestick pattern used in technical analysis. What does the indicator do? It detects bullish and bearish Pin Bars using a custom method for wick-to-body ratio and filters based on historical volatility (pseudo-ATR). A label appears on the chart with detailed info on wick and body size when a valid signal is found. How does it work? - The indicator calculates a pseudo-ATR based on the percentage range of the last 1000 candles. - It then multiplies this value by a user-defined factor (default: 1.1) to set a dynamic threshold for wick size. - Bullish Pin Bars are detected when the lower wick is at least 1.1 times the body and greater than the dynamic ATR. - Bearish Pin Bars are detected when the upper wick meets similar conditions. - Signals are shown using chart labels with exact wick/body percentages. - Alerts are included for automation or integration with trading bots. How to use it? - Add the indicator to any timeframe and asset. - Use the alerts to notify you when a Pin Bar appears. - Ideal for traders who use candlestick reversal strategies or combine price action with other confluence tools. - You can adjust the wick length multiplier to fit the volatility of the instrument. What makes it original? Unlike many public scripts that use fixed ratios, this script adapts wick length detection based on recent volatility (pseudo-ATR logic). This makes it more dynamic and suitable for different markets and timeframes. Описание на русском: Этот скрипт помогает трейдерам находить точки потенциального разворота на основе прайс-экшена, а именно — свечного паттерна «Пин-бар». Индикатор автоматически определяет бычьи и медвежьи пин-бары с учетом адаптивных параметров волатильности. Что делает индикатор? Скрипт ищет свечи, у которых тень в несколько раз превышает тело (пин-бары), и отображает на графике точную информацию о длине тела и тени. Это полезно для трейдеров, использующих свечные сигналы на разворот. Как работает? - Рассчитывается псевдо-ATR по 1000 последним свечам на основе процентного диапазона high-low. - Этот ATR умножается на заданный множитель (по умолчанию: 1.1), чтобы динамически задать минимальную длину тени. - Бычий пин-бар определяется, когда нижняя тень больше тела в 1.1 раза и превышает ATR. - Медвежий пин-бар — аналогично, но для верхней тени. - Индикатор отображает лейблы с точными значениями тела и тени. - Реализованы условия для оповещений (alerts). Как использовать? - Добавьте индикатор на нужный график и таймфрейм. - Настройте alerts, чтобы не пропустить сигналы. - Особенно полезен для трейдеров, работающих со свечным анализом, стратегиями разворота, а также в сочетании с другими индикаторами. В чем оригинальность? В отличие от многих скриптов, использующих фиксированные параметры, здесь используется динамический расчет длины тени на основе волатильности. Это делает скрипт адаптивным к рынку и таймфрейму.Pine Script® indicatorby cryptokazancev28
Donchian Channel + 200 MA Trading IndicatorThis indicator combines the Donchian Channel with a 200-period moving average to identify strong trending opportunities with momentum confirmation. Signal Interpretation: 🟢 Green Triangle (Bullish Signal) Appears when price breaks above the upper channel AND is trading above the 200 MA Indicates strong bullish momentum Suggests potential long entry opportunity 🔴 Red Triangle (Bearish Signal) Appears when price breaks below the lower channel AND is trading below the 200 MA Indicates strong bearish momentum Suggests potential short entry opportunity Trading Style: Designed for right-side entry (trend-following after confirmation) The 200 MA filter helps avoid false signals by ensuring alignment with the broader trend Best suited for swing trading and capturing sustained moves Key Components: Green Upper Band: Resistance/breakout level Red Lower Band: Support/breakdown level Orange Line: 200-period moving average (trend filter) Blue Middle Line: Channel midpoint (optional display)Pine Script® indicatorby ssun_620