Hidden Impulse═══════════════════════════════════════════════════════════════════
HIDDEN IMPULSE - Multi-Timeframe Momentum Detection System
═══════════════════════════════════════════════════════════════════
OVERVIEW
Hidden Impulse is an advanced momentum oscillator that combines the Schaff Trend Cycle (STC) and Force Index into a comprehensive multi-timeframe trading system. Unlike standard implementations of these indicators, this script introduces three distinct trading setups with specific entry conditions, multi-timeframe confirmation, and trend filtering.
═══════════════════════════════════════════════════════════════════
ORIGINALITY & KEY FEATURES
This indicator is original in the following ways:
1. DUAL-TIMEFRAME STC ANALYSIS
   Standard STC implementations work on a single timeframe. This script 
   simultaneously analyzes STC on both your trading timeframe and a higher 
   timeframe, providing trend context and filtering out low-probability signals.
2. FORCE INDEX INTEGRATION
   The script combines STC with Force Index (volume-weighted price momentum) 
   to confirm the strength behind price moves. This combination helps identify 
   when momentum shifts are backed by genuine buying/selling pressure.
3. THREE DISTINCT TRADING SETUPS
   Rather than generic overbought/oversold signals, the indicator provides 
   three specific, rule-based setups:
   - Setup A: Classic trend-following entries with multi-timeframe confirmation
   - Setup B: Divergence-based reversal entries (highest probability)
   - Setup C: Mean-reversion bounce trades at extreme levels
4. INTELLIGENT FILTERING
   All signals are filtered through:
   - 50 EMA trend direction (prevents counter-trend trades)
   - Higher timeframe STC alignment (ensures macro trend agreement)
   - Force Index confirmation (validates volume support)
═══════════════════════════════════════════════════════════════════
HOW IT WORKS - TECHNICAL EXPLANATION
SCHAFF TREND CYCLE (STC) CALCULATION:
The STC is a cyclical oscillator that combines MACD concepts with stochastic 
smoothing to create earlier and smoother trend signals.
Step 1: Calculate MACD
   - Fast MA = EMA(close, Length1) — default 23
   - Slow MA = EMA(close, Length2) — default 50
   - MACD Line = Fast MA - Slow MA
Step 2: First Stochastic Smoothing
   - Apply stochastic calculation to MACD
   - Stoch1 = 100 × (MACD - Lowest(MACD, Smoothing)) / (Highest(MACD, Smoothing) - Lowest(MACD, Smoothing))
   - Smooth result with EMA(Stoch1, Smoothing) — default 10
Step 3: Second Stochastic Smoothing
   - Apply stochastic calculation again to the smoothed stochastic
   - This creates the final STC value between 0-100
The dual stochastic smoothing makes STC more responsive than MACD while 
being smoother than traditional stochastics.
FORCE INDEX CALCULATION:
Force Index measures the power behind price movements by incorporating volume:
   Force Raw = (Close - Close ) × Volume
   Force Index = EMA(Force Raw, Period) — default 13
Interpretation:
   - Positive Force Index = Buying pressure (bulls in control)
   - Negative Force Index = Selling pressure (bears in control)
   - Force Index crossing zero = Momentum shift
   - Divergences with price = Weakening momentum (reversal signal)
TREND FILTER:
A 50-period EMA serves as the trend filter:
   - Price above EMA50 = Uptrend → Only LONG signals allowed
   - Price below EMA50 = Downtrend → Only SHORT signals allowed
This prevents counter-trend trading which accounts for most losing trades.
═══════════════════════════════════════════════════════════════════
THE THREE TRADING SETUPS - DETAILED
SETUP A: CLASSIC MOMENTUM ENTRY
Concept: Enter when STC exits oversold/overbought zones with trend confirmation
LONG CONDITIONS:
   1. Higher timeframe STC > 25 (macro trend is up)
   2. Primary timeframe STC crosses above 25 (momentum turning up)
   3. Force Index crosses above 0 OR already positive (volume confirms)
   4. Price above 50 EMA (local trend is up)
SHORT CONDITIONS:
   1. Higher timeframe STC < 75 (macro trend is down)
   2. Primary timeframe STC crosses below 75 (momentum turning down)
   3. Force Index crosses below 0 OR already negative (volume confirms)
   4. Price below 50 EMA (local trend is down)
Best for: Trending markets, continuation trades
Win rate: Moderate (60-65%)
Risk/Reward: 1:2 to 1:3
───────────────────────────────────────────────────────────────────
SETUP B: DIVERGENCE REVERSAL (HIGHEST PROBABILITY)
Concept: Identify exhaustion points where price makes new extremes but 
momentum (Force Index) fails to confirm
BULLISH DIVERGENCE:
   1. Price makes a lower low (LL) over 10 bars
   2. Force Index makes a higher low (HL) — refuses to follow price down
   3. STC is below 25 (oversold condition)
   
   Trigger: STC starts rising AND Force Index crosses above zero
BEARISH DIVERGENCE:
   1. Price makes a higher high (HH) over 10 bars
   2. Force Index makes a lower high (LH) — refuses to follow price up
   3. STC is above 75 (overbought condition)
   
   Trigger: STC starts falling AND Force Index crosses below zero
Why this works: Divergences signal that the current trend is losing steam. 
When volume (Force Index) doesn't confirm new price extremes, a reversal 
is likely.
Best for: Reversal trading, range-bound markets
Win rate: High (70-75%)
Risk/Reward: 1:3 to 1:5
───────────────────────────────────────────────────────────────────
SETUP C: QUICK BOUNCE AT EXTREMES
Concept: Catch rapid mean-reversion moves when price touches EMA50 in 
extreme STC zones
LONG CONDITIONS:
   1. Price touches 50 EMA from above (pullback in uptrend)
   2. STC < 15 (extreme oversold)
   3. Force Index > 0 (buyers stepping in)
SHORT CONDITIONS:
   1. Price touches 50 EMA from below (pullback in downtrend)
   2. STC > 85 (extreme overbought)
   3. Force Index < 0 (sellers stepping in)
Best for: Scalping, quick mean-reversion trades
Win rate: Moderate (55-60%)
Risk/Reward: 1:1 to 1:2
Note: Use tighter stops and quick profit-taking
═══════════════════════════════════════════════════════════════════
HOW TO USE THE INDICATOR
STEP 1: CONFIGURE TIMEFRAMES
Primary Timeframe (STC - Primary Timeframe):
   - Leave empty to use your current chart timeframe
   - This is where you'll take trades
Higher Timeframe (STC - Higher Timeframe):
   - Default: 30 minutes
   - Recommended ratios:
     * 5min chart → 30min higher TF
     * 15min chart → 1H higher TF
     * 1H chart → 4H higher TF
     * Daily chart → Weekly higher TF
───────────────────────────────────────────────────────────────────
STEP 2: ADJUST STC PARAMETERS FOR YOUR MARKET
Default (23/50/10) works well for stocks and forex, but adjust for:
CRYPTO (volatile):
   - Length 1: 15
   - Length 2: 35
   - Smoothing: 8
   (Faster response for rapid price movements)
STOCKS (standard):
   - Length 1: 23
   - Length 2: 50
   - Smoothing: 10
   (Balanced settings)
FOREX MAJORS (slower):
   - Length 1: 30
   - Length 2: 60
   - Smoothing: 12
   (Filters out noise in 24/7 markets)
───────────────────────────────────────────────────────────────────
STEP 3: ENABLE YOUR PREFERRED SETUPS
Toggle setups based on your trading style:
Conservative Trader:
   ✓ Setup B (Divergence) — highest win rate
   ✗ Setup A (Classic) — only in strong trends
   ✗ Setup C (Bounce) — too aggressive
Trend Trader:
   ✓ Setup A (Classic) — primary signals
   ✓ Setup B (Divergence) — for entries on pullbacks
   ✗ Setup C (Bounce) — not suitable for trending
Scalper:
   ✓ Setup C (Bounce) — quick in-and-out
   ✓ Setup B (Divergence) — high probability scalps
   ✗ Setup A (Classic) — too slow
───────────────────────────────────────────────────────────────────
STEP 4: READ THE SIGNALS
ON THE CHART:
   Labels appear when conditions are met:
   
   Green labels:
   - "LONG A" — Setup A long entry
   - "LONG B DIV" — Setup B divergence long (best signal)
   - "LONG C" — Setup C bounce long
   
   Red labels:
   - "SHORT A" — Setup A short entry
   - "SHORT B DIV" — Setup B divergence short (best signal)
   - "SHORT C" — Setup C bounce short
IN THE INDICATOR PANEL (bottom):
   - Blue line = Primary timeframe STC
   - Orange dots = Higher timeframe STC (optional)
   - Green/Red bars = Force Index histogram
   - Dashed lines at 25/75 = Entry/Exit zones
   - Background shading = Oversold (green) / Overbought (red)
INFO TABLE (top-right corner):
   Shows real-time status:
   - STC values for both timeframes
   - Force Index direction
   - Price position vs EMA
   - Current trend direction
   - Active signal type
═══════════════════════════════════════════════════════════════════
TRADING STRATEGY & RISK MANAGEMENT
ENTRY RULES:
Priority ranking (best to worst):
   1st: Setup B (Divergence) — wait for these
   2nd: Setup A (Classic) — in confirmed trends only
   3rd: Setup C (Bounce) — scalping only
Confirmation checklist before entry:
   ☑ Signal label appears on chart
   ☑ TREND in info table matches signal direction
   ☑ Higher timeframe STC aligned (check orange dots or table)
   ☑ Force Index confirming (check histogram color)
───────────────────────────────────────────────────────────────────
STOP LOSS PLACEMENT:
Setup A (Classic):
   - LONG: Below recent swing low
   - SHORT: Above recent swing high
   - Typical: 1-2 ATR distance
Setup B (Divergence):
   - LONG: Below the divergence low
   - SHORT: Above the divergence high
   - Typical: 0.5-1.5 ATR distance
Setup C (Bounce):
   - LONG: 5-10 pips below EMA50
   - SHORT: 5-10 pips above EMA50
   - Typical: 0.3-0.8 ATR distance
───────────────────────────────────────────────────────────────────
TAKE PROFIT TARGETS:
Conservative approach:
   - Exit when STC reaches opposite level
   - LONG: Exit when STC > 75
   - SHORT: Exit when STC < 25
