Indicador Pine Script®
Padrões gráficos
HVN Assist Top 3HVN Assist is a decision-support indicator designed to help you rank and visualize the three most relevant High-Volume Node candidates from a larger set of levels. It does not generate trade signals. It organizes context so you can make faster, more consistent decisions.
The script evaluates each candidate using value-area context, price interaction, and proximity, then persistently draws the top three levels on the chart.
What this indicator does
Accepts up to six candidate HVN centers (typically sourced from FRVP, composite profiles, or higher-timeframe work)
Scores each candidate using:
Value Area location (inside vs outside VAH/VAL)
Recent interaction / retests
ATR-normalized proximity to price
Optionally prioritizes levels inside value, while still allowing stronger outside levels to override
Selects and displays the Top 3 ranked HVNs
Draws center, high, and low bounds as persistent horizontal lines locked to the last bar
Scoring logic (high level)
Each candidate is evaluated on three dimensions:
Value Area Score
Levels inside the value area are favored when enabled.
Interaction Score
Counts recent retests using wick or close logic, with ATR-based tolerance.
Proximity Score
Measures how close current price is to the level, normalized by ATR.
Scores are combined using user-defined weights, producing a total score per candidate. The script then ranks all candidates and keeps the top three.
Visual output
Center lines (optionally dashed)
High / Low envelopes derived from recent price interaction
Lines persist and update only on the last bar to reduce noise
Designed to work cleanly on daily, weekly, and monthly context
How to use it
Identify HVN candidates using your preferred method
(FRVP, composite profiles, higher-TF structure, etc.)
Paste those levels into the Candidate inputs
Optionally define VAH / VAL
Use the ranked Top 3 as:
Reaction levels
Acceptance / rejection checkpoints
Anchors for trade location and risk framing
This tool is most effective when used as part of a top-down, value-aware trading process.
What this is not
Not a signal generator
Not an automated strategy
Not predictive on its own
HVN Assist is built to reduce ambiguity, not replace judgment.
Notes
All calculations are ATR-normalized for cross-market consistency
Inputs are intentionally manual to keep control with the trader
Pine Script v5, written to avoid repainting and type-inference issues
Indicador Pine Script®
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 strategies
Indicador Pine Script®
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.
Indicador Pine Script®
1S1K - NQ RangeOne Shot · One Kill is a structured breakout strategy designed for the New York open, built for traders who understand that consistency does not come from trading more, but from trading better.
Indicador Pine Script®
Liquidity Sweeps + MSS (Valid / Ignored)//@version=5
indicator("Liquidity Sweeps + MSS (Valid / Ignored)", overlay=true, max_labels_count=200, max_lines_count=200)
//──────────────────────────────────────────────────────────────
// Inputs
structureLookback = input.int(20, "Structure Lookback (recent highs/lows)", minval=10)
rangeLookback = input.int(80, "Range Lookback (to define extremes)", minval=30)
extremeZonePct = input.float(0.25, "Extreme Zone % (0.25 = top/bottom 25%)", minval=0.05, maxval=0.45, step=0.05)
useCloseReentry = input.bool(true, "Require close back inside level (reentry)")
// MSS / Swings
pivotLeft = input.int(3, "Swing Pivot Left", minval=1)
pivotRight = input.int(3, "Swing Pivot Right", minval=1)
mssMode = input.string("Close", "MSS Break uses", options= ) // Close = stricter
useImpulseFilter = input.bool(true, "Filter strong impulse candles")
impulseATRmult = input.float(1.0, "Max body size (ATR multiple)", minval=0.3, maxval=3.0, step=0.1)
atrLen = input.int(14, "ATR Length", minval=5)
showOnlyValid = input.bool(true, "Show only VALID signals")
showPending = input.bool(true, "Show PENDING label")
plotStructureLvls = input.bool(false, "Plot recent structure levels")
plotMssLevel = input.bool(true, "Plot MSS level while pending")
//──────────────────────────────────────────────────────────────
// Helpers
atr = ta.atr(atrLen)
body = math.abs(close - open)
// Recent structure (dynamic)
recentHigh = ta.highest(high, structureLookback)
recentLow = ta.lowest(low, structureLookback)
// Bigger “range” to determine if we are at extremes vs middle
rngHigh = ta.highest(high, rangeLookback)
rngLow = ta.lowest(low, rangeLookback)
rng = math.max(rngHigh - rngLow, syminfo.mintick)
pos = (close - rngLow) / rng // 0..1
isTopExtreme = pos >= (1.0 - extremeZonePct)
isBotExtreme = pos <= extremeZonePct
impulseOk = not useImpulseFilter or (body <= atr * impulseATRmult)
//──────────────────────────────────────────────────────────────
// Swings for MSS (pivot-based)
ph = ta.pivothigh(high, pivotLeft, pivotRight)
pl = ta.pivotlow(low, pivotLeft, pivotRight)
var float lastSwingHigh = na
var float lastSwingLow = na
// Update latest confirmed swing points (they appear pivotRight bars late, that's fine)
if not na(ph)
lastSwingHigh := ph
if not na(pl)
lastSwingLow := pl
// Optional: plot structure levels
plot(plotStructureLvls ? recentHigh : na, "Recent High", color=color.new(color.red, 70), style=plot.style_linebr, linewidth=2)
plot(plotStructureLvls ? recentLow : na, "Recent Low", color=color.new(color.lime,70), style=plot.style_linebr, linewidth=2)
//──────────────────────────────────────────────────────────────
// Raw sweeps (wick through recent level + optional close reentry)
rawSweepHigh = high > recentHigh and (useCloseReentry ? close < recentHigh : true)
rawSweepLow = low < recentLow and (useCloseReentry ? close > recentLow : true)
// Location filter
preValidHigh = rawSweepHigh and isTopExtreme and impulseOk
preValidLow = rawSweepLow and isBotExtreme and impulseOk
//──────────────────────────────────────────────────────────────
// State machine: PENDING → VALID/IGNORED based on MSS break
var int pendingDir = 0 // 1 = high sweep pending, -1 = low sweep pending, 0 = none
var int pendingStartBar = na
var float pendingMssLevel = na
var label pendingLabel = na
// MSS break condition
breakDown = mssMode == "Close" ? close < pendingMssLevel : low < pendingMssLevel
breakUp = mssMode == "Close" ? close > pendingMssLevel : high > pendingMssLevel
confirmMSSHigh = pendingDir == 1 and not na(pendingMssLevel) and breakDown
confirmMSSLow = pendingDir == -1 and not na(pendingMssLevel) and breakUp
// If no MSS level exists at sweep time, we will ignore (strict = fewer signals)
noMssLevel = pendingDir != 0 and na(pendingMssLevel)
// Pending visualization of MSS level
plot(plotMssLevel and pendingDir != 0 ? pendingMssLevel : na, "Pending MSS Level", color=color.new(color.yellow, 0), style=plot.style_linebr, linewidth=2)
//──────────────────────────────────────────────────────────────
// Label helpers
makeIgnoredLabel(_isHigh, _reason) =>
if not showOnlyValid
float y = _isHigh ? high : low
labelStyle = _isHigh ? label.style_label_down : label.style_label_up
label.new(bar_index, y, "SWEEP IGNORED " + _reason, style=labelStyle, color=color.new(color.gray, 0), textcolor=color.white)
makePendingLabel(_isHigh, _mss) =>
if showPending
float y = _isHigh ? high : low
labelStyle = _isHigh ? label.style_label_down : label.style_label_up
string txt = "SWEEP PENDING MSS: " + (na(_mss) ? "na" : str.tostring(_mss, format.mintick))
label.new(bar_index, y, txt, style=labelStyle, color=color.new(color.orange, 0), textcolor=color.white)
else
na
setValidLabel(_lbl, _isHigh) =>
if not na(_lbl)
label.set_text(_lbl, "SWEEP VALID (MSS)")
label.set_color(_lbl, _isHigh ? color.new(color.red, 0) : color.new(color.lime, 0))
label.set_textcolor(_lbl, color.white)
//──────────────────────────────────────────────────────────────
// Main flow
if pendingDir == 0
// New HIGH sweep candidate
if rawSweepHigh
if preValidHigh
pendingDir := 1
pendingStartBar := bar_index
// MSS level for HIGH sweep = lastSwingLow (the low we want to break)
pendingMssLevel := lastSwingLow
pendingLabel := makePendingLabel(true, pendingMssLevel)
// If we cannot define MSS level => ignore (strict)
if na(pendingMssLevel)
makeIgnoredLabel(true, "no swing low (MSS) yet")
if not na(pendingLabel)
label.delete(pendingLabel)
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else
makeIgnoredLabel(true, "filters (location/impulse/reentry)")
// New LOW sweep candidate (only if no pending created above)
if rawSweepLow and pendingDir == 0
if preValidLow
pendingDir := -1
pendingStartBar := bar_index
// MSS level for LOW sweep = lastSwingHigh (the high we want to break)
pendingMssLevel := lastSwingHigh
pendingLabel := makePendingLabel(false, pendingMssLevel)
if na(pendingMssLevel)
makeIgnoredLabel(false, "no swing high (MSS) yet")
if not na(pendingLabel)
label.delete(pendingLabel)
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else
makeIgnoredLabel(false, "filters (location/impulse/reentry)")
else
// Pending: confirm with MSS
if confirmMSSHigh
setValidLabel(pendingLabel, true)
// Reset
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
else if confirmMSSLow
setValidLabel(pendingLabel, false)
// Reset
pendingDir := 0
pendingStartBar := na
pendingMssLevel := na
pendingLabel := na
// Alerts only on VALID MSS
alertcondition(confirmMSSHigh, "Sweep VALID High (MSS)", "VALID liquidity sweep HIGH confirmed by MSS")
alertcondition(confirmMSSLow, "Sweep VALID Low (MSS)", "VALID liquidity sweep LOW confirmed by MSS")
Indicador Pine Script®
Metals Auction NY Opening Range (Anchored + Extensions)Plots the 8:20 EST open for Metals, followed by the highs and lows of the first hour. Then plots the mid range as well as extensions (50%, 100%, 150%, and 200%).
Indicador Pine Script®
Institutional MA Bounce & Support Screener. Description
The Philosophy
Top-tier traders don’t just buy stocks because they are up; they buy them because they show signs of institutional accumulation. This indicator is designed to find "High-Quality Support" signals—instances where a stock in a primary uptrend pulls back to a key moving average (10 SMA, 21 EMA, or 50 SMA) and is met with aggressive buying that drives the price to close near the daily highs.
Key Components
* Trend Alignment: Automatically filters out "laggards" by only flagging setups when price is above the 50 SMA.
* Proximity-Based Bouncing: Unlike rigid indicators that require a "perfect" touch, this uses an editable Buffer %. It catches those high-conviction "front-runs" where price reverses just before hitting the line.
* Volume Conviction: Integrates Relative Volume (RVOL). It ensures you aren't looking at a dead-cat bounce, but a high-volume reversal backed by institutional participation.
* Daily Closing Range (DCR): The final confirmation. It measures the finishing position of the day. A high DCR (>85%) at an MA is a primary signal of "support found."
How to Use with the TradingView Screener (Beta)
This script is optimized with "bundled security calls" to avoid errors in the new TradingView Screener.
* Add the script to your chart.
* Open the Stock Screener (Beta).
* Add columns for Bounce 10SMA, Bounce 21EMA, or Bounce 50SMA.
* Filter for Equals 1 to find stocks currently tagging those levels.
* Combine with the Daily Closing Range filter (> 90) for the ultimate "Power Setup."
Technical Settings
* RelVol Lookback: Compare today's volume against the 20, 50, or 200-day average.
* RelVol Threshold: Set the multiplier (e.g., 1.5x) to find true volume surges.
* Bounce Buffer: Adjust from 0.5% (strict) to 2.0% (loose) depending on market volatility.
A Pro-Tip for your users:
The best setups often occur when the Relative Volume is > 1.2 and the Daily Closing Range is > 90% on the day of the bounce. This indicates that institutions didn't just defend the level—they overwhelmed the sellers by the closing bell.
Would you like me to help you draft the "Release Notes" for when you update this script with the Gemini Confluence Trigger features we discussed?
Indicador Pine Script®
5m, 10m, 60m 200 SMA - Black Optimized200SMA for 5 minute, 10 minute, and 60 minute charts mapped on any timeframe. Useful for local supports and resistance on day and swing trades, or pinpointing entries and exits.
Indicador Pine Script®
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.
Indicador Pine Script®
Indicador Pine Script®
ES / NQ Delta + Absorption (Tuned)free pine script v5 es/nq tuned delta + absorption . order flow approximation but its optimized for futures volatility,liquidity,and session behavior.
Indicador Pine Script®
Unified Field: Clean FVG + Session POCTry it free. No guarantees. I find it useful for scalping. My ai wrote the code for it albeit, my idea. : )
Indicador Pine Script®
Indicador Pine Script®
Sri Previous 4H OHLC (Extended)Marks the previous completed 4H candle Open, High, Low and Close.
Lines extend to the current price with clean labels.
Useful for intraday price action trading.
Indicador Pine Script®
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 conditions
Indicador Pine Script®
Parmar BBIFOhi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it suckshi this doesnt work so dont use it, it sucks
Indicador Pine Script®
NY 4H Manual Scalper v3 BY GORKNY 4H Manual Scalper v3 by grok which help to make day trader make profit good and also help to learn trading
Indicador Pine Script®
MNQ PRO SCALP (EMA + VWAP + Structure) chat made this first version of code using chat gpt by scush123
Indicador Pine Script®
Yearly Max Drawdown TrackerThis script will help easily identify the maximum drawdown of a stock over a 1 year period. Not financial advice, make and research your own investment decisions.
Indicador Pine Script®
ATR SCALERThis allows you to manually input the ATR STRUCTURE the ORB and PM levels manually on the fly. This has no real mathematical value since its all manual entrys this is primarily for tracking purposes.
Indicador Pine Script®
European market strategy analysisProduct: XAUUSD(UTC+8)
Analysis time zone: The opening high and low closing demand marks of the third H4 of the day
Operation entry time zone: M5
Necessary condition: the entity is greater than the line (the line is greater than the side of the entity to cancel the opening or closing mark)
Operation strategy one: callback FIBO (0.382-0.618)~0 and 1 are opening and closing respectively
Stop loss and find effective support from the K bar of FIBO (0.382-0)
Take profit is 1.5 times or 1 times of stop loss
Operation strategy 2: False breakthrough in reverse direction ~ break through FIBO (0 or 1) but not exceed FIBO (1.15 or -0.15)
Stop loss is FIBO (1.15 or -0.15)
Take profit is FIBO (0 or 1)
商品:XAUUSD(UTC+8)
分析時區:當日第三根H4的開高低收需標記
操作進場時區:M5
必要條件:實體大於線(線大於實體的一邊取消開或收標記)
操作策略一:回調FIBO(0.382-0.618)~0和1分別為開和收
止損找FIBO(0.382-0)的K棒具有效支撐
止盈為止損的1.5倍或1倍
操作策略二:假突破反向~突破FIBO(0或1)但不超過FIBO(1.15或-0.15)
止損為FIBO(1.15或-0.15)
止盈為FIBO(0或1)
Indicador Pine Script®
ICT Power Of Three | Flux ChartsThis indicator is set to find the manipulation on London best seting is the three min for manipulation.
Indicador Pine Script®






















