BB37BB37
WHAT IS SUPPORT AND RESISTANT ?
Support and resistance are fundamental concepts in technical analysis used to identify price levels on charts that are likely to act as barriers, preventing the price from moving in a certain direction.
Support:
Definition: Support refers to a price level at which an asset tends to stop falling because demand is strong enough to prevent further declines. It acts as a "floor" for the price, where buyers step in to buy the asset, causing the price to rebound or stabilize.
Example: If a stock is trading at $50 and repeatedly fails to drop below that level, $50 would be considered a support level.
Resistance:
Definition: Resistance is the opposite of support. It refers to a price level at which selling pressure is strong enough to prevent the price from rising further. It acts as a "ceiling," where sellers are more willing to sell, causing the price to reverse or consolidate.
Example: If the price of an asset repeatedly fails to rise above $100, $100 would be considered a resistance level.
In Practice:
Support and resistance levels are used by traders to make decisions about buying and selling. If the price approaches support, traders may see it as a potential buying opportunity. If the price approaches resistance, they may consider selling or shorting the asset.
If price breaks through a support or resistance level, it can signal a significant price movement. For example, a price moving above resistance may indicate an uptrend, while a price falling below support could indicate a downtrend.
These levels are not always exact and may vary slightly, often being identified as areas rather than precise lines on a chart. They are key tools for understanding market psychology and price behavior.
Indicatori e strategie
Relative Strength of a stock vs NIFTY SMALLCAPRelative Strength vs NIFTY SMALLCAP
This indicator measures the relative strength (RS) of any stock compared to the NIFTY Smallcap Index. It helps traders identify whether a stock is outperforming or underperforming the Smallcap market over a selected period.
The indicator is based on relative performance comparison rather than absolute price movement, making it useful for stock selection, rotation strategies, and trend confirmation.
How it works
The indicator compares the stock’s price performance with the NIFTY Smallcap index over a defined lookback period. Relative Strength is calculated as the ratio of stock performance to index performance and is normalized around a zero line.
Interpretation
RS above zero means the stock is outperforming the Smallcap index.
RS below zero means the stock is underperforming the Smallcap index.
A rising RS line indicates improving relative strength.
A falling RS line indicates weakening relative strength.
Features
Zero line for quick outperform or underperform identification.
Dynamic RS coloring based on positive or negative strength.
Optional moving average of Relative Strength to identify RS trends.
RS trend angle to visualize strength momentum.
Price confirmation bubbles to align relative strength with price trend.
Reference date label showing the comparison start point.
Alert conditions for rising and declining relative strength.
Best use cases
Smallcap stock selection.
Identifying leaders and laggards within the Smallcap universe.
Trend confirmation for swing and positional trading.
Market and stock rotation analysis.
Avoiding weak stocks during strong market phases and vice versa.
Notes
Default comparison index is NIFTY Smallcap 250.
Works on all timeframes.
Designed as a non-repainting indicator.
This indicator is for analysis and educational purposes only and should not be used as a standalone trading system.
Relative Strength of a Stock vs NIFTY SMALLCAPRelative Strength vs NIFTY SMALLCAP
This indicator measures the relative strength (RS) of any stock compared to the NIFTY Smallcap Index. It helps traders identify whether a stock is outperforming or underperforming the Smallcap market over a selected period.
The indicator is based on relative performance comparison rather than absolute price movement, making it useful for stock selection, rotation strategies, and trend confirmation.
How it works
The indicator compares the stock’s price performance with the NIFTY Smallcap index over a defined lookback period. Relative Strength is calculated as the ratio of stock performance to index performance and is normalized around a zero line.
Interpretation
RS above zero means the stock is outperforming the Smallcap index.
RS below zero means the stock is underperforming the Smallcap index.
A rising RS line indicates improving relative strength.
A falling RS line indicates weakening relative strength.
Features
Zero line for quick outperform or underperform identification.
Dynamic RS coloring based on positive or negative strength.
Optional moving average of Relative Strength to identify RS trends.
RS trend angle to visualize strength momentum.
Price confirmation bubbles to align relative strength with price trend.
Reference date label showing the comparison start point.
Alert conditions for rising and declining relative strength.
Best use cases
Smallcap stock selection.
Identifying leaders and laggards within the Smallcap universe.
Trend confirmation for swing and positional trading.
Market and stock rotation analysis.
Avoiding weak stocks during strong market phases and vice versa.
Notes
Default comparison index is NIFTY Smallcap 100.
Works on all timeframes.
Designed as a non-repainting indicator.
This indicator is for analysis and educational purposes only and should not be used as a standalone trading system.
Simply BB WidthSimply BB Width
Plots the difference between the upper Bollinger Band and the lower Bollinger Band. That's it.
FOREXSOM EMA Crossover Buy & Sell IndicatorFOREXSOM EMA Crossover Buy & Sell Indicator
The FOREXSOM EMA Crossover Buy & Sell Indicator is a lightweight technical analysis tool designed to help traders visualize trend direction and momentum shifts using a dual Exponential Moving Average (EMA) framework.
This script plots a fast EMA and a slow EMA on the price chart and highlights potential BUY and SELL points when a crossover occurs. While EMA crossovers are a well-known concept, this indicator focuses on clarity, simplicity, and practical usability, making it suitable for traders who want a clean visual representation of trend changes without additional complexity.
How the indicator works
A BUY signal is displayed when the fast EMA crosses above the slow EMA, indicating a potential bullish momentum shift.
A SELL signal is displayed when the fast EMA crosses below the slow EMA, indicating a potential bearish momentum shift.
Both EMA lengths are fully adjustable, allowing users to adapt the indicator to different markets, timeframes, and personal trading preferences.
What makes this script useful
Clear visual signals directly on the chart
Adjustable EMA parameters for flexibility
Minimal design that does not clutter the chart
Works across Forex, stocks, indices, and cryptocurrencies
Can be combined with market structure, support and resistance, or higher-timeframe analysis
Usage notes and limitations
EMA crossover signals are most effective in trending market conditions and may generate false signals during sideways or low-volatility periods. This indicator does not attempt to predict price movement or filter market conditions on its own.
This script is intended for educational and technical analysis purposes only. It does not provide financial advice and does not guarantee trading outcomes. Users should apply proper risk management and use additional confirmation methods when making trading decisions.
Three pillar rule + YTD line with color coding in the info boxThe script objectively shows you whether a market should be "held" from an annual, trend and YTD point of view - or not.
The infobox summarizes all three core statements:
Component statement
Beginning of the year: Was the start of the year positive?
YTD: Is the market above last year's level?
SMA: Is the market above the long-term trend? Positive?
Representation in the info box
Arrows/symbols (configurable)
Green/Red
Freely positionable in the chart
Typical use in practice
1. As bias filter
"Am I acting more long or defensive today?"
2. For position trading
"Can I buy pullbacks or just sell them?"
3. For Investments/ETFs/Crypto
"Hold or reduce risk?"
The script is not a
❌ No entry signal
❌ No exit signal
❌ No short-term trading indicator
The script follows Andre Stagge's three-thumb rule
First Candle RuleCaptures the 09:30–09:35 EST opening range on a 5-minute chart
Draws the high/low lines, optional midline, and a shaded box until 16:30 EST
Computes breakout signals every bar and then gates them by session/range readiness to satisfy the consistency warning
Multi TF Cierre de velas mayoresCuenta regresiva para el cierre de velas de H4, H8, H12 y TM personalizado
SOL Short EMA165 Failed ReclaimThis script identifies short opportunities on SOL when price attempts to reclaim the EMA 165 but fails.
A signal is generated when price trades above the EMA 165 and then closes back below it on the selected timeframe.
The script plots the EMA 165 and triggers an alert() for use with external execution (e.g. Bitget signal bots).
Designed for reliability and clean alert execution.
MACD Histogram Expansion Alerts (Scalp)Purpose: Alerts when MACD histogram is expanding (momentum increasing) rather than simply crossing. Designed for 1-minute scalping and intraday momentum confirmation.
This script is for traders who are tired of late MACD cross alerts.
Instead of firing when MACD lines cross (which often happens after the move), this indicator alerts when the MACD histogram is expanding — meaning momentum is actually increasing right now, not rolling over.
I use it as a “heads up” alert, not a buy/sell signal. When it fires, I check price action, volume, VWAP, support/resistance, etc., to see if the move is worth trading.
Best suited for 1-minute charts, scalping, and fast intraday momentum.
MACD Histogram Expansion Alerts (Scalp) is a lightweight alert-focused indicator designed for intraday traders and scalpers, particularly on lower timeframes such as the 1-minute chart.
Rather than triggering alerts on standard MACD line crossovers (which tend to lag in fast or volatile markets), this script detects MACD histogram expansion — a condition that indicates momentum acceleration, not just direction.
🔍 What this script does
Uses a fast MACD configuration suitable for lower timeframes
Monitors the MACD histogram slope and magnitude
Triggers alerts only when the histogram expands for multiple consecutive bars
Alerts are fired on bar close only, reducing noise and false intrabar signals
🚀 Why focus on histogram expansion?
Histogram expansion highlights when momentum is building, which can be useful for:
Continuation setups
Early momentum confirmation
Avoiding entries when momentum is already fading
This approach is especially helpful in small caps, news-driven stocks, and volatile intraday instruments, where traditional MACD cross alerts can arrive too late.
🔔 Alert Types
Bullish MACD Histogram Expansion
Bearish MACD Histogram Expansion
Each alert can be enabled independently and is intended as an attention signal, not a standalone trading system.
⚙️ Customizable Inputs
MACD Fast / Slow / Signal lengths
Number of consecutive expanding histogram bars required
Optional minimum histogram magnitude filter
Optional directional filter (above/below zero line)
⚠️ Important Notes!!!!
This script does not place trades
Alerts should be used with additional context, such as price action, volume, VWAP, or support/resistance
Not designed for higher-timeframe or swing trading use .
If you find this helpful, feel free to adapt it to your own trading style or timeframe. This script is meant to be simple, flexible, and non-opinionated.
NQ Scalp EMA Reclaim EMA Momentum Pullback Indicator
What it does (typical EMA method used for momentum trading):
Trend filter: Fast EMA above Slow EMA = bullish bias; below = bearish bias
Entry: In bullish bias, wait for a pullback to the EMA “zone”, then a reclaim candle → BUY
In bearish bias, pullback into zone then rejection → SELL
Optional 200 EMA filter (only take longs above 200, shorts below 200)
Timeframe WatermarkA clean, minimal watermark indicator that displays the current chart timeframe as a large, semi-transparent text overlay.
Features:
Automatically formats timeframes (1M, 15M, 1H, 4H, 1D, 1W, etc.)
Fully customizable appearance
9 position options (corners, edges, center)
Adjustable transparency for non-intrusive display
Works on all chart types and timeframes
Settings:
Appearance
Color : Watermark text color (default: gray)
Transparency : 0 = solid, 100 = invisible (default: 85)
Size : Tiny / Small / Normal / Large / Huge
Position
Vertical : Top / Middle / Bottom
Horizontal : Left / Center / Right
Use Cases:
Quick timeframe reference when analyzing multiple charts
Screenshot clarity for sharing chart analysis
Multi-monitor setups where timeframe visibility matters
Lightweight overlay indicator with zero impact on chart performance.
[GYTS] VolatilityToolkit LibraryVolatilityToolkit Library
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- INTRODUCTION --------- 🌸
💮 What Does This Library Contain?
VolatilityToolkit provides a comprehensive suite of volatility estimation functions derived from academic research in financial econometrics. Rather than relying on simplistic measures, this library implements range-based estimators that extract maximum information from OHLC data — delivering estimates that are 5–14× more efficient than traditional close-to-close methods.
The library spans the full volatility workflow: estimation, smoothing, and regime detection.
💮 Key Categories
• Range-Based Estimators — Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang (academically-grounded variance estimators)
• Classical Measures — Close-to-Close, ATR, Chaikin Volatility (baseline and price-unit measures)
• Smoothing & Post-Processing — Asymmetric EWMA for differential decay rates
• Aggregation & Regime Detection — Multi-horizon blending, MTF aggregation, Volatility Burst Ratio
💮 Originality
To the best of our knowledge, no other TradingView script combines range-based estimators (Parkinson, Garman-Klass, Rogers-Satchell, Yang-Zhang), classical measures, and regime detection tools in a single package. Unlike typical volatility implementations that offer only a single method, this library:
• Implements four academically-grounded range-based estimators with proper mathematical foundations
• Handles drift bias and overnight gaps, issues that plague simpler estimators in trending markets
• Integrates with GYTS FiltersToolkit for advanced smoothing (10 filter types vs. typical SMA-only)
• Provides regime detection tools (Burst Ratio, MTF aggregation) for systematic strategy integration
• Standardises output units for seamless estimator comparison and swapping
🌸 --------- ADDED VALUE --------- 🌸
💮 Academic Rigour
Each estimator implements peer-reviewed methodologies with proper mathematical foundations. The library handles aspects that are easily missed, e.g. drift independence, overnight gap adjustment, and optimal weighting factors. All functions include guards against edge cases (division by zero, negative variance floors, warmup handling).
💮 Statistical Efficiency
Range-based estimators extract more information from the same data. Yang-Zhang achieves up to 14× the efficiency of close-to-close variance, meaning you can achieve the same estimation accuracy with far fewer bars — critical for adapting quickly to changing market conditions.
💮 Flexible Smoothing
All estimators support configurable smoothing via the GYTS FiltersToolkit integration. Choose from 10 filter types to balance responsiveness against noise reduction:
• Ultimate Smoother (2-Pole / 3-Pole) — Near-zero lag; the 3-pole variant is a GYTS design with tunable overshoot
• Super Smoother (2-Pole / 3-Pole) — Excellent noise reduction with minimal lag
• BiQuad — Second-order IIR filter with quality factor control
• ADXvma — Adaptive smoothing based on directional volatility
• MAMA — Cycle-adaptive moving average
• A2RMA — Adaptive autonomous recursive moving average
• SMA / EMA — Classical averages (SMA is default for most estimators)
Using Infinite Impulse Response (IIR) filters (e.g. Super Smoother, Ultimate Smoother) instead of SMA avoids the "drop-off artefact" where volatility readings crash when old spikes exit the window.
💮 Plug-and-Play Integration
Standardised output units (per-bar log-return volatility) make it trivial to swap estimators. The annualize() helper converts to yearly volatility with a single call. All functions work seamlessly with other GYTS components.
🌸 --------- RANGE-BASED ESTIMATORS --------- 🌸
These estimators utilise High, Low, Open, and Close prices to extract significantly more information about the underlying diffusion process than close-only methods.
💮 parkinson()
The Extreme Value Method -- approximately 5× more efficient than close-to-close, requiring about 80% less data for equivalent accuracy. Uses only the High-Low range, making it simple and robust.
• Assumption: Zero drift (random walk). May be biased in strongly trending markets.
• Best for: Quick volatility reads when drift is minimal.
• Parameters: smoothing_length (default 14), filter_type (default SMA), smoothing_factor (default 0.7)
Source: Parkinson, M. (1980). The Extreme Value Method for Estimating the Variance of the Rate of Return. Journal of Business, 53 (1), 61–65. DOI
💮 garman_klass()
Extends Parkinson by incorporating Open and Close prices, achieving approximately 7.4× efficiency over close-to-close. Implements the "practical" analytic estimator (σ̂²₅) which avoids cross-product terms whilst maintaining near-optimal efficiency.
• Assumption: Zero drift, continuous trading (no gaps).
• Best for: Markets with minimal overnight gaps and ranging conditions.
• Parameters: smoothing_length (default 14), filter_type (default SMA), smoothing_factor (default 0.7)
Source: Garman, M.B. & Klass, M.J. (1980). On the Estimation of Security Price Volatilities from Historical Data. Journal of Business, 53 (1), 67–78. DOI
💮 rogers_satchell()
The drift-independent estimator correctly isolates variance even in strongly trending markets where Parkinson and Garman-Klass become significantly biased. Uses the formula: ln(H/C)·ln(H/O) + ln(L/C)·ln(L/O).
• Key advantage: Unbiased regardless of trend direction or magnitude.
• Best for: Trending markets, crypto (24/7 trading with minimal gaps), general-purpose use.
• Parameters: smoothing_length (default 14), filter_type (default SMA), smoothing_factor (default 0.7)
Source: Rogers, L.C.G. & Satchell, S.E. (1991). Estimating Variance from High, Low and Closing Prices. Annals of Applied Probability, 1 (4), 504–512. DOI
💮 yang_zhang()
The minimum-variance composite estimator — both drift-independent AND gap-aware. Combines overnight returns, open-to-close returns, and the Rogers-Satchell component with optimal weighting to minimise estimator variance. Up to 14× more efficient than close-to-close.
• Parameters: lookback (default 14, minimum 2), alpha (default 1.34, optimised for equities).
• Best for: Equity markets with significant overnight gaps, highest-quality volatility estimation.
• Note: Unlike other estimators, Yang-Zhang does not support custom filter types — it uses rolling sample variance internally.
Source: Yang, D. & Zhang, Q. (2000). Drift-Independent Volatility Estimation Based on High, Low, Open, and Close Prices. Journal of Business, 73 (3), 477–491. DOI
🌸 --------- CLASSICAL MEASURES --------- 🌸
💮 close_to_close()
Classical sample variance of logarithmic returns. Provided primarily as a baseline benchmark — it is approximately 5–8× less efficient than range-based estimators, requiring proportionally more data for the same accuracy.
• Parameters: lookback (default 14), filter_type (default SMA), smoothing_factor (default 0.7)
• Use case: Comparison baseline, situations requiring strict methodological consistency with academic literature.
💮 atr()
Average True Range -- measures volatility in price units rather than log-returns. Directly interpretable for stop-loss placement (e.g., "2× ATR trailing stop") and handles gaps naturally via the True Range formula.
• Output: Price units (not comparable across different price levels).
• Parameters: smoothing_length (default 14), filter_type (default SMA), smoothing_factor (default 0.7)
• Best for: Position sizing, trailing stops, any application requiring volatility in currency terms.
Source: Wilder, J.W. (1978). New Concepts in Technical Trading Systems . Trend Research.
💮 chaikin_volatility()
Rate of Change of the smoothed trading range. Unlike level-based measures, Chaikin Volatility shows whether volatility is expanding or contracting relative to recent history.
• Output: Percentage change (oscillates around zero).
• Parameters: length (default 10), roc_length (default 10), filter_type (default EMA), smoothing_factor (default 0.7)
• Interpretation: High values suggest nervous, wide-ranging markets; low values indicate compression.
• Best for: Detecting volatility regime shifts, breakout anticipation.
🌸 --------- SMOOTHING & POST-PROCESSING --------- 🌸
💮 asymmetric_ewma()
Differential smoothing with separate alphas for rising versus falling volatility. Allows volatility to spike quickly (fast reaction to shocks) whilst decaying slowly (stability). Essential for trailing stops that should widen rapidly during turbulence but narrow gradually.
• Parameters: alpha_up (default 0.1), alpha_down (default 0.02).
• Note: Stateful function — call exactly once per bar.
💮 annualize()
Converts per-bar volatility to annualised volatility using the square-root-of-time rule: σ_annual = σ_bar × √(periods_per_year).
• Parameters: vol (series float), periods (default 252 for daily equity bars).
• Common values: 365 (crypto), 52 (weekly), 12 (monthly).
🌸 --------- AGGREGATION & REGIME DETECTION --------- 🌸
💮 weighted_horizon_volatility()
Blends volatility readings across short, medium, and long lookback horizons. Inspired by the Heterogeneous Autoregressive (HAR-RV) model's recognition that market participants operate on different time scales.
• Default horizons: 1-bar (short), 5-bar (medium), 22-bar (long).
• Default weights: 0.5, 0.3, 0.2.
• Note: This is a weighted trailing average, not a forecasting regression. For true HAR-RV forecasting, it would be required to fit regression coefficients.
Inspired by: Corsi, F. (2009). A Simple Approximate Long-Memory Model of Realized Volatility. Journal of Financial Econometrics .
💮 volatility_mtf()
Multi-timeframe aggregation for intraday charts. Combines base volatility with higher-timeframe (Daily, Weekly, Monthly) readings, automatically scaling HTF volatilities down to the current timeframe's magnitude using the square-root-of-time rule.
• Usage: Calculate HTF volatilities via request.security() externally, then pass to this function.
• Behaviour: Returns base volatility unchanged on Daily+ timeframes (MTF aggregation not applicable).
💮 volatility_burst_ratio()
Regime shift detector comparing short-term to long-term volatility.
• Parameters: short_period (default 8), long_period (default 50), filter_type (default Super Smoother 2-Pole), smoothing_factor (default 0.7)
• Interpretation: Ratio > 1.0 indicates expanding volatility; values > 1.5 often precede or accompany explosive breakouts.
• Best for: Filtering entries (e.g., "only enter if volatility is expanding"), dynamic risk adjustment, breakout confirmation.
🌸 --------- PRACTICAL USAGE NOTES --------- 🌸
💮 Choosing an Estimator
• Trending equities with gaps: yang_zhang() — handles both drift and overnight gaps optimally.
• Crypto (24/7 trading): rogers_satchell() — drift-independent without the lag of Yang-Zhang's multi-period window.
• Ranging markets: garman_klass() or parkinson() — simpler, no drift adjustment needed.
• Price-based stops: atr() — output in price units, directly usable for stop distances.
• Regime detection: Combine any estimator with volatility_burst_ratio().
💮 Output Units
All range-based estimators output per-bar volatility in log-return units (standard deviation). To convert to annualised percentage volatility (the convention in options and risk management), use:
vol_annual = annualize(yang_zhang(14), 252) // For daily bars
vol_percent = vol_annual * 100 // Express as percentage
💮 Smoothing Selection
The library integrates with FiltersToolkit for flexible smoothing. General guidance:
• SMA: Classical, statistically valid, but suffers from "drop-off" artefacts when spikes exit the window.
• Super Smoother / Ultimate Smoother / BiQuad: Natural decay, reduced lag — preferred for trading applications.
• MAMA / ADXvma / A2RMA: Adaptive smoothing, sometimes interesting for highly dynamic environments.
💮 Edge Cases and Limitations
• Flat candles: Guards prevent log(0) errors, but single-tick bars produce near-zero variance readings.
• Illiquid assets: Discretisation bias causes underestimation when ticks-per-bar is small. Use higher timeframes for more reliable estimates.
• Yang-Zhang minimum: Requires lookback ≥ 2 (enforced internally). Cannot produce instantaneous readings.
• Drift in Parkinson/GK: These estimators overestimate variance in trending conditions — switch to Rogers-Satchell or Yang-Zhang.
Note: This library is actively maintained. Suggestions for additional estimators or improvements are welcome.
EMTIA_MASTER_LIBLibrary "EMTIA_MASTER_LIB"
trendUp(emaFast, emaSlow)
Parameters:
emaFast (float)
emaSlow (float)
rsiHealthy(rsi)
Parameters:
rsi (float)
adxStrong(adx, diPlus, diMinus)
Parameters:
adx (float)
diPlus (float)
diMinus (float)
macroSlope(emaFast, emaSlow)
Parameters:
emaFast (float)
emaSlow (float)
structureBull(hh, hl)
Parameters:
hh (bool)
hl (bool)
calcScore(weeklyTrend, dailyTrend, adxOk, rsiOk, structureOk, macroOk)
Parameters:
weeklyTrend (bool)
dailyTrend (bool)
adxOk (bool)
rsiOk (bool)
structureOk (bool)
macroOk (bool)
Ultimate Gold & FX - K-NN Master V83An environment recognition tool integrated with K-NN (K-Nearest Neighbors).
The MACD, STC, and SMC settings are fully customizable. It also features Elliott Wave displays, making it a highly advanced and versatile tool.
Smart VWAP SignalsSmart VWAP Signals
Smart VWAP Signals is an advanced indicator based on the VWAP Intraday V2 strategy, optimized using Grid Search to maximize performance.
⸻
🎯 Key Features
Trading Modes
• BOTH: Combines mean reversion (Separator) and trend-following (KISS) signals
• SEPARATOR: Mean reversion signals only, when price deviates significantly from VWAP
• KISS: Trend-following signals only, aligned with VWAP direction
⸻
🚦 Intelligent Traffic Light System
• 🟢 GREEN: High Profit Factor – trade with confidence
• 🟡 YELLOW: Medium Profit Factor – trade with caution
• 🔴 RED: Low Profit Factor – avoid new entries
⸻
🛡️ Risk Management
• ATR-based Stop Loss with configurable maximum limit
• Flexible Take Profit options:
• VWAP target
• Fixed Risk/Reward ratio
• ATR multiple
• Automatic stop-day after consecutive losses
⸻
🔍 Configurable Filters
• Signal cooldown between trades
• Volatility filter (minimum ATR threshold)
• Trend filter (EMA 200)
• Volume filter
• Multi-timeframe confirmation
⸻
📊 Visualization & Analytics
• Real-time statistics panel
• VWAP with deviation bands
• Trade history with WIN / LOSS percentages
• Entry-to-exit lines
• Fully customizable colors
⸻
⚙️ Optimized Default Parameters
Optimized via Grid Search, achieving:
• ROI: 322%
• Profit Factor: 1.97
• Win Rate: 68.4%
[codapro] Tenkan Cloud Signals
Cloud in the Skys — Tenkan Altitude Signals Above the Kumo
Description:
This is not your average Ichimoku script — this is “Cloud in the Skys”, a reimagined way to interpret the Tenkan line as an airplane navigating altitude around the Kumo cloud layer.
Visual Metaphor Explained:
Tenkan = Airplane
The fast-reacting Conversion Line becomes your flight path.
Cloud (Kumo) = Noise / Airspace
The Ichimoku cloud is your visual weather system. When the plane (Tenkan) is:
Above the cloud → Clear skies, likely breakout, nothing overhead
Inside the cloud → Turbulence zone, indecision, avoid trading
Below the cloud → Descending, seeing ground only, bearish sentiment
This script helps you see trend structure like a pilot sees airspace — visually, directionally, and with awareness of turbulence zones.
What It Includes:
Tenkan (Conversion) and Kijun (Base) line calculations
Full Kumo Cloud (Senkou A & B), with customizable displacement
Buy/Sell Flags based on Kijun crossing the forward-displaced Span B
Only plotted after a user-defined number of confirming closes
Full visual controls: cloud fill, line colors, flag display toggle
How to Use It:
Long Bias: When Tenkan rises above the cloud and Buy flag confirms — sky’s clear
Short Bias: When Tenkan descends and Sell flag confirms — plane is losing lift
Stay Out: If Tenkan is inside the cloud, wait — this is chop/noise
Pair this script with price action or volume confirmation for better clarity. Especially effective in trend-following or breakout strategies on mid-to-longer timeframes.
Disclaimer:
This tool was created using the CodaPro Pine Script indicator design system — a modular architecture for building visual signal overlays and automated alerts.
It is provided for educational and informational purposes only and is not financial advice. Always test thoroughly before using in live market conditions.
Direction Bias [ Scalping-Algo ]======================================================================
// 📊 Direction Bias
// ======================================================================
//
// 🎯 What this indicator does:
// This indicator colors your candles based on the current market bias.
// 🟢 Green bars = bullish momentum
// 🔴 Red bars = bearish momentum
// ⚪ Gray bars = choppy or undecided market
//
// ⚙️ How it works:
// It uses a range filter that adapts to volatility. When price pushes
// above the filter and keeps moving up, you get green bars. When price
// drops below and continues down, you get red bars. The filter smooths
// out the noise so you don't get whipsawed on every little move.
//
// 📈 How to trade with it:
//
// 1️⃣ Follow the color
// 🟢 Green bars = look for longs only
// 🔴 Red bars = look for shorts only
// ⚪ Gray bars = stay out or reduce size
//
// 2️⃣ Entry timing
// ✅ Wait for color change from gray to green/red
// ✅ Enter on pullbacks while color stays the same
// ❌ Don't chase if you're late to the move
//
// 3️⃣ Exit signals
// 💡 When bars turn gray, tighten your stop or take profits
// 🔄 Color flip to opposite = close the trade
//
// 4️⃣ Best practices
// ⏱️ Works best on 1m to 15m charts for scalping
// 📍 Use with support/resistance levels for better entries
// 🚫 Don't trade against the color, even if you "feel" a reversal
// 📊 Combine with volume for confirmation
//
// 🔧 Settings:
// • Period: Higher = smoother but slower reaction (default 10)
// • Multiplier: Higher = less sensitive to small moves (default 4.0)
// • Adjust based on the asset you're trading
//
// 🔔 Alerts:
// Set alerts for "Bull" and "Bear" to get notified when bias changes.
Growth DashboardThe Multi-Year Growth Dashboard provides a high-level snapshot of an asset’s historical performance directly on your chart. It calculates the total percentage growth for 1-year, 3-year, and 5-year periods based on exact calendar dates.
Unlike simple bar-counting scripts, this indicator uses a "Time-Capsule" logic:
- Calendar Precision: It calculates specific timestamps for 365, 1,095, and 1,825 days ago.
- Persistent Memory: Using the var keyword, the script scans historical bars and "captures" the closing price as it crosses those specific dates.
- Dividend Adjustment: It respects the chart's ADJ (Adjusted for Dividends) toggle, ensuring your total return figures are accurate for stocks like AAPL or MSFT.
lww Crossover Strategy Strategy Description
This strategy is based on the confluence of VWAP, MVWAP, and EMA crossover structure, designed to identify short-term trend continuation opportunities in both long and short directions.
A trade signal is generated only when the fast EMA, slow EMA, and smoothed VWAP are all positioned on the same side of the MVWAP, indicating directional alignment and structural confirmation. Entries occur only at the moment the condition first becomes true, which helps reduce overtrading during ranging or choppy market conditions.
The strategy enforces a one-trade-at-a-time rule, ensuring that no new positions are opened while an existing trade is active.
Risk management is handled through predefined take-profit and stop-loss levels, which are automatically placed upon entry to maintain clear and consistent risk control. An optional setting allows positions to be closed early if an opposite signal appears.
This strategy is suitable for short-term and intraday trading, emphasizing disciplined execution, structural confirmation, and controlled risk exposure.
Advanced Volume & Liquidity SuiteThe Institutional Code is an advanced trading system designed to reveal the footprint of "Smart Money" in the Futures and Indices markets. Unlike traditional indicators that track price, this algorithm tracks Real Volume and Liquidity, comparing retail data with institutional (CME) data to identify zones of manipulation and absorption.
This script transforms your chart into an institutional command board, ideal for trading NQ (Nasdaq), ES (S&P 500), and YM (Dow Jones) with surgical precision.






