Aggressive approach:
   - Hold until opposite signal appears
   - Trail stop as STC moves in your favor
Partial profits:
   - Take 50% at 1:2 risk/reward
   - Let remaining 50% run to target
───────────────────────────────────────────────────────────────────
WHAT TO AVOID:
❌ Trading Setup A in sideways/choppy markets
   → Wait for clear trend or use Setup B only
❌ Ignoring higher timeframe STC
   → Always check orange dots align with your direction
❌ Taking signals against the major trend
   → If weekly trend is down, be cautious with longs
❌ Overtrading Setup C
   → Maximum 2-3 bounce trades per session
❌ Trading during low volume periods
   → Force Index becomes unreliable
═══════════════════════════════════════════════════════════════════
ALERTS CONFIGURATION
The indicator includes 8 alert types:
Individual setup alerts:
   - "Setup A - LONG" / "Setup A - SHORT"
   - "Setup B - DIV LONG" / "Setup B - DIV SHORT" ⭐ recommended
   - "Setup C - BOUNCE LONG" / "Setup C - BOUNCE SHORT"
Combined alerts:
   - "ANY LONG" — fires on any long signal
   - "ANY SHORT" — fires on any short signal
Recommended alert setup:
   - Create "Setup B - DIV LONG" and "Setup B - DIV SHORT" alerts
   - These are the highest probability signals
   - Set "Once Per Bar Close" to avoid false alerts
═══════════════════════════════════════════════════════════════════
VISUALIZATION SETTINGS
Show Labels on Chart:
   Toggle on/off the signal labels (green/red)
   Disable for cleaner chart once you're familiar with the indicator
Show Higher TF STC:
   Toggle the orange dots showing higher timeframe STC
   Useful for visual confirmation of multi-timeframe alignment
Info Panel:
   Cannot be disabled — always shows current status
   Positioned top-right to avoid chart interference
═══════════════════════════════════════════════════════════════════
EXAMPLE TRADE WALKTHROUGH
SETUP B DIVERGENCE LONG EXAMPLE:
1. Market Context:
   - Price in downtrend, below 50 EMA
   - Multiple lower lows forming
   - STC below 25 (oversold)
2. Divergence Formation:
   - Price makes new low at $45.20
   - Force Index refuses to make new low (higher low forms)
   - This indicates selling pressure weakening
3. Signal Trigger:
   - STC starts turning up
   - Force Index crosses above zero
   - Label appears: "LONG B DIV"
4. Trade Execution:
   - Entry: $45.50 (current price at signal)
   - Stop Loss: $44.80 (below divergence low)
   - Target 1: $47.90 (STC reaches 75) — risk/reward 1:3.4
   - Target 2: Opposite signal or trail stop
5. Trade Management:
   - Price rallies to $47.20
   - STC reaches 68 (approaching target zone)
   - Take 50% profit, move stop to breakeven
   - Exit remaining at $48.10 when STC crosses 75
Result: 3.7R gain
═══════════════════════════════════════════════════════════════════
ADVANCED TIPS
1. MULTI-TIMEFRAME CONFLUENCE
   For highest probability trades, wait for:
   - Primary TF signal
   - Higher TF STC aligned (>25 for longs, <75 for shorts)
   - Even higher TF trend in same direction (manual check)
2. VOLUME CONFIRMATION
   Watch the Force Index histogram:
   - Increasing bar size = Strengthening momentum
   - Decreasing bar size = Weakening momentum
   - Use this to gauge signal strength
3. AVOID THESE MARKET CONDITIONS
   - Major news events (Force Index becomes erratic)
   - Market open first 30 minutes (volatility spikes)
   - Low liquidity instruments (Force Index unreliable)
   - Extreme trending days (wait for pullbacks)
4. COMBINE WITH SUPPORT/RESISTANCE
   Best signals occur near:
   - Key horizontal levels
   - Fibonacci retracements
   - Previous day's high/low
   - Psychological round numbers
5. SESSION AWARENESS
   - Asia session: Use lower timeframes, Setup C works well
   - London session: Setup A and B both effective
   - New York session: All setups work, highest volume
═══════════════════════════════════════════════════════════════════
INDICATOR WINDOWS LAYOUT
MAIN CHART:
   - Price action
   - 50 EMA (green/red)
   - Signal labels
   - Info panel
INDICATOR WINDOW:
   - STC oscillator (blue line, 0-100 scale)
   - Higher TF STC (orange dots, optional)
   - Force Index histogram (green/red bars)
   - Reference levels (25, 50, 75)
   - Background zones (green oversold, red overbought)
═══════════════════════════════════════════════════════════════════
PERFORMANCE OPTIMIZATION
For best results:
Backtesting:
   - Test on your specific instrument and timeframe
   - Adjust STC parameters if win rate < 55%
   - Record which setup works best for your market
Position Sizing:
   - Risk 1-2% per trade
   - Setup B can use 2% risk (higher win rate)
   - Setup C should use 1% risk (lower win rate)
Trade Frequency:
   - Setup B: 2-5 signals per week (be patient)
   - Setup A: 5-10 signals per week
   - Setup C: 10+ signals per week (scalping)
═══════════════════════════════════════════════════════════════════
CREDITS & REFERENCES
This indicator builds upon established technical analysis concepts:
Schaff Trend Cycle:
   - Developed by Doug Schaff (1996)
   - Original concept published in Technical Analysis of Stocks & Commodities
   - Implementation based on standard STC formula
Force Index:
   - Developed by Dr. Alexander Elder
   - Described in "Trading for a Living" (1993)
   - Classic volume-momentum indicator
The multi-timeframe integration, three-setup system, and specific 
entry conditions are original contributions of this indicator.
═══════════════════════════════════════════════════════════════════
DISCLAIMER
This indicator is a technical analysis tool and does not guarantee profits. 
Past performance is not indicative of future results. Always:
   - Use proper risk management
   - Test on demo account first
   - Combine with fundamental analysis
   - Never risk more than you can afford to lose
═══════════════════════════════════════════════════════════════════
SUPPORT & QUESTIONS
If you find this indicator helpful, please:
   - Leave a like and comment
   - Share your feedback and results
   - Report any bugs or issues
For questions about usage or optimization for specific markets, 
feel free to comment below.
═════════════════════════════════════════════════════════════
Technicalindicators
Algorithmic Value Oscillator [CRYPTIK1]Algorithmic Value Oscillator  
 Introduction: What is the AVO?  Welcome to the Algorithmic Value Oscillator (AVO), a powerful, modern momentum indicator that reframes the classic "overbought" and "oversold" concept. Instead of relying on a fixed lookback period like a standard RSI, the AVO measures the current price relative to a significant, higher-timeframe  Value Zone .
This gives you a more contextual and structural understanding of price. The core question it answers is not just "Is the price moving up or down quickly?" but rather, " Where is the current price in relation to its recently established area of value? "
This allows traders to identify true "premium" (overbought) and "discount" (oversold) levels with greater accuracy, all presented with a clean, futuristic aesthetic designed for the modern trader.
 The Core Concept: Price vs. Value  The market is constantly trying to find equilibrium. The AVO is built on the principle that the high and low of a significant prior period (like the previous day or week) create a powerful area of perceived value. 
 The Value Zone:  The range between the high and low of the selected higher timeframe. 
 Premium Territory (Distribution Zone):  When the oscillator moves into the glowing pink/purple zone above +100, it is trading at a premium.
 Discount Territory (Accumulation Zone):  When the oscillator moves into the glowing teal/blue zone below -100, it is trading at a discount.  
 Key Features 
 1. Glowing Gradient Oscillator:  The main oscillator line is a dynamic visual guide to momentum. 
 The line changes color smoothly from  light blue to neon teal  as bullish momentum increases. 
 It shifts from  hot pink to bright purple  as bearish momentum increases. 
 Multiple transparent layers create a professional "glow" effect, making the trend easy to see at a glance.   
 2. Dynamic Volatility Histogram:  This histogram at the bottom of the indicator is a custom volatility meter. It has been engineered to be adaptive, ensuring that the visual differences between high and low volatility are always clear and dramatic, no matter your zoom level. It uses a multi-color gradient to visualize the intensity of market volatility.
 3. Volatility Regime Dashboard:  This simple on-screen table analyzes the histogram and provides a clear, one-word summary of the current market state: Compressing, Stable, or Expanding.
 How to Use the AVO: Trading Strategies 
 1. Reversion Trading  This is the most direct way to use the indicator. 
 Look for Buys:  When the AVO line drops into the teal "Accumulation Zone" (below -100), the price is trading at a discount. Watch for the oscillator to form a bottom and start turning up as a signal that buying pressure is returning.
 Look for Sells:  When the AVO line moves into the pink "Distribution Zone" (above +100), the price is trading at a premium. Watch for the oscillator to form a peak and start turning down as a signal that selling pressure is increasing.  
 2. Best Practices & Settings  
 Timeframe Synergy:  The AVO is most effective when your chart timeframe is lower than your selected "Value Zone Source." For example, if you trade on the 1-hour chart, set your Value Zone to "Previous Day."
 Confirmation is Key:  This indicator provides powerful context, but it should not be used in isolation. Always combine its readings with your primary analysis, such as market structure and support/resistance levels. 
AVWAP (ATR-Weighted VWAP) IndicatorAVWAP (Average True Range Weighted Average Price), you typically combine two core indicators:
1. VWAP (Volume Weighted Average Price)
This is the base indicator that calculates the average price weighted by volume over a session or specified period.
VWAP serves as the core reference price level around which volatility adjustments are made for AVWAP.
2. ATR (Average True Range)
ATR measures market volatility, representing the average price range over a set period.
ATR is used to create volatility bands or buffers around the VWAP, adjusting levels to reflect prevailing market volatility.
 How These Indicators Work Together for AVWAP:
Use VWAP to establish your average price line weighted by volume.
Calculate ATR to understand the average price movement range.
Apply ATR as multipliers to VWAP to create upper and lower volatility-adjusted bands (e.g., VWAP ± 1 × ATR), which form the AVWAP bands.
These bands help identify volatility-aware support/resistance and stop-loss placement zones.
 
So to make things easier I have built a custom AVWAP indicator to be used 
How to use my custom indicator:
 
 The central blue line is the VWAP.
 The red and green bands above and below VWAP are AVWAP bands set at VWAP ± 1.5 × ATR by default.
 Adjust the ATR length and multiplier inputs to suit the timeframe and volatility preferences.
 Use the bands as dynamic support/resistance and for setting stop loss zones based on volatility.
