インジケーターとストラテジー
Moving Average Channel Breakout (No Repaint) This indicator creates a channel using two simple moving averages: SMA of highs (upper line) and SMA of lows (lower line).
How it works:
- When a candle closes above the upper channel line, the following candles turn green (bullish trend)
- When a candle closes below the lower channel line, the following candles turn red (bearish trend)
- The trend color remains until a breakout in the opposite direction occurs
Anti-repaint:
This indicator does NOT repaint. The candle color is determined at the open, based on the previous candle's close. Once a candle opens with a color, that color never changes.
Breakout strategy:
- Candle opens green → Long entry signal
- Candle opens red → Short entry signal
The signal and entry moment are perfectly synchronized at the candle open, making it ideal for systematic breakout strategies.
NoProcess PivotsNoProcess Pivots
Visualize the structural framework of price action with NoProcess Pivots, a precision tool for multi-timeframe confluence trading.
Pivots are mathematically derived levels where price statistically finds support, resistance, or equilibrium. Institutional order flow respects these levels as key decision points where liquidity pools form and inefficiencies seek rebalancing.
NoProcess Pivots displays historical pivot ranges as period-bounded zones across Daily, Weekly, and Quarterly timeframes—allowing you to observe how price has respected or violated these levels over time. By projecting ±33% extensions beyond R1/S1, traders can identify targets, retracement levels, and key reversal points.
Cross-reference pivots across multiple timeframes to find confluence zones where Daily, Weekly, and Quarterly levels stack. These high-conviction areas offer the clearest setups for entries and exits.
Features:
Multi-timeframe pivots: Daily, Weekly, Quarterly
Historical levels with adjustable depth
Period-bounded zones
±33% extensions
Adaptive light/dark mode table
Real-time Δ PP percentage
Pivot cross alerts
Built for traders who respect the math behind the markets.
The Rumer's Box Theory“The Rumer's Box Theory” is a visual trading indicator designed to help traders quickly identify the previous daily candle’s high and low ranges across all timeframes. The indicator draws a purple box spanning the previous day’s high to low, with a blue horizontal line at the 50% midpoint for easy reference.
CRR Birgua HUD (HH-HL / LL-LH)CRR Birgua HUD (HH-HL / LL-LH) essentially does three things:
Detects price structure using pivots.
Marks highs as:
HH = Higher High
LH = Lower High
Marks lows as:
HL = Higher Low
LL = Lower Low
It uses a pivot length (pivotLen, default 3) to find these turning points.
Measures the “Birgua” (impulse correction).
In a downtrend:
When an LH appears, it measures how much the retracement rose from the last low to that LH.
In an uptrend:
When an HL appears, it measures how much the retracement fell from the last high to that HL.
It calculates two things:
% correction (birgua_lastPct)
ATR multiples (birgua_lastAtrMult)
It only considers it “valid” if:
% correction ≥ birgua_minBirguaPc (e.g., 25%)
ATR multiple ≥ birgua_minAtrMult (e.g., 0.5)
If valid: it labels it with OK; otherwise: SMALL.
Creates a HUD and a “Birgua Score.”
Calculates a Birgua Score (0–100):
Starts at 50.
If the last Birgua was at an HL (strong bullish), it increases from 50.
If it was at an LH (strong bearish), it decreases from 50.
It can draw a line at the bottom with this score if you enable Show Birgua Score.
At the top of the screen, it displays a HUD with:
Direction: BULL (HL), BEAR (LH), or NEUTRAL.
B: XX.X% (Birgua percentage).
ATR: X.XX (ATR multiples).
Strength: Strong / Weak / N/A based on the minimums you defined.
🧠 Quick Use:
HL + strong Birgua → probable bullish continuation.
LH + strong Birgua → probable bearish continuation.
The HUD summarizes whether the last correction was strong or weak and on which side (bull or bear).
Madrid Ribbon with ST/TEMA FilterHow the Combination Works
The script is combined by:
Porting to Pine Script v6: The Madrid Ribbon code was updated from v4 to v6 syntax (mainly changing study() to indicator(), change() to ta.change(), and using ta. prefixes for built-in functions like ema and sma).
Integrating SuperTrend Logic: The full calculation for the Zero-lag TEMA filtered SuperTrend's final_trend was copied into the combined script. This logic determines if the market is in a confirmed 1 (Uptrend) or -1 (Downtrend) based on the combined signal of the TEMA cross and the SuperTrend.
Filtering the Ribbon Color: The Madrid Ribbon's custom coloring function, maColor, was modified to include the final_trend as a filter:
If i_st_enabled is true, the original Madrid Ribbon color (LIME/GREEN for bullish, RUBI/MAROON for bearish) is only displayed if the final_trend confirms that direction.
If the final_trend is neutral or contradicts the ribbon's direction, the MA is colored GRAY.
Input Simplification: The numerous input options for the SuperTrend's source and MA type were simplified to use close and EMA by default to avoid excessive complexity, but the main parameters like TEMA periods, ATR Multiplier, and MA length were kept as inputs.
This results in a Madrid Ribbon that only shows its standard color signals when the longer-term, double-filtered SuperTrend confirms the same trend.
Quantum Uncertainty by Kingshuk GhoshLet me explain this indicator in simple, practical terms, including the fascinating physics concept that inspired me.
This indicator helps to understand when the market is predictable (safe to trade) versus unpredictable (risky to trade). It shows the probability zones where price is likely to move and warns you when conditions are too chaotic for reliable trading.
The Physics Behind It: Heisenberg's Uncertainty Principle:-
This indicator is inspired by one of the most profound discoveries in physics: Heisenberg's Uncertainty Principle.
What Is The Uncertainty Principle?
In 1927, physicist Werner Heisenberg discovered something remarkable about the universe: you cannot simultaneously know both the exact position and exact momentum of a particle with perfect precision. The more accurately you know one, the less accurately you can know the other.
Simple Analogy:
Imagine trying to photograph a speeding bullet:
Use fast shutter speed → You see exactly WHERE it is (position), but the image is frozen, so you can't tell HOW FAST it's moving (momentum)
Use slow shutter speed → You see motion blur showing HOW FAST it's moving (momentum), but you can't pinpoint exactly WHERE it is (position)
You can never have both perfect clarity simultaneously - there's always a trade-off.
How This Applies To Trading
The indicator translates this principle to financial markets:
In Physics:
Position Uncertainty × Momentum Uncertainty = Always greater than a minimum value
High uncertainty in one means high uncertainty overall
In Trading:
Price Position Uncertainty = How much the price bounces around (volatility)
Price Momentum Uncertainty = How erratic the directional strength is
Total Market Uncertainty = Price Volatility × Momentum Volatility
The Trading Insight:
Just like in physics, when BOTH price position and momentum are uncertain (highly volatile), the market becomes fundamentally unpredictable. You can't reliably know where price will go next because the system is in high uncertainty state.
Why This Matters For You
Traditional indicators often look at price OR momentum separately. This indicator recognizes that both must be considered together to truly understand market predictability, just as Heisenberg showed that position and momentum must be considered together in physics.
When both uncertainties are high simultaneously:
Price could jump anywhere
Momentum could shift instantly
Predictions become unreliable
Trading becomes gambling
When both uncertainties are low:
Price behavior is more regular
Momentum is more stable
Patterns become clearer
Trading becomes strategic
This is why the indicator's core metric multiplies price volatility by momentum volatility - it's capturing that fundamental uncertainty relationship.
Market Uncertainty
The indicator calculates how unpredictable the market currently is by examining:
How much price is bouncing around (price volatility)
How erratic the momentum is (momentum instability)
When both are high simultaneously, the market becomes highly unpredictable. When both are calm, the market is more reliable for trading.
Think of it like driving:
Low uncertainty = Clear road, good visibility, safe to drive
High uncertainty = Fog, rain, poor visibility, dangerous conditions
Probability Bands
The indicator draws colored bands around a central average price line:
White Center Line (Basis)
The average price over your lookback period
Acts as a equilibrium point where price gravitates
Blue Bands (Inner Zone)
Covers about 68% of normal price behavior
Price spends most of its time here
This is the "normal operating range"
Purple Bands (Outer Zone)
Covers about 95% of all price behavior
Price rarely ventures here
When it does, it's unusual and noteworthy
Highway Lane Analogy:
Most drivers stay in center lanes (blue zone)
Few drivers use extreme outer lanes (purple zone)
When someone drives on the shoulder, it's abnormal and signals something is happening
Wave Function Collapse
Another physics concept applied here: In quantum mechanics, particles exist in multiple states simultaneously (superposition) until they're measured - then the "wave function collapses" to a single state.
In This Indicator:
The probability bands represent all the possible states price could be in. When price moves and settles at a specific level, it's like the wave function collapsing - probability becomes reality.
The indicator helps you see:
Where price is most likely to be (high probability zones - blue bands)
Where price rarely goes (low probability zones - purple bands)
When price is in an "impossible" state (outside bands - tunneling)
Price Position
The indicator tracks where current price sits within these bands:
Upper position = Price in the top half (bullish territory)
Lower position = Price in the bottom half (bearish territory)
Extreme positions = Price in outer 30% on either side (potential reversal zones)
Quantum Tunneling Signals
This is another physics concept: In quantum mechanics, particles can sometimes "tunnel" through barriers that classical physics says they shouldn't be able to cross.
In Trading:
When price breaks through the 95% probability barrier, it's "tunneling" into statistically improbable territory - these are marked by triangles:
Green Triangle Up
Price tunneled through the upper 95% barrier
This is statistically rare (happens only 5% of the time)
Often signals price exhaustion or coming reversal downward
Like a particle that tunneled too far and will snap back
Red Triangle Down
Price tunneled through the lower 95% barrier
Also statistically unusual
Often signals panic selling may be overdone
Like a spring compressed too far, ready to bounce
These "tunneling events" are significant because they represent extreme deviations from normal probability - and markets tend to revert to normal.
Entanglement Score
In quantum physics, "entanglement" means two particles are connected such that measuring one instantly affects the other, no matter the distance.
In Trading:
This measures whether price movements are "entangled" with trading volume - do they move together in a connected way?
High Entanglement (above 0.5)
Price and volume move together
Volume confirms the price action
More reliable, trustworthy moves
Like entangled particles - they're truly connected
Low Entanglement (below 0.3)
Price moves without volume support
Suspicious, unsupported movements
Less reliable, be cautious
Like particles that aren't entangled - the connection is weak
Negative Entanglement
Price and volume move in opposite directions
Often signals divergence or potential reversal
Requires careful interpretation
Information Dashboard:
1. Uncertainty Level
Shows current market unpredictability (the core Heisenberg principle calculation):
✓ Normal (Green) = Market is behaving predictably, safe to trade
⚠ High Risk (Red) = Market is chaotic, avoid trading
This is your first checkpoint - if uncertainty is high, don't proceed further.
2. Probability Score
Shows how normal or extreme the current price is:
Percentage shown = Where price sits in the probability distribution
✓ Safe (Green) = Price in normal range (middle 70%)
⛔ Extreme (Red) = Price at statistical outliers (outer 15%)
High percentage (>85%) = Price near the average, stable situation
Low percentage (<15%) = Price at extremes, unstable situation
3. Position Indicator
Tells you which side of the market you're on:
Upper/Lower = Basic location in the bands
→ Neutral (Gray) = Price in balanced middle zone
⚠ Reversal? (Orange) = Price at extremes, watch for turnaround
This helps you anticipate potential support or resistance levels.
4. Entanglement Confirmation
Shows the correlation number and interpretation:
✓ Confirmed (Green) = Volume strongly supports price (>0.5)
⚠ Weak (Orange) = Poor volume support (<0.5)
Always prefer trading when entanglement is confirmed - it means the move is "real" with participant backing.
5. Trade Status - YOUR MAIN SIGNAL
This is the indicator's final verdict combining all factors:
✓ TRADEABLE (Green)
Uncertainty is normal
Probability is safe
Entanglement is decent
Action: Market conditions favor trading
⛔ AVOID (Red)
One or more conditions are unfavorable
Market is too unpredictable
Action: Stay out, preserve capital.
Scenario A: Perfect Buy Setup
Red triangle appears (quantum tunneling down)
Position shows "Lower" with "⚠ Reversal?" warning
Entanglement shows "✓ Confirmed"
Trade Status: "✓ TRADEABLE"
Interpretation: Price hit extreme low with volume support, likely to bounce back to probability zone
Action: Consider long entry with stop below recent low
Scenario B: Perfect Sell Setup
Green triangle appears (quantum tunneling up)
Position shows "Upper" with "⚠ Reversal?" warning
Entanglement shows "✓ Confirmed"
Trade Status: "✓ TRADEABLE"
Interpretation: Price hit extreme high, exhaustion in high uncertainty zone
Action: Consider short entry or exit longs with stop above recent high
Scenario C: High Uncertainty - Stay Out
Uncertainty shows "⚠ High Risk"
Probability shows "⛔ Extreme"
Trade Status: "⛔ AVOID"
Interpretation: Both price and momentum uncertainties are high - market is fundamentally unpredictable (Heisenberg principle in action)
Action: No trading, wait for uncertainty to decrease
Scenario D: Trending Market
Price consistently stays in upper bands
No tunneling signals
Entanglement remains high
Trade Status stays "✓ TRADEABLE"
Interpretation: Strong trend with low uncertainty
Action: Trade with the trend, don't fight it
Scenario E: Choppy, Range-Bound
Price bounces between inner blue bands
Frequent status changes between TRADEABLE and AVOID
Entanglement fluctuates
Interpretation: Market lacks direction, uncertainty fluctuating
Action: Use bands as support/resistance for scalping, or wait for breakout.
Why The Uncertainty Principle Matters In Trading
Traditional technical analysis often looks at indicators in isolation:
"RSI is oversold, so buy"
"Price is volatile, so wait"
"Volume is high, so trade"
But Heisenberg's principle teaches us that multiple uncertainties interact and compound. This indicator recognizes that truth:
When price volatility is high AND momentum is erratic:
You can't reliably predict where price will go
You can't reliably predict how strong the move will be
The combination creates fundamental unpredictability
This is when the indicator says "AVOID"
When price volatility is low AND momentum is stable:
Price behavior becomes more regular
Directional moves become more reliable
The low combined uncertainty creates tradeable conditions
This is when the indicator says "TRADEABLE"
The Probability Wave Function
In quantum mechanics, until you measure a particle, it exists in all possible states simultaneously (superposition). The probability wave describes where it's most likely to be found.
The bands work the same way:
Blue bands = Where price has 68% probability of being (1 standard deviation)
Purple bands = Where price has 95% probability of being (2 standard deviations)
Outside bands = Less than 5% probability (quantum tunneling territory)
When price is in the blue zone, it's in its "natural" superposition state - normal behavior.
When price tunnels outside, it's in an "improbable" state - like a quantum particle appearing where it shouldn't be. Physics tells us this can't last - the wave function will collapse back to normal probability zones. In trading, this means reversion to the mean.
Entanglement and Market Correlation
Quantum entanglement shows us that connections matter - particles don't act in isolation.
In markets:
Price shouldn't move in isolation from volume
When they're "entangled" (moving together), the move is authentic
When they're not entangled (price moves without volume), the move is suspicious
This is why the indicator checks entanglement - it's verifying that the market components are properly connected and confirming each other.
Golden Rules for the indicator:
Never trade during high uncertainty states - When the indicator shows AVOID, it's telling you that fundamental unpredictability (Heisenberg's principle) has taken over. This is non-negotiable.
Reduce position size when entanglement is weak - Even if uncertainty is low, weak volume entanglement means the move may not be authentic.
Respect the quantum tunneling signals - They mark statistical extremes where price has entered improbable territory. Reversion to normal probability zones is likely.
Don't chase price outside the bands - If you missed the tunneling entry, wait for price to return to normal probability zones.
Use the white center line as equilibrium - Like particles gravitating toward lower energy states, price tends to revert to its average.
Heisenberg's Uncertainty Principle teaches us a profound lesson: some things are fundamentally unknowable. You cannot eliminate uncertainty - you can only measure it and decide whether it's low enough to act.
This indicator embraces that wisdom:
It doesn't claim to predict the future
It doesn't promise guaranteed wins
It simply measures current uncertainty
And tells you when conditions are favorable vs. unfavorable
The market, like quantum particles, is probabilistic, not deterministic. You're trading probabilities, not certainties. The indicator helps you identify when those probabilities are in your favor (low uncertainty) and when they're not (high uncertainty).
This is a more mature, realistic approach to trading than indicators that promise to "predict" moves. Instead, this indicator honestly assesses predictability itself.
Remember: Not trading during high uncertainty is just as important as trading during low uncertainty. Preservation of capital is the foundation of long-term success. As Heisenberg taught us, some moments are simply too uncertain to act - and that's okay.
Chart attached: -NSE Persistent, EoD 05/12/25, Day Time Frame.
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
Clean Day End TradingThis script visualizes the complete Clean Box Breakout framework.
It automatically detects the intraday boundary window, builds a dynamic High/Low box, and locks levels at boundary close.
Features include:
• Dynamic boundary High/Low with optional historical day-1 & day-2 levels
• Automatic box visualization and real-time level updates
Ideal for traders who want clean, visual confirmation of the breakout model without running a strategy.
Kurtosis with Skew Crossover Focused OscillatorDescription:
This indicator highlights Skewness/Kurtosis crossovers for short-term trading:
Green upward arrows: Skew crosses above Kurtosis → potential long signal.
Red downward arrows: Skew crosses below Kurtosis → potential short signal.
Yellow upward arrows: Extreme negative skew (skew ≤ -1.7) → potential oversold/reversal opportunity.
Oscillator Pane:
Orange = Skewness (smoothed)
Blue = Kurtosis (adjusted, smoothed)
Zero line = visual reference
Usage:
Primarily for 2–5 minute charts, highlighting statistical anomalies and potential short-term reversals that can be used in conjunction with OBV and/or CVD
Arrows signal potential entries based on skew/kurt dynamics.
Potential ideas???????
---------------------------------------
Add Supporting Market Context
---------------------------------------
Currently, signals are purely based on skew/kurt crossovers. Adding supporting indicators could improve reliability:
Volume / CVD: Identify when crossovers occur with real buying/selling pressure.
Wick Imbalance: Detect forced moves in price structure.
Volatility Regime (Parkinson / ATR): Filter signals during high volatility spikes or compressions.
Experimentation: Try weighting these supporting signals to dynamically confirm or filter skew/kurt crossovers and see if false signals decrease on 2–5 minute charts.
--------------------------------------
Dynamic Thresholds & Scaling
--------------------------------------
Right now, the extreme skew signal is triggered at a fixed level (skew ≤ -1.7). Future improvements could include:
Adaptive thresholds: Scale extreme skew levels based on recent standard deviation or intraday volatility.
Kurtosis thresholds: Introduce a cutoff for kurtosis to identify “fat-tail” events.
Experimentation: Backtest different adaptive thresholds for both skew and kurt, and see how it affects the precision vs. frequency of signals.
--------------------------------------------------
Multi-Timeframe or Combined Oscillator
--------------------------------------------------
Skew/kurt signals could be combined across multiple intraday timeframes (e.g., 1-min, 3-min, 5-min) to improve confirmation.
Create a composite oscillator that blends short-term and slightly longer-term skew/kurt values to reduce noise.
Experimentation: Compare a single timeframe approach vs multi-timeframe composite, and measure signal reliability and lag.
I'm leaving this open so anyone can experiment with it as this project may be on the backburner, but these are my thoughts so far
BörsenampelThe “VIX/VVIX Traffic Light (Panel)” visualizes the current market risk as a simple traffic light (green / yellow / red) in the top‑right corner of the chart, based on the VIX and VVIX indices.
How it works
The script loads the VIX and VVIX indices via request.security and evaluates them using user‑defined threshold levels.
Green: VIX and VVIX are below their “green” thresholds, indicating a calm market environment and more risk‑on conditions.
Red: VIX and VVIX are above their “red” thresholds, signalling stress or panic phases with elevated risk.
Yellow: Transitional zone between the two extremes.
Chart display
A small panel with the title “Traffic Light” is shown in the upper‑right corner of the chart.
The central box displays the current status (“GREEN”, “YELLOW”, “RED”) with a matching background color.
Optionally, the current VIX and VVIX values are shown below the status.
Inputs and usage
Symbols for VIX and VVIX can be freely chosen (default: CBOE:VIX and CBOE:VVIX).
The green/red thresholds can be adjusted to fit personal volatility rules or different markets.
X FP Imbalancesprovides advanced volume profile analysis by isolating and visualizing market aggression at a granular price level. It is a powerful tool for short-term and intraday traders seeking objective confirmation of supply and demand dynamics, primarily used to identify high-probability reversal or continuation points based on order flow principles.
Key Functionality and Methodology
The indicator operates by transforming standard time-based candle data into a Volume-at-Price footprint, focusing specifically on aggressive market activity.
Granular Aggression Measurement (Delta)
The script dynamically segments the price range into discrete price levels (tickAmount). This granularity is controlled either by a user-defined fixed tick count or automatically adjusted using the Average True Range (ATR) to adapt the box size to current market volatility.
The script uses lower timeframe data (e.g., 1-minute bars) to accurately distribute the total volume into each price level, distinguishing between aggressive buying (Up Volume) and aggressive selling (Down Volume).
The core output is Delta, which is the net difference between aggressive buying and aggressive selling at each price level.
Stacked Imbalance Identification
The indicator identifies an imbalance when the volume from one side (e.g., aggressive buyers) overwhelms the total volume at that level by a user-defined percentage (imbalanceP).
A single price level where the Delta percentage exceeds the threshold is defined as an Imbalance.
The Stacked Imbalance is the primary signal, triggered when the imbalance is detected on a user-defined number of consecutive price levels (stacked) in the same direction (e.g., 3 consecutive levels of aggressive buying). This signals a high-conviction structural break or strong rejection.
Stacked imbalances are visually highlighted and can trigger real-time alerts upon bar close.
Strategic Applications
This indicator is invaluable for traders who integrate order flow concepts into their decision-making process.
One-Sided Stack (Supply/Demand Zone): Aggressive selling (Red Stack) at a high price, followed by price reversal, identifies a Structural Supply Zone (Resistance). The level is where sellers aggressively rejected demand, leaving an untested area of supply.
Overlapping Stacks (Climax Reversal): Consecutive Buy Stacks followed immediately by Sell Stacks in a tight range signals Buyer Exhaustion and an immediate Climax Reversal. The buying power was absorbed and instantly overwhelmed by waiting supply.
Absence of Stack: When price moves sharply through a level without creating any Stacked Imbalances, it suggests an Orderly Move or Liquidity Void. The absence of resistance means the market move is structurally weak and often vulnerable to a retest.
The choice between a Fixed Tick Distance (for micro-pattern precision) and ATR-based sizing (for volatility-adjusted analysis) allows the user to tailor the indicator to specific asset classes and trading styles.
Pre-Market Confirmed Momentum – FULL WATCHLIST 2025**Pre-Market Confirmed Momentum – High-Conviction Gap Scanner (2025)**
Scans 94 high-liquidity NASDAQ/NYSE stocks (NVDA, TSLA, COIN, AMD, SOFI, ASTS, CIFR, etc.) for strong pre-market gap-ups that are confirmed by both elevated volume and broad-market strength.
**Entry triggers only when ALL are true at 09:29 ET:**
- ≥ +1.5% gap from previous regular close
- Pre-market volume ≥ 2.5× the 20-day average
- QQQ pre-market ≥ +0.5% (market filter)
Back-tested June 2024 – Dec 2025:
68 signals → **+1.96% average intraday return** → **75% win rate** after 1.5% hard stop.
Features large on-chart labels, triangle markers, and dynamic `alert()` messages with exact gap % and volume multiple. Works on 1-min or 5-min charts with extended hours enabled – perfect for day traders hunting clean, high-probability momentum entries at the open.
Ready for watchlist scanning and real-time alerts. Enjoy the edge! 🚀
IV Walls (Open Source Code)Russell Capital Group
Code is completely open source. You are encouraged to make a copy as it is necessary for applying the indicator to multiple symbols. Each day's derived data must be plotted by code. Data is derived from the Fractal X software.
Message @ryd3rama on discord for more information or help.
RenkoFlowRenkoFlow – Real Renko, Clean & Color-Coded
Track price like a pro: See bullish and bearish blocks instantly.
Works for any asset: Low-priced coins? No problem.
Alerts ready: Get notified on new Renko blocks.
Fully customizable: Brick size, line color, and width.
Clean & intuitive: Perfect for fast decision-making.
US Market Long Horizon Momentum Summary in one paragraph
US Market Long Horizon Momentum is a trend following strategy for US index ETFs and futures built around a single eighteen month time series momentum measure. It helps you stay long during persistent bull regimes and step aside or flip short when long term momentum turns negative.
Scope and intent
• Markets. Large cap US equity indices, liquid US index ETFs, index futures
• Timeframes. 4h/ Daily charts
• Default demo used in the publication. SPY on 4h timeframe chart
• Purpose. Provide a minimal long bias index timing model that can reduce deep drawdowns and capture major cycles without parameter mining
• Limits. This is a strategy. Orders are simulated on standard candles only
Originality and usefulness
• Unique concept or fusion. One unscaled multiple month log return of an external benchmark symbol drives all entries and exits, with optional volatility targeting as a single risk control switch.
• Failure mode addressed. Fully passive buy and hold ignores the sign of long horizon momentum and can sit through multi year drawdowns. This script offers a way to step down risk in prolonged negative momentum without chasing short term noise.
• Testability. All parameters are visible in Inputs and the momentum series is plotted so users can verify every regime change in the Tester and on price history.
• Portable yardstick. The log return over a fixed window is a unit that can be applied to any liquid symbol with daily data.
Method overview in plain language
The method looks at how far the benchmark symbol has moved in log return terms over an eighteen month window in our example. If that long horizon return is positive the strategy allows a long stance on the traded symbol. If it is negative and shorts are enabled the strategy can flip short, otherwise it goes flat. There is an optional realised volatility estimate on the traded symbol that can scale position size toward a target annual volatility, but in the default configuration the model uses unit leverage and only the sign of momentum matters.
Base measures
Return basis. The core yardstick is the natural log of close divided by the close eighteen months ago on the benchmark symbol. Daily log returns of the traded symbol feed the realised volatility estimate when volatility targeting is enabled.
Components
• Component one Momentum eighteen months. Log of benchmark close divided by its close mom_lookback bars ago. Its sign defines the trend regime. No extra smoothing is applied beyond the long window itself.
• Component two Realised volatility optional. Standard deviation of daily log returns on the traded symbol over sixty three days. Annualised by the square root of 252. Used only when volatility targeting is enabled.
• Optional component Volatility targeting. Converts target annual volatility and realised volatility into a leverage factor clipped by a maximum leverage setting.
Fusion rule
The model uses a simple gate. First compute the sign of eighteen month log momentum on the benchmark symbol. Optionally compute leverage from volatility. The sign decides whether the strategy wants to be long, short, or flat. Leverage only rescales position size when enabled and does not change direction.
Signal rule
• Long suggestion. When eighteen month log momentum on the benchmark symbol is greater than zero, the strategy wants to be long.
• Short suggestion. When that log momentum is less than zero and shorts are allowed, the strategy wants to be short. If shorts are disabled it stays flat instead.
• Wait state. When the log momentum is exactly zero or history is not long enough the strategy stays flat.
• In position. In practice the strategy sits IN LONG while the sign stays positive and flips to IN SHORT or flat only when the sign changes.
Inputs with guidance
Setup
• Momentum Lookback (months). Controls the horizon of the log return on the benchmark symbol. Typical range 6 to 24 months. Raising it makes the model slower and more selective. Lowering it makes it more reactive and sensitive to medium term noise.
• Symbol. External symbol used for the momentum calculation, SPY by default. Changing it lets you time other indices or run signals from a benchmark while trading a correlated instrument.
Logic
• Allow Shorts. When true the strategy will open short positions during negative momentum regimes. When false it will stay flat whenever momentum is negative. Practical setting is tied to whether you use a margin account or an ETF that supports shorting.
Internal risk parameters (not exposed as inputs in this version) are:
• Target Vol (annual). Target annual volatility for volatility targeting, default 0.2.
• Vol Lookback (days). Window for realised volatility, default 63 trading days.
• Max Leverage. Cap on leverage when volatility targeting is enabled, default 2.
Usage recipes
Swing continuation
• Signal timeframe. Use the daily chart.
• Benchmark symbol. Leave at SPY for US equity index exposure.
• Momentum lookback. Eighteen months as a default, with twelve months as an alternative preset for a faster swing bias.
Properties visible in this publication
• Initial capital. 100000
• Base currency. USD
• Default order size method. 5% of the total capital in this example
• Pyramiding. 0
• Commission. 0.03 percent
• Slippage. 3 ticks
• Process orders on close. On
• Bar magnifier. Off
• Recalculate after order is filled. Off
• Calc on every tick. Off
• All request.security calls use lookahead = barmerge.lookahead_off
Realism and responsible publication
The strategy is for education and research only. It does not claim any guaranteed edge or future performance. All results in Strategy Tester are hypothetical and depend on the data vendor, costs, and slippage assumptions. Intrabar motion is not modeled inside daily bars so extreme moves and gaps can lead to fills that differ from live trading. The logic is built for standard candles and should not be used on synthetic chart types for execution decisions.
Performance is sensitive to regime structure in the US equity market, which may change over time. The strategy does not protect against single day crash risk inside bars and does not model gap risk explicitly. Past behavior of SPY and the momentum effect does not guarantee future persistence.
Honest limitations and failure modes
• Long sideways regimes with small net change over eighteen months can lead to whipsaw around the zero line.
• Very sharp V shaped reversals after deep declines will often be missed because the model waits for momentum to turn positive again.
• The sample size in a full SPY history is small because regime changes are infrequent, so any test must be interpreted as indicative rather than statistically precise.
• The model is highly dependent on the chosen lookback. Users should test nearby values and validate that behavior is qualitatively stable.
Legal
Education and research only. Not investment advice. You are responsible for your own decisions. Always test on historical data and in simulation with realistic costs before any live use.
HTF Candles & Levels Visualizer - SRHTF Candles & Levels Visualizer is a clean higher‑timeframe visualization tool designed to complement any trading strategy by giving clear context of larger‑TF structure directly on your current chart. It plots the previous high and low for up to three user‑selectable timeframes, and draws them as extended levels with optional labels, making it easy to see where current price sits relative to key higher‑timeframe zones.
The script also renders compact proxy candles for each selected timeframe to the right of current price, so you can visually track HTF candle development without switching charts. Each HTF slot has independent settings: timeframe, color, number of displayed candles, and visibility toggles, along with global controls for line style, label size, candle spacing, and colors.
This tool does not generate trading signals; it focuses purely on multi‑timeframe context and market structure visualization to support your own entries, exits, and risk management.
Imbalance Heatmap (Free) – pc75A clean, efficient visualisation of liquidity voids, 3-bar imbalances, and price inefficiency zones.
This indicator highlights where the market left gaps in the order flow — areas price often revisits to rebalance.
Imbalances are displayed as stacked horizontal “heatmap strips,” making it easy to see:
Where aggressive buying/selling left a void
Whether multiple voids overlap (stronger zones)
Whether price is likely to return to fill the imbalance
How old a void is (older zones are marked differently)
This is a refined v6 rewrite based on a script I liked, completely modernised with cleaner logic, better performance, and optional labels.
🔍 Features
3-bar liquidity void detection (ICT-style logic)
Bullish imbalance when price displaces upward with no wick overlap
Bearish imbalance for downward displacement
✔ Heatmap-style visualisation
Each imbalance is sliced into multiple thin horizontal bands to create a visual density effect.
✔ Stacking intelligence
If a new void overlaps previous ones, the heatmap is drawn brighter, showing areas where the market left multiple inefficiencies.
✔ “Void xN” labels
Optional labels show how many overlapping voids existed at the moment the imbalance formed.
✔ Automatic deletion when filled
As soon as price trades back through a slice, that slice is removed.
This keeps the chart clean and focuses only on active inefficiencies.
✔ Smart ageing
Older voids are marked with a subtle border so you can distinguish freshly formed inefficiencies from historical ones.
✔ Alerts
Set alerts for when price taps a stacked imbalance zone (“Void x2” and above).
⚙ Inputs & Customisation
ATR threshold (optional)
Minimum tick size gap
Number of heatmap slices
Bullish / bearish toggles
Label toggles
Colour and transparency configuration
Max slice memory for performance
💡 How to Use
Imbalance zones often behave as:
Magnets → price gravitates toward them
Support/resistance → structure respects inefficiencies
Continuity points → used with market structure shifts
Targets → for both scalpers and swing traders
Strong (stacked) voids typically represent areas of institutional displacement, where the market is more likely to return for rebalancing.
📢 Notes
This is the free version.
Educational only — not financial advice.
Advanced Bollinger Bands Optimized - Precision SignalsThis indicator creates an advanced Bollinger Bands system with integrated ATR bands and intelligent trading signals. It features:
**Core Components:**
- Standard Bollinger Bands (20-period SMA with 1.382 standard deviations)
- ATR-based outer bands expanding on the Bollinger Bands
- Dynamic bandwidth analysis using Z-Score to measure current volatility relative to historical levels
**Market State Detection:**
Identifies five market conditions based on bandwidth Z-Score:
- Extreme Squeeze (ultra-low volatility)
- Squeeze (low volatility)
- Normal (average volatility)
- Expansion (high volatility)
- Extreme Expansion (ultra-high volatility)
**Signal System:**
Generates 5 bullish and 5 bearish signals:
*Bullish Signals:*
1. Bottom Divergence - Price makes new lows while Z-Score is relatively high
2. Width Reversal - Bandwidth rebounds from extreme squeeze
3. Extreme Squeeze Reversal - Recovery from extreme volatility compression
4. Squeeze Breakout Up - Price breaks above upper band during squeeze
5. State Transition - Market transitions from squeeze to expansion
*Bearish Signals:*
1. Top Divergence - Price makes new highs while Z-Score is relatively low
2. Width Reversal - Bandwidth declines from extreme expansion
3. Extreme Expansion Reversal - Contraction from extreme volatility expansion
4. Squeeze Breakout Down - Price breaks below lower band during squeeze
5. State Transition - Market transitions from expansion to squeeze
**Features:**
- Real-time signal table showing active signals
- Adjustable sensitivity parameters for divergence, reversal, and breakout signals
- Signal cooldown system to prevent duplicate alerts
- Clean visual display with band fills and alert markers
- No additional external indicators required
This tool helps traders identify volatility changes, trend reversals, and breakout opportunities using only price data and bandwidth analysis.
AlphaTrend | APEX [Singularity]This is a customized Trend Tracer style system designed to capture high-quality moves while filtering out noise. It combines three core "Engines":
1. Kinetic Trend Engine (The "Ribbon")
Logic: Uses a Dual-ALMA Ribbon (Arnaud Legoux Moving Average).
Fast Line (Leader): Responsive, hugs price.
Slow Line (Laggard): Smooth, validates structure.
Signals: "BUY" and "SELL" labels trigger exactly when the ribbon twists (Crossover/Crossunder).
Filters:
Entropy & Hurst: Measures market chaos. The ribbon turns Gray/Faded during choppy conditions to warn against trading.
2. Flow Engine (Whale Validation)
Whale Volume: Checks for relative volume spikes (> 1.2x average) and Money Flow intensity.
Confirmation: Signals are stronger when accompanied by the Whale Icon (🐋), indicating institutional participation.
3. Liquidity Magnets (Targets)
Logic: Automatically detects recent Swing Highs and Lows.
Visuals: Dashed lines extend forward to act as dynamic Support/Resistance levels or Take Profit targets.
Behavior: Lines disappear when price tests (breaks) them, indicating "Liquidity Taken".
Visuals
Cloud: Dynamic Green/Red fill between the ribbon lines.
HUD: Heads-Up Display showing current Trend, Market State (Clean/Chop), Flow Status, and Active Magnets.
Labels: Clean "Tag" style labels for entry signa
🟡 GOLD 4H HUD v12 — Time-Safe Nuclear Edition🟡 GOLD 4H HUD v12 — Time-Safe Nuclear Edition
A full–scale Smart Money Concepts (SMC) analytics engine designed exclusively for XAUUSD on the 4-Hour timeframe.
This script combines market structure, liquidity, displacement, order blocks, imbalance, volume profile, SMT divergence, and institutional behavior modeling into a single unified HUD.
Built with a time-safe architecture, all structural elements (OB/FVG/Sweep) are stored by timestamp to minimize repainting and preserve event integrity.
📌 Core Features (12 Modules + Full HUD)
1 — Market Structure Engine
Automatically detects:
HH / HL / LH / LL
BOS (Break of Structure)
MSS (Market Structure Shift)
CHOCH (Change of Character)
Real swing pivots & trend state
2 — Sweep Engine (Liquidity Grab Detection)
Identifies institutional liquidity grabs:
Break + reclaim of highs/lows
ATR-filtered invalidation
Displacement-backed sweeps
3 — Time-Safe FVG Engine
Detects Bullish/Bearish Fair Value Gaps
ATR-tolerant FVG logic
Automatic right-extension
Auto-delete when filled or invalid
4 — Time-Safe Order Block Engine
Demand & Supply OB detection
Strength classification (Weak vs Strong)
FVG-overlap confirmation
Timestamp-locked (non-repainting)
5 — Volume Profile Engine (HVN / LVN / POC)
Real-time micro-profile:
High Volume Node (HVN)
Low Volume Node (LVN)
Point of Control (POC)
6 — SMT Engine (Gold vs DXY Divergence)
Smart Money Divergence built-in:
Bullish SMT
Bearish SMT
Directional confirmation with zero lag
7 — Displacement Engine
Measures institutional impulse:
Body-based impulse detection
Multi-leg continuation signals
FVG continuation moves
Generates displacement score
8 — Premium / Discount Model
Auto-classifies price into:
Discount (Buy zone)
Premium (Sell zone)
9 — SMC Trend Engine (Score-Based)
Combines 10+ factors:
Structure
FVG
OB power
Displacement
POC positioning
SMT conditions
Outputs:
BULL / BEAR / RANGE
Full scoring system
10 — Institutional Imbalance Model (IMB Engine)
Combines:
PD zones
Sweep direction
Displacement
SMT
OB strength
CHOCH/MSS
A complete institutional bias filter.
11 — Entry Engine (Signal Fusion Model)
Entry conditions fuse:
Sweep
CHOCH
Displacement
OB strength
FVG alignment
SMT confirmation
Also outputs:
Suggested SL/TP
Entry score
12 — Trendline Engine
Auto-draws:
HL → HL bullish trendlines
LH → LH bearish trendlines
+ Full Nuclear HUD
Displays:
Market structure
Trend direction
SMT / CHOCH / MSS
FVG / OB zones
HVN / LVN / POC
Liquidity strength
Entry model
Liquidity Magnet direction
SL/TP map
A complete institutional dashboard in one place.
⚠ Usage Requirement
This script is designed ONLY for the 4H timeframe.
✨ Summary
GOLD 4H HUD v12 — Time-Safe Nuclear Edition
is not just an indicator.
It is a full institutional-grade SMC analysis system, built specifically for Gold.
If you trade XAUUSD on the 4H timeframe —
this is your complete market intelligence HUD
Volume Threshold Levels - Crypto LidyaVolume Threshold Levels – Crypto Lidya
Understanding volume behavior is one of the most effective ways to detect trend changes, manipulation candles, aggressive entries, and institutional activity.
Volume Threshold Levels (VTL) not only displays raw volume but also calculates dynamic volume thresholds (2x – 3x – 4x) based on the moving average, allowing you to identify statistically meaningful volume anomalies with precision.
📌 1. Volume Columns
The indicator plots each bar’s volume using traditional column-style visualization.
Green: Bullish candle
Red: Bearish candle
Gray: Neutral candle
This helps traders clearly understand the relationship between price and volume.
📌 2. Average Volume Area
VTL offers two types of moving averages for volume:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
The average volume is drawn as a soft yellow area across the chart.
This area acts as the baseline for normal volume levels.
📌 3. Dynamic Threshold Lines (2x / 3x / 4x)
The script calculates and displays multipliers of the average volume:
2x Average
3x Average
4x Average
These levels appear as bright yellow lines.
They are extremely useful for identifying breakouts, traps, and aggressive institutional entries.
📌 4. Volume Spike Detection (Alerts)
VTL identifies upward crossovers where volume breaks above key levels:
1x Volume Signal
2x Volume Signal
3x Volume Signal
4x Volume Signal
These can be used directly as TradingView alerts.
This allows you to automate detection of high-impact volume spikes.
📌 5. Use Cases
The indicator performs exceptionally well in:
Breakout confirmation
Liquidity sweep analysis
Detecting manipulation candles
Combining with OB, FVG, or other SMC structures
Scalping and low-timeframe aggressive volume interpretation
Algorithmic filters for volume-based strategies
📌 6. Summary
VTL delivers:
✔ Dynamic average volume baseline
✔ Clear 2x–3x–4x volume thresholds
✔ Accurate detection of upside volume explosions
✔ A strong tool for traders who rely on volume confirmation
Completely open-source and ready to be extended.






















