Pine Script® Indikator
Chart-Muster
200 SMA from 1H timeframe &LabelPlots the 200-period Simple Moving Average (SMA) calculated strictly on the 1-hour timeframe, visible and accurate on any chart timeframe (1m, 5m, 15m, 4H, daily, etc.).
• The line appears “stepped” on lower timeframes (normal/expected for higher-TF data).
• Includes a clean, updating label on the right edge showing the current 1H 200 SMA value.
• Optional faint background tint highlights new 1H bars for easy visual reference.
Ideal for: Multi-timeframe analysis, trend filtering, support/resistance on intraday charts, or confirming the broader hourly trend while trading lower timeframes.
Pine Script® Indikator
PDH(RTH)+PMH / PDL(RTH)+PML First Break + 3m EMA Retest + TPshows pre market levels, previous day levels, includes the 3min 9ema for the retest and a take profit indicator.
Pine Script® Indikator
CRZTestBuildV2At market open, the indicator plots daily zones derived from the previous session's range and volatility, using statistically common extensions and reactions from similar prior days. These zones act as areas of interest where price commonly stalls, reverses, or accelerates, which makes them useful or HOD/LOD reference and structure trade entries.
Pine Script® Indikator
Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch)Mine Shaft + Drift + Ore Pocket Detector (Gap+Touch) — Full Description (v1.6.1, Pine v6)
*Experimental - *Test Phase*
1) What this indicator is intended to do
This indicator attempts to algorithmically discover “mine shaft” price structure on a chart by:
Collecting structural anchor points (gaps and optionally pivots),
Generating candidate trend “rails” (centerline + parallel upper/lower borders) from pairs of anchors,
Fitting an optimal channel width around each candidate centerline,
Scoring candidates based on how well price action conforms to the channel (touches + containment),
Selecting and rendering:
the main shaft channel (primary),
additional drifts (secondary shafts per direction),
And then detecting Ore Pockets: time locations where multiple selected lines intersect (time confluence / intersection clustering).
The conceptual model is:
A shaft = a best-fit channel that price respects over time (the “main tunnel”).
Drifts = alternate channels close in quality to the main shaft (secondary tunnels).
Ore pockets = future/past time coordinates where multiple channels’ centerlines intersect densely (confluence in time, not necessarily in price).
2) What it is doing right now (current behavior)
In its current form, the script does a bounded, performance-limited scan:
It stores a limited number of anchor points in arrays.
It only considers a bounded number of recent anchors per direction.
It constructs candidate lines from anchor pairs and evaluates channel fitness using sampled bars.
On the last bar, it selects top candidates per direction and draws:
a “main” channel per mode (single best overall, or separate up/down),
plus optional drift channels,
plus ore pocket markers.
It is producing meaningful channels and drifts, but it is currently more likely to lock onto a strong “local” shaft than the one macro shaft spanning the entire market structure.
3) Core mechanics (how the script finds shafts)
3.1 Anchor generation (what points it uses)
Anchors are the “support points” used to build candidate shaft centerlines.
Two anchor families are supported:
A) Gap anchors (from your selected gap mode)
These attempt to capture “displacement events” and their boundaries/mids.
B) Pivot anchors (optional structural anchors)
These use pivots to inject macro structure points that are not strictly gap-based.
All anchors are stored as:
anchorX: bar_index of anchor
anchorY: price of anchor
anchorD: direction flag (+1 for up, -1 for down)
Anchors are capped by maxAnchors with FIFO trimming.
3.2 Candidate generation (how it produces centerlines)
For each direction (+1 and -1):
Collect “recent” anchors of that direction within lookbackBars (bounded to maxDirAnchors).
For each pair of anchors (x1,y1) and (x2,y2) that satisfy:
spacing within ,
slope sign consistent with direction,
Construct the line equation:
slope m and intercept b
Fit a channel width w around that line (via width mode).
Score it (touches + inside count minus width penalty).
Keep the top K rails (K = driftCount+1 typically).
3.3 Scoring model (what “best” means right now)
For a candidate centerline:
At sampled bars (stride sampling), compute:
channel top = y(x) + w
channel bot = y(x) - w
Evaluate:
Inside: candle range fits within the channel ± tolerance
Touches: high near top border, low near bottom border (within tolerance)
Score formula:
score = insideCount * insideWeight
+ touchCount * touchWeight
- (w / ATR) * widthPenalty
So:
Higher inside and touch counts increase score
Wider channels are penalized (in ATR units) to avoid “cheating” via enormous width
3.4 Width fitting (how the channel thickness is chosen)
Width is either:
Fit (scan widths): scans widths between a min width and a max deviation cap and selects the best scoring width.
Fixed ATR Envelope: uses a fixed width derived from ATR (currently hard-coded to a 2.0 ATR envelope in your present draft).
Fixed Max Deviation: width is max observed deviation from line in sampled window.
This matters because “macro shaft” detection is strongly influenced by whether the width-fitting is allowed to expand enough to contain large historical moves, without being penalized into losing to a smaller local shaft.
3.5 Rendering (what gets drawn)
For any selected rail, it draws:
Upper border line (top rail)
Lower border line (bottom rail)
Optional centerline (main only)
Optional fill between borders (main only)
Label at current bar with touches and inside count
Drifts render similarly but without main-only features (depending on flags).
3.6 Ore Pocket detection (time confluence)
Ore pockets are not “price zones” directly.
They are computed as follows:
Collect selected centerlines (m,b) for:
the main selected shaft(s),
and all drift centerlines (both directions if present)
For each pair of selected lines, compute intersection x-coordinate:
x* = (b2 - b1) / (m1 - m2)
Only keep intersections within:
Cluster intersections by time proximity (clusterBars)
Mark the strongest clusters (highest counts) as “Ore Pocket” vertical dotted lines with labels.
Interpretation:
A dense cluster indicates many selected rails converge around a similar time coordinate.
It is a “time confluence” hypothesis point.
4) Full settings reference (what each setting is for)
01) Gap Anchors
Gap Mode
FVG (3-candle)
Uses a classic 3-candle fair value gap pattern:
Up gap if low > high
Down gap if high < low
Anchors are derived from the gap boundaries.
Candle Gap (open-close)
Gap based on open vs close of the same bar with a tick threshold.
Candle Gap (open-prev close)
Gap based on open vs close with a tick threshold.
Gap Threshold (ticks)
Only used for the candle gap modes.
Controls the minimum gap size required to register an anchor.
Anchor Price
Boundary: anchors at one gap boundary (more “structural edge”)
Mid: anchors at midpoint of the gap (more “center of displacement”)
Include Pivot Anchors (structure)
When enabled, adds pivots as additional anchors to stabilize macro detection.
Pivot Length
Pivot sensitivity (how many bars left/right define a pivot).
Larger values = fewer, more structural pivots.
02) Channel Fit + Touch Scoring
Lookback Bars
The historical window used to:
filter which anchors are considered “recent enough”
evaluate channel fitness (sampled evaluation)
Larger lookback tends to favor macro shafts, but also increases computational risk (mitigated by evalBars and stride).
ATR Length
ATR period used for tolerance and width penalty scaling.
Tolerance (ATR mult)
Defines how close price must be to a rail to count as “touch” and how strict the “inside channel” containment is.
Higher tolerance = easier to score high on touch/inside.
Min Border Touches (keep rail)
Minimum number of border touches required before a candidate is even eligible.
Score: Inside Weight
Weight of inside count in score.
Score: Border Touch Weight
Weight of border touches in score.
This is a strong driver of “shaft-like” behavior.
Score: Width Penalty (in ATRs)
Penalizes wide channels relative to ATR.
Higher penalty biases toward narrow/local shafts.
03) Performance Controls
Max Stored Anchors (global)
Maximum anchor points kept in memory arrays.
Too low can cause loss of macro structure; too high increases candidate noise.
Max Anchors / Direction (scan)
Hard cap on how many anchors are used in candidate generation per direction.
Critical: this strongly influences whether macro shaft can be found, because if you only keep the most recent anchors, you lose the early-structure anchor points.
Eval Bars (max)
Maximum historical bars actually evaluated for scoring.
Even if lookbackBars is large, evaluation is capped here.
Eval Stride (sample every N bars)
Sampling step for evaluation.
Larger stride = faster but less accurate scoring.
04) Candidate Generation
Min Anchor Spacing (bars)
Minimum distance between the two anchors used to define a candidate line.
Prevents micro-noise lines from being evaluated.
Max Anchor Spacing (bars)
Maximum distance between the two anchors used to define a candidate line.
If this is too low, you cannot generate truly macro candidate lines.
05) Shaft + Drift Display
Main Shaft Mode
Best Overall (Single Shaft): chooses one best rail among Up/Down and draws it as main.
Up Only: show only the best upward rail.
Down Only: show only the best downward rail.
Up + Down: show both main up rail and main down rail simultaneously.
Show Ascending Shaft
Toggles rendering for the “up” main shaft (when mode allows it).
Show Descending Shaft
Toggles rendering for the “down” main shaft (when mode allows it).
Drifts per Direction
Number of additional top-ranked rails to draw per direction (after the best one).
Extend Lines
Right: extend lines to the right only.
Both: extend both left and right.
Fill Main Shaft Channel
Fill between upper and lower borders for main shaft.
Main Shaft Fill Transparency
Transparency level for main fill.
Show Main Shaft Centerline
Draw the dashed centerline for the main shaft.
06) Ore Pocket (Intersection-Time Confluence)
Show Ore Pockets (Time Confluence)
Enables ore pocket discovery and rendering.
Intersection Window Forward (bars)
How far into the future intersections are considered.
Intersection Window Backward (bars)
How far into the past intersections are considered.
Cluster Radius (bars)
How close in time intersections must be to merge into a cluster.
Min Intersections per Cluster
Minimum cluster count required before a pocket is shown.
Max Pocket Markers
Limit how many pocket clusters are drawn.
07) Visual Controls
Show Gap Anchors
Displays the gap anchor dots for debugging.
Show Pivot Anchors
Displays pivot anchor dots for debugging.
5) How to use it (practical workflow)
Step A — Confirm anchor behavior
Turn on Show Gap Anchors.
Choose your Gap Mode.
Verify you are seeing anchors where you expect (displacement boundaries).
If anchors are sparse:
Reduce gap threshold (ticks) for candle-gap modes
Enable pivots to inject structure
Increase lookbackBars and maxAnchors so early anchors are not dropped
Step B — Get stable main shaft candidate discovery
Enable Include Pivot Anchors with a medium pivotLen.
Use Fit (scan widths) initially.
Increase Max Anchors / Direction (scan) so you’re not only using recent anchors.
Increase Max Anchor Spacing so macro pairs are eligible.
If you keep getting only local shafts:
That is usually because the candidate pool does not include enough old anchors, or the maxSpacing prevents long-span lines.
Step C — Tune scoring so the “whole-structure” shaft wins
If the script picks a small local channel instead of the macro channel:
Increase insideWeight relative to touchWeight (macro channels tend to contain longer structure even with fewer perfect “touches”)
Reduce widthPenalty, because macro channels may need to be wider to accommodate historical volatility
Increase lookbackBars and evalBars to make “whole-structure fit” matter
Step D — Drifts as secondary shafts
Once main shaft is good:
Increase Drifts per Direction
Validate that drifts represent meaningful alternate sub-shafts rather than noisy duplicates.
If drifts look too similar:
This is expected if many candidates differ only slightly; future refinements should diversify drift selection (see “what still needs done”).
Step E — Ore pockets interpretation
Ore pockets indicate time confluence of multiple rails.
Use them as:
“Time windows to watch”
Not as deterministic price levels
Tune:
clusterBars (cluster tightness)
minClusterSize (signal strength)
6) What still needs done (explicit backlog)
The macro “main mining shaft channel” spanning the entire market structure, and
Smaller shafts/drifts nested inside the macro structure.
To accomplish that, the current algorithm needs additional architecture. Concretely:
A) True multi-scale / hierarchical discovery (primary missing feature)
Right now: one pass, one lookback, one score objective.
Still Needed:
Macro pass: discover a primary shaft using a very long evaluation window and anchor set.
Micro pass(es): discover drifts/secondary shafts using:
residuals (distance from macro centerline),
or segmented time windows (regime partitions),
or anchor subsets constrained to local regions.
This is the single biggest reason we are not consistently getting the full-structure shaft.
B) Anchor retention strategy for macro detection
Right now:
anchors are FIFO capped and direction scanning uses “recent anchors only.”
To reliably find 10-year shafts we need:
an option to store/retain representative anchors across the entire history, not only the most recent ones.
Examples of necessary improvements:
“Stratified anchor sampling” across time (keep some old anchors even when maxAnchors is hit)
“Macro anchor bank” (separate storage for pivots or major gaps)
C) Candidate generation constraints must support macro lines
If we want a shaft spanning the whole structure:
maxSpacing must allow it
the candidate pool must contain anchors far apart in time
So the algorithm needs:
better selection of anchor pairs for long-span candidates (e.g., include earliest/oldest anchors + newest anchors deliberately, not accidentally)
D) Drift diversification
Right now drifts are “next best by score,” which often yields near-duplicates.
We want:
“diverse” secondary shafts:
enforce minimum angular difference,
enforce minimum offset difference,
or penalize candidates too similar to the already-selected shaft.
E) Width fitting logic for macro channels
Macro channels often require:
either a higher width cap,
or a different penalty profile.
Current width penalty is simple and can bias against macro channels.
Needed:
width penalty that scales by timescale or by total evaluated bars,
or separate macro/micro scoring.
F) Ore pocket semantics enhancement (optional but aligned)
Currently pockets are time intersections only.
If you want “pocket zones,” improvements could include:
projecting intersection price and drawing a zone box,
clustering in (time, price) space instead of only time,
adding “importance” weighting based on which lines intersect (macro line intersections weighted higher).
7) Known limitations (current version)
Heavy compute only runs on last bar (good for performance), but means:
changes in anchors/parameters can reselect rails abruptly
Candidate set is bounded; macro shaft can be missed if not in pool
Drift selection can be redundant
Ore pockets are time clusters, not price clusters
Pine Script® Indikator
SMC One Candle + AMD Bias (CT Focus)This indicator is a specialized Smart Money Concepts (SMC) tool designed for QQQ on the 5-minute chart. It fuses Tony Trades' "One Candle Rule" execution with the AMD (Accumulation, Manipulation, Distribution) cycle logic found in your previous CRT Pro V2 script.
The primary goal of this indicator is to identify high-probability entries during the Purge Window (9:00 AM – 11:30 AM CT) by detecting when price manipulates morning liquidity before expanding in the direction of the daily bias.
## Core Components
### 1. Master Candle Range (Accumulation)
Timeframe: 05:00 AM – 09:00 AM CT.
Function: It automatically plots the Master High (CRH) and Master Low (CRL). This represents the "Accumulation" phase where orders are built up before the New York open.
### 2. The One Candle Zone (Execution)
Timeframe: 08:35 AM CT (The 5-minute candle immediately following the high-volatility open).
Function: It creates a blue "Value Zone" based on Tony Trades’ logic. This zone acts as the ultimate filter—price must reclaim or break this zone to confirm that the "Manipulation" phase is over and the "Distribution" has begun.
### 3. Multi-Timeframe Daily Bias
Calculation: It tracks the midpoint (Equilibrium) of the previous day's range.
Premium/Discount:
Bullish (Discount): Price is trading above the daily midpoint.
Bearish (Premium): Price is trading below the daily midpoint.
Logic: Signals are filtered by this bias to ensure you are always trading with the higher-timeframe flow.
## Signal Logic Descriptions
### SMC Long (Bullish Distribution)
A Long signal is generated when:
Bias: The Daily Bias is Bullish.
Manipulation: Price has ideally swept the Master Low (CRL) during the open.
The Trigger: A 5-minute candle closes above the 08:35 AM "One Candle" High.
Confirmation: This suggests shorts are trapped and Smart Money is distributing price toward the Previous Day High (PDH).
### SMC Short (Bearish Distribution)
A Short signal is generated when:
Bias: The Daily Bias is Bearish.
Manipulation: Price has ideally swept the Master High (CRH).
The Trigger: A 5-minute candle closes below the 08:35 AM "One Candle" Low.
Confirmation: This confirms a rejection of the opening range, signaling a move toward the Previous Day Low (PDL) or the current Low of Day.
## Visual Guide
Blue Box: The One Candle Zone (Tony Trades' "Line in the Sand").
Gray Stepline: The Master Candle Range (0500–0900 CT).
Yellow Background: The Purge Window (0900–1130 CT), where your logic dictates the highest probability of a successful trade.
Labels: Real-time Daily Bias updates in the top right corner.
Pine Script® Indikator
FVG w/ Correlated ConfirmationThis Pine Script indicator detects Fair Value Gaps (FVGs) on your chart—price gaps between candles where no trading occurred, often signaling potential support or resistance zones. It highlights bullish FVGs (gap ups) and bearish FVGs (gap downs) as colored boxes directly on the chart. The indicator also optionally confirms these FVGs by checking if a correlated asset (e.g., NASDAQ:NDX) shows a similar FVG, increasing confidence. Midpoint lines inside the boxes can be displayed to mark the center of the gap.
Boxes are anchored to the exact candles where the FVG forms and extend rightwards by a user-defined number of bars, remaining fixed and not sliding as new bars form. Correlated FVGs add an extra layer of confirmation from related markets, improving reliability and reducing false signals.
Pine Script® Indikator
Adaptive Elliott Wave: Forecast + Dashboard (V.2)Title: Adaptive Elliott Wave: Forecast + Dashboard
Description:
Overview
The Adaptive Elliott Wave: Forecast + Dashboard is a technical analysis tool designed to visualize potential Elliott Wave structures using a dynamic, multi-factor approach. Unlike static wave scripts, this indicator adapts its projections based on real-time trend context (Weighted Moving Averages) and momentum shifts (RSI). It is built to help traders identify the most likely path—Impulse or Correction—based on current market conditions.
How It Works
The script uses a combination of pivot-point detection and trend filtering to project future wave paths.
Pivot Logic: The indicator identifies significant Highs and Lows using a sensitivity setting. These pivots form the "anchors" for the Elliott Wave count.
Adaptive Engine: The "Auto-Detect" mode analyzes the relationship between the 50/200 WMA (Trend) and RSI (Momentum).
In a Bull Trend: If RSI is oversold, the script anticipates a bullish "Impulse" wave. If RSI is overbought, it prepares for a "Correction."
In a Bear Trend: The logic reverses to project rallies or downward impulses.
Projections: It calculates Fibonacci-based targets for waves 1-5 (Impulse) or A-B-C/W-X-Y (Correction) and renders them as "ghost lines" that move with the price.
Macro Outlook: For long-term context, the script includes a Macro Projection feature that uses higher-period pivots to show the possible 1-year direction.
Key Features
Target Table: A real-time dashboard showing exact Fibonacci target prices and the percentage distance from the current price.
Corrective Channels: Automatically draws channels for wave corrections to help identify potential breakout or breakdown zones.
Bullish/Bearish Extensions: Shows immediate volatility-based extensions beyond the last confirmed pivot.
RSI Signals: Visual markers on the chart indicate overbought/oversold conditions that feed into the adaptive logic.
How to Use
Identify the Phase: Use the "AI STATUS" in the dashboard to see if the script is currently projecting an Impulse (Trend move) or a Correction (Counter-trend).
Confirm with WMA: Use the 50 (Blue) and 200 (Orange) WMAs to confirm the macro trend before following a projection.
Monitor Fib Targets: Watch for price reactions at the projected labels. If price breaks a target significantly, the wave count may need to be re-evaluated (re-pivot).
Customize Sensitivity: For scalping, lower the "Short-Term Sensitivity." For swing trading, increase it.
Disclaimer
This script is for educational purposes only. Elliott Wave Theory is subjective, and projections are mathematical estimates based on historical volatility. Past performance does not guarantee future results. Always use proper risk management.
Settings Guide
Forecast Mode: Choose between "Auto-Detect" (Dynamic) or manually force an Impulse/Correction count.
Macro Sensitivity: Controls how far back the script looks to generate the purple 1-year projection.
Link Correction to Extension: A unique feature that starts the forecast from a potential extension target rather than the current live price.
Pine Script® Indikator
Elliott Wave: Pro Forecast + Dashboard (with RSI Divergence)Elliott Wave: Pro Forecast + Dashboard (with RSI Divergence)
This indicator provides a dynamic, real-time projection of Elliott Wave structures, helping traders identify potential trend exhaustion and reversal targets. By combining historical pivot analysis with Fibonacci extensions, it forecasts both short-term "extensions" and long-term "macro" moves.
🚀 Key Features
Automated Elliott Wave Projections: Automatically plots potential 5-wave impulse moves (bullish) and 3-wave corrective moves (ABC - bearish) based on current market volatility.
RSI Divergence Integration (⚡): The script scans for discrepancies between price and momentum. If a reversal is projected while a Bullish or Bearish divergence exists, a lightning bolt icon appears, signaling a high-probability setup.
Dual-Horizon Forecasting:
Short-Term Extension: Projects the immediate continuation of the current trend.
1-Year Macro Projection: A "Big Picture" mode that uses high-sensitivity pivots to forecast long-term structural shifts.
Dynamic Data Dashboard: An on-chart table calculates exact Fibonacci price targets and the percentage distance from the current price, allowing for precise risk/reward planning.
Invalidation Logic: Clearly marks the "Invalidation Line." If price breaches this level, the current wave count is considered void.
🛠️ How to Read the Chart
Historical Waves (Green/Teal): Shows the confirmed pivots that the script is using as a baseline.
Extensions (Orange): The immediate predicted path if the current momentum continues.
Reversals (Blue): The projected Elliott Wave path if the current pivot holds.
Look for the ⚡ symbol near the Invalidation line; this indicates RSI Divergence, suggesting the reversal has strong momentum backing it.
Macro Projection (Purple): Designed for swing traders and investors to see where the asset could be in a year based on larger cycle pivots.
⚙️ Settings & Customization
Sensitivity: Adjust the "Short-Term" and "Macro" sensitivity to filter out market noise or capture smaller intraday cycles.
Scenario Linking: You can choose to have the Reversal projection start after the Extension target is hit, or have them run independently.
Visual Toggles: Enable/Disable the target table, Fibonacci grid levels, and chart labels to keep your workspace clean.
Disclaimer: This indicator is a mathematical projection based on historical volatility and Elliott Wave rules. It is a tool for technical analysis and does not guarantee future results. Always use proper stop-loss management.
Pine Script® Indikator
Trend Pro + No Wick Alert[tommy]no wick ema confirmation for notifications just something simple if you want to trade imbalence
Pine Script® Indikator
QQQ 5m/15m Options Confluence (4-of-4) - HemanthaBuilt on confluences
it has confluences built on divergence
both bullish and bearish
also takes into account vwap and volume ,5 and 15 minute indicator
Pine Script® Indikator
Global Net Liquidity LaggedShows net liquidity and allows the user to move it forward or backward to visualize its effect on the charted subject
Pine Script® Indikator
Global Net Liquidity LaggedShows net liquidity and allows the user to move it forward or backward to visualize its effect on the charted subject
Pine Script® Indikator
INVESTIFY Free Intraday Indicator📌 INVESTIFY Free Intraday Indicator – Description
INVESTIFY Free Intraday Indicator is designed to help traders identify clear market direction and avoid overtrading.
This indicator focuses on trend-based confirmation, not random signals.
It provides limited and high-quality BUY / SELL signals — only when the market shows a clear directional move.
🔍 What this indicator does:
Identifies Bullish & Bearish market bias
Gives only one BUY or SELL per trend
Avoids signal spamming in sideways markets
Helps traders stay disciplined and patient
🎯 Best use case:
Intraday trading
Directional confirmation
Trend-following traders
Beginners who want clean structure
Works on all markets (Forex, Indices, Crypto, Commodities)
⚠️ Important Notes:
This is a FREE version for learning and confirmation
No targets or stop-loss are shown
Best used along with price action & discipline
Avoid overtrading — quality over quantity
Trade the direction, not the noise.
🔐 Want more precision?
The paid INVESTIFY Pro version includes:
Advanced entries
SL & risk structure
Session filtering
Re-entry logic
Smart money confirmations
📩 DM to get access
Pine Script® Indikator
Institutional ROC + Z-Score HeatmapInstitutional ROC + Z-Score Heatmap
Identifies statistically significant daily price moves by calculating the z-score of the rate of change (ROC) against a configurable historical lookback period. Designed for cross-asset regime monitoring and volatility detection.
How it works:
Calculates the daily percentage change (ROC)
Compares that move to the historical distribution of daily moves
Expresses the result as a z-score (standard deviations from the mean)
Color coding:
Teal: Extreme positive move (>3σ) — rare upside, potential blowoff top
Red: Extreme negative move (<-3σ) — rare downside, potential capitulation
Orange/Lime: Warning zone (2-3σ) — unusual but not extreme
Gray: Normal volatility — nothing actionable
Use cases:
Identify regime shifts across asset classes (equities, crypto, commodities)
Spot potential mean-reversion setups after extreme moves
Monitor cross-asset risk appetite (BTC, XBI, SPY) for tactical hedging signals
Recommended settings:
ROC Length: 1 (daily moves)
Lookback: 252 (1 year) for stable assets, 60-90 for volatile biotech
Pine Script® Indikator
ZigZag with Day Count + Month Shading (Selectable) A clean ZigZag indicator that shows how long each trend lasts.
Each completed ZigZag leg is labeled with:
The number of days the trend lasted
The start and end dates (for example: 10th jan → 25th jan)
You can also:
Shade only the months you care about (each month can be turned on or off)
Add optional vertical lines at the start and end of each trend
Customize label size, colours, and transparency
This indicator is useful for understanding trend duration, timing, and seasonal behaviour at a glance.
Pine Script® Indikator
Teril ema 20 second candle logicHA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
HA EMA20 Close Cross and second Candle OneWick Filter
Pine Script® Indikator
Asia Range + OB Zones + AlertsTrail run of script built with chatgpt and clude to mark hhs lows and OB's
Pine Script® Indikator
ORION: Linear Regression Consolidation SystemDescription:
This script is a custom-built technical analysis tool designed to identify high-probability consolidation zones (market equilibrium) and trade their subsequent breakouts in the direction of the established trend.
originality & Concept: While many indicators use simple Bollinger Band squeezes, this system employs a multi-factor algorithm to define "Consolidation" mathematically. It synthesizes three core concepts:
Volatility Compression (ATR): It compares the current range against the Average True Range (ATR) to ensure price action is compressed.
Structural Stationarity (Linear Regression): It calculates the slope of the Linear Regression line over a lookback period. A zone is valid ONLY if the slope is near-zero (< 0.25), ensuring the market is truly flat and not just choppy.
Trend Alignment (EMA): To filter out low-probability counter-trend signals, the system utilizes a 150-period Exponential Moving Average (EMA) as a baseline. Breakouts are only valid if they align with the macro trend (Above EMA = Long, Below EMA = Short).
How It Works:
Zone Detection: The script draws a visual box when the price range is within the ATR multiplier limit AND the Linear Regression slope is flat.
Signal Validation: A signal is triggered only on a confirmed candle close outside the box.
False Breakout Protection: A volume/body size filter checks if the breakout candle has significant momentum compared to the average of the last 20 bars.
Risk Management : The script projects a fixed Risk:Reward setup (default 1:1.8) and includes a "Breakeven" logic that visualizes when a trade has reached 50% of its target, securing the position.
Settings:
This system is highly customizable to fit different market conditions. Below are the specific parameters used in this setup:
1. Strategy Core (Logic)
Lookback Period (15): The algorithm analyzes the most recent 15 candles to detect market equilibrium. On the M5 timeframe, this represents a 75-minute window of stability, which is optimal for scalping setups.
Box Width (ATR Multiplier) (3) : Defines the maximum vertical range of the consolidation box. A value of 3 means the box height cannot exceed 3x the Average True Range (ATR). This ensures we are trading tight, compressed zones rather than volatile, expansive ranges.
Slope Tolerance (0.4): Controls the strictness of the Linear Regression slope. A value of 0.4 allows for a slight tilt in the consolidation structure, capturing more valid opportunities than a strictly horizontal (0.0) setting without compromising the "flatness" requirement.
2. Risk Management
Risk : Reward Ratio (1.8): Sets the profit target relative to the stop loss. For every $1 risked, the system targets $1.8 in profit. This provides a positive mathematical expectancy even with a moderate win rate.
Breakeven Trigger (%) (0.5): A capital preservation feature. When the price covers 50% (0.5) of the distance to the Take Profit target, the trade is visually marked as "Breakeven" (Risk-Free). If the price reverses after this point, it is not counted as a loss.
3. Protection & Filters (Insurance)
Enable 'Strong Candle' Filter (ON): Filters out weak "creeping" breakouts. The system will only trigger a signal if the breakout candle demonstrates significant momentum.
Average Size Period (20): The baseline for momentum is calculated using the average body size of the last 20 candles.
Candle Strength Factor (1): The breakout candle must be at least 1x (100%) the size of the average candle. This ensures that real volume and momentum are backing the move, reducing the chance of fakeouts.
Disclaimer: This script is intended for educational and analytical purposes to assist traders in identifying market structure.
Pine Script® Indikator
WT Crossover Strategy Main Chart Indicator# WT Crossover Strategy Main Chart Indicator
## Indicator Overview
The WT Crossover Strategy Main Chart Indicator is a trading signal system based on the Wave Trend (WT) indicator, specifically designed for the TradingView platform. This indicator combines WT indicator crossover signals with ATR-based take profit and stop loss calculations, providing traders with clear entry signals and explicit risk management references.
## Core Features
### 1. Trading Signal Identification
- WT Indicator Crossover Signals : Identifies potential trend reversals based on golden crosses/death crosses between WT1 and WT2
- EMA Trend Filtering : Optional EMA20 and EMA200 trend filtering to help confirm trend direction
- Entry Point Markers : Green triangles mark long entry points, red triangles mark short entry points
### 2. Risk Management Visualization
- Fixed-Length SL/TP Lines : Generates 10-bar length dashed lines at entry, marking take profit and stop loss prices
- Trigger Status Display : When take profit or stop loss is triggered, dashed lines turn solid and display "Take Profit Triggered" or "Stop Loss Triggered" labels
- ATR-Based Calculations : Automatically calculates take profit and stop loss prices using ATR indicator, adapting to different market volatility
### 3. Customizable Parameters
- Preset Symbols : Built-in optimized parameters for Gold, Rebar, Fuel Oil, Bitcoin, Ethereum, etc.
- Line Length Adjustment : Customizable display length for take profit and stop loss lines
- ATR Parameter Adjustment : Adjustable ATR period, stop loss multiplier, and take profit multiplier
- Filter Control : Enable or disable zone filtering and trend filtering
## Technical Features
- Fixed-Length Lines : Take profit and stop loss lines only display for a fixed length, avoiding chart clutter
- Status Change Markers : Intuitively displays take profit/stop loss status through line style changes and labels
- Responsive Design : Automatically adapts to different timeframes and symbols
- Clear Visual Hierarchy : Reasonable color scheme and marker size ensure clear and readable charts
## Usage Instructions
1. Load the Indicator : Apply the indicator to your chart
2. Select Symbol : Choose your trading symbol from the presets or manually adjust parameters
3. Observe Signals :
- Consider going long when green triangles appear
- Consider going short when red triangles appear
4. Set Stop Loss : Reference the red dashed line for stop loss placement
5. Set Take Profit : Reference the green dashed line for take profit placement
6. Monitor Status : When dashed lines turn solid and display labels, it indicates take profit or stop loss has been triggered
## Application Scenarios
- Trend Trading : Combined with EMA filtering to identify medium-term trends
- Swing Trading : Utilizes WT indicator's overbought/oversold characteristics to capture price reversals
- Risk Control : Implements scientific risk-reward ratio management through ATR-calculated take profit and stop loss
- Strategy Verification : Serves as an independent indicator to verify your trading strategy signals
## Notes
- This indicator is for reference only and does not constitute investment advice
- It is recommended to use in conjunction with other technical analysis tools
- Please thoroughly backtest before live trading to adapt to your trading style
- Different symbols may require parameter adjustments for optimal results
Pine Script® Indikator
SAl VWAP LITE SA Final VWAP — LITE (Beginner Guide)
This strategy is designed to only take trades when 3 layers agree:
Market posture (HTF = 1H VWAP direction)
Mid confirmation (MID = 15m VWAP direction)
Execution entry (your chart timeframe signal: SMA trend + VWAP + wick flip + RSI)
It’s built to avoid chop by requiring trend + location + momentum + a reversal wick trigger.
1) What the script does (in plain English)
A Long (green) signal happens only when ALL are true:
✅ HTF VWAP is bullish (price above VWAP on 1H)
✅ MID VWAP is bullish (price above VWAP on 15m)
✅ Execution trend is bullish (SMA3 > SMA8 AND close > SMA8)
✅ Price is above VWAP on your current chart
✅ The prior candle had an upper wick (bearish rejection wick)
✅ RSI is strong (RSI > 55 by default)
A Short (red) signal happens only when ALL are true:
✅ HTF VWAP is bearish (price below VWAP on 1H)
✅ MID VWAP is bearish (price below VWAP on 15m)
✅ Execution trend is bearish (SMA3 < SMA8 AND close < SMA8)
✅ Price is below VWAP on your current chart
✅ The prior candle had a lower wick (bullish rejection wick)
✅ RSI is weak (RSI < 45 by default)
If those aren’t met, candles stay gray = no trade / neutral.
2) How to add it on TradingView (step-by-step)
Open TradingView
Click Pine Editor (bottom panel)
Paste the full script
Click Save
Click Add to chart
Go to Strategy Tester (bottom) to view results
If you want alerts:
You can still create alerts for strategy orders, but it works best if we convert it to an indicator version with alert conditions. (If you want, tell me and I’ll generate that version.)
3) Best instruments to use it on
This type of VWAP+trend+RSI filter works best on instruments with:
High liquidity
Clean trend behavior
Tight spreads / stable fills
Best:
Index futures: NQ / ES
Index ETFs: QQQ / SPY
Very liquid mega caps: AAPL / MSFT / NVDA
Avoid thin stocks or random low-volume names.
4) Best timeframes to run it on (beginner safe)
✅ Recommended execution timeframes (where entries trigger)
1 minute (fast, best if you’re experienced)
3 minute (balanced)
5 minute (most beginner friendly)
✅ Gate timeframes (already built in)
HTF = 60 min
MID = 15 min
These should usually stay as-is.
5) How to interpret the candle colors
Green candle = A valid LONG signal fired on that bar
Red candle = A valid SHORT signal fired on that bar
Gray candle = No signal (do nothing)
This is important: Gray is a feature, not a problem.
Gray means the system is protecting you from chop.
6) What “Strict Mode (HTF=MID)” really means
When Strict Mode = ON:
HTF and MID must agree exactly
This reduces signals but improves quality
When Strict Mode = OFF:
HTF alone can allow direction
More trades, more noise
Beginner rule: keep Strict Mode ON.
7) How to trade it (simple beginner rules)
Long trade rules
Wait for a green candle (signal candle)
Enter at the close of the candle (or next candle open)
Use your stop (your script currently uses TP+SL inside strategy)
Short trade rules
Wait for a red candle
Enter at the close (or next candle open)
Respect stop loss
Most important discipline rule
Do not take trades “because it’s close.”
Take only when the candle is green/red.
8) Why the wick rule is powerful
This is a key “needle shifter.”
Long requires prior bearish wick (upper wick):
That shows sellers tried to push up resistance / reject price — and failed.
If the market is still above VWAP + trend is up, that wick often marks a “dip-then-go” continuation.
Short requires prior bullish wick (lower wick):
Buyers tried to defend and push up — but got rejected.
Under VWAP + downtrend + weak RSI, that wick often becomes the last pullback before continuation down.
So the wick rule helps avoid entering mid-candle or late chase entries.
9) How to avoid the 100-point reversal problem you mentioned
Those big reversals usually come from one of these:
(A) Taking signals inside chop
Fix: keep Strict Mode ON, and keep RSI thresholds.
(B) Trading directly into a major support/resistance zone
Fix:
Avoid entries right at prior day high/low, overnight high/low, or major swing points
Don’t short directly into support; don’t long into resistance
(C) News spikes
Fix:
Avoid trading major news windows (CPI, FOMC, Powell, NFP)
VWAP systems can get steamrolled temporarily during high-impact releases
10) Beginner settings I recommend (starting defaults)
Keep these:
Strict Mode = ✅ ON
RSI Length = 14
RSI Bull > 55
RSI Bear < 45
SMA = 3 & 8 (as you have now)
HTF = 60m, MID = 15m
If you want fewer trades but higher quality:
RSI Bull > 58
RSI Bear < 42
wickMinTicks = 2 (filters tiny meaningless wicks)
11) What you should NOT do (common beginner mistakes)
❌ Don’t take trades when candles are gray
❌ Don’t reverse immediately because the opposite color appears one candle later
❌ Don’t use this as a prediction tool — it’s a confirmation tool
❌ Don’t force trades in low volume periods (midday chop)
12) Best “times of day” to trade it (for index products)
For NQ/ES/QQQ/SPY, the cleanest VWAP trend behavior is usually:
9:35–11:00 ET (best)
1:30–3:30 ET (good)
Avoid 11:30–1:15 ET (chop zone)
Why You Should Monitor the Strategy Report (Very Important)
This script is intentionally published as a strategy, not just an indicator.
That is by design.
The Strategy Tester Report is a core part of how this tool should be evaluated.
When you open the Strategy Tester tab in TradingView, you gain insight into:
Win rate consistency across timeframes
Drawdown behavior during choppy vs trending conditions
How often signals occur (selectivity matters)
Performance differences between 1m, 3m, and 5m charts
The value of the HTF + MID gating logic during high-risk periods
⚠️ Do not judge this tool based on a handful of trades or one session.
Its real value shows up when you observe:
Fewer trades during chop
Cleaner participation during directional sessions
Reduced exposure during regime conflict
This is exactly why the higher-timeframe VWAP posture and RSI/wick filters exist.
🧠 How to Use the Strategy Report Effectively (Beginner Tip)
To properly evaluate the system:
Apply the strategy to one instrument (ex: NQ, ES, QQQ)
Test one execution timeframe at a time (1m, 3m, or 5m)
Keep HTF = 60m and MID = 15m fixed
Review results over multiple days, not single sessions
Pay attention to:
Max drawdown
Trade clustering
Losing streak behavior (this matters more than win rate alone)
This will give you a much more realistic understanding of what the system is designed to do.
🔒 About This Script (Important Notice)
This SA Final VWAP — LITE script is intentionally:
Condensed
Restricted
Directionally gated
Missing advanced logic layers
It represents the last free public release of this VWAP-based framework.
The full version includes additional proprietary components such as:
Expanded regime classification
Enhanced VWAP slope and acceptance logic
Advanced no-trade zones
Multi-setup prioritization
Internal failure-state suppression
Additional probabilistic filters not exposed here
These components materially change behavior during difficult market conditions and are not included in this public script.
📩 For Serious Users / Full Version Access
If you find this indicator useful, insightful, or different from typical TradingView tools, you are encouraged to reach out directly.
This script is meant to:
Demonstrate the core logic
Allow you to validate performance via the strategy report
Help you decide whether the full framework is appropriate for your trading
📬 For access to the complete version and additional attributes of the algorithm, contact the author directly.
This separation is intentional to:
Protect intellectual property
Maintain system integrity
Ensure serious users receive proper context and guidance
🧭 Final Note
This is not a prediction tool.
It is a confirmation and participation framework designed to operate when probability, structure, and momentum align.
Gray candles are protection.
Green and red candles are permission.
Use it with patience, discipline, and proper evaluation — and let the strategy report tell you the real story.
Pine Script® Strategie
Std Dev Zones MTFStd Dev Zones MTF Key Features Overview
• ⭐ Built using ADR10 (Average Daily Range) logic to measure volatility-based standard deviation zones from timeframe open.
• ⚙️ ADR10 STD DEV Zones Pine v6 — MTF support for Daily, H4, H8, H12 timeframes for multi-timeframe volatility analysis.
• 📦 Dynamic zones calculated from period open (Daily/H4/H8/H12) using average range = clean, objective volatility structure.
• 📊 ±0.5 SD zones = neutral territory — price within normal range from open.
• 📈 +0.75 SD & +1.0 SD = OVERBOUGHT zones — price extended above normal range, potential exhaustion or reversal area.
• 📉 -0.75 SD & -1.0 SD = OVERSOLD zones — price extended below normal range, potential exhaustion or reversal area.
• 🔥 +1.25 SD = MAX OVERBOUGHT — extreme extension above open, highest volatility threshold for exits/profit-taking.
• 🧊 -1.25 SD = MAX OVERSOLD — extreme extension below open, highest volatility threshold for exits/profit-taking.
• 🧠 Adjustable zone thickness (% of ADR10) so zones scale with market volatility — perfect for Gold, Forex, Crypto swings.
• 🎨 Color-coded zones with large labels inside each zone for instant visual clarity — no interpretation lag.
• 🧭 Zones extend throughout the trading period so you can track price behavior relative to volatility bands.
• 🟩🟪 Dual color system for upper/lower zones + descriptive labels - zero confusion on market extension.
• 🧼 Clean overlay display: zones + open line = actionable, minimal, fast volatility assessment.
• ⭐ Apply to your M15/M30/H1/H4 TradingView chart — your volatility roadmap for Gold, FX, Crypto, Indices.
• 🚀 Use for exit planning & take-profit levels at overbought/oversold extremes — NOT for standalone entry signals.
• 📦 Enable/Disable individual zone levels (±0.5, ±0.75, ±1.0, ±1.25) to customize your chart view.
• 📦 Too cluttered? Adjust "Periods to Show" or increase zone thickness % from settings.
• 🎯 How to use this? Monitor price behavior at overbought/oversold zones for potential reversals or continuations. Use Max Overbought/Oversold levels for aggressive profit-taking. Combine with your entry system for complete trade management.
• ⚠️ IMPORTANT NOTICE: This indicator is designed to measure market volatility and identify potential exit/take-profit zones. It should NOT be used as a standalone signal for entering trades. Use it in conjunction with your trading strategy to assess overbought/oversold conditions and plan exits.
NQ
GBPUSD
BTCUSD
Pine Script® Indikator
DSROverview A mechanical scalping strategy designed for Gold (XAUUSD) on the 5-minute timeframe. This system visually simplifies price action into clear "Go" and "Stop" signals using a color-coded flow system.
Pine Script® Indikator






