BeeQuant - Hive Smoothing Average🔶 OVERVIEW
The "Hive Smoothing Average" is your gateway to crystal-clear market insights, a truly advanced tool that cuts through confusing price "noise" to reveal the true underlying trend. Imagine having a panoramic view of the market's true direction, unclouded by minor ups and downs. This powerful indicator dynamically filters out market distractions, presenting you with a highly refined line that not only shows you the genuine path of price but also changes color. It’s built for traders who demand clarity and want to confidently spot opportunities that others might miss in messy charts.	
  
  
__________________________________________________________________________
🧠 CONCEPTS
At its heart, the "Hive Smoothing Average" employs a sophisticated multi-stage processing system to transform raw price data into an incredibly smooth and responsive smoothed moving average line. It's designed to give you an unparalleled view of market direction and momentum.
⬜  Synthesizes multiple smoothing layers to deliver a balanced representation of underlying price action.
⬜  Offers enhanced visual consistency by filtering volatility distortion without delay-based lag.
⬜  Presents color-coded transitions and signal markers to aid in directional conviction and structural flow.
⬜  Embeds a modular smoothing core adaptable across market environments and asset classes.
Hive Smoothing Average doesn't forecast, it refines. It provides a more coherent view of price evolution, allowing for higher-confidence discretion and more robust strategy overlays.
  
__________________________________________________________________________
✨ FEATURES
Hive Smoothing Average is loaded with flexibility and visual power to enhance your decision-making:
🔹Customizable Smoothing
     Tailor the indicator’s core behavior using a wide range of smoothing algorithms — from classic to advanced — to match your trading tempo and asset dynamics.
🔹 Intelligent Color Feedback
    The line color dynamically shifts to reflect meaningful trend transitions, offering at-a-glance clarity without crowding your chart.
🔹 Trend Signal Markers
    Built-in arrow markers highlight potential transitions in price momentum, acting as subtle nudges to investigate further.
🔹 Multi-Timeframe Ready
    Designed to operate cleanly across all timeframes, from scalping micro-trends to monitoring macro cycles.
🔹 External Source Collaboration
    Hive Smoothing Average includes two flexible input channels that can seamlessly connect with other indicators on your chart. 
🔹 Adaptive Bands
      A powerful enhancement to the Hive framework, the optional Standard Deviation Bands add dynamic context to price behavior by highlighting how far price is moving relative to its recent average volatility.
             Length: Controls the lookback period for volatility calculation.
                   Lower values (e.g., 20 – 50) make the bands highly reactive  Higher values (e.g., 200 – 500) smooth out the bands (classic envelope systems ) 
          These bands offer valuable visual cues for both volatility expansion and mean reversion potential, especially when combined with Hive’s core candle coloration logic.             
🔹Non-Repainting Logic for Historical Reliability
     Each "Hive Smoothing Average" is plotted only when its internal reconstruction conditions are fully met and confirmed. This ensures that the historical display of Hive Smoothing Average does not repaint, providing a high degree of reliability and trust in past signals and visualizations.
🔹Cross-Market Versatility
    This indicator is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
__________________________________________________________________________
⚙️ USAGE
Getting started with Hive Smoothing Average is seamless and intuitive:
✨ Apply to Any Chart
Simply add the indicator to any asset or timeframe and see immediate transformation in chart clarity.
💹 Source Data Flexibility
Choose your preferred price data source for each smoothing stage (e.g., Close, Open, High, Low), providing complete control over the input feeding the sophisticated smoothing algorithms.
🛠️ Adjust Smoothing Behavior
Choose your preferred initial and final smoothing types (EMA, HMA, ALMA, etc.), and tweak lengths for desired responsiveness or smoothness.
 📐 Use Bands for Confluence
Enable the Bands mode to visualize dynamic zones around your smoothed price. Useful for breakout validation and fade zones.
🟩 Green Smoother Line
Indicates strengthening bullish bias and upward progression.
🟥 Red Smoother Line
Suggests weakening or shifting trend toward bearish territory.
📈 Arrow Signals
Upward or downward triangles appear when directional bias changes — confirming subtle pivots in trend behavior.
🎯 Offset Adjustment
Fine-tune the visual positioning of the smoothed line and bands on your chart with a convenient "Offset" input.
📏 Lookback Filter
Activate the “Lookback Filter” setting to remove weaker signals based on custom historical logic. By checking recent candle behavior, it filters out low-quality transitions and only keeps strong, confirmed shifts — helping you avoid noise and stay focused on reliable breakouts.
Experiment with settings based on your trading timeframe. Short-term traders may prefer fast-reactive configurations, while swing or positional traders can explore higher-period smoothings for structural signals.
  
__________________________________________________________________________
⚠️ LIMITATIONS
While Hive Smoothing Average delivers incredible trend clarity, it’s essential to use it within its designed purpose:
 👉 Visual Clarity, Not Trade Calls: This tool enhances visibility of market behavior, not automatic signals. Use it as a trusted lens — not a standalone system.
 👉 Reactive, Not Predictive: Hive Smoothing Average responds to price action with refined smoothing. It is not a forecasting model.
 👉 Config-Sensitive Output: Different smoothing setups can produce different levels of sensitivity or delay. Calibration matters — explore what fits your asset and style.
  👉 Focuses on Price Action Only: It does not integrate volume, fundamentals, or external market influences. It’s engineered purely for price structure refinement.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯 CONCLUSION
Hive Smoothing Average provides a high-performance, low-noise framework to view price with remarkable clarity. With its adaptive smoothing layers, bands support, and intelligent signal markers, it becomes a powerful tool to enhance your trend confidence and charting efficiency. By furnishing immediate, data-driven feedback on the market's core momentum and signaling critical turning points, it profoundly empowers traders to rapidly ascertain nascent market shifts and identify pivotal directional changes. Seamlessly integrate this sophisticated visual tool within your pre-existing technical analysis architecture to acquire a sharper, more insightful perspective, and fundamentally elevate your strategic acumen, optimizing your decision-making processes to a degree previously unattainable. It's about experiencing the market's true rhythm.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨 RISK DISCLAIMER
 Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive Smoothing Average" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative market activity.
BeeQuant - Hive HeikinAshi💠 OVERVIEW
The "Hive HeikinAshi" is your ultimate tool for simplifying the chaotic world of price charts. Imagine a specialized lens that cuts through all the market "noise" – those tiny, confusing movements – and reveals the clear, underlying current of price action. This indicator transforms standard, sometimes choppy, candlestick charts into a powerful, trend-focused visualization. It’s designed to help every trader, whether you're a discretionary trader seeking cleaner structures or a quant enthusiast looking for visual cues to complement models, Hive HeikinAshi provides a simplified yet highly informative lens through which to read price action.
Its main advantage lies in its seamless compatibility with external indicators — offering a next-level smoothing foundation that enhances the clarity and reliability of any existing trend, momentum, or signal-based system layered on top of it.
  
  
__________________________________________________________________________
🧠 CONCEPTS
At its core, the "Hive HeikinAshi" isn't just another way to look at candles; it's a profound re-interpretation of price dynamics. It employs a sophisticated internal process to distill raw market movements into a more coherent, trend-identifying display, making the market's story incredibly easy to read.
The "Hive" Transformation: Unlike traditional candlesticks that show every small price fluctuation, the "Hive HeikinAshi" candles are intelligently constructed to smooth out the data. They are derived from a multi-point calculation process, creating a new, more consistent visual representation of price. This transformation helps to reduce the "visual clutter" and make trend following a much more intuitive experience. You'll see the forest, not just the trees.
⬜  Highlights dominant price direction by filtering reactive fluctuations
⬜  Visually separates impulsive vs corrective behavior with clear color transitions
⬜  Enables quicker discretionary recognition of trend shifts without complex overlays
⬜  Ideal for confirming momentum zones and stable trending phases
⬜  The Intelligent Filter. An optional yet powerful "Filter" mechanism has been integrated, providing an additional layer of analytical discernment.  
⬜  Designed to integrate natively with trend-following, oscillator, or signal indicators — enabling amplified precision across diverse trading systems
A significant advantage of the "Hive HeikinAshi" is its inherent ability to minimize distracting "noise" from typical candle wicks. While standard candles can often show long, confusing wicks that obscure the true body direction, our specialized candles are engineered to emphasize the core directional move. This intelligent design allows you to focus on the momentum generated by the candle's body, rather than getting sidetracked by fleeting price extremes, thereby providing a cleaner, more reliable visual of trend strength.
__________________________________________________________________________
✨ FEATURES
Hive HeikinAshi includes several key features designed for both clarity and functionality:
🔹Multi-Bar Averaging
Generates a visually balanced candle structure using averaged pricing across configurable recent bars.
🔹 Wickless Visualization
Candles are rendered without upper/lower shadows, enhancing trend detection and reducing signal confusion.
 
🔹 Signal Filter
Adaptive color filter using a dynamic high/low lookback logic
 
🔹 Directional Color Coding
Clean green/red coloring helps instantly interpret bullish or bearish pressure.
🔹 Adjustable History Depth
Customize how many bars are considered in the smoothing process to match your style and timeframe.
🔹 Invisible Price Feed Outputs
Underlying smoothed OHLC values are available for custom strategies or overlays.
  
  
🔹Non-Repainting Logic for Historical Reliability
Each "Hive HeikinAshi" is plotted only when its internal reconstruction conditions are fully met and confirmed. This ensures that the historical display of HeikinAshi does not repaint, providing a high degree of reliability and trust in past signals and visualizations.
🔹Cross-Market Versatility
This indicator is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
__________________________________________________________________________
⚙️ USAGE
Using Hive HeikinAshi is simple and effective:
📥 Add to Chart
Once access is granted, apply the indicator to any timeframe or asset directly from your TradingView invite-only indicators list.
⚙️ Tweak “No. of Bars”
This setting controls how far back the smoothing engine looks.
   • Lower values = more responsive, shorter-term smoothing
   • Higher values = steadier candles, better for macro trends
