Indicateurs et stratégies
Max and Min Daily + 4H + 1H + Today Daily + 30mIndicator that shows on the chart the highs and lows of yesterday's daily, today's daily candle, the 4-hour, 1-hour, and 30-minute timeframes.
Indicatore che mostra sul grafico i max e min del daily di ieri, della candela giornaliera di oggi, del tf4h, tf1h e tf30 min.
GK1 Long only Daily Trend Strategy Max 4 Positions Risk-BasedThis strategy buys strong uptrends on the daily chart, risks a fixed % of capital per trade, limits how many trades are open at once, and exits using a trailing volatility stop or when the trend weakens.
What kind of market does this work best in?
1.Strong, persistent trends
2.Index ETFs, sector ETFs, large-cap stocks
3.Bull markets or strong sector rotations
It will underperform in:
Sideways markets
Choppy ranges
High-frequency reversals
The market condition this is looking for " A healthy, established uptrend"
It only goes LONG (no shorts) and only when all of these are true:
Short-term trend is up:
14-day moving average > 50-day moving average
Long-term trend is bullish:
Price is above the 200-day moving average
Primary trend is improving:
200-day MA is rising (today > yesterday)
Volume is normal (not dead, not crazy):
Avoids illiquid days and blow-off spikes
Translation: “I only buy when the market is already strong and behaving normally.”
It can hold up to 4 positions at the same time
Designed for multiple signals across time, not over-trading
You choose a Risk % per trade (default = 1%)
That means: If the stop loss is hit, you lose ~1% of your total account
It uses ATR (Average True Range):
ATR measures how much the market normally moves
Stop loss = 2.5 × ATR
Position size =
(1% of account) ÷ stop distance
So:
Volatile market → smaller position
Calm market → bigger position
Exit #1: Trailing ATR stop (main exit)
Tracks the highest close since entry
Stop moves up only, never down
If price reverses by ~2.5 ATR → exit
📌 Translation:
“Let winners run, cut losers automatically.”
Exit #1: Trailing ATR stop (main exit)
Tracks the highest close since entry
Stop moves up only, never down
If price reverses by ~2.5 ATR → exit
📌 Translation:
“Let winners run, cut losers automatically.”
Session High Low - Multi SessionDraws horizontal lines showing the highest and lowest prices for three trading sessions (Asian, London, New York) each day. Labels them AH/AL, LH/LL, NH/NL. Lines extend across the chart so you can see these levels after the session ends.
In one sentence: It draws daily high/low lines for three trading sessions with labels so you can see important price levels.
Trading Sessions - BluePipsWhat the indicator does
A TradingView Pine Script indicator that overlays trading sessions on intraday charts and tracks session highs/lows.
Main features
Three trading sessions (all times in CST/CDT):
Asian Session: 7:00 PM - 12:00 AM (19:00-00:00)
London Session: 1:00 AM - 6:00 AM (01:00-06:00)
New York Session: 7:00 AM - 1:00 PM (07:00-13:00)
Visual elements (toggleable):
Colored boxes: highlight each active session
Session labels: show session name, price range, and average price
Open/Close lines: dashed lines at session open and close prices
Average price line: dotted line showing the average price during the session
High/Low lines: solid lines showing the session high and low
High/Low labels: "AH" (Asian High), "AL" (Asian Low), "LH" (London High), "LL" (London Low), "NH" (New York High), "NL" (New York Low)
Behavior:
During a session: box expands, lines extend, high/low update in real time
After a session ends: box and open/close lines are removed; high/low lines remain visible as reference levels
Daily reset: all elements are cleaned up at the start of each new day
Use cases
Identify session boundaries and overlaps
Track session highs/lows as support/resistance
Analyze price action during specific trading hours
Monitor session ranges and averages
Technical details
Works only on intraday timeframes (errors on daily/weekly/monthly)
Handles daylight saving time automatically via IANA timezones
Properly cleans up visual elements to prevent memory leaks
All times are in Central Standard Time (CST/CDT)
Useful for traders who want to see session-based price levels and ranges directly on their charts.
NY VWAP 2std to 3std Probabilities + Exit ZonesHow it works:
Time buckets
Early: 10:30 – 12:00
Mid: 12:00 – 14:00
Late: 14:00 – 16:00
Bands
2σ band (s2up / s2dn) → this is where the “potential breakout” starts.
3σ band (s3up / s3dn) → this is the “target” for the 2→3σ move.
Counting logic
If during a given bucket, the price touches the 2σ band, it counts as a 2σ hit.
If after that, in the same bucket, the price also touches the 3σ band, it counts as a 3σ hit.
Probability calculation
\text{Probability 2→3σ} = \frac{\text{# of 3σ hits}}{\text{# of 2σ hits}} \times 100
For example, if in the late session the lower 2σ band is hit 10 times, and of those 10 times, 6 eventually hit the lower 3σ band, the script will show 60%.
Labels / lines
On the chart, Upper/Lower 2→3σ probabilities are displayed per bucket.
So yes: “Late Lower 2σ → 3σ: 60%” means: if price touches the lower 2σ band in the late session, historically, 60% of those touches continued to the 3σ band.
⚠ Important caveats:
These are historical probabilities, not predictions.
Small sample sizes in a bucket can make percentages unstable early in the day.
The script only counts session NY bars (0930–1600) and ignores pre-10:30 hits to reduce opening volatility noise.
Macro Risk Sentiment - Intermarket Timing SignalOverview
This indicator builds a composite macro sentiment score by analyzing intermarket relationships between bonds, credit spreads, the US dollar, and volatility. The core premise is that these markets often signal shifts in risk appetite before equities react, providing a timing edge for managing exposure.
When macro conditions favor risk assets, the indicator signals RISK-ON (green). When conditions deteriorate, it signals RISK-OFF (red). This is not a predictive tool but rather a systematic way to assess the current macro environment.
The Problem It Solves
Markets do not move in isolation. Before major equity drawdowns, stress often appears first in credit markets, bonds, and volatility. By monitoring these leading indicators systematically, we can identify periods when holding equity exposure carries elevated risk.
The goal is not to catch every move but to avoid the worst drawdowns by stepping aside when multiple macro factors align negatively.
How It Works
Step 1: Data Collection
The indicator pulls daily data from four key markets:
Risk-On Inputs (positive for equities when rising):
- TLT (20+ Year Treasury Bonds): Rising bonds can signal improving liquidity or flight-to-safety ending
- JNK (High-Yield Corporate Bonds): Rising junk bonds indicate credit conditions improving and risk appetite increasing
Risk-Off Inputs (negative for equities when rising):
- DXY (US Dollar Index): Strong dollar tightens global financial conditions and signals risk-off flows
- VIX (Volatility Index): Elevated VIX indicates fear and hedging demand
Step 2: Z-Score Normalization
Each input trades at different absolute levels, so direct comparison is impossible. The indicator converts each to a z-score: how many standard deviations the current value is from its 252-day (1 year) average.
A z-score of +1 means "unusually high relative to recent history." A z-score of -1 means "unusually low." This puts all inputs on the same scale.
Step 3: Composite Calculation
The macro score combines the normalized inputs:
Macro Score = (TLT z-score + JNK z-score) - (DXY z-score + VIX z-score)
The result is clamped between -1.5 and +1.5 to prevent outliers from dominating, then smoothed with an EMA to reduce noise.
Step 4: Signal Generation
Seven different methods are available for determining when conditions shift:
1. EMA Cross: Classic crossover between smoothed macro and its signal line
2. Slope: Simple direction of the macro trend
3. Momentum: Rate of change exceeding a threshold
4. Session Delta: Comparing today's reading to yesterday's
5. Pivot: Market structure analysis (higher lows vs lower highs)
6. Acceleration: Second derivative (is momentum increasing?)
7. Multi-Confirm: Requires 4 or more methods to agree
Why These Specific Markets?
Bonds (TLT)
Treasury bonds often lead equities at turning points. When institutions rotate into bonds, it signals caution. When they rotate out, it signals risk appetite returning.
Credit (JNK)
High-yield bonds price credit risk faster than equities. Widening credit spreads (falling JNK) often precede equity weakness by days or weeks.
Dollar (DXY)
A strong dollar creates headwinds for multinational earnings, tightens global USD liquidity, and signals defensive positioning globally.
Volatility (VIX)
The options market prices fear before it manifests in price. Sustained elevated VIX readings indicate hedging demand and uncertainty.
Research Application: Weekly Put Selling
One application of this indicator is timing premium-selling strategies. I tested using the EMA Cross method to filter 7-day-to-expiration (7DTE) put sales on ES futures with 90% Profit Target and 600% Stop Loss, only selling puts when the indicator showed RISK-ON.
Results with Macro Filter (2020-2025):
- Trades: 200
- Win Rate: 96.0%
- Total P/L: +$33,636
- Max Drawdown: 2.91%
- Profit Factor: 3.51
Results without Filter (same period):
- Trades: 357
- Win Rate: 96.1%
- Total P/L: +$63,492
- Max Drawdown: 10.30%
- Profit Factor: 2.90
Key Insight:
The filtered approach made less total profit (fewer trades) but reduced maximum drawdown by 72% (from 10.30% to 2.91%). This significantly improves risk-adjusted returns and allows for potentially higher position sizing with confidence.
Note: These results are from external backtesting on actual options data, not the TradingView backtest engine. Past performance does not guarantee future results.
Features
Seven configurable signal methods for different trading styles
Adjustable weights for each data source
Z-score normalization puts all inputs on equal footing
Visual info table showing all metrics at a glance
Background coloring for quick regime identification
Alert conditions for signal changes
Secondary plot showing method-specific metrics
Settings Guide
Macro Settings
Z-Score Lookback (default 252): Period for calculating standard deviations. 252 equals approximately one trading year. Longer periods are more stable but slower to adapt.
Macro EMA (default 7): Smoothing for the raw composite score. Lower values give faster but noisier signals.
Signal EMA (default 8): Secondary smoothing for the signal line. Used primarily in EMA Cross method.
Signal Method
EMA Cross : Recommended starting point. Signals when smoothed macro crosses its signal line.
Slope : Simpler approach based purely on trend direction.
Momentum : Requires rate of change to exceed a threshold.
Session Delta : Compares today to yesterday (daily timeframe focus).
Pivot : Uses market structure (higher lows for bullish, lower highs for bearish).
Acceleration : Measures change in slope (second derivative).
Multi-Confirm : Conservative approach requiring 4+ methods to agree.
Data Sources
Each source can be enabled/disabled and weighted from 0 to 3
Default is equal weighting (1.0) for all four sources
Experiment with emphasizing sources most relevant to your trading (tested on SPX)
How to Use
Basic Interpretation:
Green background / RISK-ON: Macro conditions favor equity exposure
Red background / RISK-OFF: Macro conditions suggest caution
Arrow markers indicate regime changes
For Risk Management:
Use RISK-OFF signals to reduce position size or hedge
Use RISK-ON signals to resume normal exposure
Consider the indicator as one input among many, not a complete system
For Options Strategies:
Avoid selling premium during RISK-OFF periods
Resume premium selling when RISK-ON returns
This approach trades frequency for reduced tail risk
Alert Setup:
Set alerts on "Bullish Turn" and "Bearish Turn" conditions
Receive notifications when the macro regime changes
Research Ideas
This indicator is designed as a research framework. Consider testing:
Different signal methods for your specific strategy
Adding or removing data sources based on what you trade
Varying the z-score lookback for different market regimes
Combining with price-based filters (moving averages, support/resistance)
Using the multi-confirm method for higher-conviction signals only
Limitations
The indicator uses daily data, so intraday signals may lag
Overnight gaps from surprise news cannot be anticipated
False signals will occur, especially in choppy, range-bound markets
The z-score lookback creates a recency bias; what was "normal" a year ago may not be relevant today
Not all drawdowns are preceded by macro deterioration; some come from idiosyncratic events
Past intermarket relationships may not persist in the future
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice.
Past performance does not guarantee future results
The research results shared are from historical backtesting and may not reflect actual trading conditions
Always conduct your own research and due diligence
Consider your personal risk tolerance before making any trading decisions
Never risk more than you can afford to lose
Credits
Intermarket analysis concepts draw from established macro trading principles. The multi-signal approach is original work designed to give users flexibility in how they interpret the macro data.
Ultra-Compact MTF EMAsimple indicator which shows you the trend on other timeframes. fully customizable
EMA 50 / EMA 200 Crossoversimple indicator to use with the others. this one gives a signal when ema 50 crosses 200. you can set an alert and snipe the best entry!
MTF EMA Cross Labels perfect indicator to make trading on your phone easier. all info on 1 screen.
ema's are adjustable
Auto Fibo Pivot [Ultimate MTF]Stocks: Locks lines during market hours (09:00-15:30) and switches to "Preview Mode" (Next Day) after market close.
Forex/Crypto: Always Fixed Mode (24h).
Multi-Timeframe (MTF): Select between Auto Daily, Weekly, Monthly, or Yearly pivots.
Fully Customizable: Easily change Fibonacci ratios and colors in the settings.
No Repaint: Stable lines on 1-minute charts.
自動判別・マルチタイムフレーム対応のフィボナッチピボット
株・為替を自動判別し、最適なモードで動作する実戦向けインジケーターです。
主な機能:
自動判別機能:
日本株: ザラ場中はラインを完全固定。15:30以降は自動で「明日の予習モード」に切り替わります。
為替・仮想通貨: 24時間常時固定モードで動作します。
HARSI RSI Shadow SHORT Strategy M1HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
mua HARSI RSI Shadow Strategy M1 (Fixed)HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
HARSI works best in liquid markets and can be used as a standalone momentum indicator or combined with trend filters such as moving averages or VWAP for higher-probability trades.
Key Features:
Zero-centered RSI oscillator (RSI − 50)
Heikin Ashi–style smoothing to reduce noise
Clear momentum-based entry signals
Optimized for lower timeframes (M1 scalping)
Suitable for both Spot and Futures trading
mua HARSI RSI Shadow Strategy M1 (Fixed)HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
HARSI works best in liquid markets and can be used as a standalone momentum indicator or combined with trend filters such as moving averages or VWAP for higher-probability trades.
Key Features:
Zero-centered RSI oscillator (RSI − 50)
Heikin Ashi–style smoothing to reduce noise
Clear momentum-based entry signals
Optimized for lower timeframes (M1 scalping)
Suitable for both Spot and Futures trading
Supply & Demand (MTF) [Bearly Invested]Overview
This multi-timeframe supply and demand zone indicator identifies institutional price areas using a unique "Last 2 Opposite Candles" methodology. Unlike traditional support/resistance indicators, this script detects zones by analyzing momentum-based impulse moves and marking the base formed by the last two opposite-colored candles before the displacement.
How It Works
Zone Detection Logic
The indicator identifies supply and demand zones through a four-step process:
Momentum Detection: Monitors for consecutive candles with body sizes exceeding the 20-period average body size by a configurable multiplier (default 0.5x)
Impulse Confirmation: When the required number of momentum candles (default: 4 candles within 4-bar span) is detected, the script identifies a potential impulse move
Base Identification: Looks back through all consecutive momentum bars, then scans up to 50 bars to find the last two opposite-colored candles that formed before the impulse
Zone Creation: Creates a supply/demand zone using the combined high and low of those two opposite candles
Multi-Timeframe Analysis
The indicator supports up to three simultaneous timeframes, allowing you to identify higher timeframe zones while trading on lower timeframes. Each timeframe independently calculates zones using its own momentum criteria, providing confluence when multiple timeframe zones align.
Zone Combination Feature
When "Combine Zones" is enabled, overlapping zones from different timeframes or detection instances are automatically merged into single zones. Combined zones display all contributing timeframes in the label (e.g., "15 Min & 30 Min").
Zone Management
Invalidation Methods
Choose between two zone invalidation approaches:
Wick: Zone remains valid until price wicks through the boundary
Close: Zone remains valid until a candle closes through the boundary
Zone Filtering
The script includes built-in filters to reduce noise:
Minimum zone size requirement (10 bars on detection timeframe)
Maximum zone size limit (1.5x ATR)
Minimum 5-bar cooldown between new zone detections
Distance-based filtering (zones beyond max lookback are hidden)
Key Features
Retest & Break Detection
Retests: Automatically marks when price retests an active zone with "R" labels
Breaks: Optionally displays "B" labels when zones are invalidated
Built-in cooldown system prevents label spam (5-bar minimum between retests)
Alert Conditions
Four alert types are included:
Supply Zone Retest
Demand Zone Retest
Supply Zone Break
Demand Zone Break
Configuration Guide
General Settings
Zone Count: High (30 zones), Medium (5), Low (3), or One (single most recent zone per type)
Momentum Count: Number of consecutive momentum candles required (default: 4)
Momentum Span: Maximum bars to scan for momentum confirmation (default: 4)
Max Lookback For Opposite Candles: How far back to search for base candles (default: 50)
Max Distance To Last Bar: Controls historical zone visibility (High: 1250 bars, Normal: 500, Low: 150)
Timeframe Configuration
Enable up to three timeframes simultaneously. When multiple timeframes show the same value (e.g., chart timeframe), duplicate detection automatically disables redundant calculations.
Visual Options
Customizable supply/demand colors with transparency
"Show Historic Zones" toggles visibility of broken/invalidated zones
Text color and label positioning controls
Combined zones display with increased opacity for emphasis
Best Practices
Timeframe Selection: Use higher timeframes (15m, 30m, 1H) for swing trades; lower timeframes work for scalping when combined with HTF confluence
Zone Invalidation: "Close" method reduces false breaks from wicks; "Wick" method is more conservative
Zone Count: Start with "Medium" or "Low" settings to avoid chart clutter, especially on lower timeframes
Momentum Parameters: Lower values (3-4) detect more zones; higher values (5-6) create stricter, higher-quality zones
Combine Zones: Enable this feature to merge overlapping multi-timeframe zones for cleaner charts and stronger confluence areas
Important Notes
Zones are calculated in real-time on the detection timeframe and displayed on your chart timeframe
The indicator looks back a maximum of 2000 bars for calculations
Maximum of 500 boxes/labels can be displayed simultaneously due to Pine Script limitations
Zones older than the "Max Distance" setting are automatically hidden but still tracked for break/retest detection
The "Last 2 Opposite Candles" method may produce zones of varying sizes depending on the range of those base candles
Volatility Trend Score [BackQuant]Volatility Trend Score
Overview
Volatility Trend Score is a trend-strength and regime-evaluation indicator built to measure directional persistence, not just direction. Most trend tools answer “up or down” using slope, crossovers, or a single condition. This indicator answers a more useful question for real trading: “How consistently is trend structure holding up once volatility is accounted for?”
It does this by building a volatility-scaled trailing structure (ATR-based) and then scoring how that structure evolves over a configurable lookback range. The output is a continuous score that rises when trend is persistent and decays when price action becomes noisy, mean-reverting, or unstable.
What it is measuring (the real goal)
This indicator is not trying to predict reversals. It is trying to quantify whether the market is behaving like a trend market or a chop market. It focuses on:
Persistence: does structure keep pushing in one direction bar after bar?
Stability: are pullbacks being absorbed without breaking the trailing structure?
Regime: is the market trending strongly enough to justify directional bias?
If you already have entries from other systems, this becomes a high-quality trend filter and trade management layer.
Core idea
At its foundation, the indicator combines two parts:
A volatility-adjusted trailing level derived from ATR and a user-defined factor.
A rolling persistence score that compares the current trail to prior trail values over a configurable loop window.
The trailing structure adapts to volatility and enforces one-sided movement, while the scoring logic converts that behavior into a numeric measure of trend quality.
Inputs and what they actually control
Average True Range Period (calc_p)
Defines the ATR window used to estimate volatility. A higher value smooths the volatility estimate and makes the trailing structure less reactive.
Factor (atr_factor)
Scales the ATR band size. Higher values widen the trailing band, filtering more noise, reducing flip frequency, and generally producing slower but more stable regimes.
For Loop Start/End (start/end)
Defines the comparison window used to build the score. It effectively sets how many historical trail values the current trail is compared against.
Shorter ranges produce a faster, more responsive score.
Longer ranges produce a slower, more “confidence-based” score that only climbs when trend persistence is sustained.
Long/Short Thresholds (thresL/thresS)
Convert a continuous score into regime thresholds.
Long threshold is a “trend quality requirement” for bullish bias.
Short threshold is used as a deterioration / breakdown trigger via crossunder logic.
Volatility-adjusted trailing structure
The trailing line is built from ATR bands around price:
up = close + ATR * factor
dn = close - ATR * factor
Then a trailing value is maintained with one-sided ratcheting behavior:
If dn rises above the previous trail, the trail steps up (ratchets upward).
If up drops below the previous trail, the trail steps down (ratchets downward).
This “ratchet” behavior is important. It prevents the trail from oscillating with small countertrend moves, forcing the trail to represent meaningful structure rather than micro-noise. On-chart, this trail often behaves like dynamic support/resistance in trends.
Why the trail is a better base than raw price
Price itself is noisy, and volatility changes the meaning of “big move” vs “small move.” By anchoring structure to ATR:
A move is interpreted relative to current volatility, not in absolute points.
High-volatility chop is less likely to be misread as a trend.
Trend structure is normalized across assets and timeframes more reliably.
This is why the score remains usable even when switching from low-vol assets to high-vol crypto pairs.
Trend scoring logic
The score is built by repeatedly comparing the current trailing value to trailing values from prior bars across a loop window:
If current trail > trail , add +1
If current trail < trail , add -1
This is a persistence test, not a momentum calculation. In a strong trend, the trail should generally keep stepping in the trend direction, so current values will be greater than many past values (bullish) or lower than many past values (bearish). In chop, the trail fails to progress meaningfully, so the score compresses, oscillates, or bleeds out.
How to interpret the score
Think of the score as a “trend conviction meter”:
High positive values: bullish persistence, structure is advancing consistently.
Low positive values: bullish bias may exist, but trend quality is weak or unstable.
Near zero: indecision, range behavior, or frequent structure challenges.
Negative values: bearish dominance or sustained deterioration in structure.
The speed of score change matters too:
Fast expansion suggests a fresh regime gaining traction.
Slow grind suggests mature trend continuation.
Rapid compression often signals consolidation, exhaustion, or a transition phase.
Signals and regime transitions
This script uses two different styles of conditions (important detail):
Long condition: score > long threshold (state-based, persistent while true).
Short condition: crossunder(score, short threshold) (event-based trigger).
That means:
Long bias can remain active as long as score stays above the long threshold.
Short regime flips are triggered at the moment the score breaks down through the short threshold.
On the chart, long/short shapes are only plotted when the regime flips (first bar of the change), not on every bar, using:
Long shape when signal becomes 1 and previous signal was -1
Short shape when signal becomes -1 and previous signal was 1
This keeps signals clean and avoids spam, making it usable for alerts and regime tagging.
Visual presentation
The indicator is designed to work both as a panel oscillator and as an on-chart overlay:
Score plot (oscillator): color reflects active regime state.
Optional trail on price: volatility-scaled structure line on chart.
Optional threshold reference lines: clear regime boundaries.
Optional candle coloring: makes regime obvious without reading the panel.
Optional background shading: useful for quick scanning and backtesting visually.
You can use only the score, only the trail, or both together depending on your workflow.
Practical use cases
1) Trend filter for systems
Use the score as a regime gate:
Allow long entries only when score is above the long threshold.
Avoid longs when score compresses toward zero or loses the threshold.
Treat the short threshold break as “trend is no longer healthy.”
This often improves system expectancy by reducing exposure during low-conviction conditions.
2) Trend quality grading
Instead of treating all uptrends as equal:
Higher score = higher persistence, better continuation odds.
Score plateau = trend losing pressure, continuation becomes less reliable.
Score decay while price rises = trend is getting weaker under the hood.
This is useful for position sizing or deciding whether to add to winners.
3) Trade management and exits
Two complementary tools exist here:
Trail line can act as a dynamic stop reference or structure invalidation level.
Score behavior can be used to scale out when persistence fades (before a full flip).
Many traders use the trail for “hard structure” and the score for “soft deterioration.”
4) Breakout confirmation vs fakeouts
A breakout that immediately fails to build score is often low quality.
Healthy breakouts usually come with score expansion as structure advances.
Fakeouts often revert quickly, score fails to climb, and regime stays unstable.
Tuning guidelines
These are general behaviors you can expect when adjusting settings:
Higher ATR period and factor: slower regimes, fewer flips, cleaner structure.
Lower ATR period and factor: faster reaction, more sensitivity, more noise risk.
Longer loop range: score becomes more “confidence-based,” slower to change.
Shorter loop range: score becomes more “tactical,” faster but more jittery.
A good way to tune is to pick the trail behavior first (ATR period and factor), then tune the score window (loop) to match how quickly you want “trend conviction” to build.
Market behavior focus
Volatility Trend Score is most valuable in markets where volatility shifts frequently and fake trends are common, especially crypto. It is designed to:
Stay out of low-quality chop where most indicators whipsaw.
Quantify when volatility is being expressed directionally (constructive trend).
Provide a clean regime framework for filtering, alignment, and management.
Summary
Volatility Trend Score converts volatility-adjusted structure into a quantified measure of trend persistence. By combining an ATR-based trailing mechanism with a rolling comparison score, it provides a more reliable read on trend quality than single-condition indicators. It is best used as a regime filter, a trend strength gauge, and a trade management layer, helping you stay aligned with strong directional phases while avoiding low-conviction envir
Support Resistance SD Levels Intraday OnlyYour script calculates the highest upper Bollinger Band and lowest lower Bollinger Band reached during a session. It then projects those values into the next session as horizontal levels (Previous Day High/Low based on SD). This is a solid way to identify "overextension" zones where the market historically reversed or stalled.
ETH Trap Short v2 (HTF Filter) 5mETH 5-minute trap short strategy with higher-timeframe (1H EMA200 slope) regime filter.
Includes session filter and fixed SL/TP.
For testing and development only.
MATATABI SP Ver.1Specifications & Features
This indicator is a comprehensive tool designed to monitor trend inception (Squeeze), key reversal zones (Smart SR), and market context (Range Analysis) on a single chart. It is updated for Pine Script v6.
1. 10 Moving Averages (MA)
Spec: Displays a total of 10 Moving Averages.
Defaults: All set to EMA (Exponential Moving Average) with periods 20, 25, 30, 35, 40, 45, 50, 55, 60, 65 (increments of 5).
Customization: Period, type (SMA, EMA, SMMA, WMA), color, and width for each line can be adjusted in the settings.
Visibility: MA01-MA08 are visible by default; MA09-MA10 are hidden by default.
2. MA Squeeze Detection Alert
Feature: Detects when all 10 MAs contract (cluster together) and flatten out, indicating potential energy buildup for a move.
Behavior: No background color change on the chart; it functions purely as an Alert condition configurable in TradingView.
Logic: Triggered when the spread between the highest and lowest MA is below a specific ATR threshold AND the slope of the longest MA is near zero.
3. Smart Support & Resistance (Smart SR)
Zone Display: Draws Support/Resistance as zones (bands) rather than thin lines. The width adapts automatically based on volatility (ATR).
Auto-Removal on Break: When price breaks through a zone, the line stops extending to the right automatically. This ensures only currently active/unbroken levels remain visible on the chart.
Significance Filter: Filters out minor noise, using a longer Pivot length (15) to identify only significant peaks and troughs. It also prevents drawing duplicate zones near existing ones.
Multi-Timeframe (MTF): Can display SR zones from a higher timeframe (e.g., 4H SR on a 15m chart) alongside current timeframe zones.
4. Range Analysis
Range Detection: Visualizes consolidation areas (boxes) based on price deviation and volume analysis.
Info Dashboard: Displays a table (top-right) showing the range strength and a statistical "Directional Probability (Bullish/Bearish %)" for the potential breakout.
Breakout Signals: Highlights the box border and triggers alerts when price breaks out of the detected range.
仕様と特徴
このインジケーターは、トレンドの初動(スクイーズ)、重要な反発ポイント(レジサポ)、**現在の相場環境(レンジ解析)**を1つのチャートで監視するための複合ツールです。Pine Script v6に対応しています。
1. 10本の移動平均線 (MA)
仕様: 合計10本の移動平均線を表示します。
初期設定: すべて**EMA(指数平滑移動平均線)**で、期間は 20, 25, 30, 35, 40, 45, 50, 55, 60, 65(5刻み)に設定されています。
カスタマイズ: 各ラインの期間、種類(SMA, EMA, SMMA, WMA)、色、太さは設定画面から変更可能です。
表示制御: MA01〜MA08はデフォルトで表示、MA09〜MA10は非表示設定です。
2. MA収縮(スクイーズ)検知アラート
特徴: 10本のMAが密集し、かつ傾きが平坦になった状態(エネルギーが溜まっている状態)を検知します。
動作: チャートの背景色は変更せず、アラート通知のみを行う仕様です(設定画面でアラート条件を作成可能)。
判定ロジック: 「MA全体の最大幅がATRの一定倍率以下」かつ「長期MAの傾きがほぼゼロ」の場合に検知します。
3. スマート・レジサポ (Smart Support & Resistance)
ゾーン表示: 単なる線ではなく、価格帯(ゾーン)として描画されます。幅はボラティリティ(ATR)に基づいて自動調整されます。
ブレイクで自動消去: 価格がゾーンを実体でブレイク(上抜け/下抜け)すると、そのラインは「役割を終えた」と判断され、右側への延長が自動的に停止します。これにより、チャート上には「現在有効なレジサポ」のみが残ります。
重要度フィルター: 小さな値動きを除外し、目立つ山や谷(Pivot期間15)のみを抽出して描画します。また、既存のラインと近い場合は重複して描画しません。
マルチタイムフレーム (MTF): 現在足のレジサポに加え、上位足(例: 15分足チャートに4時間足のレジサポ)を同時に表示可能です。
4. レンジ解析 (Range Analyzer)
レンジ検出: 価格の乱高下と出来高を分析し、レンジ相場をボックスで可視化します。
情報テーブル: チャート右上に、レンジの強度や、過去の統計に基づいた**「ブレイク方向の確率(強気/弱気 %)」**を表示します。
ブレイクアウト: レンジを抜けた際に、ボックスの色を変化させ、アラートを通知します。
MidZone Breakout Pro 🚀 MidZone Breakout Pro — Smart Balance Zone Signals
🧭 Equilibrium-Based Market Insight
MidZone Breakout Pro identifies key balance levels in the market and highlights directional opportunities when price decisively moves away from equilibrium.
📐 Dynamic Midpoint Zone Mapping
Automatically plots a central price balance zone derived from recent market ranges, helping traders visualize fair value and expansion areas.
🎯 Clear Buy & Sell Signals
Generates clean bullish and bearish signals when price exits the balance zone with momentum.
🎨 High-Visibility Zone Visualization
Color-coded zones, background shading, and bold signal markers provide instant clarity without chart clutter.
🎚 Customizable Sensitivity
Adjustable lookback period and zone width allow seamless adaptation across scalping, intraday, and swing trading.
🕰 Non-Repainting Signals
All signals are calculated using confirmed price action and remain stable on historical charts.
⚡ Lightweight & Fast Performance
Optimized design ensures smooth performance across all instruments and timeframes.
🛠 How to Use (Safe Version)
📉 **Buy Signal**: Appears when price moves strongly above the balance zone
📈 **Sell Signal**: Appears when price moves strongly below the balance zone
🟨 **Neutral Zone**: Indicates consolidation or equilibrium conditions
Best used in combination with trend direction, support/resistance, or volume confirmation.
⚠️ Disclaimer: This indicator is for educational and analytical purposes only. It does not provide financial advice. Always apply proper risk management.






















