Squeeze Momentum [Ryu_xp] - EnhancedSqueeze Momentum – Enhanced (Pine v6) combines the classic “Bollinger Bands vs. Keltner Channels” squeeze with a momentum oscillator to highlight breakouts and momentum shifts in one pane.
Key Components:
Pine v6: fully updated to TradingView’s latest Pine Script version (v6).
Configurable Inputs:
BB Length & MultFactor: set your Bollinger Bands.
KC Length & MultFactor (optionally using True Range): set your Keltner Channels.
Squeeze Logic:
Squeeze On when Bollinger Bands contract inside Keltner Channels (low volatility).
Squeeze Off when Bollinger Bands expand beyond Keltner Channels (volatility breakout).
No Squeeze in all other cases.
Momentum Oscillator:
Centered on zero, built via linear regression of price vs. a combined SMA/high–low average.
Plot as a filled area:
Bright lime = rising bullish momentum
Green = bullish but slowing
Red = falling bearish momentum
Maroon = bearish but slowing
Squeeze State Marker:
Cross‐style plot at zero:
Black dot = in squeeze
Gray dot = squeeze released
Blue dot = neutral (no squeeze)
Usage Tips:
• Apply to a clean chart (no other indicators).
• Watch for squeeze release (black→gray) aligned with a color flip in the oscillator to time high-probability entries.
• Tweak BB/KC lengths and multipliers to suit different timeframes and instruments.
Indicators and strategies
Indicateur de tradingKDJ Alert
Strategy Advice
1- Cautious
Frame the alert candle
Buy = yellow
Sell = blue
Follow the market trend and go
Set a 20-day moving average.
Be careful, the alert sometimes occurs quite high above the moving average
Wait for it to return to the moving average before opening.
2- Risky
Follow the alert candle immediately
Set a fairly large SL, however, if you want to implement this risky method
Sector Relative StrengthDescription
This script compares sector performance relative to the S&P 500. Sector price levels or charts alone can mislead, because they tend to move with the broader market. An increase in a sector’s price does not necessarily indicate strength, as it may simply be following the index.
For more a more reliable picture, the script calculates a ratio between each sector ETF and SPY. If the ratio has increased, the sector has outperformed the index. In case it has declined, the sector has underperformed. If the value is near zero, the sector has moved in line with the index. The sectors are presented in a table and sorted on relative performance.
Calculation Method
The performance is expressed as a percentage change in the ratio over a user-defined lookback period. The default lookback is set to 21 bars, which corresponds to one month on a daily chart. This value can be adopted in the settings to match preferred time period.
Z-Score
In addition to the percentage change, the script calculates a Z-score of the ratio, which measures how far the current value deviates from its recent mean. A high positive Z-score indicates that the ratio is significantly above its average, while a negative value indicates it is below. This normalization allows for comparison between sectors with different price levels or volatility profiles.
Table Columns
- Relative %: The sector's performance relative to SPY over the selected lookback period
- Z-Score: Standardized measure of current performance ratio is relative to its average
- Trend Arrow: Indicates the direction of relative performance up down or flat
Example Interpretation
For example, if XLK shows a 3.7% change, it has outperformed SPY over the selected period. Another sector might show a -2.1% change, which indicates underperformance. While both values shows relative strength or weakness, the Z-score is optional and can provide additional context based on how unusual that performance is compared to the sector's own recent behavior.
Use Case
This approach helps evaluate overall market conditions and supports a top-down method. By starting with sector performance, it becomes easier to identify where the market is showing leadership or weakness. This allows the stock selection process to be more deliberate and can help refine or customize screeners based on certain sectors.
First 15-Min Candle High/Low### 📘 Description of the Script
This Pine Script indicator draws **horizontal lines** at the **high and low of the first 15-minute candle after the market opens at 9:30 AM (New York time)**. It is designed for use on **intraday charts** (e.g., 1m, 5m) for U.S. stock markets.
---
### 🔍 What the Script Does
* **Fetches 15-minute candle data** using `request.security()` from the `"15"` timeframe.
* **Detects the first 15-minute candle starting at 9:30 AM** (i.e., the 9:30–9:45 candle).
* **Saves the high and low** of that first 15-minute candle.
* **Plots horizontal lines** at those high/low levels for the rest of the trading day.
* **Resets at the start of each new day**, so the levels are updated fresh each morning.
---
### 🕒 When It Updates
* At exactly 9:45 AM (when the first 15-minute candle closes), it captures the high/low.
* Lines remain plotted for the rest of the day until the script resets on a new day.
---
### 🧠 Why This Is Useful
Traders often watch the **initial 15-minute range** as a key zone for:
* Breakouts or breakdowns
* Trend direction confirmation
* Entry or exit signals
This script helps visualize that range clearly and automatically.
---
Let me know if you want to:
* Extend the line beyond today
* Add alerts for breakouts
* Support different market open times (e.g., futures or forex markets)
MAGICAL 50 LINEExplanation:
Indicator Declaration: The script declares an indicator to overlay on the chart.
Time Calculation: Calculates the start time of the first 5-minute candle, assuming it begins at 9:15 AM.
First Candle Close: It gets the closing price of the first 5-minute candle.
Calculate +50: It calculates the level 50 points above the closing price.
Plot Line: It plots a line at the calculated +50 level in green.
This script will draw a line on your chart at the specified level, providing a visual reference for your analysis. If you have any other requests or modifications, just let me know! 😊
Enhance Short Squeeze Detector gilClearer Short Squeeze Indicator Contains 3 Conditions RSI>50 Volume Above Average and SQZMOM Indicator
Focuses the Days and Doesn't Spread Them Out
MACD AaronVersionAutomatically changes color to help you better assess trend strength, suitable for use with breakout or range trading strategies.
Fast Line (MACD):
🔸 Higher than yesterday → Yellow
🔹 Lower than yesterday → Gray
Slow Line (Signal Line):
🟢 After a Golden Cross occurs → stays Green until a Death Cross
🔴 After a Death Cross occurs → stays Red until the next Golden Cross
FibSync - DynamicFibSupportWhat is this indicator?
FibSync – DynamicFibSupport overlays your chart with both static and dynamic Fibonacci retracement levels, making it easy to spot potential areas of support and resistance.
Static Fibs: Calculated from the highest and lowest price over a user-defined lookback period.
Dynamic Fibs: Calculated from the most recent swing high and swing low, automatically adapting as new swings form.
How to use
Add the indicator to your chart.
Configure the settings:
Static Fib Period: Sets the lookback window for static fib levels.
Show Dynamic Fibonacci Levels: Toggle dynamic fibs on/off.
Dynamic Fib Swing Search Window: How far back to search for valid swing highs/lows.
Swing Strength (bars left/right): How many bars define a swing high/low (higher = stronger swing).
Interpret the levels:
Solid lines are static fibs.
Transparent lines are dynamic fibs (if enabled).
Colors match standard fib conventions (yellow = 0.236, red = 0.382, blue = 0.618, green = 0.786, gray = 0.5).
Tips
Static and dynamic fibs can overlap-this often highlights especially important support/resistance zones.
Adjust the swing strength for your trading style: lower values for short-term, higher for long-term swings.
Hide/show individual lines using the indicator’s style settings in TradingView.
Trading Ideas (for higher timeframes and static fibs)
Close above the blue line (0.618 static fib):
This can be interpreted as a potential long (buy) signal, suggesting the market is breaking above a key resistance level.
Close below the red line (0.382 static fib):
This can be interpreted as a potential short (sell) signal, indicating the market is breaking below a key support level.
Note: These signals are most meaningful on higher timeframes and when using the static fib lines. Always confirm with your own strategy and risk management.
ST + Multi-EMASuperTrend with multiple EMAs.
The indicator includes Supertrend and 10 EMAs. Hope it helps those who are looking for multiple EMAs in one indicator.
Multi BB (3/4/5 SD) - Separate AlertsGives alert when Price touches Bollinger Band 3 or 4 or 5 on either higher or lower sides.
Breakout DailyBreakout - with body - of yesterday's daily high or low.
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Q Impulse EntryQ Impulse Entry
A directional entry system combining impulse breakouts, Elder's momentum confirmation, and ADX trend validation. Designed for clean trade setups with multi-step filtering, entry markers, and real-time alerts.
🔧 Core Logic
This is not a basic mashup — each filter plays a distinct technical role:
1. Impulse Breakout Engine
• Detects sharp directional price breaks using ATR-adjusted dynamic zones
• Impulse window controls sensitivity to local highs/lows
2. Elder Momentum Filter
• Confirms signal using MACD histogram and EMA alignment
• Blocks entries when internal momentum contradicts price move
3. ADX Trend Strength Filter
• Uses threshold-based ADX logic to validate trend power
• Filters out noise in flat or weak markets
The system requires all three filters to agree before confirming an entry.
📈 Visual Feedback
• ⇑ / ⇓ arrows mark confirmed entry signals
• Colored entry dots plotted at signal price help confirm timing and aid in multi-position layering
• Impulse breakout zones and EMA are displayed for directional context
• Clean layout, no repainting, designed for real-time use
⚙️ Configurable Inputs
• Impulse Window — controls breakout signal sensitivity
• ATR Multiplier — defines width of impulse breakout zones
(Elder and ADX filters are embedded and fine-tuned)
✨ Highlights
• Triple-filter signal logic = fewer false positives
• Entry dots + arrows for visual clarity and scaling in
• Lightweight, non-repainting, and alert-ready
• Best suited for Forex and all timeframes
• Ideal for breakout, trend-following, or hybrid systems
• Built-in alerts and customizable zones
• Always apply risk management suited to your capital and strategy
Trade with clarity — stay for quality.
Logarithmischer Trendkanal (sichtbar, in Preisskala + Stilwahl)Logarithmischer frei einstellbarer Trendkanal mit Wachstum p.a. über Trendphase
Index Futures vs Cash ArbitrageThis indicator measures the statistical spread between major stock index futures and their corresponding cash indices (e.g., ES vs SPX, NQ vs NDX) using Z-score normalization. It automatically detects commonly traded index pairs (S&P 500, Nasdaq, Dow Jones, Russell 2000) and calculates a smoothed spread between futures and spot prices. A Z-score is then derived from this spread to highlight potential overpricing or underpricing conditions.
Traders can use customizable thresholds to identify mean-reversion opportunities where the futures contract may be temporarily overvalued or undervalued relative to the index. The histogram highlights the direction of the Z-score (green = futures > index, red = futures < index), while built-in alerts notify users of key threshold breaches or zero-line crosses.
This tool is designed for discretionary traders, pairs traders, or anyone exploring statistical arbitrage strategies between futures and spot markets. It is not a buy/sell signal by itself and should be used with additional confluence or risk management techniques.
Custom WT Price Signals with MomentumThis script provides modified signals fine-tuned for QQQ on the daily timeframe. It combines WaveTrend crossovers with momentum confirmation and bull/bear trend filtering.
• Yellow: Potential buy signal
• Orange: Accumulation/load signal (optional)
• Purple: Sell signal
Note:
• Some buy signals can be misleading. It’s recommended to use them alongside other indicators.
• Sell signals tend to be more reliable. However, if the fast and slow WaveTrend lines are nearly parallel, false signals may occur.
• While this script is tuned for QQQ daily data, I did not use automated parameter search to avoid overfitting. Recent backtests have shown promising results.
Enjoy and use responsibly!
Wave Trend + Fearzone + Signal Combo with ReversalIn this example, you need to replace variables like wt1, wt2, fearZoneTop, fearZoneBottom with the actual WaveTrend and FearZone calculations.
You can place and use your full WaveTrend and FearZone code in the code above.
If you want, I can add this logic to the WaveTrend + FearZone code you gave me, complete and working, and give it to you. If you want, I can do that right away.
Liquidity stop huntThis tool identifies key liquidity zones where stop hunts are likely to occur.
**How it works:**
- Detects swing highs/lows on your selected timeframe.
- Marks levels where "liquidity sweeps" (fakeouts) often happen.
- Plots these zones as dotted lines for visual reference.
**How to use:**
1. Look for price rejections near marked levels.
2. Avoid placing stops too close to obvious liquidity zones.
3. Combine with price action for confirmation.
**Settings:**
- Timeframe: Choose the historical period for analysis (e.g., 1D, 1W).
- Sweep Type: "Wick Only" for precise tails, "Regular" for all breaks.
- Colors/Style: Customize appearance.
Note: Works best in trending markets. Not a standalone strategy — always confirm with additional analysis.
Seasonality DOW CombinedOverall Purpose
This script analyzes historical daily returns based on two specific criteria:
Month of the year (January through December)
Day of the week (Sunday through Saturday)
It summarizes and visually displays the average historical performance of the selected asset by these criteria over multiple years.
Step-by-Step Breakdown
1. Initial Settings:
Defines minimum year (i_year_start) from which data analysis will start.
Ensures the user is using a daily timeframe, otherwise prompts an error.
Sets basic display preferences like text size and color schemes.
2. Data Collection and Variables:
Initializes matrices to store and aggregate returns data:
month_data_ and month_agg_: store monthly performance.
dow_data_ and dow_agg_: store day-of-week performance.
COUNT tracks total number of occurrences, and COUNT_POSITIVE tracks positive-return occurrences.
3. Return Calculation:
Calculates daily percentage change (chg_pct_) in price:
chg_pct_ = close / close - 1
Ensures it captures this data only for the specified years (year >= i_year_start).
4. Monthly Performance Calculation:
Each daily return is grouped by month:
matrix.set updates total returns per month.
The script tracks:
Monthly cumulative returns
Number of occurrences (how many days recorded per month)
Positive occurrences (days with positive returns)
5. Day-of-Week Performance Calculation:
Similarly, daily returns are also grouped by day-of-the-week (Sunday to Saturday):
Daily return values are summed per weekday.
The script tracks:
Cumulative returns per weekday
Number of occurrences per weekday
Positive occurrences per weekday
6. Visual Display (Tables):
The script creates two visual tables:
Left Table: Monthly Performance.
Right Table: Day-of-the-Week Performance.
For each table, it shows:
Yearly data for each month/day.
Summaries at the bottom:
SUM row: Shows total accumulated returns over all selected years for each month/day.
+ive row: Shows percentage (%) of times the month/day had positive returns, along with a tooltip displaying positive occurrences vs total occurrences.
Cells are color-coded:
Green for positive returns.
Red for negative returns.
Gray for neutral/no change.
7. Interpreting the Tables:
Monthly Table (left side):
Helps identify seasonal patterns (e.g., historically bullish/bearish months).
Day-of-Week Table (right side):
Helps detect recurring weekday patterns (e.g., historically bullish Mondays or bearish Fridays).
Practical Use:
Traders use this to:
Identify patterns based on historical data.
Inform trading strategies, e.g., avoiding historically bearish days/months or leveraging historically bullish periods.
Example Interpretation:
If the table shows consistently green (positive) for March and April, historically the asset tends to perform well during spring. Similarly, if the "Friday" column is often red, historically Fridays are bearish for this asset.
IFVG WITH SignalsTitle: Inverted Fair Value Gaps with Alerts – Smart Liquidity Zones
Description:
This script identifies Inverted Fair Value Gaps (IFVGs) – a concept derived from liquidity theory and price inefficiencies, often associated with smart money trading strategies. Unlike traditional FVGs, inverted gaps point to potential liquidity traps or reversal zones, where price may revisit to rebalance or hunt stops.
Key Features:
Automatic detection of Inverted Fair Value Gaps
Visual zones plotted on chart for easy reference
Customizable alerts when a new IFVG is created or price re-enters one
Works on any timeframe or asset
Redwire's ALMA Bands with Alerts This script is basically an extension of Redwire's Alma bands developed by (in.tradingview.com). A big thanks to him
This is a script I like a lot as it has Alma bands based on Fibonacci numbers and price tends to respect these very often.
All I have done with AI help is create a code with more Alma Fib MA's + Alarms incorporated, such that there is a trigger when a certain condition is met(for ex -price crossing Alma-55 or Alma 89)
If the ALMA MA's are all inter-twined/criss-crossing each other, price tends to be range bound. If the ALMA bands are all neatly stacked up/down, it tends to indicate a breakout/breakdown
Hope this is of help to fellow traders. Pls note that I am not a coder nor any analyst of any sort. Pls backtest and research accordingly before trading. Best wishes