🎚️ Next, consider the "Filter" option:
Turn this on to activate the advanced filtering mechanism. Then, adjust the "lookback bars" (from 1 to 10). A smaller number here will make the filter more responsive to immediate "Hive HeikinAshi" candle extremes, while a larger number will require a more sustained breakout from the recent filtered range. Experiment to discover the optimal "sweet spot" that best reveals the underlying market flow for your specific strategy. The tooltip guides you to this optimal setting.
Disable "Filter": If turned off, the candles will revert to a more direct HeikinAshi coloration based purely on their calculated open and close, without the additional layer of range filtering.
🔍 Interpreting Candles
   • 🟢 Green Candle: Bullish continuation zone
   • 🔴 Red Candle: Bearish pressure dominates
   • Lack of wick = strong directional conviction
Combine with your favorite indicators — Hive HeikinAshi acts as a foundation to reduce noise and enhance clarity across tools like EMAs, MACD, VWAP, and more.
  
__________________________________________________________________________
⚠️ LIMITATIONS
While Hive HeikinAshi provides clear visual advantages, it is important to understand its scope:
 👉  Not a Signal Generator: This indicator excels at identifying and confirming trends, making it less suitable for pinpointing exact, high-frequency entry and exit points that require unadulterated real-time price. It prioritizes overall directional clarity.
 👉  Lag by Design: Due to multi-bar data smoothing, candles reflect stable price behavior but not ultra-short-term fluctuations.
 👉  No Volume or Macro Inputs: Hive HeikinAshi focuses purely on price structure — it does not include volume, news, or external conditions.
 👉  Filter Calibration: While the "Filter" enhances clarity, its effectiveness is dependent on appropriate "lookback bars" calibration. Users should understand that adding filtering inherently balances responsiveness with a more refined signal, and finding the optimal setting is part of the analytical process.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯 CONCLUSION
Hive HeikinAshi is a powerful visual companion for modern traders seeking smoother, clearer price trends. By combining directional clarity with reduced chart clutter, it allows you to interpret the market with less noise and more confidence.  Seamlessly integrate this advanced visual tool within your analytical framework to gain a sharper, more confident perspective, and elevate your strategic decision-making in the markets. It's about seeing the unseen, with clarity.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨 RISK DISCLAIMER
Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive HeikinAshi" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative market activity.
BeeQuant - Hive Visualizer💠  OVERVIEW 
The " Hive Visualizer " is a game-changing, invite-only tool, expertly designed to give every trader, from beginner to experienced, instant and clear visual clues about what price is doing. Its main job is to easily show you the highest and lowest points price has reached recently. Think of it as a smart, automated helper that colors your candles to reveal powerful market moves. This helps you quickly see if prices are getting stronger or weaker right on your chart. It's a groundbreaking, high-quality tool that cuts through the noise, making it simple to spot key moments when the market is about to make a big move up or down, giving you an edge.
  
  
  
__________________________________________________________________________
🧠  CONCEPTS 
The core philosophy behind Hive Visualizer is rooted in contextual volatility exposure and directional bias reinforcement. Through a sophisticated internal mechanism that evaluates local maxima/minima behavior within a compact temporal field, the indicator provides adaptive color‑based candle transitions that align with latent directional pressure.
1. Uses localized equilibrium breach detection to monitor directional intent and exhaustion points.
2. Embeds a dynamically updating framework that reacts to both trend continuation and structural reversals.
3. Avoids false positives by disregarding noisy fluctuations below system‑defined relevance thresholds.
4. Provides non‑repainting, fully forward‑confirmed visual outputs for reliable retrospective analysis.
Hive Visualizer is not designed to be predictive. Instead, it allows traders to observe the evolution of price structure in a cleaner and more digestible format, supporting high-confidence discretionary execution or automated model overlays.
__________________________________________________________________________
✨  FEATURES 
The "Hive Visualizer" comes with a suite of smart features, all designed for amazing clarity, quick reactions, and deeper understanding, making your charting experience truly effortless:
🔹 Easy Range Customization
A super easy "Smoother" setting lets you perfectly adjust how the indicator reacts to recent price changes. This means you can fine-tune it to match exactly how you like to trade
🔹 Instant, Clear Signals
The simple Green and Red candles give you immediate, unmistakable visual cues about strong upward or downward moves, providing insights you can grasp in a heartbeat.
🔹 Smart Continuity in Quiet Times
The clever way it keeps the same color for candles that aren't breaking out offers valuable, subtle insights into those periods when the market is just moving sideways or finding its balance, helping you see the hidden dynamics.
🔹 Seamless Chart Integration
This indicator works like a transparent overlay, appearing directly on your price chart without getting in the way or changing your original candles. It fits perfectly, making your analysis smooth and uninterrupted.
🔹 Clean and Focused Visuals
The indicator’s simple design focuses only on coloring the main candle body and border to clearly highlight important breakouts. This keeps your chart clean and effective, showing you only what truly matters.
🔹 Cross-Market Versatility
This indicator is engineered to perform with precision across all major markets—whether you're trading forex, commodities, stocks, or indices. Its adaptive logic automatically aligns with the unique volatility and structure of each asset class, delivering consistently reliable insights no matter where you trade.
  
__________________________________________________________________________
⚙️  USAGE 
Using and making the "Hive Visualizer" a part of your trading routine is incredibly simple and designed to significantly boost how you understand the market:
Getting Started: Once you have access, just add the "Hive Visualizer" indicator to any chart and timeframe you want on TradingView. It's that easy.
 Tuning the "Smoother" Setting: Go into the indicator's settings and play with the "Smoother" number. This is a crucial step to make it react just right for you.
         Smaller numbers (like 1-3 bars) will make the indicator very quick to react to the most recent, short-term ups and downs, perfect for fast trading.
 
         Larger numbers (like 5-10+ bars) will give you a wider view, smoothing out small changes and highlighting bigger, more important breakouts, ideal for longer-term analysis. Spend a little time trying different settings to find what works best for your chosen asset and your trading style – it's like finding the perfect lens for your market view.
 
 
Understanding the Colors: Once you've set it up, here's how to quickly understand what the "Hive Visualizer" is telling you:  New Green Candle: This means a strong sign that buyers are in control and prices are likely to keep moving up, giving you confidence in bullish moves.
           New Red Candle: This indicates as a strong signal that sellers are dominating and prices are likely to keep moving down, preparing you for bearish shifts.
  
  
   
__________________________________________________________________________
⚠️  LIMITATIONS 
 👉 Visual Guide, Not a Bot: Use as part of a broader strategy—it won’t auto‑trade for you
 👉 Retroactive Insight: It reflects past price action; it doesn’t predict the future.
 👉 Setting‑Dependent: Effectiveness relies on your “Smoother” choice—too low = noise; too high = lag.
 👉 Price‑Range Focused: Highlights trends and range only — doesn’t analyze volume, news, or other complex factors.  
 👉 This tool enhances trend validation but isn’t a standalone signal generator.
█ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 『•••• ✎ ••••』 ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ █
🎯  CONCLUSION 
The "Hive Visualizer" offers an incredibly easy-to-use and adaptable way to see price strength and weakness with crystal clarity on your charts. By giving you instant, clear feedback on whether prices are powerfully breaking out or falling below a recent historical range, it truly empowers you to quickly understand market momentum and spot key turning points. Seamlessly add this smart visual tool into your current trading methods to gain a sharper, more insightful view, and elevate your trading decisions. It's about seeing the market with new eyes.
▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣▣
🚨  RISK DISCLAIMER 
 Engagement in financial market speculation inherently carries a substantial degree of inherent risk, and the potential for capital diminution, potentially exceeding initial deposits, is a pervasive and non-trivial consideration. All content, algorithmic tools, scripts, articles, and educational materials disseminated by "Hive Visualizer" are exclusively purposed for informational and pedagogical objectives, strictly for reference. Historical performance data, whether explicitly demonstrated or implicitly suggested, offers no infallible assurance or guarantee of future outcomes. Users bear sole and ultimate accountability for their individual trading decisions and are emphatically urged to meticulously assess their financial disposition, risk tolerance parameters, and conduct independent due diligence prior to engaging in any speculative market activity. 
MestreDoFOMO MACD VisualMasterDoFOMO MACD Visual
Description
MasterDoFOMO MACD Visual is a custom indicator that combines a unique approach to MACD with stochastic logic and simulated Renko-based direction signals. It is designed to help traders identify entry and exit opportunities based on market momentum and trend changes, with a clear and intuitive visualization.
How It Works
Stylized MACD with Stochastic: The indicator calculates the MACD using EMAs (exponential moving averages) normalized by stochastic logic. This is done by subtracting the lowest price (lowest low) from a defined period and dividing by the range between the highest and lowest price (highest high - lowest low). The result is a MACD that is more sensitive to market conditions, magnified by a factor of 10 for better visualization.
Signal Line: An EMA of the MACD is plotted as a signal line, allowing you to identify crossovers that indicate potential trend reversals or continuations.
Histogram: The difference between the MACD and the signal line is displayed as a histogram, with distinct colors (fuchsia for positive, purple for negative) to make momentum easier to read.
Simulated Renko Direction: Uses ATR (Average True Range) to calculate the size of Renko "bricks", generating signals of change in direction (bullish or bearish). These signals are displayed as arrows on the chart, helping to identify trend reversals.
Purpose
The indicator combines the sensitivity of the Stochastic MACD with the robustness of Renko signals to provide a versatile tool. It is ideal for traders looking to capture momentum-based market movements (using the MACD and histogram) while confirming trend changes with Renko signals. This combination reduces false signals and improves accuracy in volatile markets.
Settings
Stochastic Period (45): Sets the period for calculating the Stochastic range (highest high - lowest low).
Fast EMA Period (12): Period of the fast EMA used in the MACD.
Slow EMA Period (26): Period of the slow EMA used in the MACD.
Signal Line Period (9): Period of the EMA of the signal line.
Overbought/Oversold Levels (1.0/-1.0): Thresholds for identifying extreme conditions in the MACD.
ATR Period (14): Period for calculating the Renko brick size.
ATR Multiplier (1.0): Adjusts the Renko brick size.
Show Histogram: Enables/disables the histogram.
Show Renko Markers: Enables/disables the Renko direction arrows.
How to Use
MACD Crossovers: A MACD crossover above the signal line indicates potential bullishness, while below suggests bearishness.
Histogram: Fuchsia bars indicate bullish momentum; purple bars indicate bearish momentum.
Renko Arrows: Green arrows (upward triangle) signal a change to an uptrend; red arrows (downward triangle) signal a downtrend.
Overbought/Oversold Levels: Use the levels to identify potential reversals when the MACD reaches extreme values.
Notes
The chart should be set up with this indicator in isolation for better clarity.
Adjust the periods and ATR multiplier according to the asset and timeframe used.
Use the built-in alerts ("Renko Up Signal" and "Renko Down Signal") to set up notifications of direction changes.
This indicator is ideal for day traders and swing traders who want a visually clear and functional tool for trading based on momentum and trends.
SuperSmoothed Volume Zone Oscillator------------------------------------------------------------------------------------
                 SUPERSMOOTHED VOLUME ZONE OSCILLATOR (SSVZO)
                        TECHNICAL INDICATOR DOCUMENTATION
