Combined Indicator - W (Optimized)/ @description This weekly-focused indicator combines multiple technical analysis tools optimized for weekly timeframes:
// - Weighted Moving Averages: WMA 10 (short-term), WMA 30 (medium-term), and WMA 52 (annual cycle)
// - Bollinger Bands: With configurable basis (SMA, EMA, WMA, etc.) and customizable standard deviation, default 30 periods
// - CAGR Calculation: Shows compound annual growth rate and total growth for the visible period
// WMA indicators provide responsive trend analysis suitable for weekly charts. The 52-period WMA represents annual cycles.
// Bollinger Bands indicate volatility and potential reversal zones. CAGR provides long-term performance perspective.
// Optimized for better performance with efficient calculations and reduced memory usage.
頻帶和通道
Combined Indicator - W (Optimized)/ @description This weekly-focused indicator combines multiple technical analysis tools optimized for weekly timeframes:
// - Weighted Moving Averages: WMA 10 (short-term), WMA 30 (medium-term), and WMA 52 (annual cycle)
// - Bollinger Bands: With configurable basis (SMA, EMA, WMA, etc.) and customizable standard deviation, default 30 periods
// - CAGR Calculation: Shows compound annual growth rate and total growth for the visible period
// WMA indicators provide responsive trend analysis suitable for weekly charts. The 52-period WMA represents annual cycles.
// Bollinger Bands indicate volatility and potential reversal zones. CAGR provides long-term performance perspective.
// Optimized for better performance with efficient calculations and reduced memory usage.
TW All in OneIts a overlap strategy, giving signals for buy and sell.
Mostly suitable for Bank Nifty. Nifty and crude oil
Universal Valuation ~ GForge
🎯 Universal Valuation - GForge
Overview:
The Universal Valuation indicator is a sophisticated technical analysis tool that combines 14 different technical indicators into a single, normalized composite Z-score. This revolutionary approach provides traders and investors with a comprehensive view of an asset's relative valuation state, helping identify potential overvalued and undervalued conditions across any market, any timeframe .
🌟 Key Features:
Multi-Indicator Fusion: Combines RSI, CCI, Bollinger Bands, Price Analysis, Chande Momentum, Disparity Index, Hurst Exponent, IMI, TEMA, VWAP, Intraday Momentum, and advanced Risk Ratios (Sharpe, Sortino, Omega)
Universal Compatibility: Works seamlessly across stocks, forex, crypto, commodities, indices, and any tradeable asset
Multi-Timeframe Support: Optimized for all timeframes from 1-minute scalping to monthly long-term analysis
Professional Visualization: 9 stunning color themes with gradient effects and customizable styling
Comprehensive Dashboard: Real-time table displaying individual indicator scores and overall valuation phase
Smart Alert System: Built-in notifications for extreme valuation conditions
Z-Score Normalization: All indicators standardized for consistent comparison and interpretation
🔬 Technical Methodology:
The indicator employs advanced statistical normalization using Z-scores to transform disparate technical indicators into a unified measurement system. This revolutionary approach solves the fundamental problem of combining indicators with different scales and ranges.
1H MNT
Z-Score Normalization Process:
Raw Calculation: Each indicator is first calculated using its traditional formula (RSI 0-100, CCI unlimited range, etc.)
Statistical Analysis: For each indicator, the system calculates a rolling mean and standard deviation over a customizable lookback period
Z-Score Conversion: Current reading is converted using: Z = (Current Value - Rolling Mean) / Rolling Standard Deviation
Standardization: All Z-scores are clamped between -5 and +5 to prevent extreme outliers from dominating the composite
Democratic Weighting: Each normalized indicator contributes equally to the final composite score
Composite Calculation: Final score = Sum of all active Z-scores / Number of active indicators
Why Z-Scores Make It Universal:
Z-scores transform any indicator reading into "how many standard deviations away from normal this reading is." This means:
• An RSI of 85 on a volatile crypto might have the same Z-score as an RSI of 75 on a stable stock
• A CCI reading of +200 in a trending market might be less extreme than +100 in a ranging market
• Price movements are automatically adjusted for each asset's historical volatility
• Different timeframes are automatically normalized for their typical volatility patterns
This mathematical approach ensures the indicator adapts to any asset's unique characteristics and market conditions.
📊 Detailed Component Analysis:
Technical Indicators:
RSI (Relative Strength Index):
Calculates momentum by comparing recent gains to recent losses over a customizable period (default 21). Values above 70 traditionally indicate overbought conditions, while values below 30 suggest oversold conditions. The Universal Valuation converts these raw RSI values into Z-scores, providing a normalized view of how extreme current RSI readings are compared to historical patterns.
CCI (Commodity Channel Index):
Measures the current price level relative to an average price level over a given period (default 30). CCI compares the typical price (high+low+close)/3 to its simple moving average and divides by the mean absolute deviation. Values above +100 or below -100 indicate price extremes. Our Z-score normalization helps identify when CCI readings are statistically significant.
Bollinger Bands Position:
Calculates where the current price sits within the Bollinger Bands envelope. A value of +1 means price is at the upper band, -1 at the lower band, and 0 at the middle (SMA). This component measures price deviation from the mean in standard deviation units, making it naturally statistical. The Z-score normalization reveals when band position readings are historically extreme.
Price Z-Score:
Direct statistical measurement of how far the current price deviates from its historical mean in standard deviation units. This is the purest form of valuation measurement, showing whether an asset is trading at statistically significant levels relative to its historical price range.
Momentum Indicators:
Chande Momentum Oscillator (CMO):
Unlike RSI, CMO uses the sum of gains and losses rather than averages, making it more sensitive to recent price changes. It calculates (sum of gains - sum of losses) / (sum of gains + sum of losses) × 100. Values range from -100 to +100. The Z-score normalization helps identify when momentum readings are unusually extreme.
Disparity Index:
Measures the percentage difference between current price and its simple moving average: (Price - SMA) / SMA × 100. This shows how far price has deviated from its average, with positive values indicating price above average and negative values below. Z-score normalization reveals when these deviations are statistically significant.
Intraday Momentum Index (IMI):
Similar to RSI but uses intraday price movements instead of closing prices. It compares gains and losses within each session (close vs open) rather than session-to-session changes. This captures intraday sentiment and momentum that closing-based indicators might miss. Particularly useful for detecting intraday reversal patterns.
Intraday Momentum:
Simple but effective measurement of daily price movement: (Close - Open) / Open × 100. This shows the percentage gain or loss within each trading session. When Z-score normalized, it reveals when intraday movements are historically extreme, often indicating climax buying or selling conditions.
Advanced Indicators:
TEMA (Triple Exponential Moving Average):
A sophisticated moving average that applies exponential smoothing three times to reduce lag while maintaining responsiveness. TEMA = 3×EMA₁ - 3×EMA₂ + EMA₃, where each EMA is applied to the previous result. The Z-score of TEMA helps identify when price has moved significantly away from this responsive trend line.
VWAP (Volume Weighted Average Price):
Calculates the average price weighted by volume, giving more importance to prices where more volume occurred. VWAP = Σ(Price × Volume) / Σ(Volume). This represents the "fair value" based on actual trading activity. Z-score normalization shows when current VWAP is statistically extreme relative to historical VWAP levels.
Hurst Exponent:
Advanced mathematical concept measuring market efficiency and trend persistence. Values near 0.5 indicate random walk (efficient market), above 0.5 suggest trending behavior, and below 0.5 indicate mean-reverting markets. The indicator converts this to an oscillator: (Hurst - 0.5) × 100, then applies Z-score normalization to identify extreme efficiency/inefficiency periods.
Risk Ratios:
Sharpe Ratio:
Classic risk-adjusted return measure: (Return - Risk-free Rate) / Standard Deviation of Returns. Higher values indicate better risk-adjusted performance. The Z-score normalization reveals when current risk-adjusted returns are historically high or low, helping identify periods of exceptional or poor risk-adjusted performance.
Sortino Ratio:
Improvement over Sharpe ratio that only penalizes downside volatility: (Return - Risk-free Rate) / Downside Deviation. This gives a more accurate picture of risk-adjusted returns since upside volatility isn't necessarily bad. Z-score normalization helps identify when downside risk-adjusted returns reach extreme levels.
Omega Ratio:
Sophisticated risk measure that considers the probability-weighted ratio of gains versus losses above a threshold: Σ(Gains above threshold) / Σ(Losses below threshold). Values above 1.0 indicate positive expected returns above the threshold. Z-score normalization reveals when probability-weighted risk/reward ratios reach historically significant levels.
🎨 Valuation Phases:
The composite Z-score translates into clear valuation phases:
🔵 Extremely Undervalued: Z-Score ≤ -2.0 (Rare buying opportunities)
🟦 Strongly Undervalued: Z-Score ≤ -1.3 (Strong buying signals)
🟨 Moderately Undervalued: Z-Score ≤ -0.65 (Potential value plays)
⚪ Fairly Valued: Z-Score -0.65 to 0.5 (Neutral territory)
🟨 Slightly Overvalued: Z-Score 0.5 to 1.2 (Caution advised)
🟧 Moderately Overvalued: Z-Score 1.2 to 2.0 (Consider profit-taking)
🔴 Strongly Overvalued: Z-Score > 2.0 (High risk, potential sell signals)
12H GOLD
🌍 Universal Application:
Why "Universal"?
Timeframe Independent: Statistical normalization adapts to any timeframe's volatility characteristics
Market Neutral: Works across different market conditions (trending, ranging, volatile, calm)
Configurable Components: Enable/disable specific indicators based on asset type and market conditions
Adaptive Parameters: All lookback periods are customizable for different trading styles
💡 Optimal Use Cases:
Swing Trading: Identify intermediate-term reversal points
Position Trading: Long-term value assessment for portfolio allocation
Day Trading: Intraday extreme condition alerts
Risk Management: Position sizing based on valuation extremes
Multi-Asset Analysis: Compare relative value across different instruments
Market Timing: Entry and exit point optimization
⚙️ Customization Options:
Component Selection: Enable/disable any of the 14 indicators
Lookback Periods: Adjust Z-score calculation periods for each component
Visual Themes: 9 professional color schemes plus custom colors
Alert Thresholds: Configurable extreme condition notifications
Dashboard Display: Toggle individual component visibility
Background Highlighting: Visual emphasis for extreme conditions
🎯 Interpretation Guide:
For Long Positions:
• Look for Z-scores below -1.3 for entry opportunities
• Consider profit-taking when Z-scores exceed +1.2
• Use extreme readings (< -2.0) for high-conviction entries
For Short Positions:
• Look for Z-scores above +2.0 for entry opportunities
• Cover positions when Z-scores fall below +0.5
• Avoid shorting during extreme undervaluation (< -1.3)
For Risk Management:
• Reduce position sizes during overvalued conditions
• Increase allocation during undervalued periods
• Use neutral zones (±0.5) for position adjustments
🔔 Alert System:
Built-in alerts notify you when:
Composite score enters/exits strong overvalued territory (±2.0)
Composite score enters/exits strong undervalued territory (±1.3)
Extreme conditions are reached (±2.5 for overvalued, -2.0 for undervalued)
Neutral crossovers occur (useful for trend changes)
📈 Performance Optimization:
The indicator includes several performance optimizations:
Efficient calculation methods to minimize processing load
Clamped Z-scores to prevent extreme outliers
Optimized table rendering for smooth operation
🎨 Visual Elements:
Main Plot: Composite Z-score line with dynamic gradient coloring
Zone Fills: Visual bands showing valuation regions
Reference Lines: Key threshold levels clearly marked
Background Highlighting: Extreme condition emphasis
Dashboard Table: Comprehensive component breakdown
Bar Coloring: Optional candlestick coloring based on valuation
🔧 Technical Requirements:
Requires sufficient historical data for accurate Z-score calculations
Recommended minimum: 300+ bars for optimal performance
Works on all TradingView subscription levels
📚 Educational Value:
This indicator serves as an excellent educational tool for:
Understanding statistical normalization in trading
Learning how multiple indicators can be combined effectively
Studying market valuation concepts across different assets
Developing a systematic approach to market analysis
⚠️ Important Notes:
The indicator works best with sufficient historical data
Consider market context and fundamental factors alongside technical signals
Backtest thoroughly before implementing in live trading
Adjust parameters based on specific asset characteristics and trading timeframe
Use in conjunction with other analysis methods for best results
---
⚠️ DISCLAIMER:
This indicator is provided for educational and informational purposes only and should not be considered as financial advice, investment advice, trading advice, or any other type of advice.
The Universal Valuation indicator is a technical analysis tool that provides statistical information about price movements and market conditions. It does not guarantee profits or predict future market movements with certainty.
---
Developed with precision for the TradingView community ~ GForge
Gemini RSI Divergence SignalsLolLol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
Lol
HWEMA + Ceiling/Channel Combo testThis is a test script. Was developed as a decaying ATR smoothed with HMA
Bullish_1Hour_entry_Indicator with Alertsthis indicator consioders entry basis of EMAs convergence , VWAP & Multitime frame analysis
Combined Indicator - D (Optimized)// @description This indicator combines multiple technical analysis tools in a single view:
// - Moving Averages: WMA 21 (short-term), EMA 50 (medium), EMA 125 (medium-long), and EMA 200 (long-term)
// - Bollinger Bands: With configurable basis (SMA, EMA, WMA, etc.) and customizable standard deviation
// - CAGR Calculation: Shows compound annual growth rate and total growth for the visible period
// Moving averages help identify trends and dynamic support/resistance levels. Bollinger Bands indicate volatility
// and potential overbought/oversold zones. CAGR provides long-term performance perspective. Optimized for better
// performance with efficient calculations and reduced memory usage.
DHYT 6 MAs, BMSB, Pi Cycle TopThis indicator has 6 Moving averages that are highly customizable and visible on all time frames, it also includes the Bull Market Support Band (BMSB) and the Pi Cycle Top indicator which has been very good at predicting Cycle Tops for Bitcoin (BTC).
You can customize all the moving averages, as well as using simple or exponential. You can also easily customize colors and line weights.
Created by: Dan Heilman
BOCS AdaptiveBOCS Adaptive Strategy - Automated Volatility Breakout System
WHAT THIS STRATEGY DOES:
This is an automated trading strategy that detects consolidation patterns through volatility analysis and executes trades when price breaks out of these channels. Take-profit and stop-loss levels are calculated dynamically using Average True Range (ATR) to adapt to current market volatility. The strategy closes positions partially at the first profit target and exits the remainder at the second target or stop loss.
TECHNICAL METHODOLOGY:
Price Normalization Process:
The strategy begins by normalizing price to create a consistent measurement scale. It calculates the highest high and lowest low over a user-defined lookback period (default 100 bars). The current close price is then normalized using the formula: (close - lowest_low) / (highest_high - lowest_low). This produces values between 0 and 1, allowing volatility analysis to work consistently across different instruments and price levels.
Volatility Detection:
A 14-period standard deviation is applied to the normalized price series. Standard deviation measures how much prices deviate from their average - higher values indicate volatility expansion, lower values indicate consolidation. The strategy uses ta.highestbars() and ta.lowestbars() functions to track when volatility reaches peaks and troughs over the detection length period (default 14 bars).
Channel Formation Logic:
When volatility crosses from a high level to a low level, this signals the beginning of a consolidation phase. The strategy records this moment using ta.crossover(upper, lower) and begins tracking the highest and lowest prices during the consolidation. These become the channel boundaries. The duration between the crossover and current bar must exceed 10 bars minimum to avoid false channels from brief volatility spikes. Channels are drawn using box objects with the recorded high/low boundaries.
Breakout Signal Generation:
Two detection modes are available:
Strong Closes Mode (default): Breakout occurs when the candle body midpoint math.avg(close, open) exceeds the channel boundary. This filters out wick-only breaks.
Any Touch Mode: Breakout occurs when the close price exceeds the boundary.
When price closes above the upper channel boundary, a bullish breakout signal generates. When price closes below the lower boundary, a bearish breakout signal generates. The channel is then removed from the chart.
ATR-Based Risk Management:
The strategy uses request.security() to fetch ATR values from a specified timeframe, which can differ from the chart timeframe. For example, on a 5-minute chart, you can use 1-minute ATR for more responsive calculations. The ATR is calculated using ta.atr(length) with a user-defined period (default 14).
Exit levels are calculated at the moment of breakout:
Long Entry Price = Upper channel boundary
Long TP1 = Entry + (ATR × TP1 Multiplier)
Long TP2 = Entry + (ATR × TP2 Multiplier)
Long SL = Entry - (ATR × SL Multiplier)
For short trades, the calculation inverts:
Short Entry Price = Lower channel boundary
Short TP1 = Entry - (ATR × TP1 Multiplier)
Short TP2 = Entry - (ATR × TP2 Multiplier)
Short SL = Entry + (ATR × SL Multiplier)
Trade Execution Logic:
When a breakout occurs, the strategy checks if trading hours filter is satisfied (if enabled) and if position size equals zero (no existing position). If volume confirmation is enabled, it also verifies that current volume exceeds 1.2 times the 20-period simple moving average.
If all conditions are met:
strategy.entry() opens a position using the user-defined number of contracts
strategy.exit() immediately places a stop loss order
The code monitors price against TP1 and TP2 levels on each bar
When price reaches TP1, strategy.close() closes the specified number of contracts (e.g., if you enter with 3 contracts and set TP1 close to 1, it closes 1 contract). When price reaches TP2, it closes all remaining contracts. If stop loss is hit first, the entire position exits via the strategy.exit() order.
Volume Analysis System:
The strategy uses ta.requestUpAndDownVolume(timeframe) to fetch up volume, down volume, and volume delta from a specified timeframe. Three display modes are available:
Volume Mode: Shows total volume as bars scaled relative to the 20-period average
Comparison Mode: Shows up volume and down volume as separate bars above/below the channel midline
Delta Mode: Shows net volume delta (up volume - down volume) as bars, positive values above midline, negative below
The volume confirmation logic compares breakout bar volume to the 20-period SMA. If volume ÷ average > 1.2, the breakout is classified as "confirmed." When volume confirmation is enabled in settings, only confirmed breakouts generate trades.
INPUT PARAMETERS:
Strategy Settings:
Number of Contracts: Fixed quantity to trade per signal (1-1000)
Require Volume Confirmation: Toggle to only trade signals with volume >120% of average
TP1 Close Contracts: Exact number of contracts to close at first target (1-1000)
Use Trading Hours Filter: Toggle to restrict trading to specified session
Trading Hours: Session input in HHMM-HHMM format (e.g., "0930-1600")
Main Settings:
Normalization Length: Lookback bars for high/low calculation (1-500, default 100)
Box Detection Length: Period for volatility peak/trough detection (1-100, default 14)
Strong Closes Only: Toggle between body midpoint vs close price for breakout detection
Nested Channels: Allow multiple overlapping channels vs single channel at a time
ATR TP/SL Settings:
ATR Timeframe: Source timeframe for ATR calculation (1, 5, 15, 60, etc.)
ATR Length: Smoothing period for ATR (1-100, default 14)
Take Profit 1 Multiplier: Distance from entry as multiple of ATR (0.1-10.0, default 2.0)
Take Profit 2 Multiplier: Distance from entry as multiple of ATR (0.1-10.0, default 3.0)
Stop Loss Multiplier: Distance from entry as multiple of ATR (0.1-10.0, default 1.0)
Enable Take Profit 2: Toggle second profit target on/off
VISUAL INDICATORS:
Channel boxes with semi-transparent fill showing consolidation zones
Green/red colored zones at channel boundaries indicating breakout areas
Volume bars displayed within channels using selected mode
TP/SL lines with labels showing both price level and distance in points
Entry signals marked with up/down triangles at breakout price
Strategy status table showing position, contracts, P&L, ATR values, and volume confirmation status
HOW TO USE:
For 2-Minute Scalping:
Set ATR Timeframe to "1" (1-minute), ATR Length to 12, TP1 Multiplier to 2.0, TP2 Multiplier to 3.0, SL Multiplier to 1.5. Enable volume confirmation and strong closes only. Use trading hours filter to avoid low-volume periods.
For 5-15 Minute Day Trading:
Set ATR Timeframe to match chart or use 5-minute, ATR Length to 14, TP1 Multiplier to 2.0, TP2 Multiplier to 3.5, SL Multiplier to 1.2. Volume confirmation recommended but optional.
For Hourly+ Swing Trading:
Set ATR Timeframe to 15-30 minute, ATR Length to 14-21, TP1 Multiplier to 2.5, TP2 Multiplier to 4.0, SL Multiplier to 1.5. Volume confirmation optional, nested channels can be enabled for multiple setups.
BACKTEST CONSIDERATIONS:
Strategy performs best during trending or volatility expansion phases
Consolidation-heavy or choppy markets produce more false signals
Shorter timeframes require wider stop loss multipliers due to noise
Commission and slippage significantly impact performance on sub-5-minute charts
Volume confirmation generally improves win rate but reduces trade frequency
ATR multipliers should be optimized for specific instrument characteristics
COMPATIBLE MARKETS:
Works on any instrument with price and volume data including forex pairs, stock indices, individual stocks, cryptocurrency, commodities, and futures contracts. Requires TradingView data feed that includes volume for volume confirmation features to function.
KNOWN LIMITATIONS:
Stop losses execute via strategy.exit() and may not fill at exact levels during gaps or extreme volatility
request.security() on lower timeframes requires higher-tier TradingView subscription
False breakouts inherent to breakout strategies cannot be completely eliminated
Performance varies significantly based on market regime (trending vs ranging)
Partial closing logic requires sufficient position size relative to TP1 close contracts setting
RISK DISCLOSURE:
Trading involves substantial risk of loss. Past performance of this or any strategy does not guarantee future results. This strategy is provided for educational purposes and automated backtesting. Thoroughly test on historical data and paper trade before risking real capital. Market conditions change and strategies that worked historically may fail in the future. Use appropriate position sizing and never risk more than you can afford to lose. Consider consulting a licensed financial advisor before making trading decisions.
ACKNOWLEDGMENT & CREDITS:
This strategy is built upon the channel detection methodology created by AlgoAlpha in the "Smart Money Breakout Channels" indicator. Full credit and appreciation to AlgoAlpha for pioneering the normalized volatility approach to identifying consolidation patterns and sharing this innovative technique with the TradingView community. The enhancements added to the original concept include automated trade execution, multi-timeframe ATR-based risk management, partial position closing by contract count, volume confirmation filtering, and real-time position monitoring.
EMA AND TREND TABLE Dual EMA System: Includes a fast and a slow EMA to track both short-term momentum and long-term trends.
Crossover Signals: Automatically plots arrows on the chart when the fast EMA crosses over or under the slow EMA, signaling a potential shift in momentum.
Trend Coloring: The EMA lines change color based on the trend direction (e.g., green for an uptrend, red for a downtrend) for at-a-glance analysis.
Customizable Alerts: Create TradingView alerts for key events, such as EMA crossovers, so you never miss a potential setup.
Adjustable Inputs: Easily customize the length (period) and source (close, open, hl2, etc.) for each EMA directly from the settings menu.
Valuation Bands (Dynamic + Table)Valuation Bands (Dynamic + Table)
This indicator helps investors assess whether a stock is trading at cheap, fair, or expensive levels relative to its historical valuation multiples. It dynamically calculates valuation ratios such as P/E, P/B, P/S, P/Operating Income, P/Cash Flow, or Dividend Yield over a customizable lookback period (e.g., 10 years).
Using these ratios, the script plots the long-term average alongside ±1σ and ±2σ standard deviation bands, highlighting valuation zones. The included data table displays both the multiple values and their corresponding price levels, making it easy to interpret fair value ranges.
Alerts are built in to notify when the current ratio crosses into undervalued (–2σ) or overvalued (+2σ) zones, helping investors spot potential opportunities or risks.
In short, this tool bridges fundamentals with technical visualization, giving a quick snapshot of how today’s valuation compares to historical norms.
Valuation Bands (Dynamic + Table)Valuation Bands (Dynamic + Table)
This indicator helps investors assess whether a stock is trading at cheap, fair, or expensive levels relative to its historical valuation multiples. It dynamically calculates valuation ratios such as P/E, P/B, P/S, P/Operating Income, P/Cash Flow, or Dividend Yield over a customizable lookback period (e.g., 10 years).
Using these ratios, the script plots the long-term average alongside ±1σ and ±2σ standard deviation bands, highlighting valuation zones. The included data table displays both the multiple values and their corresponding price levels, making it easy to interpret fair value ranges.
Alerts are built in to notify when the current ratio crosses into undervalued (–2σ) or overvalued (+2σ) zones, helping investors spot potential opportunities or risks.
In short, this tool bridges fundamentals with technical visualization, giving a quick snapshot of how today’s valuation compares to historical norms.
TOP-RSI Double Confirm + Heiken Ashi + Buy/Sell Labels v01📊 RSI Double Confirm + Heiken Ashi + Labels
🔎 Concept
This indicator combines a Zero-based RSI filter with strict candle close confirmation, overlays Heiken Ashi candles for clearer trend visualization, and adds Buy/Sell labels directly on the chart for easier interpretation.
⚙️ Components
1. RSI Double Confirm
RSI is calculated from OHLC4 (open+high+low+close)/4.
The RSI value is shifted by -50 to center it around zero (above 0 = bullish, below 0 = bearish).
Uses user-defined thresholds: Overbought (OB) and Oversold (OS).
📌 Entry conditions:
Buy Signal → RSI crosses upward through OS and the last closed candle is higher than the previous candle.
Sell Signal → RSI crosses downward through OB and the last closed candle is lower than the previous candle.
2. Heiken Ashi Candles
Custom Heiken Ashi values are calculated: haOpen, haClose, haHigh, haLow.
Candles are colored green (if haClose > haOpen) or red (if haClose < haOpen).
Helps smooth price action and highlight trend direction.
3. Alerts
alertcondition is set for both Buy and Sell signals.
Users can create TradingView alerts that trigger whenever a new signal appears.
4. Signals & Labels
A green up arrow is plotted under the candle when a Buy signal is triggered.
A red down arrow is plotted above the candle when a Sell signal is triggered.
Additionally, labels ("Buy" or "Sell") are added at the respective candle to make signals more visible.
📝 How to Use
Add the indicator to your chart (it overlays directly on price).
Adjust inputs:
OB (Overbought) → e.g. 20
OS (Oversold) → e.g. -20
RSI Length → e.g. 7
Watch for signals:
Buy Signal → Green arrow + "Buy" label → potential bullish entry.
Sell Signal → Red arrow + "Sell" label → potential bearish entry.
Set up alerts in TradingView to be notified when new signals appear.
✅ Benefits
Combines RSI confirmation + Heiken Ashi trend filter + Clear chart labels.
Reduces false signals by requiring both RSI cross and strict close confirmation.
Easy to interpret visually with arrows and text labels.
⚠️ Notes
This indicator is meant as a signal confirmation tool, not a standalone strategy.
Best used alongside support/resistance analysis, price action, or volume.
Does not provide automatic stop loss / take profit levels → risk management must be applied by the trader.
Trader Marks Trailing SL + TP (BE @ 60%)This script provides a unique stop-loss and take-profit management tool designed for swing traders.
It introduces a two-stage stop-loss logic that is not available in standard TradingView tools:
Break-Even Protection: Once a defined profit threshold (e.g. 66%) is reached, the stop-loss automatically moves to break-even.
ATR-Based Trailing Stop: After a chosen delay (e.g. 12 hours), the script activates a dynamic trailing stop that follows market volatility using the ATR.
Flexible Ratchet Mechanism: The stop-loss can be locked at new profit levels and will never move backwards.
This combination allows traders to secure profits while still giving the trade room to develop. The indicator is especially useful for swing trading on 4H and daily timeframes but can be applied to other styles as well.
How to use:
Enter your entry price, stop-loss, and take-profit levels.
Choose your trailing mode: Exact S/L+ (simple) or Advanced (Delay + BE + Ratchet).
Adjust parameters such as ATR length or activation delay to match your strategy.
The script helps you balance risk and reward by ensuring that once the trade moves in your favor, you cannot lose the initial risk, while still benefiting from extended market moves.
ADAUSDT Profitalgo Day‑Trading IndicatorMeet the **ADAUSDT Profitalgo Day-Trading Indicator** — a fast, no-nonsense signal engine built for intraday action on a single coin.
It locks onto trend with a classic **9/21 EMA** backbone (with an optional higher-time-frame filter), then times entries using a nimble **RSI(7) midline cross**. When momentum flips **up** in trend, you get a clean **Long** triangle; when it snaps **down**, a **Short** triangle. Once you’re in, an **ATR-based trailing stop** ratchets behind price — tightening on strength, bailing on weakness — and prints crisp **Exit** markers the moment the move fades. A subtle green/red background heatmap keeps the bigger picture in view at a glance.
Why traders love it:
* **Aligned entries** only: RSI triggers are gated by EMA trend (and optional HTF trend) to cut the chop.
* **Self-managed exits:** ATR(14) × Multiplier trails automatically — no second guessing.
* **Fully tunable:** EMA/RSI lengths, midline, ATR settings, and higher-TF period are all adjustable.
* **Set-and-forget alerts:** Long/Short/Exit alerts fire in real time so you never miss the turn.
Add it to your chart, switch on alerts, and tune the inputs to your style. It’s everything you need to spot the push, ride the burst, and step aside when the edge is gone. *(Not financial advice; always test before going live.)*
Bollinger Bands (Log Scale)📈 Bollinger Bands on log scale are broken.
Many traders use log charts for better price symmetry—but still apply Bollinger Bands calculated on linear price. That mismatch creates distorted signals.
Here’s what I found:
- Standard deviation becomes misleading on log scale
- Band width no longer reflects true volatility
- Breakout signals lose behavioral clarity
🛠 So I rewrote the logic.
My version calculates Bollinger Bands using log(price) for both mean and deviation, then maps the result back to price. It behaves correctly on log charts and aligns better with behavioral scoring.
VWAP Divergence LevelsThis is an indicator which paints levels on your chart based on degrees of historical divergence from VWAP. I conceived and designed it for my personal use trading index funds (QQQ, SPY) on the NYSE. It is one of the primary indicators I use on a daily basis, and may be of interest to traders with a focus on volume.
This indicator works by tracking, each session, the maximum amount that price diverges from VWAP that day. The lookback period is locked to 21 days, or about 1 month's worth of trading days. Bearish and bullish divergences are tracked separately.
From this data, we take the average of all maximum daily bullish divergences (the "Mean Bull" divergence amount), and paint that line relative to the current VWAP. In other words, if the VWAP for the current bar is at $2.50 and the Mean Bull divergence is $0.40, the line will be painted at $2.90. The largest value from the lookback period ("Max Bull") is also painted. The same is done for bearish divergences.
Finally, midpoints between the VWAP and the Mean and Max levels are drawn. Optionally, quarter-levels are drawn in the spaces between Mean and VWAP.
When I created this indicator, I found that price very often responds and retraces around these levels, allowing me to more easily visualize the relationship between price and volume. Personally, I have found it useful for finding entrance and exit points-- especially when the levels coincide with important previous daily levels, or other support/resistance points.
Good luck & happy trading.
Disclaimer : Use at your own risk. This indicator and the strategy described herein are not in any way financial advice, nor does the author of this script make any claims about the effectiveness of this indicator or of any related strategy, which may depend highly on the discretion and skill of the trader executing it, among many other factors outside of the author's control. The author of this script accepts no liability, and is not responsible for any trading decisions that you may or may not make as a result of this indicator. You should expect to lose money if using this indicator.
EMA & HMA with ShadingA simple indicator you can use to shade the area between an EMA and HMA for easier visualization. Hope you find it useful in your trading.
Advanced MA Slope Tool(by ExpertCBCD)New version of MA Slope, originally made by ExpertCBCD.Now you can choose many indicators then compare and confirm their slope. Thanks for ExpertCBCD, hope you can use it like the bow of Robinhood to defeat big banks and take money in the market.
WaveMacBollI wanted to see the two indicators in the candle chart, not in a separate window. And within the Bollinger band, it seemed to put it fine.
Important Note on Line Styles
Due to TradingView's multi-timeframe environment restrictions (timeframe = '', timeframe_gaps = true), I couldn't implement dotted or dashed line styles programmatically. The indicator uses solid lines by default.
If you prefer dotted/dashed lines for better visual distinction:
Add the indicator to your chart
Click on the indicator settings (gear icon)
Go to "Style" tab
Manually change line styles for each plot
Unfortunately, PineScript doesn't support line.new() or similar drawing functions in multi-timeframe mode, limiting our styling options to basic plot styles.
If you know a good solution for implementing dotted/dashed lines in multi-timeframe indicators without using drawing objects, please share it in the comments! I'd love to improve this aspect of the indicator
VWAP CloudVWAP Cloud
– Dynamic Fair Value Zones with Standard Deviation Envelopes
This script combines a Volume-Weighted Average Price (VWAP) baseline with standard deviation envelopes to create a dynamic "VWAP Cloud."
The VWAP itself is a widely used fair-value benchmark, showing where trading activity is most concentrated relative to price. By adding volatility-based bands around it, this tool helps traders visualize how far price has moved away from VWAP and whether those deviations may represent normal fluctuations or potential extremes.
🔎 How the Components Work Together
VWAP Midline (optional): Provides the session or rolling fair value reference.
Inner Cloud (±1 standard deviation by default): Highlights areas where price is oscillating near VWAP. This zone often reflects balanced conditions, where price is neither excessively stretched nor deeply discounted relative to volume-weighted value.
Outer Cloud (±2 standard deviations by default): Marks wider volatility extremes. These can be used to study how price reacts to statistically significant deviations from VWAP—whether by consolidating, reverting, or extending trends.
Dynamic Coloring: The cloud adjusts color based on VWAP slope. A rising VWAP is shaded green, suggesting positive momentum, while a falling VWAP is shaded red, suggesting negative momentum. Neutral gray highlights the outer envelope to distinguish extreme zones.
⚙️ Inputs & Customization
Source: Select the price type for VWAP calculation (default: hlc3).
Session Reset: Choose between daily resetting VWAP (common for intraday strategies) or a rolling VWAP (continuous view).
Standard Deviation Lookback: Controls the sample window for volatility calculation.
Band Multipliers: Adjust the width of inner and outer clouds.
Midline Toggle: Show or hide the VWAP midline depending on chart preference.
Custom Colors: Configure bullish, bearish, and neutral shading to match your charting style.
📊 How to Use
Trend Context: Price trading above VWAP generally suggests bullish conditions, while trading below suggests bearish conditions.
Value Zones: The inner cloud helps visualize short-term balance around VWAP.
Volatility Extremes: The outer cloud highlights statistically stretched moves that traders may analyze for either continuation or mean-reversion opportunities.
Scalping, Day Trading, Swing Trading: The tool adapts to different styles, depending on whether you reset VWAP each session or use the rolling version.
⚠️ Notes
This script is for educational purposes only and should be combined with other confluence factors, proper risk management, and a trading plan.
It does not generate buy/sell signals on its own. Instead, it provides a framework to study price behavior relative to a dynamic VWAP-based fair value.
Please clean your chart of unrelated drawings/indicators before applying, so the plotted clouds and midline remain clear.
Pattern Scanner — RealTime By joshPattern Scanner — Real-Time (Lines Only)
This study draws line outlines of popular price patterns in real time using swing pivots (no marketing claims, no signals).
It focuses on visual structure only—use it as an educational aid to spot potential areas of interest.
What it shows
Double Top / Double Bottom (neckline only, optional pullback check)
Head & Shoulders / Inverse H&S (neckline projection)
Wedges & Symmetrical Triangles (upper/lower guides from recent swings)
Flags / Parallel Channels (top & bottom rails if slopes are near-parallel)
Consolidation Range (simple recent high/low band)
Optional RSI Divergence filter (basic confirmation; off by default)
How it works (high level)
Builds swing points using left/right pivot lengths.
Draws straight guide lines between recent swing pairs.
Optional “equality tolerance” (in %) for double tops/bottoms.
Optional “pullback after break” rule to reduce first-touch breaks.
No labels, arrows, targets, or profits: only lines for study/visualization.
Inputs you can tune
Pivot lengths, equality tolerance, minimum touches & lookback window
Pullback rule and tolerance (% of range)
Line thickness for major/minor structures
Optional RSI divergence check (length & source)
Good to know
Real-time detection can update while bars are forming; confirmed pivots require the right-side length to complete.
This tool does not generate trade advice. Combine with your own risk management and additional analysis.
Results may vary across symbols/timeframes due to data and volatility.
License: Pine Script® v5. Educational use only.