YBL_LUXE — Squeeze Momentum (Panel + Pinta Velas) v1.0📌 Description of the indicator: YBL_LUXE — Squeeze Panel v1.0
The YBL_LUXE Squeeze Panel combines momentum analysis with the detection of squeeze zones, offering a clear and visually powerful view of when the market is building up energy and when it releases it into directional moves.
🔎 How it works
The histogram shows price momentum:
Strong Green/Blue → Strong bullish momentum.
Strong Red/Orange → Strong bearish momentum.
Lighter colors → Gradual loss of strength.
The Squeeze ON/OFF system (dots):
Black (ON) → Market in compression (Bollinger Bands inside Keltner Channels).
Yellow (OFF) → Market has released compression and may start an explosive move.
⚡ Key advantages
Easily identifies accumulation moments and potential breakouts.
Highlights true momentum, filtering out market noise.
Clean and professional design, 100% customizable in colors and styles.
Works on any timeframe and asset (indices, futures, forex, crypto, stocks).
🎯 How to use
Wait for Squeeze ON (black dots) → market is compressing.
When it switches to Squeeze OFF (yellow dots) → market may release energy and move strongly.
Confirm the direction with the momentum histogram color:
Green/blue → higher probability of bullish breakout.
Red/orange → higher probability of bearish breakout.
🛠️ Customization
From the settings panel you can adjust:
Histogram colors.
Squeeze dots colors (ON/OFF).
Zero line visibility.
Histogram bar style.
👉 This indicator is ideal for scalping, day trading, and swing trading, as it helps detect consolidation zones and strong breakouts, combining compression + momentum.
指標和策略
YBL_LUXE — Squeeze Momentum (Panel + Pinta Velas) v1.0📌 Description of the indicator: YBL_LUXE — Squeeze Panel v1.0
The YBL_LUXE Squeeze Panel combines momentum analysis with the detection of squeeze zones, offering a clear and visually powerful view of when the market is building up energy and when it releases it into directional moves.
🔎 How it works
The histogram shows price momentum:
Strong Green/Blue → Strong bullish momentum.
Strong Red/Orange → Strong bearish momentum.
Lighter colors → Gradual loss of strength.
The Squeeze ON/OFF system (dots):
Black (ON) → Market in compression (Bollinger Bands inside Keltner Channels).
Yellow (OFF) → Market has released compression and may start an explosive move.
⚡ Key advantages
Easily identifies accumulation moments and potential breakouts.
Highlights true momentum, filtering out market noise.
Clean and professional design, 100% customizable in colors and styles.
Works on any timeframe and asset (indices, futures, forex, crypto, stocks).
🎯 How to use
Wait for Squeeze ON (black dots) → market is compressing.
When it switches to Squeeze OFF (yellow dots) → market may release energy and move strongly.
Confirm the direction with the momentum histogram color:
Green/blue → higher probability of bullish breakout.
Red/orange → higher probability of bearish breakout.
🛠️ Customization
From the settings panel you can adjust:
Histogram colors.
Squeeze dots colors (ON/OFF).
Zero line visibility.
Histogram bar style.
👉 This indicator is ideal for scalping, day trading, and swing trading, as it helps detect consolidation zones and strong breakouts, combining compression + momentum.
PCV5PCV5 is a round-number lattice the chart keeps tripping over.
On the small clocks it hums in tight teeth—25/50/100—like gears meshing under the hood.
On big clocks (and that lone 15m gate) the skeleton shows: 1000 spines, 500 ribs, with 250/750 pulse points marked inside each thousand.
Everything snaps to the tick, projected both ways from the last heartbeat only.
Each choir can be muted—flip a switch, the line goes silent; flip another, it sings.
Not support, not resistance—just the grid the candles accidentally confess.
Magic triangles ^v^v^vAddes filter to the indicator for better results.
Less triangles, filtered out unnecessary ones :)
XAUUSD Confluence Analyzer# TradingView Setup Guide - XAUUSD Confluence Indicator
Configuring the Indicator Settings
Once added to your chart, click the **gear icon** next to the indicator name to access settings:
### RSI Settings:
- **RSI Length**: 14 (default)
- **RSI Overbought**: 70
- **RSI Oversold**: 30
### Volume Settings:
- **Volume Multiplier**: 1.5 (signals high volume when 1.5x average)
### Support/Resistance Settings:
- **Lookback Period**: 20
- **S/R Touch Strength**: 3
### Key Levels (Update these based on current market):
- **Key Support 1**: 3269.0
- **Key Support 2**: 3321.0
- **Key Resistance 1**: 3400.0
- **Key Resistance 2**: 3450.0
### Fibonacci Settings:
- **Fibonacci Lookback**: 100 periods
Understanding the Visual Elements
### Lines and Levels:
- **Green Lines**: Support levels (Key Support 1 & 2)
- **Red Lines**: Resistance levels (Key Resistance 1 & 2)
- **Purple/Blue/Orange Dots**: Fibonacci retracement levels (61.8%, 50%, 38.2%)
### Background Colors:
- **Yellow Background**: High confluence (70+ score) - Strong signal
- **Blue Background**: Moderate confluence (40-69 score)
- **Gray Background**: Low confluence (<40 score)
### Signal Arrows:
- **Green Triangle Up**: Buy signal (confluence score 70+ at support)
- **Red Triangle Down**: Sell signal (confluence score 70+ at resistance)
### Information Table (Top Right):
- **Confluence Score**: Current confluence strength (0-100)
- **RSI**: Current RSI value
- **Distance to Levels**: How close price is to key levels
- **Volume**: Current volume status (HIGH/NORMAL)
- **Signal**: Current signal (BUY/SELL/NONE)
- **Strength**: Overall signal strength (STRONG/MODERATE/WEAK)
Setting Up Alerts
1. **Right-click on the chart** and select "Add Alert"
2. **Choose your indicator** from the dropdown
3. **Select alert type**:
- "Confluence Buy Signal" - Alerts when buy conditions met
- "Confluence Sell Signal" - Alerts when sell conditions met
- "High Confluence Alert" - Alerts when score reaches 70+
4. **Configure notification method** (email, SMS, app notification)
5. **Click "Create"**
## Step 5: Additional Setup Recommendations
### Complementary Indicators to Add:
1. **Volume Profile** - Shows volume at price levels
2. **MACD** - Momentum confirmation
3. **Bollinger Bands** - Volatility and mean reversion
4. **200 EMA** - Long-term trend direction
### Chart Setup:
- **Timeframe**: Daily for main signals, 4H for entries/exits
- **Chart Type**: Candlesticks
- **Extended Hours**: Enable for complete price action
### Watchlist Setup:
Create a watchlist with:
- XAUUSD (main)
- DXY (Dollar Index - inverse correlation)
- US10Y (Bond yields - affects gold)
- SPX (Risk sentiment)
Trading Rules Based on Confluence Score
### High Confluence (70+ Score):
- **Entry**: Wait for score 70+ at key levels
- **Stop Loss**: Below nearest support (buy) / Above nearest resistance (sell)
- **Take Profit**: Next resistance level (buy) / Next support level (sell)
- **Position Size**: Full position size
### Moderate Confluence (40-69 Score):
- **Entry**: Wait for additional confirmation (price action, volume)
- **Stop Loss**: Tighter stops
- **Take Profit**: Partial targets
- **Position Size**: Reduced position size
### Low Confluence (<40 Score):
- **Action**: Avoid trading, wait for better setup
- **Use**: Market analysis only
## Step 7: Backtesting Your Strategy
1. **Use TradingView's Strategy Tester**
2. **Convert indicator to strategy** (modify Pine Script)
3. **Test different timeframes** (4H, Daily, Weekly)
4. **Optimize parameters** based on historical performance
5. **Paper trade** before live implementation
## Step 8: Regular Maintenance
### Weekly Tasks:
- Review key support/resistance levels
- Update Fibonacci lookback period if needed
- Check alert functionality
### Monthly Tasks:
- Analyze performance metrics
- Adjust key levels based on new market structure
- Review and optimize parameters
## Troubleshooting Common Issues
### Indicator Not Loading:
- Check Pine Script syntax errors
- Ensure all input values are valid
- Try reducing lookback periods if memory issues
### Signals Not Appearing:
- Verify key levels are current
- Check if confluence score is reaching threshold
- Ensure all conditions are met simultaneously
### Too Many/Few Signals:
- Adjust confluence score threshold
- Modify RSI overbought/oversold levels
- Change volume multiplier sensitivity
## Mobile App Usage
The indicator works on TradingView mobile app:
1. **Sync your account** to access custom indicators
2. **Alerts will work** on mobile notifications
3. **Table display** may be smaller but functional
4. **All signals and levels** display correctly
## Pro Tips
1. **Combine with multiple timeframes**: Use daily for signals, 4H for entries
2. **Watch news events**: Gold is sensitive to economic data
3. **Monitor correlations**: Watch DXY, yields, and equity markets
4. **Use confluence with price action**: Look for engulfing patterns, pin bars at levels
5. **Risk management**: Never risk more than 1-2% per trade
This indicator automates the confluence analysis we identified and provides clear visual signals for XAUUSD trading opportunities.
SR Zones - ADA 4HThink of ADA’s price like a ball bouncing in a hallway. This script watches the **4‑hour** chart to spot where the ball keeps **turning around**—those become **floors (support)** and **ceilings (resistance)**. It groups nearby turnarounds into **thick colored bands** (green floors, red ceilings), makes bands **wider when the market is jumpy** and **narrower when it’s calm**, and **strengthens** a band each time price bumps it. Old or weak bands get **cleaned up**, overlapping ones get **merged**, and the bands **extend forward** so you can see likely bounce zones ahead
HH/HL + EMAs + Trend LSMAusing Lsma to enter and exit trend and using 200 for bullish and bearish thesis also 20ema for trading as support and trend
BTC NY Session Envelopes: Dynamic Levels & Settle AlertsCore Concept and Genesis
Born from forex institutional timing principles, this tool has been precision-engineered for the relentless pace of Bitcoin and cryptocurrency markets. It visualizes adaptive session-derived boundaries—spanning weekly, daily, and Asia-specific envelopes—capped with a Friday US settlement "sentinel" zone. Enhanced with targeted alerts for crossings of Asia highs/lows, daily highs/lows, weekly highs/lows, and the settle midpoint, it empowers traders to capture momentum shifts in real-time, transforming raw price data into actionable intelligence for volatile, non-stop assets.
The Fusion Edge: What Sets This Apart
This isn't a generic level plotter; it's a synergistic ecosystem where NY-timed envelopes intersect to reveal hidden confluences, like Asia's quiet buildup funneling into daily volatility spikes or the US settle acting as a "gap magnet" for weekend resolutions. Tailored for BTC's unique liquidity flows, it employs a low-timeframe data pull for noise-free accuracy, sidestepping common pitfalls in 24/7 charts. The built-in alerts—firing on precise crossovers—add a proactive layer, alerting to potential "liquidity hunts" or reversals (e.g., a breakout above weekly high amid high volume). In personal simulations across 500+ BTC sessions, this setup flagged ~65% of high-conviction moves with fewer false positives than isolated tools—always backtest to confirm your edge.
Inner Mechanics: A Transparent Peek
Weekly/Daily Envelopes: Anchored to 5pm NY resets for institutional alignment; computes highs/lows/mids through ongoing max/min accumulation, sourced from a user-defined sub-timeframe for cross-chart reliability.
Asia Envelope: A dynamic 8pm-3am NY capture window that evolves bar-by-bar, spotlighting pre-London setups often overlooked in crypto.
US Settle Sentinel: Zeroes in on Friday's 4:45pm NY 15-minute finale, rendering a containment box and midpoint to forecast post-weekend reactions. Overlaps are intelligently clustered in labels for at-a-glance clarity, with extension options for forward projection.
Timeframe-Adaptive Visibility: To declutter higher timeframes and focus on relevant horizons, the Asia envelope auto-hides on charts above 1hr, while daily envelopes vanish above 4hr—ensuring a streamlined view for swing or position traders without sacrificing intraday detail.
Alert System: Leverages crossover/crossunder detection on closing prices against levels, with granular triggers (e.g., "Surge Beyond Asia Low") for customized notifications—perfect for webhook integrations or mobile pings.
Strategic Deployment and Scenarios
BTC Day-Trading Playbook: Initiate longs when price rebounds from Asia low near a daily mid, amplified by an alert on "Dip Below Daily Low" for entry confirmation—pair with external volume spikes for confluence.
Trend Harmony: Overlay with a 200-period EMA; use "Breach Under Weekly High" alerts to exit longs in downtrends, safeguarding against fakeouts.
Caveats and Optimization: Thrives in momentum-driven phases but tune out in ultra-low volatility; alerts activate post-bar, so layer with candlestick patterns. Ideal for 15m-4H frames on perpetual futures like BTCUSDT.P.
Exclusive Access Rationale (If Restricted) The bespoke crypto recalibrations, seamless multi-envelope fusion, and alert-driven foresight deliver a tactical advantage absent in off-the-shelf alternatives—reach out via TradingView message for tailored access and optimization insights.
pinecon testerThe Pine Editor is moving from the bottom panel to the side panel. This change will happen in phases over the following weeks.
By default, the new editor view overlays on the right side of the screen. For wider screens, a split-view mode is available, which automatically adjusts the chart’s width to keep it visible alongside the editor. With this new vertical orientation, users can easily edit code and view other tabs such as the Strategy Tester or Replay Trading at the same time.
HM2 - Swing Low High 1-2# HM2 Swing Low High 1-2 Indicator Logic Description
## Overview
This indicator identifies and tracks key swing points in price action, specifically maintaining four critical levels: **SL1, SL2, SH1, and SH2**. These levels represent a hierarchy of support and resistance based on recent price swings.
## Core Logic
### Swing Point Detection
The indicator uses a **symmetrical swing detection method**:
- **Swing Length Parameter**: Defines how many candles on each side of a potential swing point must be higher (for lows) or lower (for highs)
- **Confirmation**: Only processes confirmed/closed candles to avoid repainting
- **Lookback Buffer**: Waits for adequate price history before making determinations
### The Four Key Levels
#### **SL1 (Swing Low 1) - Most Recent Low**
- The most recently formed swing low
- Always the latest confirmed low point in the price structure
- Updates whenever a new swing low is detected
#### **SL2 (Swing Low 2) - Lower Reference Low**
- The most recent swing low that is **below** SL1
- Must be lower in price than SL1 (deeper support level)
- Provides context for the support structure below current levels
#### **SH1 (Swing High 1) - Most Recent High**
- The most recently formed swing high
- Always the latest confirmed high point in the price structure
- Updates whenever a new swing high is detected
#### **SH2 (Swing High 2) - Higher Reference High**
- The highest swing high that is **above** SH1
- Must be higher in price than SH1 (stronger resistance level)
- Represents the most significant resistance overhead
## Key Features
### Smart Level Management
- **Array-Based Storage**: Maintains up to 50 recent swing points for performance optimization
- **Duplicate Prevention**: Prevents the same bar from being recorded multiple times
- **Hierarchy Enforcement**: SL2 must be below SL1, and SH2 must be above SH1
### Visual Elements
- **Horizontal Lines**: Draw from the swing point to current price with customizable extension
- **Background Plots**: Subtle reference lines for all four levels
- **Labels**: Clear "SL1", "SL2", "SH1", "SH2" labels positioned to the right of current price
- **Detection Markers**: Small triangular markers show when new swing points are detected
### Customization Options
- **Swing Length**: Adjustable sensitivity (1-10 candles)
- **Visual Controls**: Toggle labels and lines on/off
- **Line Extension**: Choose how lines extend (none, right, or both directions)
- **Color Customization**: Separate colors for lows (default red) and highs (default green)
## Practical Application
This indicator is particularly useful for:
- **Support/Resistance Trading**: The four levels provide clear zones for potential reversals
- **Trend Analysis**: Understanding the relationship between recent highs and lows
- **Entry/Exit Planning**: Using the hierarchy of levels for stop-loss and target placement
- **Market Structure**: Visualizing the current swing structure in any timeframe
The indicator automatically updates as new swing points form, ensuring traders always have the most current and relevant support/resistance levels based on actual price structure rather than arbitrary technical levels.
Penguin Trend with RSI on DiffVisualizes volatility regime via the percent spread between the upper Bollinger Band and the upper Keltner Channel, with bar colors from a lightweight trend engine and an RSI computed on the Diff signal. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and an optional calculation timeframe. Defaults preserve the original look and behavior.
Penguin Trend with RSI on Diff shows expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
• Diff > 0: Bollinger Bands are wider than Keltner Channels → expansion / momentum regime
• Diff < 0: BB narrower than KC → compression / squeeze regime
A white “Average Diff” line smooths Diff% (default: SMA(5)) to highlight regime shifts. Bars are colored only when Diff > 0 to focus on expansion phases. A lightweight trend engine defines four states from a fast/slow MA bias and a short “thrust” MA on ohlc4:
• Green: Bullish bias and thrust > fast MA (healthy upside thrust)
• Red: Bearish bias and thrust < fast MA (healthy downside thrust)
• Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness)
• Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze)
RSI on Diff:
The indicator adds an RSI applied to Diff% to gauge momentum of the expansion/compression signal itself. Choose between Built-in RSI or a manual RMA-based computation, and optionally smooth it. Default OB/OS lines are 70/30.
How it works:
• Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)); Width = StdDev × Mult (default 2.0)
• Keltner Channels (KC): Basis = selected MA of src (default SMA(20)); Width = ATR(kcATR) × Mult (defaults 20 and 2.0)
• Diff%: Safe division guards against division-by-zero
• MA engine: Select SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Average Diff, and trend components (VWAP is session-anchored)
• Calculation timeframe: Compute internals on a chosen TF via request.security() while viewing any chart TF
Inputs (key):
• Calculation timeframe: Empty = chart TF; set e.g., 60/240 to compute on that TF
• BB: Length, StdDev Mult, MA Type
• KC: Basis Length, ATR Length, Multiplier, MA Type
• Average Diff: Length and MA Type
• RSI on Diff: RSI Length, Method (Built-in or Manual RMA), Smoothing Length, OB/OS levels, show/hide
• Trend Engine: Fast/Slow lengths & MA type, Signal (kept for completeness), Thrust MA length & type
• Display/Visibility: Paint bars only when Diff > 0; show zero line; “true Blue” color toggle; show/hide Diff columns and Average Diff
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: During expansion (Diff > 0), prioritize Green/Red for aligned thrust; treat Yellow/Blue as cautionary/contrarian.
3. RSI on Diff: Use OB/OS and crossovers for timing entries/exits or for confirming/negating expansion strength.
Alerts:
• Diff crosses above/below 0
• Average Diff crosses above/below 0
• RSI(Diff) crosses above OB / below OS
• State changes: GREEN / RED / YELLOW / BLUE
Notes & limitations:
• VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
• Defaults (SMA(20) for BB/KC, multipliers 2.0, SMA(5) Average Diff, original trend coloring and bar painting) preserve the original appearance.
• RSI on Diff is plotted in the same pane for a compact workflow; you can hide it or split into a separate indicator if desired.
Release notes:
v6.0 — Upgraded to Pine v6. Added multi-MA options (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP), calculation timeframe, RSI on Diff (Built-in or Manual RMA) with smoothing, safe division guard, optional zero line, and optional true Blue color. Defaults retain the original behavior.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Penguin TrendMeasures the volatility regime by comparing the upper Bollinger Band to the upper Keltner Channel and colors bars with a lightweight trend state. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and a selectable calculation timeframe. Default settings preserve the original look and behavior.
Penguin Trend visualizes expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
* Diff > 0: Bollinger Bands are wider than Keltner Channels -> expansion / momentum regime.
* Diff < 0: BB narrower than KC -> compression / squeeze regime.
A white “Average Difference” line smooths Diff% (default: SMA(5)) to help spot regime shifts.
Trend coloring (kept from original):
Bars are colored only when Diff > 0 to emphasize expansion phases. A lightweight trend engine defines four states using a fast/slow MA bias and a short “thrust” MA applied to ohlc4:
* Green: Bullish bias and thrust > fast MA (healthy upside thrust).
* Red: Bearish bias and thrust < fast MA (healthy downside thrust).
* Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness).
* Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze).
Note: By default, Blue renders as Yellow to preserve the original visual style. Enable “Use true BLUE color” if you prefer Aqua for Blue.
How it works (under the hood):
* Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)). Width = StdDev × Mult (default 2.0).
* Keltner Channels (KC): Basis = selected MA of src (default SMA(20)). Width = ATR(kcATR) × Mult (defaults 20 and 2.0).
* Diff%: Safe division guards against division-by-zero.
* MA engine: You can choose SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Diff smoothing, and the trend components (VWAP is session-anchored).
* Calculation timeframe: Set “Calculation timeframe” to compute all internals on a chosen TF via request.security() while viewing any chart TF.
Inputs (key ones):
* Calculation timeframe: Empty = use chart TF; if set (e.g., 60), all internals compute on that TF.
* BB: Length, StdDev Mult, MA Type.
* KC: Basis Length, ATR Length, Multiplier, MA Type.
* Smoothing: Average Length & MA Type for the “Average Difference” line.
* Trend Engine: Fast/Slow lengths & MA type; Signal (kept for completeness); Thrust length & MA type (defaults replicate original behavior).
* Display: Paint bars only when Diff > 0; optional Zero line; optional true Blue color.
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: Use bar colors to qualify expansion: Green/Red indicate expansion aligned with trend thrust; Yellow/Blue flag weaker/contrarian thrust during expansion.
3. Multi-timeframe analysis: Run calculations on a higher TF (e.g., H1/H4) while trading a lower TF chart to smooth noise.
Alerts:
* Diff crosses above/below 0.
* Average Diff crosses above/below 0.
* State changes: GREEN / RED / YELLOW / BLUE.
Notes & limitations:
* VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
* Default parameters (SMA(20) for BB/KC, multipliers 2.0, SMA(5) smoothing, trend logic and bar painting) preserve the original appearance.
Release notes:
v6.0 — Rewritten in Pine v6 with structured inputs and guards. Multi-MA support (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP). Calculation timeframe via request.security() for multi-TF workflows. Safe division; optional zero line; optional true Blue color. Original visuals and behavior preserved by default.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Worstfx SessionsThis indicator is designed to outline major Forex/Futures market sessions.
It is built for traders who want visual clarity on sessions & important market structure zones.
✅ Features:
• Automatic shading of Asia, London, Pre-NY, and NY sessions.
• Centered session titles that adapt to each window.
• 6:00 pm ET day divider (new trading day) with vertical weekday labels.
• Lightweight design — no extra clutter, just structure.
⚙️Customization
• Session colors & opacity: change each session’s look.
• Titles: toggle on/off, adjust color and font size.
• Dividers: toggle day divider on/off, change line color, choose weekday label color/size.
A best Seasonality Monthly IndicatorSeasonality Monthly is a custom indicator designed for TradingView that calculates and displays monthly seasonality performance as a table overlay on the chart.
Key aspects and functionality:
It requires the timeframe to be either monthly or daily; otherwise, it throws an error.
The user can set the starting year (default 2015) from which the seasonality statistics begin.
It collects monthly percentage change data (close to close returns) for each month and year dynamically using request.security.
Data is stored in a two-dimensional matrix representing years by months, accumulating returns for each month over the years.
The table is drawn on the chart showing monthly returns for each year, with cells colored green for positive returns and red for negatives.
The bottom rows of the table show summary statistics per month:
AVG: Average monthly returns
SUM: Sum of returns
+ive: Count of months with positive returns over total counts
WR: Win rate (ratio of positive months)
Text sizes and colors are customizable via inputs.
Uses Pine Script v5 features like matrix, table API, and new runtime error handling.
This script is useful for visualizing historical monthly seasonality patterns for any symbol on TradingView.
------------------
The Seasonality Monthly Pine Script indicator is a powerful tool designed for TradingView that enables traders to analyze and visualize the historical seasonal performance of an asset on a monthly basis. This script focuses on identifying recurring monthly patterns by accumulating monthly percentage returns over multiple years, providing insights that help traders understand when certain months tend to perform better or worse historically.
The script requires the chart to be set to either a daily or monthly timeframe to ensure accurate calculations and data retrieval. It uses the request. security function to fetch monthly data, extracting each bar's year, month, and monthly price change percent based on close-to-close returns. These returns are then accumulated into a matrix data structure, organizing the percentage changes for each year and month to build a comprehensive historical dataset.
A dynamic table is constructed and displayed on the chart, showing a detailed breakdown of percentage changes each month for every year starting from a customizable start year (default is 2015). Each cell in the table is color-coded—green for positive monthly returns and red for negative—making it visually easy to interpret seasonal trends. This immediate visual feedback is valuable for traders looking to identify strong or weak months historically.
Beyond just the yearly data, the script calculates aggregate statistics for each month, which are displayed in summary rows at the bottom of the table. These include the average monthly return, the sum of returns, the count of positive-return months versus total months ("+ive"), and the win rate (WR), which is the proportion of positive months over the total number of months observed. These statistics assist traders in quantifying the strength and consistency of monthly seasonal effects.
The script also includes user customization options such as the starting year for seasonality analysis and adjustable text size for better readability. It incorporates modern Pine Script v5 features like runtime error handling, matrix operations, and the enhanced table API for efficient and clear display.
Overall, This is a practical indicator that helps traders incorporate seasonality insights into their decision-making process, potentially improving timing entries and exits by leveraging historical monthly market behaviors. It is particularly useful for spotting cyclic tendencies and planning strategies around historically strong or weak months, adding a valuable dimension to technical analysis.
----------------------------------------------
#Seasonality #TradingView #PineScript #TechnicalAnalysis #StockMarket #MonthlyPerformance #SeasonalTrends #MarketAnalysis #TradingStrategy #PricePatterns #Charting #DataVisualization #AlgorithmicTrading #FinancialMarkets #TradingIndicators #InvestmentStrategy #QuantitativeAnalysis #MarketSeasonality #StockTrading #TradingTools
RSI with MA and Candle Highlight BY GRAFClassic RSI with minor modifications, background color changes when it is higher/lower than its average, making it easier to see. Additionally, the candle color changes when the RSI is overbought or oversold.
Previous Days High & Low RTH Session by TenAM TraderPurpose:
This indicator plots the high and low levels of previous trading days’ Regular Trading Hours (RTH), helping traders identify key support and resistance zones based on historical price action.
How to Use / Strategy:
Designed as a super simple trading strategy:
Buy when price breaks above and confirms the previous day’s high.
Sell when price breaks below and confirms the previous day’s low.
Alerts notify you when price interacts with these levels, helping traders act on confirmed breakout opportunities rather than premature moves.
*Traders can also look for reversal opportunities if price breaks back through one of the levels.
Note: Make sure RTH (Regular Trading Hours) is turned on for the chart, as the indicator is based on RTH highs and lows.
Features:
Tracks previous days’ highs and lows.
Provides clear visual reference for support and resistance.
Simple, actionable strategy based on breakout confirmations and reversal plays.
Alerts for confirmed price breaks.
Disclaimer:
This indicator is for educational and informational purposes only. It does not provide financial advice. Trading involves risk, and past performance does not guarantee future results. Users trade at their own risk.
Crypto Position Size CalculatorPosition Size Calculator for Crypto.
This indicator uses the current price and a selected stop loss to calculate your position size without having to work it out elsewhere!
Simply set your account size, desired risk percentage and stop loss level and it will work out how many lots and the dollar value of your desired position.
Hope you enjoy!
IBS markerIndicator Description
This indicator provides a detailed analysis of the structure and volatility of each candlestick. It is designed to help traders better understand the balance between buying and selling pressure within individual bars, as well as the short-term volatility environment.
📌 Features
Candlestick Structure Analysis
Calculates the relative percentage of the upper wick, lower wick, and real body of each candle.
Helps traders visually and numerically evaluate whether a candle is dominated by bullish, bearish, or indecisive pressure.
IBS (Intraday Bar Strength)
Computes the Intraday Bar Strength value, showing where the close is located relative to the high-low range.
A high IBS indicates strong closing near the high, while a low IBS indicates weakness near the low.
Range Measurements
Displays the candlestick range in both price units and ticks.
Useful for traders who need precise range data for scalping or range-based strategies.
ATR (Average True Range) Volatility Filter
ATR is included with a configurable period setting.
Provides a contextual measure of volatility, helping traders compare current bar size against recent market behavior.
Dynamic Chart Labels
Key values (such as wick percentages, IBS, and range) are displayed directly on the chart through dynamic labels.
This allows for quick interpretation without opening extra panels or indicators.
📈 How to Use
Add the indicator to any chart and configure the settings (ATR period, label visibility, etc.) according to your trading style.
Use wick/body ratios to spot candles with unusual buying/selling pressure.
Combine IBS with ATR to identify potential exhaustion or continuation setups.
The dynamic labels are best used on lower timeframes for scalpers, but they can also provide insights on higher timeframes for swing traders.
🔍 Practical Applications
Identify reversal candles where one wick dominates.
Measure strength of breakouts by comparing candle body % and IBS values.
Detect volatility shifts by monitoring when bar ranges deviate from the ATR baseline.
Support scalping strategies that rely on tick-based range detection.
✅ Notes
This is a standalone indicator and does not require any other script to function.
Works on all markets (stocks, futures, forex, crypto).
For best results, use in conjunction with price action analysis or your preferred trading strategy.
Shalev OB indicator
indicator that finds OB in 15 minute time frame and 5 minute time frame confirmation
Reverse RSI Signals [AlgoAlpha]🟠 OVERVIEW
This script introduces the Reverse RSI Signals system, an original approach that inverts traditional RSI values back into price levels and then overlays them directly on the chart as dynamic bands. Instead of showing RSI in a subwindow, the script calculates the exact price thresholds that correspond to common RSI levels (30/70/50) and displays them as upper, lower, and midline bands. These are further enhanced with an adaptive Supertrend filter and divergence detection, allowing traders to see overbought/oversold zones translated into actionable price ranges and trend signals. The script combines concepts of RSI inversion, volatility envelopes, and divergence tracking to provide a context-driven tool for spotting reversals and regime shifts.
🟠 CONCEPTS
The script relies on inverting RSI math: by solving for the price that would yield a given RSI level, it generates real chart levels tied to oscillator conditions. These RSI-derived price bands act like support/resistance, adapting each bar as RSI changes. On top of this, a Supertrend built around the RSI midline introduces directional bias, switching regimes when the midline is breached. Regular bullish and bearish divergences are detected by comparing RSI pivots against price pivots, highlighting early reversal conditions. This layered approach means the indicator is not just RSI on price but a hybrid of oscillator translation, volatility-tracking midline envelopes, and divergence analysis.
🟠 FEATURES
Inverted RSI bands: upper (70), lower (30), and midline (50), smoothed with EMA for noise reduction.
Supertrend overlay on the RSI midline to confirm regime direction (bullish or bearish).
Gradient-filled zones between outer and inner RSI bands to visualize proximity and exhaustion.
Non-repainting bullish and bearish divergence markers plotted directly on chart highs/lows.
🟠 USAGE
Apply the indicator to any chart and use the plotted RSI price bands as adaptive support/resistance. The midline defines equilibrium, while upper and lower bands represent classic RSI thresholds translated into real price action. In bullish regimes (green candles), long trades are stronger when price approaches or bounces from the lower band; in bearish regimes (red candles), shorts are favored near the upper band. Divergence markers (▲ for bullish, ▼ for bearish) flag potential reversal points early. Traders can combine the band proximity, divergence alerts, and Supertrend context to time entries, exits, or to refine ongoing trend trades. Adjust smoothing and Supertrend ATR settings to match the volatility of the instrument being analyzed.
Triple Momentum Indicator ALERT CODE (opt & fut )Nifty and Bank 🚀High Accuracy Triple Momentum Strategy - no repainting HIGH WINRATE
This system is designed for job holders who want to invest and trade using a proven, back tested strategy without needing to sit in front of charts all day.
📢 Need auto-trade alerts?
its an dedicated **indicator version with real-time BUY/SELL/EXIT alerts**
Strategy code review
📊 Results:
Historical Win Rate: 90.0% (314/349 signals)
Study Period: 1 Year on NIFTY Futures
Educational Return: 81.4% annualized
Max Drawdown: ₹49,132.50
📊 Optimized Parameters:
"This strategy achieves 90% win rate on NIFTY Futures using optimized settings:
📈PARAM A: 69
📉PARAM B: 34
⚡PARAM C : 10
🎯 Source: Close
📊PARAM D: 39
🔴 Use Live Bar Signals: Enabled (may repaint)
💰 Long Profit %: 0.09
💸 Short Profit %: 0.05
🔎 Clean BUY / SELL / EXIT logic, optimized for high-probability trades
📧 Educational Access:
Send TradingView message for access.
📌 **Important Notes:**
- 🧪 This tool has been **extensively tested**, and results shown are from actual backtests on TradingView
🔒 Access is invite-only for quality control
@How to Create Alerts in TradingView (Step by Step)
Add the Indicator to Your Chart
Open your chart in TradingView.
Add your custom indicator (from Pine Script) to the chart.
Set Your Indicator Parameters@
Click on the indicator’s name in the chart or in the “Indicators” list.
Click the gear/settings icon.
Enter the suggested parameters (Long Length: 69, Short Length: 34, etc.), then click OK.
Open the Alert Creation Window
Click the Alerts (clock/bell) icon at the top of the TradingView interface.
Or right-click on the chart and select “Add Alert”.
Configure Each Alert
In the “Condition” dropdown, select your indicator.
Choose the specific alert condition (e.g., Buy Alert, Sell Alert, Exit Buy Alert, Exit Sell Alert) from the list.
Set the “Options” to Once per bar close.
(Optional) Enter your webhook URL if you want alerts to be sent to another app or bot.
In the Message box, enter the JSON format for automation:
For Buy: {"SYMBOL":"{{ticker}}","ACTION":"BUY","PRICE":{{close}}}
For Sell: {"SYMBOL":"{{ticker}}","ACTION":"SELL","PRICE":{{close}}}
For Buy Exit: {"SYMBOL":"{{ticker}}","ACTION":"BUY_EXIT","PRICE":{{close}}}
For Sell Exit: {"SYMBOL":"{{ticker}}","ACTION":"SELL_EXIT","PRICE":{{close}}}
Save the Alert
Click Create to save your alert.
Repeat
Repeat steps (Buy, Sell, Buy Exit, Sell Exit).
Manage Alerts
You can edit, remove, or pause alerts any time in the “Alerts” panel at the bottom of TradingView.
⚠️ Disclaimer:
Shared for learning and research purposes only. Not financial advice. Past educational results don't guarantee future outcomes. Trading involves risk of loss. We are not SEBI registered.
#MomentumStrategy #TradingEducation #InviteOnly #NIFTYFutures #AlgoTrading #EducationalStrategy #NIFTYOptions