------------------------------------------------------------------------------------
Table of Contents:
1. Original VZO Background
2. SuperSmoother Technology
3. SSVZO Components
   3.1. Main SSVZO Oscillator
   3.2. Momentum Velocity Component
   3.3. Adaptive Levels
   3.4. Static Levels
   3.5. Trend Shift Detection
   3.6. Glow Effect Visualization
4. References & Further Reading
------------------------------------------------------------------------------------
1. ORIGINAL VOLUME ZONE OSCILLATOR (VZO) BACKGROUND
------------------------------------------------------------------------------------
Creator: Walid Khalil (November 2009, Technical Analysis of Stocks & Commodities)
History: Khalil designed the VZO to address limitations in other volume indicators 
by focusing on the relative balance between buying and selling volume while filtering 
out market noise. The indicator identifies accumulation and distribution patterns.
Traditional Usage: The classic VZO uses a 14-period calculation setting and is
interpreted on a scale from -60% to +60%:
- Readings above +40% indicate strong buying pressure (potential overbought)
- Readings below -40% indicate strong selling pressure (potential oversold)
- The zero line acts as a key reference for trend changes
- Divergences between VZO and price offer valuable trading signals
Difference from Other Volume Indicators: Unlike simple volume indicators that only
track total volume, the VZO tracks the relative difference between up-volume and
down-volume, more effectively identifying buying/selling pressure imbalances and
potential reversal points.
------------------------------------------------------------------------------------
2. SUPERSMOOTHER FILTER TECHNOLOGY
------------------------------------------------------------------------------------
Creator: John F. Ehlers, an engineer specializing in digital signal processing for
trading systems.
Origins: Introduced in "Rocket Science for Traders" (2001) and refined in "Cybernetic
Analysis for Stocks and Futures" (2004). Represents the application of digital signal
processing techniques to financial markets.
Technical Foundation: The SuperSmoother is a two-pole low-pass filter specifically
designed to eliminate noise while preserving the underlying signal. It combines
principles of Butterworth and Gaussian filters to minimize both phase shift and
passband ripple.
Mathematical Implementation:
  a1 = exp(-π * sqrt(2) / period)
  b1 = 2 * a1 * cos(sqrt(2) * π / period)
  c2 = b1
  c3 = -a1²
  c1 = 1 - c2 - c3
Advantages Over Traditional Filters:
- Reduces lag compared to simple moving averages
- Eliminates high-frequency market noise more effectively
- Minimizes unwanted ripples in the output signal
- Preserves important turning points in the data
- Superior handling of sudden market movements
According to Ehlers: "Conventional moving averages are plagued by excessive lag and/or
rippling in their passband. The SuperSmoother eliminates virtually all of this ripple
and has excellent transient response characteristics." (TASC Magazine, 2014)
------------------------------------------------------------------------------------
3. SSVZO COMPONENTS
------------------------------------------------------------------------------------
3.1. MAIN SSVZO OSCILLATOR
------------------------------------------------------------------------------------
Description: The core component measuring buying vs. selling volume pressure using
the SuperSmoother filter for enhanced noise reduction.
Calculation: SSVZO analyzes the relationship between up-volume (volume on rising
prices) and down-volume (volume on falling prices), applying exponential moving
averages to both components, then calculating their relative strength. The
SuperSmoother filter reduces market noise while preserving the underlying trend signal.
Implementation Advantage: By applying the SuperSmoother filter to the VZO calculation,
the SSVZO provides significantly cleaner signals with fewer false crossovers and more
accurate identification of true trend changes.
Interpretation:
- Values above zero indicate bullish volume dominance
- Values below zero indicate bearish volume dominance
- Readings above +60 suggest overbought conditions
- Readings below -60 suggest oversold conditions
- Crossovers of the zero line signal potential trend changes
Trading Application: Use SSVZO as a primary volume-based momentum indicator to
confirm price trends, identify divergences, and spot potential reversal zones.
------------------------------------------------------------------------------------
3.2. MOMENTUM VELOCITY COMPONENT
------------------------------------------------------------------------------------
Description: A histogram displaying the rate of change of momentum, showing how
quickly buying or selling pressure is accelerating or decelerating.
Calculation: Derived from price momentum over a user-defined period, with optional
adaptive filtering that adjusts sensitivity based on market volatility. The velocity
component shows the first derivative of momentum – essentially the "acceleration" of
market movement.
Technical Origin: Inspired by Ehlers' work on Hilbert Transforms and research on
cyclic components in financial markets, as detailed in "Cycle Analytics for Traders"
(2013).
Interpretation:
- Positive readings (teal bars) indicate accelerating upward momentum
- Negative readings (orange bars) suggest accelerating downward momentum
- Larger bars indicate stronger momentum acceleration
- Shrinking bars signal momentum deceleration
Trading Application: Use as an early warning system for potential trend exhaustion
or confirmation of a new trending move. When momentum velocity diverges from price,
it often precedes a reversal.
------------------------------------------------------------------------------------
3.3. ADAPTIVE LEVELS
------------------------------------------------------------------------------------
Description: Dynamic overbought and oversold boundaries that adjust to market
conditions, providing context-aware trading signals.
Calculation: Uses statistical methods based on the standard deviation of the SSVZO
values over a longer period. These levels automatically widen during higher volatility
periods and narrow during consolidation.
Research Base: Draws from Perry Kaufman's work on Adaptive Moving Averages (AMA) and
Bollinger's research on dynamic volatility bands, as published in "Trading Systems
and Methods" (2013).
Interpretation:
- Adaptive Overbought (dotted circles above): Dynamic ceiling that expands/contracts
  based on market volatility
- Adaptive Oversold (dotted circles below): Dynamic floor that expands/contracts based
  on market volatility
Trading Application: More reliable for identifying extremes than static levels,
particularly in changing market conditions or different instruments. Touching these
levels often provides higher-probability reversal signals.
------------------------------------------------------------------------------------
3.4. STATIC LEVELS
------------------------------------------------------------------------------------
Description: Fixed overbought and oversold horizontal lines that provide consistent
reference points for excess market conditions.
Calculation: Preset at +60 (overbought) and -60 (oversold) based on historical
analysis of volume behavior across multiple markets, extending the classic VZO range.
Interpretation:
- Readings above +60 suggest potential buying exhaustion
- Readings below -60 indicate potential selling exhaustion
- Duration spent beyond these levels correlates with reversal probability
Trading Application: Use as baseline reference points for extreme conditions. Most
effective when combined with other confirmation signals like divergences or
candlestick patterns.
------------------------------------------------------------------------------------
3.5. TREND SHIFT DETECTION
------------------------------------------------------------------------------------
Description: Visual markers and optional background shading highlighting potential
trend changes when the SSVZO crosses the zero line.
Calculation: Based on mathematical crossovers of the SSVZO value above or below the
zero line, with pattern recognition to reduce false signals.
Research Foundation: Incorporates concepts from Dr. Alexander Elder's "triple screen
trading system" and Mark Chaikin's volume-based trend identification research.
Interpretation:
- Upward triangles indicate bullish trend shifts (SSVZO crossing above zero)
- Downward triangles indicate bearish trend shifts (SSVZO crossing below zero)
- Background shading emphasizes the new trend direction
Trading Application: These signals often precede price trend changes and can serve
as entry triggers when aligned with the higher timeframe trend.
------------------------------------------------------------------------------------
3.6. GLOW EFFECT VISUALIZATION
------------------------------------------------------------------------------------
Description: An aesthetic enhancement creating a gradient "glow" around the main SSVZO
line, improving visual clarity and emphasizing signal strength.
Calculation: Generated using percentage-based bands around the main SSVZO value, with
multiple translucent layers to create a subtle illumination effect.
Design Inspiration: Inspired by modern UI/UX design principles for financial
dashboards and the MATS (Moving Average Trend Sniper) indicator's visual presentation,
enhancing perception of signal strength through visual intensity.
Interpretation:
- Teal glow indicates positive SSVZO values (bullish)
- Orange glow indicates negative SSVZO values (bearish)
- Glow intensity correlates with the strength of the signal
Trading Application: Beyond aesthetics, the glow creates visual emphasis that makes
trend direction, strength, and changes more immediately apparent, particularly useful
during fast-moving market conditions.
------------------------------------------------------------------------------------
4. REFERENCES & FURTHER READING
------------------------------------------------------------------------------------
1. Ehlers, J. F. (2001). "Rocket Science for Traders: Digital Signal Processing
   Applications." John Wiley & Sons.
2. Ehlers, J. F. (2004). "Cybernetic Analysis for Stocks and Futures: Cutting-Edge
   DSP Technology to Improve Your Trading." John Wiley & Sons.
3. Ehlers, J. F. (2013). "Cycle Analytics for Traders: Advanced Technical Trading
   Concepts." John Wiley & Sons.
4. Khalil, W. (2009). "The Volume Zone Oscillator." Technical Analysis of Stocks &
   Commodities, November 2009.
5. Kaufman, P. J. (2013). "Trading Systems and Methods." 5th Edition, Wiley Trading.
6. Elder, A. (2002). "Come Into My Trading Room: A Complete Guide to Trading."
   John Wiley & Sons.
7. Bollinger, J. (2002). "Bollinger on Bollinger Bands." McGraw-Hill Education.
------------------------------------------------------------------------------------
                             END OF DOCUMENTATION
------------------------------------------------------------------------------------
NexAlgo AI with Dynamic TP/SLThe NexAlgo Indicator combines a Gaussian kernel regression engine with adaptive volatility thresholds to generate clear, data‑driven trade signals and built‑in risk levels. It predicts the next bar’s price relative to a simple moving average, then measures the average deviation between actual and forecasted values to form dynamic bands. Breakouts beyond these bands, aligned with the prediction’s direction, produce buy or sell signals directly on your chart.
 How It Works & What You’ll See
 
