Multi‑TF Previous High/Low (Rays + Labels)Use this indicator if you want to automate Support and Resistance levels.
Previous Day High and Low - Green Lines
Previous 4 Hour High and Low - Yellow Lines
Previous 1 Hour High and Low - Orange Lines
Previous 15 Minute High and Low - Light Blue Lines
Follow me on X-
ADHDTRDR
Trend Analizi
Double Inside Bar Scanner [Daily]Double Inside Bar Scanner . Captures Double Inside based on last 2 daily Bars
Filtro Antirumore Ottimizzato by G.I.N.e TradingNoise Filter – Adaptive Version for Bund & DAX by G.I.N.e Trading
The Noise Filter is a market condition tool designed to help traders avoid false signals by identifying sideways or low-quality trading phases. This version has been specifically optimized to work effectively with both Bund and DAX price action behaviors.
⚙️ How It Works
The indicator analyzes four key components to determine if the market is in a "noise zone" (sideways, low volatility, or weak trend):
Bollinger Band Width – Detects price compression.
ADX – Measures the strength of the trend.
ATR – Captures recent volatility.
HMA Slope – Evaluates directional movement (trend or no trend).
A noise zone is triggered if at least two out of three core conditions are met:
Narrow Bollinger Bands
ADX below threshold
ATR below threshold
And it is confirmed only if there is no clear directional slope in price.
A strong directional slope overrides the noise signal, allowing valid trends with low volatility (common in instruments like the Bund).
🎯 Visual Output
Gray column → Noise zone: avoid signals in this phase (low quality environment).
Yellow column → Operational zone: conditions are more favorable for trend-following systems.
🛠️ Fully Customizable
You can adjust:
Bollinger Band period & width threshold
ADX length & threshold
ATR period & threshold
HMA slope sensitivity
💡 Best For
Filtering false signals in automated or manual trading strategies
Enhancing trend-following accuracy
Adapting behavior to both high-volatility instruments (DAX) and low-volatility instruments (Bund)
ai quant oculusAI QUANT OCULUS
Version 1.0 | Pine Script v6
Purpose & Innovation
AI QUANT OCULUS integrates four distinct technical concepts—exponential trend filtering, adaptive smoothing, momentum oscillation, and Gaussian smoothing—into a single, cohesive system that delivers clear, objective buy and sell signals along with automatically plotted stop-loss and three profit-target levels. This mash-up goes beyond a simple EMA crossover or standalone TRIX oscillator by requiring confluence across trend, adaptive moving averages, momentum direction, and smoothed price action, reducing false triggers and focusing on high‐probability turning points.
How It Works & Why Its Components Matter
Trend Filter: EMA vs. Adaptive MA
EMA (20) measures the prevailing trend with fixed sensitivity.
Adaptive MA (also EMA-based, length 10) approximates a faster-responding moving average, standing in for a KAMA-style filter.
Bullish bias requires AMA > EMA; bearish bias requires AMA < EMA. This ensures signals align with both the underlying trend and a more nimble view of recent price action.
Momentum Confirmation: TRIX
Calculates a triple-smoothed EMA of price over TRIX Length (15), then converts it to a percentage rate-of-change oscillator.
Positive TRIX reinforces bullish entries; negative TRIX reinforces bearish entries. Using TRIX helps filter whipsaws by focusing on sustained momentum shifts.
Gaussian Price Smoother
Applies two back-to-back 5-period EMAs to the price (“gaussian” smoothing) to remove short-term noise.
Price above the smoothed line confirms strength for longs; below confirms weakness for shorts. This layer avoids entries on erratic spikes.
Confluence Signals
Buy Signal (isBull) fires only when:
AMA > EMA (trend alignment)
TRIX > 0 (momentum support)
Close > Gaussian (price strength)
Sell Signal (isBear) fires under the inverse conditions.
Requiring all three conditions simultaneously sharply reduces false triggers common to single-indicator systems.
Automatic Risk & Reward Plotting
On each new buy or sell signal (edge detection via not isBull or not isBear ), the script:
Stores entryPrice at the signal bar’s close.
Draws a stop-loss line at entry minus ATR(14) × Stop Multiplier (1.5) by default.
Plots three profit-target lines at entry plus ATR × Target Multiplier (1×, 1.5×, and 2×).
All previous labels and lines are deleted on each new signal, keeping the chart uncluttered and focusing only on the current trade.
Inputs & Customization
Input Description Default
EMA Length Period for the main trend EMA 20
Adaptive MA Length Period for the faster adaptive EM A substitute 10
TRIX Length Period for the triple-smoothed momentum oscillator 15
Dominant Cycle Length (Reserved) 40
Stop Multiplier ATR multiple for stop-loss distance 1.5
Target Multiplier ATR multiple for first profit target 1.5
Show Buy/Sell Signals Toggle on-chart labels for entry signals On
How to Use
Apply to Chart: Best on 15 m–1 h timeframes for swing entries or 5 m for agile scalps.
Wait for Full Confluence:
Look for the AMA to cross above/below the EMA and verify TRIX and Gaussian conditions on the same bar.
A bright “LONG” or “SHORT” label marks your entry.
Manage the Trade:
Place your stop where the red or green SL line appears.
Scale or exit at the three yellow TP1/TP2/TP3 lines, automatically drawn by volatility.
Repeat Cleanly: Each new signal clears prior annotations, ensuring you only track the active setup.
Why This Script Stands Out
Multi-Layer Confluence: Trend, momentum, and noise-reduction must all align, addressing the weaknesses of single-indicator strategies.
Automated Trade Management: No manual plotting—stop and target lines appear seamlessly with each signal.
Transparent & Customizable: All logic is open, adjustable, and clearly documented, allowing traders to tweak lengths and multipliers to suit different instruments.
Disclaimer
No indicator guarantees profit. Always backtest AI QUANT OCULUS extensively, combine its signals with your own analysis and risk controls, and practice sound money management before trading live.
🐿️ Squirrel of Wall Street This indicator is provided for educational and informational purposes only. It does not constitute a buy or sell recommendation. The user is solely responsible for any trading decisions. Always do your own research and use appropriate risk management.
Mean Reversion & Momentum Hybrid | D_QUANT 📌 Mean Reversion & Momentum Hybrid | D_QUANT
📖 Description:
This indicator combines mean reversion logic, volatility filtering, and percentile-based momentum to deliver clear, context-aware buy/sell signals designed for trend-following and contrarian setups.
At its core, it merges:
A Bollinger Band % Positioning Model (BB%)
A 75th/25th Percentile Momentum System
A Volatility-Adjusted Trend Filter using RMA + ATR
All tied together with a dynamic gradient-style oscillator that visualizes signal strength and persistence over time — making it easy to track high-conviction setups.
Signals only trigger when all three core components align, filtering out noise and emphasizing high-probability turning points or trend continuations.
⚙️ Methodology Overview:
Bollinger Bands % (BB%):
Price is measured as a percentage between upper and lower Bollinger Bands (based on OHLC4). Entries are only considered when price exceeds custom BB% thresholds — emphasizing market extremes.
Volatility-Based Trend Filter (RMA + ATR):
A smoothed RMA baseline is paired with ATR to define trend bias. This ensures signals only occur when price deviates meaningfully beyond recent volatility.
Percentile Momentum Model (75th/25th Rank):
Price is compared against its rolling 75th and 25th percentile. If price breaks these statistical boundaries (adjusted by ATR), it triggers a directional momentum condition.
Signal Consensus Engine:
All three layers must agree — BB% condition, trend filter, and percentile momentum — before a buy or sell signal is plotted.
Gradient Oscillator Visualization:
Signals appear as a fading oscillator line with a gradient-filled area beneath it. The color intensity represents how “fresh” or “strong” the signal is, fading over time if not reconfirmed, offering both clarity and signal aging at a glance.
🔧 User Inputs:
🧠 Core Settings:
Source: Select the price input (default: close)
Bollinger Bands Length: Period for BB basis and deviation
Bollinger Bands Multiplier: Width of the bands
Minimum BB Width (% of Price): Prevents signals during low-volatility chop
📊 BB% Thresholds:
BB% Long Threshold (L): Minimum %B to consider a long
BB% Short Threshold (S): Maximum %B to consider a short
🔍 Trend Filter Parameters:
RMA Length: Period for the smoothed trend baseline
ATR Length: Lookback for ATR in trend deviation filter
⚡️ Momentum Parameters:
Momentum Length: Period for percentile momentum calculation
Mult_75 / Mult_25: ATR-adjusted thresholds for breakout above/below percentile levels
🎨 Visualization:
Bar Coloring: Highlights candles during active signals
Background Coloring: Optional background shading for signals
Show Oscillator Plot: Toggle the gradient-style oscillator
🧪 Use Case:
This indicator works well across all assets for trend identification. It is particularly effective when used on higher timeframes (e.g. 12H, 1D,2D) to capture mean reversion bounces or confirm breakouts backed by percentile momentum and volatility expansion.
⚠️ Notes:
This is not financial advice. Use in combination with proper risk management and confluence from other tools.
Mayer Multiple Z-ScoreMayer Multiple is a ratio between the current Market Price and its 200 days moving average.
Being a lagging indicator it shows periods of relative value for the asset but does not have much predictive power.
It is worth noting that the indicator relies on a fairly responsive moving average on the scale of a Bitcoin market cycle and as such may be best suited for the swing traders to find zones where price is overbought and oversold within a market cycle.
Added the Z-Score metric for easy classification of the value of Bitcoin according to this indicator. Customizable thresholds from Z-Score calculation as the metric suffers alpha decay / compression.
Created for TRW
Key Session Levels (KUUUMZ)
📜 Summary
Tired of manually drawing the same key levels every single trading day? The KUUMZ-Key Session Levels indicator automates this entire process, plotting the most critical intraday and previous day levels directly on your chart. This tool provides a clean, dynamic framework of potential support and resistance zones, allowing you to focus on your trading strategy, not on chart setup.
Built for day traders and scalpers of US equities, this indicator helps you instantly visualize the market's structure from the moment the session begins.
🎯 Key Levels Plotted
This indicator automatically identifies and draws horizontal lines for the following session levels:
Previous Day High (PDH) & Low (PDL): The highest and lowest points of the prior trading day, which often act as major psychological support and resistance magnets.
Pre-Market High & Low (PMH/PML): The range established during the pre-market session (4:00 - 9:30 AM ET). A breakout from this range can often signal the initial directional bias.
5-Minute Opening Range High & Low (OR5): The high and low of the first 5 minutes of the regular session (9:30 - 9:35 AM ET). A crucial level for opening range breakout (ORB) strategies.
15-Minute Opening Range High & Low (OR15): The high and low of the first 15 minutes (9:30 - 9:45 AM ET), providing a slightly broader view of the initial balance area.
📈 How to Use This Indicator
These levels are fundamental to many intraday trading strategies:
Support & Resistance: Watch how price reacts as it approaches these levels. A bounce or rejection can signal a potential reversal, while a clean break can indicate continuation.
Breakout Trading: A strong, high-volume move through one of these levels (e.g., breaking above the Pre-Market High) can be an entry signal for a breakout trade.
Market Context: Quickly gauge market sentiment. Is the price trading above or below the previous day's range? Is it trapped within the opening range? These levels provide immediate context to the current price action.
Setting Targets & Stops: Use these levels to set logical profit targets or place stop-loss orders. For example, if you go long on a breakout of the 5-min OR, the Pre-Market High or Previous Day High could be your first target.
⚙️ Features & Customization
The script is designed to be flexible and clean, allowing you to tailor it to your specific charting style.
Toggle Any Level: Enable or disable any set of levels (Previous Day, Pre-Market, etc.) to reduce clutter.
Full Style Control: Customize the Color, Width, and Style (Solid, Dotted, Dashed) for each pair of high/low lines independently.
Optional Labels: A master switch allows you to show or hide all price labels (like "PDH", "PM Low", etc.) with a single click.
Automatic & Dynamic: Levels are calculated and drawn in real-time as each session concludes and are automatically cleared and reset for the next trading day.
SM Trap Detector – Liquidity Sweeps & Institutional ReversalsOverview:
This script is designed to help traders detect Smart Money traps, liquidity grabs, and false breakouts with high precision.
Inspired by institutional trading logic (SMC, ICT, Wyckoff), this tool combines:
🟦 Liquidity Zone Mapping – Detects stop hunt targets near highs/lows
🚨 Trap Candle Detection – Identifies fakeouts using wick + volume logic
✅ Reversal Confirmation – Entry signals based on real market structure
🧭 Dashboard Panel – Always see the last trap type, price, and confirmation
🔔 Real-Time Alerts – Stay notified of traps and entry points
🧠 Logic Breakdown:
Trap Candle = Large wick, small body, volume spike, and sweep of a liquidity zone
Confirmed Entry = Reversal price action following the trap (engulfing-style)
📈 Best Used On:
Markets: Crypto, Forex, Stocks
Timeframes: No limitation but works best on 1H, 4H, Daily
🛠 Suggested Use:
Trade only confirmed entries for best results
Place stops beyond wick highs/lows
Target previous structure or use RR-based exits
📊 Backtest Tip:
Use alerts + replay mode to manually validate past traps.
Note: Please backtest before using it for entry.
Confidence Score – DAX & BUND (Auto) by G.I.N.e TradingConfidence Score – DAX & BUND (Auto)
This indicator calculates a confidence score (0–5) to filter trade signals based on market conditions, adapting its parameters automatically for the DAX and the German Bund futures.
The score is built from five independent conditions:
ADX Strength – Measures trend directionality. Score point if ADX is above a defined threshold.
RSI Position – Avoids the neutral “no-trade zone” between two RSI levels. Score point if RSI is outside this range.
Price Range Expansion – Checks whether the recent price range (over N bars) is large enough relative to current price.
Candle Body Size – Ensures the current candle body is significant compared to the total high–low range (avoiding very small-bodied candles).
Volume Confirmation – Requires current volume to be above its moving average and higher than the previous bar.
Score Interpretation:
4–5 points → Green: strong, clear market conditions (high confidence).
2–3 points → Orange: moderate conditions (trade with caution).
0–1 points → Red: weak, choppy market (high noise).
DAX Logic:
Used for trend-following entries only.
Trades are allowed only if the score is above the DAX threshold and the price is aligned with the main trend (defined by HMA).
BUND Logic:
Used for trend-reversal entries only.
Trades are allowed only if the score is above the Bund threshold and the price is against the main trend, confirming a potential reversal setup.
Key Features:
Automatic instrument detection (DAX vs. BUND) with parameter adjustment.
Separate score thresholds for DAX (trend continuation) and Bund (reversals).
Visual columns showing score levels and optional bar coloring when score ≥ 4.
Context windows plotted as small markers to indicate when trade setups are allowed according to the instrument-specific rules.
This indicator should be used as a filter in combination with your core entry strategy (e.g., HARSI Cross, MACD, VSA) to avoid taking trades in low-confidence, noisy market conditions.
Squeeze Momentum Regression Clouds [SciQua]╭──────────────────────────────────────────────╮
☁️ Squeeze Momentum Regression Clouds
╰──────────────────────────────────────────────╯
🔍 Overview
The Squeeze Momentum Regression Clouds (SMRC) indicator is a powerful visual tool for identifying price compression , trend strength , and slope momentum using multiple layers of linear regression Clouds. Designed to extend the classic squeeze framework, this indicator captures the behavior of price through dynamic slope detection, percentile-based spread analytics, and an optional UI for trend inspection — across up to four customizable regression Clouds .
────────────────────────────────────────────────────────────
╭────────────────╮
⚙️ Core Features
╰────────────────╯
Up to 4 Regression Clouds – Each Cloud is created from a top and bottom linear regression line over a configurable lookback window.
Slope Detection Engine – Identifies whether each band is rising, falling, or flat based on slope-to-ATR thresholds.
Spread Compression Heatmap – Highlights compressed zones using yellow intensity, derived from historical spread analysis.
Composite Trend Scoring – Aggregates directional signals from each Cloud using your chosen weighting model.
Color-Coded Candles – Optional candle coloring reflects the real-time composite score.
UI Table – A toggleable info table shows slopes, compression levels, percentile ranks, and direction scores for each Cloud.
Gradient Cloud Styling – Apply gradient coloring from Cloud 1 to Cloud 4 for visual slope intensity.
Weight Aggregation Options – Use equal weighting, inverse-length weighting, or max pooling across Clouds to determine composite trend strength.
────────────────────────────────────────────────────────────
╭──────────────────────────────────────────╮
🧪 How to Use the Indicator
1. Understand Trend Bias with Cloud Colors
╰──────────────────────────────────────────╯
Each Cloud changes color based on its current slope:
Green indicates a rising trend.
Red indicates a falling trend.
Gray indicates a flat slope — often seen during chop or transitions.
Cloud 1 typically reflects short-term structure, while Cloud 4 represents long-term directional bias. Watch for multi-Cloud alignment — when all Clouds are green or red, the trend is strong. Divergence among Clouds often signals a potential shift.
────────────────────────────────────────────────────────────
╭───────────────────────────────────────────────╮
2. Use Compression Heat to Anticipate Breakouts
╰───────────────────────────────────────────────╯
The space between each Cloud’s top and bottom regression lines is measured, normalized, and analyzed over time. When this spread tightens relative to its history, the script highlights the band with a yellow compression glow .
This visual cue helps identify squeeze zones before volatility expands. If you see compression paired with a changing slope color (e.g., gray to green), this may indicate an impending breakout.
────────────────────────────────────────────────────────────
╭─────────────────────────────────╮
3. Leverage the Optional Table UI
╰─────────────────────────────────╯
The indicator includes a dynamic, floating table that displays real-time metrics per Cloud. These include:
Slope direction and value , with historical Min/Max reference.
Top and Bottom percentile ranks , showing how price sits within the Cloud range.
Current spread width , compared to its historical norms.
Composite score , which blends trend, slope, and compression for that Cloud.
You can customize the table’s position, theme, transparency, and whether to show a combined summary score in the header.
────────────────────────────────────────────────────────────
╭─────────────────────────────────────────────╮
4. Analyze Candle Color for Composite Signals
╰─────────────────────────────────────────────╯
When enabled, the indicator colors candles based on a weighted composite score. This score factors in:
The signed slope of each Cloud (up, down, or flat)
The percentile pressure from the top and bottom bands
The degree of spread compression
Expect green candles in bullish trend phases, red candles during bearish regimes, and gray candles in mixed or low-conviction zones.
Candle coloring provides a visual shorthand for market conditions , useful for intraday scanning or historical backtesting.
────────────────────────────────────────────────────────────
╭────────────────────────╮
🧰 Configuration Guidance
╰────────────────────────╯
To tailor the indicator to your strategy:
Use Cloud lengths like 21, 34, 55, and 89 for a balanced multi-timeframe view.
Adjust the slope threshold (default 0.05) to control how sensitive the trend coloring is.
Set the spread floor (e.g., 0.15) to tune when compression is detected and visualized.
Choose your weighting style : Inverse Length (favor faster bands), Equal, or Max Pooling (most aggressive).
Set composite weights to emphasize trend slope, percentile bias, or compression—depending on your market edge.
────────────────────────────────────────────────────────────
╭────────────────╮
✅ Best Practices
╰────────────────╯
Use aligned Cloud colors across all bands to confirm trend conviction.
Combine slope direction with compression glow for early breakout entry setups.
In choppy markets, watch for Clouds 1 and 2 turning flat while Clouds 3 and 4 remain directional — a sign of potential trend exhaustion or consolidation.
Keep the table enabled during backtesting to manually evaluate how each Cloud behaved during price turns and consolidations.
────────────────────────────────────────────────────────────
╭───────────────────────╮
📌 License & Usage Terms
╰───────────────────────╯
This script is provided under the Creative Commons Attribution-NonCommercial 4.0 International License .
✅ You are allowed to:
Use this script for personal or educational purposes
Study, learn, and adapt it for your own non-commercial strategies
❌ You are not allowed to:
Resell or redistribute the script without permission
Use it inside any paid product or service
Republish without giving clear attribution to the original author
For commercial licensing , private customization, or collaborations, please contact Joshua Danford directly.
SuperTrend (5,1,5) By satish SWhy 3 Supertrends?
Short-term Supertrend (7, 1, 3) → reacts quickly, catches early trend changes but can give more false signals.
Medium-term Supertrend (14, 1, 2) → smoother, filters out noise.
Long-term Supertrend (21, 1, 3) → confirms major trend direction, fewer whipsaws.
How it Works
Trend Reversal Detection
If all three flip in the same direction → strong confirmation of trend change.
If only the short-term flips but others don’t → possible false signal, wait for confirmation.
Entry Signal Example
Buy when all three turn green (Supertrend below price).
Sell/short when all three turn red (Supertrend above price).
Exit / Partial Profit
Exit when the shortest one (7, 1, 3) flips against your position — protects profits in choppy markets.
TradingView Setup
You can do this by:
Adding Supertrend three times.
Setting their (Period, Multiplier, ATR Type) to:
ST1: 7, 1, 3
ST2: 14, 1, 2
ST3: 21, 1, 3
Use different colors or line styles for each so you can spot alignment quickly.
ORB Scalp setup by Unenbat With Signal**ORB Scalp Setup by Unenbat with Signal**
This indicator visualizes a custom Opening Range Breakout (ORB) strategy using a 6-minute range split across the end of one hour and the start of the next. It identifies two key trade setups using 1-hour candles:
* **Reverse Signals:** Triggered when the second 1H candle breaks the previous high/low but closes back inside, signaling a reversal.
* **Continuation Signals:** Triggered when the second 1H candle breaks and closes beyond the previous candle’s range, confirming trend continuation.
SL/TP zones are plotted accordingly, with optional fill coloring. No trades are displayed during "inside bars" or "manipulation" candles.
MacD Alerts MACD Triggers (MTF) — Buy/Sell Alerts
What it is
A clean, multi-timeframe MACD indicator that gives you separate, ready-to-use alerts for:
• MACD Buy – MACD line crosses above the Signal line
• MACD Sell – MACD line crosses below the Signal line
It keeps the familiar MACD lines + histogram, adds optional 4-color histogram logic, and marks crossovers with green/red dots. Works on any symbol and any timeframe.
How signals are generated
• MACD = EMA(fast) − EMA(slow)
• Signal = SMA(MACD, length)
• Buy when crossover(MACD, Signal)
• Sell when crossunder(MACD, Signal)
• You can compute MACD on the chart timeframe or lock it to another timeframe (e.g., 1h MACD on a 4h chart).
Key features
• MTF engine: choose Use Current Chart Resolution or a custom timeframe.
• Separate alert conditions: publish two alerts (“MACD Buy” and “MACD Sell”)—ideal for different notifications or webhooks.
• Visuals: MACD/Signal lines, optional 4-color histogram (trend & above/below zero), and crossover dots.
• Heikin Ashi friendly: runs on whatever candle type your chart uses. (Tip below if you want “regular” candles while viewing HA.)
Settings (Inputs)
• Use Current Chart Resolution (on/off)
• Custom Timeframe (when the above is off)
• Show MACD & Signal / Show Histogram / Show Dots
• Color MACD on Signal Cross
• Use 4-color Histogram
• Lengths: Fast EMA (12), Slow EMA (26), Signal SMA (9)
How to set alerts (2 minutes)
1. Add the script to your chart.
2. Click ⏰ Alerts → + Create Alert.
3. Condition: choose this indicator → MACD Buy.
4. Options: Once per bar close (recommended).
5. Set your notification method (popup/email/webhook) → Create.
6. Repeat for MACD Sell.
Webhook tip: send JSON like
{"symbol":"{{ticker}}","time":"{{timenow}}","signal":"BUY","price":"{{close}}"}
(and “SELL” for the sell alert).
Good to know
• Symbol-agnostic: use it on crypto, stocks, indices—no symbol is hard-coded.
• Timeframe behavior: alerts are evaluated on bar close of the MACD timeframe you pick. Using a higher TF on a lower-TF chart is supported.
• Heikin Ashi note: if your chart uses HA, the calculations use HA by default. To force “regular” candles while viewing HA, tweak the code to use ticker.heikinashi() only when you want it.
• No repainting on close: crossover signals are confirmed at bar close; choose Once per bar close to avoid intra-bar noise.
Disclaimer
This is a tool, not advice. Test across timeframes/markets and combine with risk management (position sizing, SL/TP). Past performance ≠ future results.
Filtro Universale Antirumore by G.I.N.e TradingNoise Filter Indicator by G.I.N.e Trading
The Noise Filter Indicator is designed to detect market conditions where price action is likely to generate false signals due to low volatility or lack of trend. These are typically sideways or congested phases that trend-following systems should avoid.
⚙️ How it works:
The indicator analyzes the current market structure using three components:
Bollinger Band Width
Measures price compression.
Narrow bands indicate a potential sideways phase.
Average Directional Index (ADX)
Measures the strength of the trend.
Low ADX values suggest absence of directional momentum.
Average True Range (ATR)
Measures recent price volatility.
When ATR is below its moving average, the market is likely ranging or losing energy.
A noise zone is identified when at least 2 out of 3 conditions are true:
Low volatility (Bollinger Band Width)
Weak trend (ADX < threshold)
ATR below reference value
🎯 Visual Output:
🟨 Yellow bar: Trend conditions favorable — signals are more reliable.
⬜️ Gray bar: Noise zone — high risk of false signals, avoid trading.
Cumulative Volume Delta (SB-1) 2.0
📈 Cumulative Volume Delta (CVD) — Stair-Step + Threshold Alerts
🔍 Overview
This Cumulative Volume Delta (CVD) tool visualizes aggressive buying and selling pressure in the market by plotting candlestick-style bars based on volume delta. It helps traders understand which side — buyers or sellers — is exerting more control on lower timeframes and highlights momentum shifts through stair-step patterns and delta threshold breaks. Resets to zero at EOD
Ideal for futures traders, scalpers, and intraday strategists looking for orderflow-based confirmation.
🧠 What Is CVD?
CVD (Cumulative Volume Delta) measures the difference between market buys and sells over a specific timeframe. When the delta is rising, it suggests buyers are being more aggressive. Falling delta suggests seller dominance.
This script aggregates volume delta from a lower timeframe and plots it in a higher timeframe context, allowing you to track microstructure shifts within larger candles.
📊 Features
✅ CVD Candlesticks
Each bar represents volume delta as an OHLC-style candle using:
Open: Delta at the start of the bar
High/Low: Peak delta range
Close: Final delta value at bar close
Teal candles = Net buying pressure
Red candles = Net selling pressure
✅ Threshold Levels (Key Visual Zones)
The script includes horizontal dashed lines at:
+5,000 and +10,000 → Signify strong buying pressure
-5,000 and -10,000 → Signify strong selling pressure
0 line → Neutrality line (no net pressure)
These levels act as volume-based support/resistance zones and breakout confirmation tools. For example:
A CVD cross above +5,000 shows buyers taking control
A CVD cross above +10,000 implies strong bullish momentum
A CVD cross below -5,000 or -10,000 signals intense selling pressure
📈 Stair-Step Pattern Detection
Detects two specific volume-based continuation setups:
Bullish Stair-Step: Both the high and low of the CVD candle are higher than the previous candle
Bearish Stair-Step: Both the high and low of the CVD candle are lower than the previous candle
These patterns often appear during trending moves and serve as confirmation of strength or continuation.
Visual markers:
🟢 Green triangles below bars = Bullish stair-step
🔴 Red triangles above bars = Bearish stair-step
🔔 Alert Conditions
Get real-time alerts when:
Bullish Stair-Step is detected
Bearish Stair-Step is detected
CVD crosses above +5,000
CVD crosses below -5,000
📢 Alerts only trigger on crossover, not every time CVD remains above or below. This avoids repetitive notifications.
⚙️ Inputs & Customization
Anchor Timeframe: The higher timeframe to which CVD data is applied (default: 1D)
Lower Timeframe: The timeframe used to calculate the CVD delta (default: 5 minutes)
Optional Override: Use custom timeframe toggle to force your own micro timeframe
📌 How to Use This CVD Indicator (Step-by-Step Guide)
✅ 1. Confirm Bias Using the Zero Line
The zero line (0 CVD) represents neutral pressure — neither buyers nor sellers are dominating.
Use it as your first filter:
🔼 If CVD is above 0 and rising → Buyer control
🔽 If CVD is below 0 and falling → Seller control
🧠 Tip: CVD rising while price is consolidating may signal hidden buyer interest.
✅ 2. Watch for Crosses of Key Levels: +5,000 and +10,000
These levels act as momentum thresholds:
Level Signal Type What It Means
+5,000 Buyer breakout Buyers are starting to dominate
+10,000 Strong bull bias Strong institutional or algorithmic buying flow
-5,000 Seller breakout Sellers are taking control
-10,000 Strong bear bias Heavy selling pressure is entering the market
Wait for CVD to cross above +5K or below -5K to confirm the active side.
Use these crossovers as entry triggers, breakout confirmations, or trade filters.
🔔 Alerts fire only when the level is first crossed, not every bar above/below.
✅ 3. Use Stair-Step Patterns for Continuation Confirmation
The indicator shows stair-step patterns using triangle signals:
🟢 Green triangle below bar = Bullish stair-step
Suggests a higher high and higher low in delta → buyers stepping up
🔴 Red triangle above bar = Bearish stair-step
Suggests lower highs and lower lows in delta → selling pressure building
Use stair-step signals:
To confirm a continuation of trend
As an entry or add-on signal
Especially after a threshold breakout
🧠 Example: If CVD breaks above +5K and forms bullish stairs → confirms strong trend, ideal for momentum entries.
✅ 4. Combine with Price Action or Structure
CVD works best when used with price, not in isolation. For example:
📉 Price makes a new low but CVD doesn’t → potential bullish divergence
📈 CVD surges while price lags → buyers are absorbing, breakout likely
Use it with:
VWAP
Orderblocks
Liquidity sweeps
Break of market structure/MSS/BOS
✅ 5.
Set Anchor Timeframe = Daily
Set Lower Timeframe = 5 minutes (default)
This lets you:
See intraday flow inside daily bars
Confirm whether a daily candle is being built on net buying or selling
🧠 You’re essentially seeing intra-bar aggression within a bigger time structure.
🧭 Example Trading Setup
Bullish Scenario:
CVD is rising and above 0
CVD crosses above +5,000 → alert fires
Green stair-step appears
Price breaks local resistance or liquidity sweep completes
✅ Consider long entry with structure and CVD alignment
🎯 Place stops below last stair-step or structural low
📌 Final Notes
This tool does not repaint and is designed to work in real-time across all futures, crypto, and equity instruments that support volume data. If your symbol does not provide volume, the script will notify you.
Use it in confluence with VWAP, liquidity zones, or structure breaks for high-confidence trades.
Historical Year OverlayThis script allows you to simply source any historical calendar year and overlay it over any other year (usually a historical year overlaying a year in the future). It was made using an LLM for coding help and logic.
It is great for working out potential pivots and it also maps the previous profit/loss from the source year over the plot year so that we can see the connection to price levels throughout the plot year and also with the yearly close (we get a horizontal line for the close).
It uses the year open as a price reference to plot the P&L over the plot year (if use plot year option is selected).
if the year has not started yet you can use the "manual opening price" OR it will auto set to the current price (great for "replay mode", it will catch the actual opening price once it happens).
The settings are self explanatory. Choose a source year and plot year.
Choose a multiplier if you'd like (it simply multiplies the plot year P&L by that number; ie: 1 means the same as it was, 0.5 means half of what is was, 2 means 2x the source P&L)
The resolution is max default 50 line segments but you can simplify if you'd like.
I've released the code open-source so you can see what it is doing.
Please update it with all the enhancements you can think of.
Please let me know if you do this as I will be very interested!
SuperSARSuperSAR is a multi-timeframe PSAR-based indicator that generates buy and sell signals when price aligns above or below Parabolic SAR values across six timeframes (1m–15m). Optional time filtering and cooldown logic help reduce noise and prevent signal spamming. Ideal for identifying strong directional trends with confirmation.
Prev Day Close LineA clean horizontal line at yesterday’s close on any intraday chart. Here’s a dead-simple Pine v5 script for TradingView.
RJ Trend Engine (Final Version)Title: RJ Trend Engine (Hybrid Core)
Description:
A Note from the Modifier (Rohit Jadhav)
This indicator is for all retail traders who are looking for a disciplined, rule-based approach to the market. This script began with the excellent open-source work of the original author, aybarsm. I, Rohit Jadhav, have modified and added several powerful features with one main goal: to create a tool that can help fellow traders navigate the market with more confidence.
We know how challenging it can be, especially when emotions like fear and greed take over. Many of us face losses, and everyone deserves access to good tools to succeed. That is why this indicator is published as Open Source for everyone to use, study, and learn from.
This is a community project. If you have suggestions for improvement, please share them. Let's help each other succeed.
Thank you, and happy trading!
Recommended Usage & Settings
IMPORTANT NOTE: The default settings of this indicator have been specifically calibrated and backtested for the Nifty 50 index on a 5-minute timeframe.
While the indicator can be used on any symbol, its performance will vary. Assets with different volatility, such as Bank Nifty, Forex, or individual stocks, will likely require different settings for the PSAR, Supertrend, and ADX to be effective. Users are encouraged to backtest and adjust the parameters to find the optimal settings for the asset they are trading.
Core Components
The "RJ Trend Engine" uses a hybrid core of three indicators that must all agree before a signal is generated in its default mode:
Parabolic SAR (PSAR): Acts as the primary timing and entry trigger.
Supertrend: Serves as the main trend filter.
ADX (Average Directional Index): Functions as a "power" filter to confirm trend strength.
Three Systems in One Indicator
This indicator's true power lies in its flexibility. You can switch between three distinct strategies using the checkboxes in the settings.
1. Balanced Mode (Default - Recommended)
This is the standard, disciplined mode designed for capital protection. It requires a signal from all three core indicators to align perfectly.
How to use: Ensure both "Allow Aggressive Reversal Trades?" and "Use Dynamic (Trailing) Take Profit?" are UNTICKED.
2. Aggressive Reversal Mode (Experimental)
This higher-risk mode is designed to catch sharp, V-shaped reversals. It will generate a signal on a PSAR flip and a strong ADX, even if the Supertrend has not yet confirmed.
How to use: TICK the "Allow Aggressive Reversal Trades?" box.
3. Dynamic Take Profit (Experimental)
This feature changes the exit logic from a fixed target to the live Bollinger Band, which moves with market volatility. This can be useful for highly volatile assets like Bank Nifty.
How to use: TICK the "Use Dynamic (Trailing) Take Profit?" box.
Features
Multi-Mode Strategy: Switch between disciplined and aggressive trading styles.
Flexible Take Profit: Choose between a fixed, calculated TP or a dynamic, trailing TP.
Clear BUY/SELL Signals: Labels appear on the chart when all conditions are met.
Built-in Stop Loss: Automatically calculates an initial Stop Loss based on the ATR.
Customizable Alerts: Fully configured for creating custom alerts for all entry and exit signals.
Disclaimer: This indicator is a tool to assist in your decision-making process. It is not financial advice. All trading involves risk, and you should always use your own judgment and risk management.
Latent Regime Informed Monte Carlo ForecastThis script uses a Monte Carlo simulation to forecast where price might be a set number of bars into the future (default 6 bars ahead). It generates hundreds of possible future price paths based on an average move (drift) and random shocks (volatility). The result is a distribution of outcomes, displayed as probability zones: the median (most likely), inner bands (50% confidence), and wider bands (80% and 95% confidence). Due to the randomness assumption in Monte Carlo simulations, the paths are not very important so to minimize cluttering on the graphs we only plot bands. These zones help you visualize uncertainty, set stops and targets based on probabilities, and spot when market behavior changes.
The accuracy of any Monte Carlo forecast depends heavily on how well you estimate trend and volatility. By default and no prior information the Monte Carlo simulation gives you a parabolic forecast that assumes absolute randomness. This is where the Kalman filter comes in. The filter (derived from control theory) aims to detect latent (unobservable) traits about the system by continuously updating its transition probabilities to better understand how the latent traits affect the observable measurement (price). With each new observable state we get better and better transition probabilities and enhances our understanding about the latent and unobservable market characteristics like trend and volatility. Both crucial measurements for short term market sentiment.
Extracting these measurements for market sentiment informs us how to better parametrize the Monte Carlo simulation for a better forecast. Each bar, the KF updates its estimates based on how close its last prediction was to reality. In calm periods, it holds estimates steady; in volatile periods, it adapts quickly. This gives you real-time, low-lag measurements of both trend and volatility.
By feeding these adaptive estimates into the Monte Carlo simulation, the forecast becomes much more responsive to current market conditions. In trends, the predicted paths tilt toward the direction of movement; in choppy markets, they spread wider but stay centered; when volatility spikes, the probability zones expand immediately. The result is a dynamic forecast tool that adjusts on every bar, giving you a clearer, probability-based picture of where the market could go next.
This is my very first script and I would love feedback/ideas for different topics.
My background is in economics/mathematics and interests lie in time series analysis/exploring financial features for DS
Triangle Breakout Strategy for BTC —[MARK804]Triangle Breakout Strategy for BTC —
Overview
The \ strategy targets high-probability breakout trades on **Bitcoin (BTC)** by leveraging triangle chart patterns—symmetrical, ascending, or descending. These formations reflect periods of consolidation where neither bulls nor bears dominate, often preceding strong directional moves.
Key Components
Pattern Recognition
Triangle patterns form when BTC price action consolidates within two converging trendlines—either sloping or horizontal. At least two swing highs and two swing lows are needed to construct reliable trendlines. Volume typically contracts during formation, highlighting reduced volatility before a breakout.
Breakout Confirmation
A breakout occurs when BTC closes outside the triangle’s boundaries, preferably accompanied by a volume surge for validation.
Entry & Targets
Entry: Go long if price breaks above; go short if price breaks below the triangle.
Target: Estimate by measuring the triangle’s maximum height and projecting that distance from the breakout point.
Stops & Risk Management
Position stop-loss just beyond the opposite trendline to limit losses from false breakouts.
Additional Confirmation Tools
Supplement the pattern with RSI, MACD, or other indicators to reduce false signals and fortify your analysis.
Applying to BTC
Bitcoin frequently forms triangle patterns around key psychological levels, with trader discussions often noting tightening ranges and imminent moves. For instance:
> “Bitcoin is coiling up. Big move coming in the next 72 hours. Symmetric triangle is a classic setup before a breakout.”
Why MARK804 Works for BTC
| Feature | Benefit for BTC Traders |
| ----------------------------- | ------------------------------------------------------------- |
| Structured pattern | Clear entry/exit rules improve consistency |
| Measured targets | Offers realistic profit projections |
| Risk discipline | Tight stop-loss controls losses from erratic moves |
| Enhanced reliability | Volume and indicator filters reduce false breakouts |
Ready to customize this strategy with specific entry timeframes, indicator thresholds, or live chart references? Just say the word—I can tailor it further for BTC trading.