ZYTX SuperTrend V1ZYTX SuperTrend V1 Indicator
Multi-strategy intelligent rebalancing with >95% win rate
Enables 24/7 automated trading
Cycles
KHUSHI VERMA DEHRI ON SONEKhushi Verma Dehri On Sone - ZigZag Buy/Sell with Volume Pressure & Stop Loss
This indicator combines ZigZag-based Buy/Sell signals, dynamic stop-loss levels, and a Volume Pressure histogram to provide a powerful visual trading tool.
🔍 Key Features:
ZigZag Buy/Sell Detection:
Automatically identifies significant highs and lows using ZigZag logic with a user-defined lookback period (depth).
Red "SELL" labels at swing highs
Green "BUY" labels at swing lows
Connected with directional lines for clarity
Stop Loss Visualization:
For each signal, a horizontal dashed stop-loss line is drawn:
For SELL signals: SL = High + %SL
For BUY signals: SL = Low − %SL
Volume Pressure Histogram:
Visualizes the net buying/selling pressure based on candle direction:
Green bars: Positive (buying) pressure
Red bars: Negative (selling) pressure
Blue line: Smoothed pressure using EMA
⚙️ Inputs:
ZigZag Lookback: Number of bars to detect swing highs/lows
Stop Loss (%): Distance from pivot high/low to define SL
Volume Smoothing Length: EMA length for volume pressure
Show Histogram: Toggle for displaying the volume pressure bars
Kalman Moving Average For LoopKey Features of the Indicator:
Flexible Moving Average Calculation (calcMovingAverage):Description: Allows users to select from 10 moving average types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA) to process the input price source (pricesource, default: close).
Parameters:
maType: User selects the moving average type (default: HMA).
period: Length of the moving average (default: 14).
almaSigma: Sigma parameter for ALMA (default: 5).
Purpose: Provides versatility in analyzing price trends, with the chosen moving average (maValue) used for comparison with the smoothed Kalman filter output.
Kalman Filter for Price Smoothing:
Description:
Applies a Kalman filter to the price source to produce a filtered price (kalmanFilteredPrice), which is further smoothed using an HMA to create smoothedKalmanPrice.
Parameters:
process_noise: Controls system model noise (default: 0.01).
measurement_noise:
Controls measurement noise (default: 3).
N: Filter order, determining the number of state estimates (default: 3).
smooth_period: HMA period for smoothing kalmanFilteredPrice (default: 9).
Purpose: Reduces noise in price data, providing a smoother trend line for signal generation and plotting.
Historical Analysis with For-Loop:
Description: Uses a for-loop to calculate the average of calcMovingAverage values over a user-defined historical range (from to to_) for historical bars of the price source (pricesource ).
Parameters:
from: Start of the historical range (default: 1).
to_: End of the historical range (default: 25).
Purpose: Computes an average moving average (avgMa) over the specified range to compare with the smoothed Kalman price for signal generation.
Error Handling and Robustness:
Description: Includes checks for na values in the for-loop to ensure only valid calcMovingAverage values contribute to the average (avgMa). Resets signal and plot variables each bar to prevent carryover.
Purpose: Ensures reliable calculations and prevents errors from invalid data.
IU Grid Trading StrategyDESCRIPTION
The IU Grid Trading Strategy is designed to take advantage of ranging or sideways market conditions using a price-based grid system. This strategy automatically places long orders at predefined intervals below a starting grid level, creating a structured buy-the-dip approach. As price moves down, new long positions are opened at each level, and each position exits with a fixed profit target.
This is an ideal tool for traders who believe price will fluctuate between levels and eventually return to mean or higher ground. The script also includes a clean visual representation of grid levels and supports deep customization.
USER INPUTS
• Start Time – Strategy activation time to avoid historical noise
• Grid Start Level – The price level where the grid starts
• Grid Width – Distance between each grid level (in points)
• Number of Grids – Total number of grid levels below the start level
• Show Grid Levels – Option to display grid lines on the chart
LONG CONDITION
• The first long entry is triggered at the Grid Start Level
• Additional long entries are placed below the previous one, at each grid level
• Only one new long is added at a time, depending on the number of open trades
• All orders are placed as limit orders and managed dynamically
• Order comments and IDs help track positions clearly in the strategy tester
LONG EXIT
• Each long position has a fixed profit target
• The profit level is determined using:
Grid Width / Tick Size
• Once a position hits the defined profit, it is closed individually
• All open trades are actively monitored for exit triggers
WHY IT IS UNIQUE
• Supports up to 100 pyramiding trades to fully exploit grid setups
• Automatically cancels previous orders and manages each leg cleanly
• Smart time filter avoids backtesting from irrelevant historical data
• Cleanly plotted grid lines for better visual control
• High degree of customization to adapt to any instrument or timeframe
• Designed with realistic slippage, commission, and margin settings
HOW USER CAN BENEFIT FROM IT
• Ideal for range-bound markets or assets with mean-reverting behavior
• Helps accumulate positions at better prices without emotional bias
• Provides structured entries and exits with automated management
• Suitable for traders who prefer non-directional strategies
• Highly visual and educational for those learning about grid trading mechanisms
• Can be modified to support short trades or hybrid strategies
DISCLAIMER
This strategy is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
MAGGIFX - Timings🧲 Maggifx Sessions Indicator
The Maggifx Indicator is designed for intraday traders seeking precision and visual clarity when navigating the market’s main sessions. Built upon the Market Magnetism Theorem, it automatically highlights key time zones — Asia, London, and New York — to help identify imbalances, manipulations, and high-probability entries.
✅ Key Features:
📦 Custom session boxes for Asia, London, and New York.
🔀 Adjustable time zone setting (default: UTC-3).
🧭 Highlights the Asian range midpoint — essential for forecasting directional shifts.
📈 Auto-extension of Asian highs and lows to assess breakouts or liquidity grabs.
🧊 Strategic micro-blocks (5:30, 7:30, 12:00) to mark potential polarity shifts.
🎯 Visual marker for the daily starting point.
🎨 Fully customizable colors and styles, matching any chart layout.
🎓 Perfect for:
Traders of XAUUSD, NASDAQ, SP500, US30, EURUSD, and GBPUSD.
Strategies based on liquidity, inducements, and reaction to key zones.
Anyone using the Maggifx Methodology or working with Session Timing.
Let me know if you want a shorter, punchier version for Instagram or a tech-spec bullet sheet for advanced users.
DMA Buy & Sell Signal with AlertsThis script identifies **BUY** signals when the 20 DMA crosses **below** the 50 DMA, with the alignment: `200 DMA > 50 DMA > 20 DMA > Price`.
It also plots **SELL** signals when the 20 DMA crosses **above** the 50 DMA, with the alignment: `Price > 20 DMA > 50 DMA > 200 DMA`.
Each signal is plotted on the chart with green "BUY" and red "SELL" labels.
The script includes alert conditions for both signals.
It uses simple moving averages (SMA) of 20, 50, and 200 periods.
Tnup Zones 2025This indicator marks zones where price has a high probability of rejection/bouncing off of
High Win Rate XAUUSD Strategy (EMA21 + RSI + Volume MA20)Buy Conditions:
Price above EMA 21
EMA 21 is rising
RSI > 55 and RSI increasing
Close is above EMA 21
Current candle is green (close > open)
Volume > MA20 of volume
Price below EMA 21
EMA 21 is falling
RSI < 45 and RSI decreasing
Close is below EMA 21
Current candle is red (close < open)
Volume > MA20 of volume
Economy RadarEconomy Radar — Key US Macro Indicators Visualized
A handy tool for traders and investors to monitor major US economic data in one chart.
Includes:
Inflation: CPI, PCE, yearly %, expectations
Monetary policy: Fed funds rate, M2 money supply
Labor market: Unemployment, jobless claims, consumer sentiment
Economy & markets: GDP, 10Y yield, US Dollar Index (DXY)
Options:
Toggle indicators on/off
Customizable colors
Tooltips explain each metric (in Russian & English)
Perfect for spotting economic cycles and supporting trading decisions.
Add to your chart and get a clear macro picture instantly!
20% Rally - All Green CandlesThis indicator detects rallies where the price rises 20% or more using only consecutive green candles. It marks the rally's start with a green dashed line and "Entry" label, and the end with a red solid line and "Target" label. Ideal for identifying strong bullish momentum on daily charts.
PietasterThis Pine Script (v6) indicator plots a 111-day Simple Moving Average (SMA) and a 2 * 350-day SMA (equivalent to a 700-day SMA) for Bitcoin's price, displayed on any timeframe. It highlights crossover points with vertical lines: green for bullish crossovers (111-day MA crosses above 700-day MA) and purple for bearish crossovers (111-day MA crosses below 700-day MA). Vertical lines extend 50% above the highest price and 50% below the lowest price at the crossover, ensuring visibility through price action. Labels identify the moving averages for clarity.
Support and Resistance Levels with BreaksThis indicator identifies dynamic support and resistance levels using pivot point analysis and provides clear trading signals when these levels are broken with volume confirmation. Enhanced version with improved signal clarity for better trading decisions.
## 🔧 Key Features
### Support & Resistance Detection
- Automatically identifies key pivot high and low levels
- Draws clear visual lines (red for resistance, blue for support)
- Configurable sensitivity with left/right bar settings
### Enhanced Trading Signals
- **BUY** signals when resistance is broken with volume confirmation
- **SELL** signals when support is broken with volume confirmation
- **Bull Wick** alerts for potential reversals at resistance
- **Bear Wick** alerts for potential reversals at support
### Volume Confirmation
- Built-in volume oscillator using 5 and 10-period EMAs
- Filters out low-volume false breakouts
- Adjustable volume threshold (default: 20%)
### Complete Alert System
- Support Broken alerts
- Resistance Broken alerts
- Bull Wick reversal alerts
- Bear Wick reversal alerts
## ⚙️ Settings
- **Show Breaks**: Toggle signal display
- **Left Bars**: Pivot detection lookback (default: 15)
- **Right Bars**: Pivot detection lookforward (default: 15)
- **Volume Threshold**: Minimum volume increase for valid signals (default: 20%)
## 📈 Best For
- Swing trading strategies
- Breakout confirmation
- Support/resistance trading
- Volume-based entry signals
## 🔍 How It Works
1. Identifies pivot highs/lows using configurable periods
2. Calculates volume oscillator for confirmation
3. Generates BUY signals on resistance breaks with volume
4. Generates SELL signals on support breaks with volume
5. Detects wick patterns for potential reversals
## 📋 Updates in This Version
- Enhanced BUY/SELL signal clarity (replaced generic "B" labels)
- Added Bull Wick and Bear Wick alert conditions
- Updated to Pine Script v6 compatibility
- Improved signal filtering and accuracy
## ⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance does not guarantee future results.
---
**Original Script**: "Support and Resistance Levels with Breaks" by LuxAlgo
**License**: CC BY-NC-SA 4.0
**Enhanced by**: profitgang
**Version**: Pine Script v6
NASDAQ Liquidity Breaker Bot1. Define session time (7:20 PM – 7:40 PM BD time / 9:20–9:40 AM EST)
2. Detect 15M swing high/low zones
3. On 1M chart: Detect strong bullish/bearish break
4. Identify breaker candle zone
5. Trigger entry based on break + retest logic
6. Set SL and TP logic (dynamic if needed)
7. Plot everything visually (entries, exits, zones)
Monthly Seasonality Trend [DunesIsland]The Monthly Seasonality Trend is a indicator designed to analyze and visualize historical monthly seasonality patterns in financial markets. By calculating the average monthly return over a user-configurable lookback period (1 to 10 years), this indicator provides traders and investors with a clear projection of potential price movements for the current month, enabling data-driven decision-making.
How It Works
The indicator operates by retrieving monthly open and close prices for the specified lookback period (up to 10 years) and computing the average percentage return for the current month based on historical data. Key functionalities include:
Dynamic Trend Line: On the first trading day of each month, the indicator plots a line projecting the expected price trajectory, starting from the current close price and extending to the estimated end-of-month price based on the average historical return. The line is colored green for anticipated price increases or red for expected declines, offering an intuitive visual cue.
Average Return Label: A label is displayed at the start of each month, detailing the calculated average historical return for that month, expressed as a percentage, to provide context for the projected trend.
First Trading Day Marker: A small circle is plotted below the bar on the first trading day of each month, clearly marking the start of the projection period.
Adaptive Bar Counting: The indicator dynamically adjusts the length of the trend line based on the actual number of trading days in the previous month, ensuring accurate projections.
How to Interpret
Bullish Projection (Green Line): Indicates that historical data suggests an average price increase for the current month, potentially signaling buying opportunities.
Bearish Projection (Red Line): Suggests an average price decline based on historical trends, which may prompt caution or short-selling strategies.
Historical Context: The average return label provides a quantitative measure of past performance, helping traders assess the reliability of the projected trend.
First 15 Min H/L Breakout Signal V3 - Session Aware (Adaptive)this script checks the breakout on 1min time frame as compared to previous breakouts happened on 15min and 5min.
1H & 2H Candle Panel + Daily Grid v1.2Indicator: "1H & 2H Candle Panel + Daily Grid v1.2"
This powerful indicator combines two key features into one tool:
Daily Grid anchored to the previous day’s close
Multi-Timeframe Candle Panel for comprehensive market analysis
1. Daily Grid Logic
Input:
Grid Distance (Points): Adjustable spacing between grid lines (default: 5.0 pts).
How It Works:
Detects the start of a new trading day using ta.change(time("D")).
Fetches the prior day’s close via request.security().
Draws the following elements at each new session:
Thick Red Line: Previous day’s closing price (key reference level).
8-Point Grid:
4 blue lines above the close (+1x to +4x the grid distance).
4 gold lines below the close (-1x to -4x the grid distance).
Info Label: Displays the exact prior close value.
Automatically clears and redraws all elements daily to avoid clutter.
2. Multi-Timeframe Candle Panel
Timeframes Analyzed:
Current chart TF, 30M, 1H, 2H, 3H, 4H, 6H, 12H, and Daily (1D).
Data Displayed per TF:
Open, Close, High, Low
Price Difference (Close − Open)
Candle Type (Bullish/Bearish)
Time remaining until candle close (hh:mm:ss format)
Visual Output:
A right-aligned table with conditional coloring:
Bullish candles: Green background
Bearish candles: Red background
Current timeframe highlighted in purple.
Optimized Updates:
Uses request.security() for efficient cross-TF data fetching.
Tracks candle closing times via TradingView’s native time_close.
Updates only on the last bar or in real-time (barstate.islast/isrealtime).
3. Confluence Signals
Full Confluence:
Triggers when all timeframes align:
Buy Signal: All candles bullish → Green arrow + alert.
Sell Signal: All candles bearish → Red arrow + alert.
1H Special Confluence:
Activates 30 minutes after the 1H candle opens.
Requires alignment between 1H, 4H, and 6H candles.
Marks entries with price-level arrows (no alerts).
4. Technical Optimizations
Performance:
Dynamically manages graphic objects (no redundant redrawing).
Uses arrays to track grid lines efficiently.
Precision:
Leverages TradingView’s time_close for accurate countdowns.
Formats prices with format.mintick for asset-specific precision.
How to Use
Adjust Grid Distance based on asset volatility.
Monitor the panel for multi-TF trend strength.
Use the daily grid as support/resistance reference.
Confluence signals highlight high-probability setups.
Pro Tip: Combine with volume analysis or RSI for confirmation!
USDT + USDC DominanceUSDT and USDC Dominance: This refers to the combined market capitalization of Tether (USDT) and USD Coin (USDC) as a percentage of the total cryptocurrency market capitalization. It measures the proportion of the crypto market held by these stablecoins, which are pegged to the US dollar. High dominance indicates a "risk-off" sentiment, where investors hold stablecoins for safety during market uncertainty. A drop in dominance suggests capital is flowing into riskier assets like altcoins, often signaling a bullish market or the start of an "alt season."
10 EMA, 20 EMA & 50 SMAThis script plots three key moving averages on the price chart to help identify trends and potential trade opportunities:
10 EMA (Exponential Moving Average):
A fast-reacting average that captures short-term price momentum. Useful for spotting quick trend changes.
20 EMA (Exponential Moving Average):
A medium-term average that smooths out more noise while still being responsive to price changes.
50 SMA (Simple Moving Average):
A widely-used long-term trend indicator. It smooths price data over a longer period and is often used to define overall market direction.
SuperPerformance_V1.24SuperPerformance V1.24 - Advanced Performance Analysis Indicator
🎯 CORE FEATURES
📊 Performance Analysis
• Stock vs Index comparison across 6 timeframes (1D to 200D)
• Conviction scoring system (Perfect/Solid/Good/Ok/Weak/Poor)
• Real-time outperformance tracking with ✓/✗ indicators
🏢 Sector Analysis
• Top 5 sector ranking with live performance data
• 10 Indian market sectors tracking (PHARMA, TECH, FINANCE, etc.)
• Automatic sector identification for current stock
📈 Technical Tools
• Triple Moving Averages (SMA/EMA/WMA/HMA)
• Distance from MA analysis with percentage/spread calculations
• Enhanced hover tooltips showing distance info
🔔 Smart Alerts
• Dynamic Circuit Breakers (20%/10%/5%/2%) that adapt to volatility
• Extreme distance alerts when price deviates significantly from MA
🎨 Visual Interface
• 4 customizable tables: Stock Performance, Sector Performance, Distance Analysis, Sector Display
• Dark/Light themes with professional styling
• Flexible positioning - place tables anywhere on chart
• Mini mode for compact display
⚡ Advanced Features
• Real-time data from 10+ Indian indices
• Granular controls - show/hide any columns or rows
• Multiple tooltip methods (Labels/Data Window)
• Professional color coding for quick analysis
🎯 PERFECT FOR:
Indian stock traders, sector rotation analysis, performance monitoring, and technical analysis with institutional-grade features.
📌 KEY BENEFITS:
✅ Multi-timeframe performance tracking
✅ Sector rotation insights
✅ Advanced moving average analysis
✅ Professional-grade visualization
✅ Customizable alerts and notifications
✅ Indian market focus with NSE data integration
🔧 TECHNICAL SPECIFICATIONS:
• Pine Script v5 compatible
• Overlay indicator
• Real-time data processing
• Memory optimized
• Multi-security data support
• Professional color schemes
Angled Gann Time-Price Squares with S/RThis is a Pine Script indicator that implements Angled Gann Time-Price Squares based on W.D. Gann's trading theory. Here's what it does:
Core Functionality
Detects pivot highs and lows using a configurable lookback period
Creates angled squares by connecting pivot points to current price action when specific geometric conditions are met
Validates square formation by checking if the price movement follows proper Gann angles (typically 45°, 135°, etc.) within a tolerance range
Key Features
Real-time square tracking: Shows both completed squares and forming squares in progress
Support/Resistance levels: Automatically generates S/R lines from:
Square edge extensions
Diagonal extensions (pivot centers)
Quarter/half levels within squares (25%, 50%, 75%)
Visual feedback: Color-coded squares (green for up, red for down, orange for forming)
Projection lines: Predicts where squares might complete based on Gann angle theory
Gann Theory Application
The indicator follows Gann's principle that time and price move in geometric harmony. It looks for price movements that form perfect squares when plotted on a chart, where the diagonal of the square represents the natural flow of price and time at specific angles.
The generated support/resistance levels are particularly valuable because they're based on completed geometric patterns rather than just horizontal price levels, making them potentially more significant according to Gann methodology.