Kernel Regression Forecast: A rolling “lookback” window builds a Gaussian similarity matrix of recent prices. This matrix is used to project the next price, smoothing around a moving average.
Adaptive Volatility Bands: The indicator computes the mean absolute error between actual and predicted prices, multiplies it by your chosen volatility factor, and plots upper and lower bands.
Signal Triggers: When price closes above the upper band while the prediction is rising, a green “BUY” label appears; when price closes below the lower band as the forecast falls, a red “SELL” label is shown.
Automatic SL/TP Levels: After each signal, the script scans recent swing highs/lows and applies an ATR buffer. Stop‑loss is set conservatively at the more protective of these levels, while take‑profit is calculated by your reward‑to‑risk ratio and capped near the opposite swing extreme.
 Customizable Inputs
 
Lookback Period & Smoothing: Adjust how many bars the regression and volatility calculations use, and tune the noise regularization to suit fast or slow markets.
Volatility Multiplier: Widen or tighten the adaptive bands to control signal frequency and confidence.
Swing Lookback & ATR Options: Define how far back the indicator searches for swing points, and choose between ATR calculation methods.
Reward‑to‑Risk Ratio: Set your preferred multiple of stop‑loss distance for take‑profit targets.
 What Makes NexAlgo Different
 
Hybrid Statistical Approach: Unlike fixed‑period moving averages or standard regression, the Gaussian kernel adapts locally to evolving price patterns and regimes.
Self‑Adjusting Thresholds: Volatility bands derive from prediction errors—so they expand in choppy markets and contract in trending conditions.
Integrated Risk Controls: Automatically calculated stop‑loss and take‑profit levels remove manual guesswork, yet remain grounded in both ATR and price structure.
Trader‑Driven Flexibility: Every parameter—from lookback length to risk ratio—can be dialed in for scalping, swing trading, or longer‑term strategies.
Getting Started
• Apply NexAlgo to your preferred timeframe (5–15 min for intraday scalps, 1 h–4 h for swings, daily for position plays).
• Begin with default settings and gradually adjust lookback and smoothing to balance responsiveness versus noise.
• Experiment with volatility multipliers: tighten in strong trends, widen when markets churn.
• Backtest different ATR buffers and reward ratios to discover your ideal risk‑reward profile.
Volume Block Order AnalyzerCore Concept 
The Volume Block Order Analyzer is a sophisticated Pine Script strategy designed to detect and analyze institutional money flow through large block trades. It identifies unusually high volume candles and evaluates their directional bias to provide clear visual signals of potential market movements.
 How It Works: The Mathematical Model 
1. Volume Anomaly Detection
The strategy first identifies "block trades" using a statistical approach:
 ```
avgVolume = ta.sma(volume, lookbackPeriod)
isHighVolume = volume > avgVolume * volumeThreshold
``` 
This means a candle must have volume exceeding the recent average by a user-defined multiplier (default 2.0x) to be considered a significant block trade.
2. Directional Impact Calculation
For each block trade identified, its price action determines direction:
- Bullish candle (close > open): Positive impact
- Bearish candle (close < open): Negative impact
The magnitude of impact is proportional to the volume size:
 ```
volumeWeight = volume / avgVolume  // How many times larger than average
blockImpact = (isBullish ? 1.0 : -1.0) * (volumeWeight / 10)
``` 
This creates a normalized impact score typically ranging from -1.0 to 1.0, scaled by dividing by 10 to prevent excessive values.
3. Cumulative Impact with Time Decay
The key innovation is the cumulative impact calculation with decay:
 ```
cumulativeImpact := cumulativeImpact * impactDecay + blockImpact
``` 
This mathematical model has important properties:
- Recent block trades have stronger influence than older ones
- Impact gradually "fades" at rate determined by decay factor (default 0.95)
- Sustained directional pressure accumulates over time
- Opposing pressure gradually counteracts previous momentum
  Trading Logic 
Signal Generation
The strategy generates trading signals based on momentum shifts in institutional order flow:
1. Long Entry Signal: When cumulative impact crosses from negative to positive
    ```
   if ta.crossover(cumulativeImpact, 0)
       strategy.entry("Long", strategy.long)
   ``` 
   *Logic: Institutional buying pressure has overcome selling pressure, indicating potential upward movement*
2. Short Entry Signal: When cumulative impact crosses from positive to negative
    ```
   if ta.crossunder(cumulativeImpact, 0)
       strategy.entry("Short", strategy.short)
   ``` 
   *Logic: Institutional selling pressure has overcome buying pressure, indicating potential downward movement*
3. Exit Logic: Positions are closed when the cumulative impact moves against the position
    ```
   if cumulativeImpact < 0
       strategy.close("Long")
   ``` 
   *Logic: The original signal is no longer valid as institutional flow has reversed*
 Visual Interpretation System 
The strategy employs multiple visualization techniques:
1. Color Gradient Bar System:
   - Deep green: Strong buying pressure (impact > 0.5)
   - Light green: Moderate buying pressure (0.1 < impact ≤ 0.5)
   - Yellow-green: Mild buying pressure (0 < impact ≤ 0.1)
   - Yellow: Neutral (impact = 0)
   - Yellow-orange: Mild selling pressure (-0.1 < impact ≤ 0)
   - Orange: Moderate selling pressure (-0.5 < impact ≤ -0.1)
   - Red: Strong selling pressure (impact ≤ -0.5)
2. Dynamic Impact Line:
   - Plots the cumulative impact as a line
   - Line color shifts with impact value
   - Line movement shows momentum and trend strength
3. Block Trade Labels:
   - Marks significant block trades directly on the chart
   - Shows direction and volume amount
   - Helps identify key moments of institutional activity
4. Information Dashboard:
   - Current impact value and signal direction
   - Average volume benchmark
   - Count of significant block trades
   - Min/Max impact range
 Benefits and Use Cases 
This strategy provides several advantages:
1. Institutional Flow Detection: Identifies where large players are positioning themselves
2. Early Trend Identification: Often detects institutional accumulation/distribution before major price movements
3. Market Context Enhancement: Provides deeper insight than simple price action alone
4. Objective Decision Framework: Quantifies what might otherwise be subjective observations
5. Adaptive to Market Conditions: Works across different timeframes and instruments by using relative volume rather than absolute thresholds
 Customization Options 
The strategy allows users to fine-tune its behavior:
- Volume Threshold: How unusual a volume spike must be to qualify
- Lookback Period: How far back to measure average volume
- Impact Decay Factor: How quickly older trades lose influence
- Visual Settings: Labels and line width customization
This sophisticated yet intuitive strategy provides traders with a window into institutional activity, helping identify potential trend changes before they become obvious in price action alone.
MultiTime Stochastics ProMultiTime Stochastics Pro 
 This indicator is an enhanced version of the stochastic indicator, featuring two separate stochastics. This functionality allows you to adjust the settings and time frame for each stochastic individually, enabling a more precise analysis of market fluctuations. 
The Double Stochastic indicator enables you to simultaneously analyze the market in different time frames with two separate stochastics. One of the standout features of this indicator is that when the chart's time frame changes, each stochastic is displayed according to the time set for it and does not change in other time frames. This feature provides greater flexibility and accuracy in market analysis.
 How the Indicator Works 
 
 This indicator calculates two separate stochastics:
 The first stochastic (K1 and D1) with its own specific time frame and settings.
 The second stochastic (K2 and D2) with a different time frame and settings.
 
These two stochastics are displayed simultaneously on one chart, and overbought and oversold lines are also included.
 How to Use 
 
 Parameter Adjustment : Adjust the parameters K1 Length, D1 Smoothing, and K1 Time Frame as desired. Do the same for the second stochastic.
 Signal Analysis : Analyze buy and sell signals based on the stochastic values and the overbought and oversold lines.
 
 Advantages 
 
 Greater Precision : With two separate stochastics, you can follow market fluctuations with greater accuracy.
 Flexibility : The ability to individually set the time frame and parameters for each stochastic makes this indicator highly flexible.
 Stronger Signals : The simultaneous display of two stochastics allows you to receive stronger buy and sell signals.
 Multi-time frame Analysis : The ability to analyze the market in different time frames simultaneously.
 
This indicator is suitable for traders seeking more precise and flexible market analysis tools. I hope these explanations help you publish your indicator in the best possible way!
Options Series - NonOverlay_Technical 
  
  
 ⭐ 1. Purpose: 
The script is designed to show technical indicators in a non-overlay form using candlestick representations. It combines multiple popular technical analysis tools to gauge the market's bullish or bearish conditions.
 ⭐ 2. Indicators: 
The script uses several indicators across different timeframes:     Exponential Moving Averages (EMA) for 5, 20, 50 periods.   Simple Moving Average (SMA) for 200 periods.   RSI (Relative Strength Index) for momentum.   VWAP (Volume Weighted Average Price) for average price evaluation.   PSAR (Parabolic SAR) for trend direction.   Daily and multi-day (2-day and 3-day) data for broader market context.  
 ⭐ 3. Candlestick Representation: 
The script uses color-coded candlesticks to visually represent various indicators and their bullish/bearish states:     Green candlesticks for bullish conditions.   Red candlesticks for bearish conditions.   Neutral/transparent for non-significant conditions.  
 ⭐ 4. Important Conditions: 
It calculates bullish and bearish conditions for each indicator:     MA20: When the price is above or below the 20-period EMA.   RSI: When RSI is above or below 50.   VWAP: When the price is above or below the VWAP.   PSAR: When the price is above or below the PSAR.   2-day and 3-day Moving Averages: Evaluating the broader trend.  
 ⭐ 5. Bullish vs. Bearish Calculation: 
The script sums up bullish and bearish signals to determine the overall market condition:     Current_logical_bull: Counts the number of bullish indicators.   Current_logical_bear: Counts the number of bearish indicators.   The script compares these values to conclude whether the market is more bullish or bearish.  
 ⭐ 6. Visual Plotting: 
The script uses plotcandle to display the non-overlay signals at different levels for each condition, stacked vertically from MA20 to PSAR. Additionally, a master candle combines all indicators to show an overall market trend.
 ⭐ 7. Neon Effect on MA20: 
It adds a neon-like effect to the MA20 line, making it visually prominent:     A standard plot line with the base color.   Two additional neon layers with increasing transparency to enhance the effect.  
 ⭐ 8. Daily Timeframes and Lookahead: 
The script fetches daily data using the lookahead feature to get a broader view of the market trend. It tracks the previous day’s and two days' data for comparison.
 ⭐ 9. Labels and Customization: 
The script dynamically adds labels to the chart for the different plotted indicators at the last bar, making it easier to identify which indicator is being represented.
 🚀 Conclusion: 
The script combines multiple technical indicators, such as EMA, RSI, VWAP, PSAR, and multi-day moving averages, to visually assess bullish and bearish market conditions. It uses color-coded candlesticks to represent each indicator and sums up the signals to determine the overall trend.
Big Candle HighlighterBig Candle Highlighter 
The Big Candle Highlighter indicator highlights significant candles based on their percentage difference between the open and close prices. This tool helps traders quickly identify candles with substantial price movements, which can be crucial for spotting key price action, potential reversals, or significant market events.
 Key Features: 
 Percentage Threshold : Customize the minimum percentage difference from open to close required to mark a candle as "big."
 Bullish and Bearish Markers : Bullish big candles are marked with a label below the bar in green, while bearish big candles are marked with a label above the bar in red.
 Background Highlighting : Optionally highlight the background of big candles for better visual emphasis.
Inputs:
 Percentage Threshold (% ): Set the percentage threshold to define what constitutes a "big" candle. For example, a threshold of 2.0 means that only candles with a 2% or more difference between open and close will be marked.
 Color for Big Bullish Candle : Choose the color for labeling and highlighting bullish big candles.
 Color for Big Bearish Candle : Choose the color for labeling and highlighting bearish big candles.
 Usage :
This indicator is useful for traders looking to identify significant price movements and potential trading opportunities. By focusing on candles that show substantial changes from open to close, you can better understand market dynamics and make more informed trading decisions.
Add the Big Candle Marker to your charts to enhance your technical analysis and stay ahead of market trends.
Fisher Transform on RSIOverview 
The  Fisher Transform on RSI  indicator combines the Relative Strength Index (RSI) with the Fisher Transform to offer a refined tool for identifying market turning points and trends. By applying the Fisher Transform to the RSI, this indicator converts RSI values into a Gaussian normal distribution, enhancing the precision of detecting overbought and oversold conditions. This method provides a clearer and more accurate identification of potential market reversals than the standard RSI.
 Key/Unique Features 
 
 Fisher Transform Applied to RSI : Transforms RSI values into a Gaussian normal distribution, improving the detection of overbought and oversold conditions.
 Smoothing : Applies additional smoothing to the Fisher Transform, reducing noise and providing clearer signals.
 Signal Line : Includes a signal line to identify crossover points, indicating potential buy or sell signals.
 Custom Alerts : Built-in alert conditions for bullish and bearish crossovers, keeping traders informed of significant market movements.
 Visual Enhancements : Background color changes based on crossover conditions, offering immediate visual cues for potential trading opportunities.
 
 How It Works 
 
 RSI Calculation : The indicator calculates the Relative Strength Index (RSI) based on the selected source and period length.
 Normalization : The RSI values are normalized to fit within a range of -1 to 1, which is essential for the Fisher Transform.
 Fisher Transform : The normalized RSI values undergo the Fisher Transform, converting them into a Gaussian normal distribution.
 Smoothing : The transformed values are smoothed using a simple moving average to reduce noise and provide more reliable signals.
 Signal Line : A signal line, which is a simple moving average of the smoothed Fisher Transform, is plotted to identify crossover points.
 Alerts and Visuals : Custom alert conditions are set for bullish and bearish crossovers, and the background color changes to indicate these conditions.
 
 Usage Instructions 
 
 Trend Identification : Use the Fisher Transform on RSI to identify overbought and oversold conditions with enhanced precision, aiding in spotting potential trend reversals.
 Trade Signals : Monitor the crossovers between the smoothed Fisher Transform and the signal line. A bullish crossover suggests a potential buying opportunity, while a bearish crossover indicates a potential selling opportunity.
 Alerts : Set custom alerts based on the built-in conditions to receive notifications when important crossover events occur, ensuring you never miss a trading opportunity.
 Visual Cues : Utilize the background color changes to quickly identify bullish (green) and bearish (red) conditions, providing immediate visual feedback on market sentiment.
 Complementary Analysis : Combine this indicator with other technical analysis tools and indicators to enhance your overall trading strategy and make more informed decisions.
EngulfScanEngulf Scan
Introduction:
The Engulf Scan indicator helps users identify bullish and bearish engulfing candlestick patterns on their charts. These patterns are often used as signals for trend reversals and are important indicators for traders. Engulf Scan signals are generated when an engulfing pattern is swallowed by another candlestick of the opposite color.The signal of a candle engulfment formation is generated when the 1st candle is engulfed by the 2nd candle and the 2nd candle is engulfed by the 3rd candle.
Features:
Bullish Engulfing Pattern: Indicates the start of an upward trend and typically signals that the market is likely to move higher.
Bearish Engulfing Pattern: Indicates the start of a downward trend and typically signals that the market is likely to move lower.
Color Coding: Users can customize the background colors for bullish and bearish engulfing patterns.
Usage Guide:
Adding the Indicator: Add the "Engulf Scan" indicator to your TradingView chart.
Color Settings: Choose your preferred colors for bullish and bearish engulfing patterns from the indicator settings.
Pattern Detection: View the engulfing patterns on the chart with the specified colors and symbols. These patterns help identify potential trend reversal points.
Parameters and Settings:
Bullish Engulfing Color: Background color for the bullish engulfing pattern.( Green)
Bearish Engulfing Color: Background color for the bearish engulfing pattern. (Red)
Examples:
Bullish Engulfing Example: On the chart below, you can see bullish engulfing patterns highlighted with a green background. (Green)
Bearish Engulfing Example: On the chart below, you can see bearish engulfing patterns highlighted with a red background. (Red)
Frequently Asked Questions (FAQ):
How are engulfing patterns detected?
Engulfing patterns are formed when a candlestick completely engulfs the previous candlestick. For a bullish engulfing pattern, a bullish candlestick follows a bearish one. For a bearish engulfing pattern, a bearish candlestick follows a bullish one.
Which timeframes work best with this indicator?
Engulfing patterns are generally more reliable on daily and higher timeframes, but you can test the indicator on different timeframes to see if it fits your trading strategy.
Can I detect a reversal or trend?
As can be seen in the image, it sometimes appears as a return signal and sometimes as a harbinger of an ongoing trend.But it may be a mistake to use the indicator only for these purposes. However, this indicator may not be sufficient when used alone. It can be combined with different indicators from the Tradingview library.
Updates and Changelog:
v1.0: Initial release. Added detection and color coding for bullish and bearish engulfing patterns.
-Please feel free to write your valuable comments and opinions. I attach importance to your valuable opinions so that I can improve myself.
HelperTALibrary   "HelperTA" 
This library contains useful technical indicators that I use regularly in my charts.
`stockRSI` is not mine, but included because used often and referenced by internal functions.
`DCO` is a normalisation of the donchian channels; the price relative to the donchian channels, on a   range.
`MarketCycle` is a weighted aggregate of RSI, Stochastic RSI & DCO (demo on the chart)
 
 stockRSI(src, K, D, rsiPeriod, stochPeriod) 
  stockRSI
  Parameters:
     src (float) 
     K (int) 
     D (int) 
     rsiPeriod (simple int) 
     stochPeriod (int) 
  Returns: 
 DCO(price, donchianPeriod, smaPeriod) 
  DCO
  Parameters:
     price (float) 
     donchianPeriod (int) 
     smaPeriod (int) 
  Returns: 
 MarketCycle(donchianPrice, rsiPrice, srsiPrice, donchianPeriod, donchianSmoothing, rsiPeriod, rsiSmoothing, srsiPeriod, srsiSmoothing, srsiK, srsiD, rsiWeight, srsiWeight, dcoWeight) 
  MarketCycle
  Parameters:
     donchianPrice (float) 
     rsiPrice (float) 
     srsiPrice (float) 
     donchianPeriod (simple int) 
     donchianSmoothing (simple int) 
     rsiPeriod (simple int) 
     rsiSmoothing (int) 
     srsiPeriod (simple int) 
     srsiSmoothing (simple int) 
     srsiK (simple int) 
     srsiD (simple int) 
     rsiWeight (simple float) 
     srsiWeight (simple float) 
     dcoWeight (simple float) 
  Returns: 
VolumeIndicatorsLibrary   "VolumeIndicators" 
This is a library of 'Volume Indicators'. 
It aims to facilitate the grouping of this category of indicators, and also offer the customized supply of the source, not being restricted to just the closing price.
 Indicators: 
1. Volume Moving Average (VMA): 
Moving average of volume. Identify trends in trading volume.
2. Money Flow Index (MFI): Measures volume pressure in a range of 0 to 100. 
Calculates the ratio of volume when the price goes up and when the price goes down
3. On-Balance Volume (OBV): 
Identify divergences between trading volume and an asset's price. 
Sum of trading volume when the price rises and subtracts volume when the price falls.
4. Accumulation/Distribution (A/D): 
Identifies buying and selling pressure by tracking the flow of money into and out of an asset based on volume patterns.
5. Chaikin Money Flow (CMF):
A variation of A/D that takes into account the daily price variation and weighs trading volume accordingly.
6. Volume Oscillator (VO):
Identify divergences between trading volume and an asset's price. Ratio of change of volume, from a fast period in relation to a long period.
7. Positive Volume Index (PVI):
Identify the upward strength of an asset. Volume when price rises divided by total volume.
8. Negative Volume Index (NVI):
Identify the downward strength of an asset. Volume when price falls divided by total volume.
9. Price-Volume Trend (PVT):
Identify the strength of an asset's price trend based on its trading volume. Cumulative change in price with volume factor
 vma(length, maType, almaOffset, almaSigma, lsmaOffSet) 
  @description Volume Moving Average (VMA)
  Parameters:
     length : (int) Length for moving average
     maType : (int) Type of moving average for smoothing
     almaOffset : (float) Offset for Arnauld Legoux Moving Average
     almaSigma : (float) Sigma for Arnauld Legoux Moving Average
     lsmaOffSet : (float) Offset for Least Squares Moving Average
  Returns: (float) Moving average of Volume
 mfi(source, length) 
  @description MFI (Money Flow Index).
Uses both price and volume to measure buying and selling pressure in an asset.
  Parameters:
     source : (float) Source of series (close, high, low, etc.)
     length 
  Returns: (float) Money Flow series
 obv(source) 
  @description On Balance Volume (OBV)
Same as ta.obv(), but with customized type of source
  Parameters:
     source : (float) Series
  Returns: (float) OBV
 ad() 
  @description Accumulation/Distribution (A/D)
  Returns: (float) Accumulation/Distribution (A/D) series
 cmf(length) 
  @description CMF (Chaikin Money Flow).
Measures the flow of money into or out of an asset over time, using a combination of price and volume, and is used to identify the strength and direction of a trend.
  Parameters:
     length 
  Returns: (float) Chaikin Money Flow series
 vo(shortLen, longLen, maType, almaOffset, almaSigma, lsmaOffSet) 
  @description Volume Oscillator (VO)
  Parameters:
     shortLen : (int) Fast period for volume
     longLen : (int) Slow period for volume
     maType : (int) Type of moving average for smoothing
     almaOffset 
     almaSigma 
     lsmaOffSet 
  Returns: (float) Volume oscillator
 pvi(source) 
  @description Positive Volume Index (PVI)
Same as ta.pvi(), but with customized type of source
  Parameters:
     source : (float) Series
  Returns: (float) PVI
 nvi(source) 
  @description Negative Volume Index (NVI)
Same as ta.nvi(), but with customized type of source
  Parameters:
     source : (float) Series
  Returns: (float) PVI
 pvt(source) 
  @description Price-Volume Trend (PVT)
Same as ta.pvt(), but with customized type of source
  Parameters:
     source : (float) Series
  Returns: (float) PVI
fontilabLibrary   "fontilab" 
Provides function's indicators for pivot - trend - resistance.
 pivots(src, lenght, isHigh)  Detecting pivot points (and returning price + bar index.
  Parameters:
     src : The chart we analyse.
     lenght : Used for the calcul.
     isHigh : lookging for high if true, low otherwise.
  Returns: The bar index and the price of the pivot.
 calcDevThreshold(tresholdMultiplier, closePrice)  Calculate deviation threshold for identifying major swings.
  Parameters:
     tresholdMultiplier : Usefull to equilibrate the calculate.
     closePrice : Close price of the chart wanted.
  Returns: The deviation threshold.
 calcDev(basePrice, price)  Custom function for calculating price deviation for validating large moves.
  Parameters:
     basePrice : The reference price.
     price : The price tested.
  Returns: The deviation.
 pivotFoundWithLines(dev, isHigh, index, price, dev_threshold, isHighLast, pLast, iLast, lineLast)  Detecting pivots that meet our deviation criteria.
  Parameters:
     dev : The deviation wanted.
     isHigh : The type of pivot tested (high or low).
     index : The Index of the pivot tested.
     price : The chart price wanted.
     dev_threshold : The deviation treshold.
     isHighLast : The type of last pivot.
     pLast : The pivot price last.
     iLast : Index of the last pivot.
     lineLast : The lst line.
  Returns: The Line and bool is pivot High.
 getDeviationPivots(thresholdMultiplier, depth, lineLast, isHighLast, iLast, pLast, deleteLines, closePrice, highPrice, lowPrice)  Get pivot that meet our deviation criteria.
  Parameters:
     thresholdMultiplier : The treshold multiplier.
     depth : The depth to calculate pivot.
     lineLast : The last line.
     isHighLast : The type of last pivot 
     iLast : Index of the last pivot.
     pLast : The pivot price last.
     deleteLines : If the line are draw or not.
     closePrice : The chart close price.
     highPrice : The chart high price.
     lowPrice : The chart low price.
  Returns: All pivot the informations.
 getElIntArrayFromEnd()  Get the last element of an int array.
 getElFloatArrayFromEnd()  Get the last element of an float array.
 getElBoolArrayFromEnd()  Get the last element of a bool array.
 isTrendContinuation(isTrendUp, arrayBounds, lastPrice, precision)  Check if last price is between bounds array.
  Parameters:
     isTrendUp : Is actual trend up.
     arrayBounds : The trend array. 
     lastPrice : The pivot Price that just be found.
     precision : The percent we add to actual bounds to validate a move.
  Returns: na if price is between bounds, true if continuation, false if not.
 getTrendPivots(trendBarIndexes, trendPrices, trendPricesIsHigh, interBarIndexes, interPrices, interPricesIsHigh, isTrendHesitate, isTrendUp, trendPrecision, pLast, iLast, isHighLast)  Function to update array and trend related to pivot trend interpretation.
  Parameters:
     trendBarIndexes : The array trend bar index.
     trendPrices : The array trend price.
     trendPricesIsHigh : The array trend is high.
     interBarIndexes : The array inter bar index.
     interPrices : The array inter price.
     interPricesIsHigh : The array inter ishigh.
     isTrendHesitate : The actual status of is trend hesitate.
     isTrendUp : The actual status of is trend up.
     trendPrecision : The var precision to add in "iscontinuation" function.
     pLast : The last pivot price.
     iLast : The last pivot bar index.
     isHighLast : The last pivot "isHigh".
  Returns: trend & inter arrays, is trend hesitate, is trend up.
 drawBoundLines(startIndex, startPrice, endIndex, endPrice, breakingPivotIndex, breakingPivotPrice, isTrendUp)  Draw bounds and breaking line of the trend.
  Parameters:
     startIndex : Index of the first bound line.
     startPrice : Price of first bound line.
     endIndex : Index of second bound line.
     endPrice : price of second bound line.
     breakingPivotIndex : The breaking line index.
     breakingPivotPrice : The breaking line price.
     isTrendUp : The actual status of the trend.
  Returns: The lines bounds and breaking line.
Technical Analysis & Ratings [SignalCave]Technical Analysis, Technical Ratings 
Technical analysis display real-time ratings. It based on the most popular technical indicators such as RSI, Stochastic, CCI, ADX, AO, Momentum, MACD, Stochastic RSI, Williams %, Ichimoku Cloud, SMA, EMA, VWMA and HMA.
  
 Technical analysis  is a built-in function on TradingView. You can access any asset’s  technical analysis page  and see it’s performance in real time.
 "Technical Analysis & Ratings Indicator"  brings this function into your TradingView charting screen. Indicator allows you to see the same output without visiting any external web page in TradingView. Indicator also works on every timeframe and asset class.
 Technical Ratings  is a technical analysis tool that combines the ratings of several technical indicators to make it easier for traders and investors to find profitable trades.
  
 Technical Ratings  can be a valuable technical analysis tool for many analysts or traders. Many traders use a selection of complementary indicators to make better decisions. Technical Ratings simplifies this task by combining the most popular indicators and their signals.
 Alerts are available  for "Strong Buy, Buy, Natural, Sell and Strong Sell" conditions.
 
 Type  asset name  on symbol search area.
 Adjust your  timeframe  that you wish to track.
 Click  "Create Alert" 
 Select one of the  condition  that you wish to get inform from create alert panel.
 Select  "Once Per Bar Close"  option.
 Click  "Create" .
Indicator PanelHello All, 
This script shows Indicator panel in a Table.  Table.new()  is a new feature and released today! Thanks a lot to  Pine Team  to add this new great feature! This new feature is a game changer!
The script shows indicator values for each symbol and changes background color of each cell by using current and last values of the indicators for each symbol. if current value is greater than last value then backgroung color is green, if lower than last value then red, if they are equals then gray.
You can choose the indicators to display. Number of columns in the table is dynamic and  is changed by number of the indicators.
You can choose 5 different Symbols, 6 Indicators and 2 Simple or Exponential Moving averages, you can set type of moving averages and the lengths. You can also set the lengths for each Indicators.
 Indicators: 
- RSI
- MACD ( MACD and Signal and Histogram )
- DMI ( +DI and -DI + and ADX )
- CCI
- MFI
- Momentum
- MA with Length 50  (length can be set) 
- MA with Length 200  (length can be set) 
In this example RSI, MACD and MA 200 were chosen, you can see how table size changes dynamically:
 Enjoy!
RSI Tops and BottomsHello Traders 
This script finds Tops when RSI is in overbought area or Bottoms when RSI is in oversold area and checks the divergence between them. it checks divergence at tops/bottoms after RSI exited from OB/OS areas.
You can change overbought / oversold levels.
You can limit the time that RSI is in OB/OS area with the option "Max Number of Bars in OB/OS"
you can set the minimum/maximum distances between Tops/Bottoms with the options "Min Number of Bars between Tops/Bottoms" and "Max Number of Bars between Topss/Bottoms"
and you can set the color and line widths as you wish.
These tops or bottom must be sequential, means there mustn't be another top while checking tops or bottom while checking bottoms between them.
in next example you can see valid and invalid bottoms:
After you got signal then you better use Stop Order, a few pips higher than the high of colored candle for long positions, ( vise versa in short positions ). so you may escape from traps.  ("Stop order" is filled when the price reached a pre-specified price. for example the price is now 10.0 and you set Buy Stop Order at 11.0 then if price reaches 11.0 then your buy order get filled. you can put stoploss a few pips lower than the low of colored candle or you can use ATR to decice stoploss level. how you wish) 
For example in following screenshot you can see that buy stop order was not filled and you didn't take long position.
 Enjoy!
Indicator Panel MTF (MACD, RSI, Momentum, Stoch, CCI)This script shows the values of MACD, RSI, Momentum, Stoch, CCI for current and higher time frames in a panel. if higher time frame is equal or smaller than current time frame and it doesn't show the values for HTF.
And also it shows if their values are increasing, decreasing or equal to last value with "▲", "▼",  "="
The signal length for all indicators is 9 and used EMA.
histogram value is indicator value - it's signal value. with this value you can see that indicator and its signal getting closer or not. you may think it's as momentum.
Some functions and idea is used from following scripts:
Thanks to Lucf for the following script:
Thanks to Ricardo Santos for the following script:
Average Indicators Positionsby this script you can see the average level of macd, macd-asprey, rsi, stochastic, cci, momentum, obv, DI, volume weighted macd, cmf indicators within a period. It also calculates and creates the same graph for higher time frame, so you can see average levels for current and higher time frame. you can also check it for divergence/convergence. You can use it as you wish and add/remove indicators.






















