Chris_LEGODescription
Time-Anchored Volatility Grid is a precision analysis tool designed for traders who base their strategies on specific market events (e.g., London/New York Open, News Releases, or Daily Reset).
Unlike standard grid indicators that use arbitrary fixed distances, this tool allows you to "Anchor" the calculation to a specific historical candle. It then captures the market volatility of that exact moment to generate dynamic, context-aware grid levels.
🚀 Key Features
WYSIWYG Timezone Engine (What You See Is What You Get) Most Pine Script indicators struggle with timezone conversions. This version features a custom engine where you simply input the time you see on your chart (e.g., GMT+8). No more manual UTC conversions.
Automated Volatility Capture
Auto-Start Price: Automatically sets the grid origin based on the Low of your anchored candle.
Auto-Gap Calculation: Dynamically calculates the grid spacing based on the High-Low range of the target candle.
Bi-Directional Flexibility Toggle Long (upward) or Short (downward) grids independently. Perfect for hedging strategies or directional bias trading.
Gap Multiplier Fine-tune the grid density by applying a multiplier (e.g., 0.5 for tighter grids, 2.0 for wider swings) to the captured volatility.
Visual Debugging Includes an optional Anchor Line and detailed Data Labels to verify exactly which candle and price data are being used for your calculations.
How to Use
Set Your Anchor: In the settings, input the exact Year, Month, Day, and Time of the candle you want to reference (e.g., the 09:30 opening bell).
Sync Timezone: Ensure the User Timezone field matches the timezone displayed at the bottom right of your TradingView chart (e.g., America/New_York for US Stocks or GMT+8 for Asia).
Choose Logic:
Enable "Use Auto Start Price" to snap the grid to the candle's Low.
Enable "Use Auto Gap" to let the market's volatility define the grid size.
Customize: Adjust the Line Count and Colors to fit your chart theme.
指標和策略
SMA 20 Candle Risk & Contract Sizer (MNQ)his indicator helps traders size contracts based on the distance between the candle close and a 20-period SMA.
It calculates:
• Candle size relative to SMA (with optional buffer)
• Suggested contract count to target a fixed dollar risk
• Estimated total risk per trade
Designed for discretionary scalping workflows on MNQ and similar instruments.
This tool is for informational purposes only and does not place trades.
This script is provided for educational purposes only and does not constitute financial advice. Trading involves risk.
Commodity Channel Index - CCIOverview
This enhanced Commodity Channel Index (CCI) indicator provides traders with a sophisticated visualization of market momentum and trend direction. By combining the classic CCI oscillator with customizable moving averages and advanced visual features, it offers clear signals for identifying bullish and bearish market conditions.
Core Functionality
Indicator Components
CCI Oscillator - Measures how far current price deviates from its statistical average
Moving Average Filter - Smooths CCI values using your choice of 7 MA types
Visual Zones - Color-coded overbought/oversold areas with gradient fills
Market Bias Display - Prominent bullish/bearish label for quick interpretation
Key Features
📊 Customizable Calculations
Adjust CCI period (default: 55) for sensitivity tuning
Select MA type (EMA, SMA, WMA, HMA, etc.) and period (default: 30) for smoothing
Flexible moving average system supporting multiple calculation methods
🎨 Advanced Visualization
Dynamic Color Coding: CCI line turns green when bullish (>50), red when bearish (≤50)
Gradient Fill Zones:
Green gradient between CCI and midline for overbought region (200 to 0)
Red gradient between CCI and midline for oversold region (0 to -100)
Multiple Plot Layers: CCI line, MA line, midline, and fill areas for comprehensive view
🔍 Clear Signal Interpretation
Bullish Condition: CCI > 50 (green zone)
Bearish Condition: CCI ≤ 50 (red zone)
Overbought Warning: CCI in upper gradient zone
Oversold Opportunity: CCI in lower gradient zone
📱 User-Friendly Display
Large "⬆️ Bullish" or "⬇️ Bearish" label in corner for immediate bias assessment
Thick CCI line (width 3) for easy visibility
Yellow MA line for trend direction confirmation
Trading Applications
Trend Identification
Use CCI position relative to 50 midline for trend bias
MA line confirms trend strength and direction
Long periods (110/30) optimized for capturing sustained trends
Potential Reversal Zones
Gradient fills highlight overbought/oversold extremes
Watch for CCI crossing the 50 level for trend change signals
Combine with MA line crosses for confirmation
Market Sentiment Assessment
Quick visual scan of color reveals current market bias
Label provides unambiguous bullish/bearish classification
Multiple timeframes supported through adjustable periods
Usage Recommendations
📈 For Trend Following:
Trade in direction indicated by CCI > 50 (bullish) or ≤ 50 (bearish)
Use MA line as dynamic support/resistance for CCI
Consider entries when CCI pulls back toward 50 in trend direction
🔄 For Mean Reversion:
Watch for extremes in gradient zones for potential reversals
Monitor for CCI crossing back through 50 after reaching extremes
Use MA line as confirmation for reversal validity
⚖️ For Confirmation:
Pair with other indicators for signal confirmation
Use as secondary tool to validate primary trading system signals
Adjust periods to match your trading timeframe
Customization Options
CCI Length: Adjust sensitivity (higher = smoother, lower = more responsive)
MA Type & Length: Choose smoothing method and period
Visual Elements: All colors and fills are built-in but based on logic conditions
Unique Advantages
Immediate Clarity: Color-coding and label remove interpretation ambiguity
Enhanced Visualization: Gradient fills provide intuitive overbought/oversold zones
Dual Analysis: Combines oscillator (CCI) with trend tool (MA) in one view
Flexible Configuration: Multiple MA types accommodate different trading styles
This indicator transforms the traditional CCI into a comprehensive trading tool that provides clear visual cues for market direction, momentum extremes, and trend confirmation—all in a single, customizable package.
Simple Buy Sell DiamondsTuning Tips (in the indicator settings gear icon)
Make diamonds even smaller: Already set to size.tiny — that's the smallest non-micro size.
Earlier buys: Lower fastLength to 7 or 5
Fewer false signals: Increase slowLength to 34 or raise multiplier to 3.5–4.0
More aggressive sells: Lower multiplier to 2.0–2.5
This is now extremely minimal — just price candles + blue/red diamonds. No lines, no fills, no extra indicators visible.
Let me know how it looks on your live SATL/ADUR/ASST charts — if the timing feels right or if you want one more small tweak (e.g., add volume filter, change diamond shape to triangle, etc.).3.9sFast
MJ amd tableAsia, Londong and New york table showing each session what goes to happen depending on the movement of AMD
StolenKernelFunctionsLibrary "StolenKernelFunctions"
This library provides non-repainting kernel functions for Nadaraya-Watson estimator implementations. This allows for easy substition/comparison of different kernel functions for one another in indicators. Furthermore, kernels can easily be combined with other kernels to create newer, more customized kernels.
rationalQuadratic(_src, _lookback, _relativeWeight, startAtBar)
Rational Quadratic Kernel - An infinite sum of Gaussian Kernels of different length scales.
Parameters:
_src (float) : The source series.
_lookback (simple int) : The number of bars used for the estimation. This is a sliding value that represents the most recent historical bars.
_relativeWeight (simple float) : Relative weighting of time frames. Smaller values resut in a more stretched out curve and larger values will result in a more wiggly curve. As this value approaches zero, the longer time frames will exert more influence on the estimation. As this value approaches infinity, the behavior of the Rational Quadratic Kernel will become identical to the Gaussian kernel.
startAtBar (simple int)
Returns: yhat The estimated values according to the Rational Quadratic Kernel.
gaussian(_src, _lookback, startAtBar)
Gaussian Kernel - A weighted average of the source series. The weights are determined by the Radial Basis Function (RBF).
Parameters:
_src (float) : The source series.
_lookback (simple int) : The number of bars used for the estimation. This is a sliding value that represents the most recent historical bars.
startAtBar (simple int)
Returns: yhat The estimated values according to the Gaussian Kernel.
periodic(_src, _lookback, _period, startAtBar)
Periodic Kernel - The periodic kernel (derived by David Mackay) allows one to model functions which repeat themselves exactly.
Parameters:
_src (float) : The source series.
_lookback (simple int) : The number of bars used for the estimation. This is a sliding value that represents the most recent historical bars.
_period (simple int) : The distance between repititions of the function.
startAtBar (simple int)
Returns: yhat The estimated values according to the Periodic Kernel.
locallyPeriodic(_src, _lookback, _period, startAtBar)
Locally Periodic Kernel - The locally periodic kernel is a periodic function that slowly varies with time. It is the product of the Periodic Kernel and the Gaussian Kernel.
Parameters:
_src (float) : The source series.
_lookback (simple int) : The number of bars used for the estimation. This is a sliding value that represents the most recent historical bars.
_period (simple int) : The distance between repititions of the function.
startAtBar (simple int)
Returns: yhat The estimated values according to the Locally Periodic Kernel.
Momentum Average [SWT]
Momentum Average (MMA)
What is the Momentum Average? This is not your typical trend follower. MMA Pro is an algorithmic convergence tool designed for traders who seek to filter market noise and trade with the true momentum on their side. Its core engine allows you to fuse the "DNA" of up to three different moving averages into a single, high-precision "Master Line."
🛠️ Key Tool Benefits
Data Convergence: By averaging up to three different MA types (EMA, SMA, WMA, VWMA, etc.), the indicator eliminates the erratic signals of individual averages, offering a smoothed curve that reacts primarily to institutional movements.
Volatility Visualization (Cloud): Thanks to the "Trend Cloud" between the two primary averages, you can immediately visualize price expansion and contraction.
Visual Confirmation (Pivot Dots): Identify the exact candle where the market slope shifts, ensuring you stay on the right side of the trend.
⚠️ Usage Philosophy: A Confirmation Tool, Not a Signal Generator
It is vital to understand that MMA Pro is not a "blind signal" tool. It is not designed to be traded every time a dot appears. Its true power lies in serving as a high-quality filter and confirmation layer:
Bias Validation: Use it to confirm the direction of your primary strategy. If your system gives a "Buy," the MMA Pro should ideally show bullish momentum.
Entry Filtering: Avoid entries during "chop" or sideways markets when the "Master Line" is flat or pivot dots are frequently flipping.
Exit Management: Many traders use it as a visual Trailing Stop; if the slope changes against your position, it may be time to protect profits.
💡 User Tips:
Nasdaq 1m/5m: Try combining an EMA with a VWMA to capture intraday volume averaged with price action.
Aesthetics: Customize the "Pivot Dots" colors to match your chart theme (Light/Dark).
Global Sessions & Kill Zones [jpkxyz]Global Sessions & ICT Kill Zones Indicator
Overview
The Global Sessions & ICT Kill Zones indicator is a comprehensive trading tool designed to help traders identify and visualize the most critical time periods in the 24-hour forex and futures markets. This indicator combines traditional trading session analysis with Inner Circle Trader (ICT) Kill Zone methodology, providing traders with a complete picture of when institutional activity and liquidity are at their peak.
Trading Theory & Foundation
Session-Based Trading
The forex market operates 24 hours a day across four major trading sessions: Sydney, Tokyo, London, and New York. Each session has distinct characteristics in terms of volatility, liquidity, and price behavior. Understanding these sessions is crucial because:
Volatility Patterns: Each session exhibits unique volatility profiles based on which markets are open and which institutional players are active
Liquidity Concentration: Major price movements tend to occur when multiple sessions overlap, as more market participants are active simultaneously
Market Structure: Session highs and lows often act as key support and resistance levels that price respects throughout the trading day
Time-Based Strategies: Many professional traders structure their strategies around specific sessions that align with their preferred instruments and trading style
ICT Kill Zones
The Inner Circle Trader (ICT) methodology emphasizes specific time windows called "Kill Zones" - periods when institutional algorithms and smart money are most active. These time windows represent optimal trading opportunities because:
Institutional Activity: Banks, hedge funds, and large institutions execute their orders during these predictable time windows
Algorithmic Trading: Many institutional algorithms are programmed to operate during these specific periods
Liquidity Sweeps: Kill Zones often feature stop hunts and liquidity grabs before directional moves
Higher Probability Setups: Price is more likely to respect technical levels and follow through on setups during these periods
The four ICT Kill Zones are:
Asian Kill Zone (00:00-03:00 UTC): Early Asian session institutional activity
London Kill Zone (07:00-10:00 UTC): London open and European institutional entry
New York Kill Zone (12:00-14:00 UTC): New York open and North American institutional entry
London Close Kill Zone (15:00-17:00 UTC): European session close and position squaring
What This Indicator Visualizes
Trading Session Boxes
The indicator draws high-to-low range boxes for each major trading session:
Sydney Session (21:00-06:00 UTC): Captures the Australian and early Asian trading activity
Tokyo Session (00:00-09:00 UTC): Represents the main Asian trading period
London Session (08:00-17:00 UTC): Covers the European trading hours
New York Session (13:00-22:00 UTC): Encompasses North American trading activity
Each session box displays:
The session's high and low price levels
Customizable colored borders and fills
Labels showing the exact high and low values
Real-time updates as price moves within the active session
Session Overlaps
The indicator automatically identifies and highlights all session overlaps with distinct colored boxes:
Sydney/Tokyo Overlap: Asian liquidity concentration
Tokyo/London Overlap: Asian-European transition period
London/New York Overlap: The most volatile period with maximum liquidity
Sydney/New York Overlap: Late US session into early Asian session
These overlaps are crucial because they represent periods of increased liquidity when multiple major markets are operating simultaneously, often leading to significant price movements and breakouts.
ICT Kill Zones
Kill Zones are displayed as vertical background highlights that span the entire chart height during their active periods:
Visual clarity: Semi-transparent colored backgrounds that don't obstruct price action
Label identification: Each Kill Zone is labeled at its start for easy recognition
Overlay capability: Kill Zones overlay on top of session boxes, allowing you to see both simultaneously
Independent control: Each Kill Zone can be toggled on/off individually
How Traders Can Use This Indicator
Entry Timing
Wait for Kill Zones: Use Kill Zones as your primary trading windows to increase the probability of institutional support for your trades
Session Boundaries: Look for breakouts or reversals at session open/close times when new participants enter the market
Overlap Periods: Focus on high-conviction setups during session overlaps when liquidity is highest
Support & Resistance
Session Highs/Lows: Previous session highs and lows often act as key support/resistance levels
Sweep Setups: Watch for price to sweep session highs/lows during Kill Zones, then reverse (liquidity grab)
Range Trading: Trade within session ranges during low-volatility periods, breakout during overlaps
Risk Management
Volatility Awareness: Adjust position sizing based on which session is active (London/NY overlap = highest volatility)
Stop Placement: Position stops outside of key session levels to avoid being caught in normal intraday ranges
Time-Based Exits: Consider exiting or tightening stops as sessions close and liquidity decreases
Strategy Development
Session-Specific Strategies: Develop different approaches for different sessions based on your instrument's behavior
Kill Zone Confirmation: Require setups to occur within Kill Zones for higher probability trades
Backtesting Framework: Use historical session and Kill Zone data to backtest time-based strategies
Full Customizability
Session Customization
Every aspect of each trading session can be customized:
Toggle Visibility: Show/hide any session independently
Time Adjustment: Modify start and end hours to match your broker's server time or personal preference
Color Schemes: Customize box colors and border colors for each session
Transparency: Adjust fill transparency to see price action clearly while maintaining visual reference
Kill Zone Customization
Complete control over ICT Kill Zone display:
Individual Toggles: Enable or disable each Kill Zone independently based on your trading style
Color Selection: Choose distinct colors for each Kill Zone (default: Green, Blue, Yellow, Red)
Transparency Control: All Kill Zones use 70% transparency by default, fully customizable
Label Display: Toggle Kill Zone labels on/off via the main label settings
Visual Preferences
Border Control: Toggle session box borders on/off for cleaner charts
Label Size: Choose from tiny, small, normal, large, huge, or auto-sizing for all labels
Label Colors: Customize label background and text colors to match your chart theme
Box Transparency: Set individual transparency levels for each session and overlap
Overlap Customization
All four session overlaps have independent color controls:
Sydney/Tokyo Overlap
Tokyo/London Overlap
London/New York Overlap
Sydney/New York Overlap
Technical Features
Midnight Handling
The indicator uses advanced hour-based detection that seamlessly handles sessions crossing midnight (like Sydney's 21:00-06:00 UTC timeframe) without breaking the visualization into separate boxes.
Real-Time Updates
Active Sessions: Boxes extend and update in real-time as price moves during active sessions
High/Low Tracking: Session highs and lows are continuously updated until the session closes
Kill Zone Detection: Background colors appear/disappear precisely at Kill Zone boundaries
Clean Chart Integration
Minimal Clutter: Only shows active and recently completed sessions
Overlay Friendly: Works seamlessly with other indicators and doesn't obstruct price action
Performance Optimized: Efficient code that doesn't slow down chart rendering
Ideal For
Forex Traders: Track the four major forex sessions and plan trades around overlaps
Futures Traders: Identify when specific futures markets have peak activity
ICT Students: Implement Inner Circle Trader concepts with visual Kill Zone references
Session Traders: Build strategies around specific session characteristics
Scalpers & Day Traders: Focus on high-liquidity periods for tighter spreads and better fills
Swing Traders: Use session levels as key support/resistance for multi-day trades
Best Practices
Start Simple: Enable only the sessions and Kill Zones relevant to your instruments
Color Code Strategically: Use colors that stand out on your chart theme but don't overwhelm
Combine with Price Action: Use session levels and Kill Zones as context, not as standalone signals
Match Your Timezone: Adjust session times if your broker uses non-UTC server time
Focus on Overlaps: Pay special attention to London/New York overlap for highest-probability setups
Journal Performance: Track which sessions and Kill Zones work best for your strategy
Conclusion
The Global Sessions & ICT Kill Zones indicator provides traders with institutional-grade time-based analysis in a highly customizable, visually clear format. By combining traditional session analysis with modern ICT Kill Zone theory, traders gain a comprehensive understanding of when markets are most likely to move and where key levels are established. Whether you're a scalper looking for the highest liquidity periods or a swing trader using session levels for support/resistance, this indicator adapts to your needs while keeping your charts clean and professional.
Trade smarter by trading when the market is most active and predictable.
DXY vs Small-Cap Divergence [v6]It creates a dedicated panel to monitor the "tug-of-war" between the US Dollar (DXY) and the Russell 2000 (IWM).
As a swing trader, you are looking for Negative Correlation—specifically, the moment the DXY starts to fall while Small Caps maintain their strength.
How to Interpret This on Your Desktop:
Green Background: This highlights the exact bars where the DXY is dropping while the Russell 2000 is gaining ground. This can be your "Go" signal for the small caps that you are monitoring near pivots, prior levels, POC's, or value area highs or lows.
The Green Line (Bottom of the oscillator): When the line hits -0.8, it means the two assets are moving in nearly perfect opposite directions. For a gold bounce and small-cap rally, you want to see this line deep in the green.
The Red Line (Top of the oscillator): If this line stays near +0.8, it means the Dollar and Stocks are moving together. This usually indicates a "Liquidity Flush" where everything is being sold—stay cautious during these periods.
SPX & VIX Overnight Gap and Gap % w/VIX Open
Displays SPX and VIX Overnight gaps in points and percentage with VIX open value. Display boxes change color depending on gap up (green) or gap down (red) Optional vertical line which changes color depending on the gap direction placed at the first bar.
Double Bollinger Bands Strategy_investalotDual Bollinger Band Swing Trading System Indicator Setup
• Bollinger Band 1: Period 20, Deviation 2
• Bollinger Band 2: Period 20, Deviation 0.7
• Timeframe: Daily (Primary)
• Markets: NSE Equity – Liquid Large & Mid Caps
Market Conditions
• 20 SMA must slope upward for long trades • Price must hold above 200 DMA
• Avoid flat or sideways markets
Buy Setup – Trend Continuation
1. Strong impulse move into upper BB (20,2)
2. Pullback into zone between BB (20,0.7) and 20 SMA 3. Bullish candle confirmation inside value zone
Entry Rules
• Buy above bullish confirmation candle high
• Volume should be at least average or higher
Stop Loss Rules
• Initial SL below 20 SMA
• Aggressive SL below BB (20,0.7) lower
Targets & Exit
• Target 1: Upper BB (20,0.7)
• Target 2: Upper BB (20,2)
• Trail SL to 20 SMA once price enters momentum zone
Risk Management
• Risk per trade: 0.5% – 1% of capital
• Maximum 3 open swing trades at a time
Trade Avoidance Rules
• Avoid earnings weeks
• Avoid low volume stocks
• Avoid trades when price remains inside BB (20,0.7)
Gold AI: Hyper-Frequency 1minute Scalper The Gold AI: Hyper-Frequency is a high-precision scalping tool specifically engineered for the unique volatility of XAUUSD on lower timeframes (1m, 5m). Unlike traditional lagging indicators, this script utilizes a Lorentzian Distance Classifier —a machine learning approach that finds historical price fractals similar to current market conditions to predict the next high-probability move.
This indicator is designed for "Hyper-Frequency" trading, meaning it prioritizes capturing multiple micro-moves while using a three-stage Dynamic Take Profit system to let "runners" extend during strong momentum bursts.
█ THE AI CORE: LORENTZIAN CLASSIFICATION
Instead of standard Euclidean distance, this script employs Lorentzian Distance . This metric is superior for financial time series because it is less sensitive to extreme outliers, allowing the AI to identify patterns in "noisy" 1-minute gold charts that other models might miss.
The AI evaluates three key "features" to find matches: 1 — RSI (7): Momentum and overbought/oversold status. 2 — MFI (7): Money Flow Index to track institutional volume. 3 — ROC (3): Rate of Change to detect immediate velocity.
█ DYNAMIC PROFIT SCALING
To solve the "Gold Problem"—where price often spikes past targets or reverses instantly—we implemented a 3-Stage Profit Extender:
• Stage 1 (Initial TP): Targets a quick scalp (default 1.0 ATR). • Stage 2 (Extension): If momentum remains strong, the TP is automatically pushed further. The Stop Loss moves to Breakeven at this stage. • Stage 3 (Moonshot): For high-velocity moves, the TP extends to a major multiplier while the Stop Loss trails the previous candle's high/low.
█ KEY FEATURES
• K-Neighbors Engine: Analyzes the 'K' most similar historical instances to generate buy/sell "votes." • Sensitivity Control: Adjust how strictly the AI matches patterns. Lower values = higher accuracy; higher values = more frequent trades. • Volatility Filter (ATR): All targets and stops are mathematically pegged to current volatility, ensuring the script adapts whether the market is quiet or explosive. • Volume Gatekeeper: Filters out "fake-outs" that occur on low-volume retail spikes.
█ HOW TO USE
Asset: Optimized for XAUUSD (Gold).
Timeframe: Best performance on 1m or 5m charts.
Session: High-frequency signals are most reliable during London and New York sessions.
Confirmation: For maximum safety, enable the "Filter by 200 EMA" in settings to only take trades in the direction of the macro trend.
Disclaimer: Trading Gold involves high risk. This AI tool is designed to assist in decision-making and pattern recognition. Always perform your own due diligence and use proper risk management. Past performance does not guarantee future results.
MACD RSI EMA AGGRESSIVE + ATR SLTP (ALL COIN)This indicator is designed for aggressive scalping and intraday trading, especially on crypto futures.
It combines:
- MACD crossover for momentum direction
- RSI filter to avoid weak signals
- EMA trend filter to follow market bias
- Volume confirmation to reduce false signals
- ATR-based SL/TP visualization for risk management
The script provides clear BUY and SELL alerts that can be used across multiple symbols and timeframes.
Best used on lower timeframes (1m–5m) with proper risk management.
M5 EMA Pullback Scalper (Anti-Chop + Dynamic Boxes)M5 EMA Pullback Scalper (Anti-Chop + Dynamic Boxes)
Continuous CVD with Enhanced FeaturesOverview
This indicator provides a high-precision Cumulative Volume Delta (CVD) experience, calculated by scanning lower timeframe (LTF) data for maximum accuracy. Unlike standard CVD tools, this script seamlessly integrates Candlestick, RSI, and MACD visualizations while featuring an advanced Dual Divergence Engine (Regular & Hidden) to spot market reversals and trend continuations in real-time.
Key Features
Continuous Accumulation: Tracks cumulative delta across bars with precise Open, High, Low, and Close mapping.
Three Visualization Modes:
Candle Mode: View CVD as a price action chart to spot supply/demand imbalances.
RSI Mode: Identify overbought/oversold conditions in volume flow.
MACD Mode: Track volume momentum and trend shifts.
Advanced Divergence Engine (Candle Mode):
Single Candle Divergence: Different color for divergent candles.
Regular Divergence (Solid Line): Spots potential trend reversals (Price makes a new peak, but CVD fails to follow).
Hidden Divergence (Dashed Line): Spots trend continuation (CVD makes a deep retracement while Price stays resilient).
Optimized Performance: Fully customizable Pivot settings (Lookleft/Lookright) to balance between signal speed and reliability.Add some functions to original CVD
MACD RSI EMA AGGRESSIVE + ATR SLTPThis indicator is designed for aggressive scalping and intraday trading, especially on crypto futures.
It combines:
- MACD crossover for momentum direction
- RSI filter to avoid weak signals
- EMA trend filter to follow market bias
- Volume confirmation to reduce false signals
- ATR-based SL/TP visualization for risk management
The script provides clear BUY and SELL alerts that can be used across multiple symbols and timeframes.
Best used on lower timeframes (1m–5m) with proper risk management.
Long-Term Investment Manager [Manual]Long-Term Investment Manager (Manual) is a portfolio decision support indicator designed for investors managing long-horizon equity or crypto positions with a rules-based, evidence-informed framework.
This script is not a trading signal generator and does not place orders. Instead, it functions as a structured portfolio advisor that contextualizes price action relative to trend, volatility, momentum, and your own cost basis, then translates that context into clear, interpretable guidance.
Core Philosophy
The indicator formalizes how disciplined long-term investors typically think:
Stay invested in primary uptrends
Protect capital when trends break
Trim into strength, not fear
Accumulate selectively during healthy pullbacks
Anchor decisions to entry price and position size, not emotions
What You Configure (Manual by Design)
Average Buy Price – your actual cost basis
Position Size – used for unrealized PnL calculation
Profit Trim Targets – two customizable percentage levels
Volatility Stop Multiplier – controls long-term trailing risk
This ensures the indicator adapts to your portfolio, not a hypothetical backtest.
Evidence-Based Components
200-period Simple Moving Average
Defines the long-term trend using a widely accepted institutional standard.
ATR-based Volatility Stop (Chandelier-style)
Adjusts dynamically to market noise and provides an objective exit when the trend fails.
Relative Strength Index (RSI) + Bollinger Bands
Identifies extension and overheating for profit trimming, and controlled pullbacks for accumulation.
Decision Hierarchy (Capital First)
The logic prioritizes decisions in a strict order:
Exit / Capital Protection
Triggered when price breaks the volatility stop or falls below the long-term trend.
Profit Management
Graduated trimming based on extension and predefined return thresholds.
Accumulation or Hold
Differentiates between healthy pullbacks in an uptrend versus conditions that warrant patience.
Visual & Dashboard Outputs
Entry price and profit targets plotted directly on the chart
Long-term trend and trailing stop visualized clearly
A compact dashboard displaying:
Return on investment percentage
Unrealized profit or loss in currency terms
Current recommended action
Explicit reasoning behind that action
Distance to stop as a quantified risk metric
Intended Use
This tool is best suited for:
Long-term investors managing core positions
Swing-to-position traders seeking structure and discipline
Portfolio managers who prefer rules over reactions
It is intentionally manual, transparent, and conservative—designed to support judgment, not replace it.
Disclaimer:
This indicator is for educational and informational purposes only and does not constitute financial advice. Always integrate broader risk management and personal judgment when making investment decisions.
Directional Movement Index - DMIThis Pine Script is a Directional Movement Index (DMI) indicator for TradingView that provides a comprehensive visualization of trend direction and strength with several enhanced visual features.
📊 Core Indicator Components:
1. Directional Indicators:
+DI (Green line): Measures upward trend momentum
-DI (Red line): Measures downward trend momentum
ADX (Blue line, optional): Measures overall trend strength (can be toggled on/off)
2. Key Calculations:
Uses built-in ta.dmi() function to calculate all three components
isBull condition: Determines current bias based on which DI line is higher
Bull signal: When +DI crosses above -DI
Bear signal: When +DI crosses below -DI
🎨 Visual Design Features:
1. Chart Plotting:
Thick lines (width=3) for +DI and -DI for better visibility
Color-coded plots: Green (+DI), Red (-DI), Blue (ADX)
2. Background Highlighting:
Light green background on bullish crossovers
Light red background on bearish crossovers
Uses 60% transparency for subtle visual cues
3. Real-time Status Panel:
Fixed table in the middle-right of the chart
Displays "↑ Bullish" (green) or "↓ Bearish" (red) in huge text
Updates on every bar to show current market bias
4. Line Labels:
Text labels at the right edge identifying each line
Color-matched to their respective indicators
ADX label only appears when ADX is enabled
⚙️ User Controls:
ADX toggle: Show/hide the ADX line
DI Length: Adjust calculation period (default 17)
ADX Smoothing: Fine-tune ADX smoothing (default 1)
📈 Trading Application:
Trend Identification: Which direction has stronger momentum
Signal Generation: Crossovers indicate potential trend changes
Trend Strength: ADX (when shown) indicates if a trend is strong (>25) or weak
Visual Clarity: Multiple visual cues make signals easy to spot
🖥️ Display Logic:
The script intelligently handles what to display based on user settings
When ADX is disabled, it plots na (not available) to avoid scale distortion
All visual elements update dynamically with each new bar
🎯 Unique Aspects:
Multi-layered visualization: Combines lines, background colors, labels, and a status table
Clean separation: Uses box-drawing characters to organize code sections
Right-edge labeling: Makes indicator identification clear even on crowded charts
Immediate bias recognition: The large text table provides instant market bias assessment
This indicator is particularly useful for traders who want a clear, visually rich representation of trend direction without needing to interpret multiple lines simultaneously. The color-coded background and status panel provide quick visual confirmation of market conditions.
TPC-Buying and Selling areasTPC - Buying and Selling Areas
Open-source multi-timeframe indicator that automatically detects and displays Supply (resistance) and Demand (support) zones based on swing structure, along with Fair Value Gaps (FVGs) for imbalance visualization. Supports up to two higher timeframes (MTF) for Supply/Demand + optional current-chart or custom timeframe FVGs, with mitigation tracking, alerts, and a dashboard for FVG stats.
Overview
This tool helps identify key price areas where institutional buying/selling pressure may have accumulated (Supply/Demand zones) and inefficiencies/imbalances in price delivery (Fair Value Gaps).
It plots:
•Demand zones (potential support/buy areas) in green tones
•Supply zones (potential resistance/sell areas) in red tones
•Bullish/Bearish FVGs as filled or line areas (with dynamic or fixed extension options)
•A simple FVG dashboard showing count and mitigation percentage
Zones mitigate (disappear or mark as filled) when price closes/wicks through them. Designed for clean charts with configurable visibility, box pooling, and alerts on new zones or FVG events.
How It Works (Conceptual)
•Supply & Demand Zones
•Uses pivot-based swing highs/lows from one or two user-selectable higher timeframes (or chart timeframe).
•Detects structure breaks (e.g., higher highs/lows, lower highs/lows) near recent ATR range to form zones.
•Zones drawn as extendable boxes with timeframe label, customizable borders/text.
•Mitigation: Zones removed or marked when price breaches them (close or extreme/wick, configurable globally or per TF).
•Only shows recent zones (user-defined "show last N") and cleans up on lower timeframes if desired.
•Fair Value Gaps (FVGs)
•Detects 3-candle imbalances where price gaps aggressively (low > high for bullish, high < low for bearish, with optional size threshold).
•Plots as semi-transparent boxes (fixed extend) or dynamic fills that adjust with price.
•Tracks mitigation (when price fills the gap) and optionally draws dashed mitigation lines.
•Shows unmitigated recent FVGs as lines + dashboard stats (total count, % mitigated for bull/bear).
•Multi-timeframe logic uses request.security() for higher TFs, with careful handling for display on lower charts.
See the code for full pivot detection, array management, mitigation loops, and FVG conditions.
How to Use
•Best on volatile/liquid markets (crypto, forex, indices, futures) across intraday to daily timeframes.
•Use Demand zones (green) as potential long entries or support flips when price approaches from above.
•Use Supply zones (red) as potential short entries or resistance when price approaches from below.
•FVGs highlight inefficiencies: bullish FVGs often act as magnets/pullbacks in uptrends; bearish in downtrends.
•Combine with higher-timeframe bias (e.g., show HTF zones on LTF chart) for confluence.
•Alerts fire on: new demand/supply zone, new bullish/bearish FVG, or FVG mitigation.
•Keep "Show only on lower timeframes" enabled to avoid clutter on HTF charts.
•Adjust "Box Size" (pool) if you hit max_boxes limit on very long histories.
Settings
General Settings
•Hide all Demand / Supply zones
•Show S&D only on lower TFs
•S&D Box Size (pool limit, default 80)
•Mitigate on Close or Wick/Extreme
Timeframe 1 & Timeframe 2 (identical groups)
•Set to chart timeframe (or custom)
•Show Demand/Supply
•Alerts for new zones
•Timeframe multiplier + period (Min/Hour/Day/Week/Month)
•Swing Length for pivots
•Border type/width, text size/color
•Demand/Supply colors
•Show last N zones per type
FVG Settings
•Threshold % (min gap size) or Auto
•Unmitigated levels to show
•Mitigation levels (dashed lines)
•FVG Timeframe (blank = chart)
FVG Style
•Extend bars
•Dynamic fill (adjusts with price)
•Bullish/Bearish colors
FVG Dashboard
•Show dashboard
•Location (Top Right etc.)
•Text size
Notes / Limitations
•Non-repainting after bar close (uses confirmed pivots/security data).
•Heavy on boxes/lines — increase pool size carefully (TradingView limits apply).
•FVGs can fill quickly in ranging markets; use with structure/context.
•Always backtest and combine with your analysis — not financial advice, trading carries risk.
•Open-source: feel free to fork, improve, or learn from it.
ATR/Structure Trail Stop Loss This indicator is a high-performance trend-following tool designed to help traders stay in winning positions for maximum "R" gains. It solves the common problem of getting stopped out too early by combining Volatility (ATR) with Market Structure (Price Action Swings).
How it Works
The script calculates two different stop-loss levels and automatically chooses the most "conservative" one to protect your capital:
ATR Stop: Measures the current market volatility. If the market gets wild, the stop widens. If the market gets calm, the stop tightens.
Structure Stop: Looks at the lowest lows (for Longs) or highest highs (for Shorts) of the last few candles. This ensures you don't stay in a trade if the actual price trend breaks.
Key Features
Hybrid Logic: The stop strictly follows Closing Prices to prevent "wick-outs" from temporary spikes.
Trend Dashboard: A real-time table tracks ADX (Trend Power).
"RUN IT": High momentum; keep trailing for 12R–30R targets.
"TIGHTEN": Momentum is dying; consider locking in profits.
Visual Diamonds: Uses a Step-Line style with diamonds to show exactly when your stop-loss "locks in" a new level.
How to Use It (Step-by-Step)
Entry: Enter your trade based on your standard breakout strategy.
Initial Risk: Use the Initial Stop (5 points) until the price moves in your favor.
The Trail: Once the trend establishes, follow the Light White Diamonds.
Scaling: Use the ATR Multiplier input to adjust the "breathing room."
Lower Multiplier (e.g., 1.5): Tighter trail, good for scalp targets.
Higher Multiplier (e.g., 2.5+): Wider trail, best for catching 30R monster moves.
Exit: Close the position immediately when a candle closes on the opposite side of the diamonds.
ETH Swing Planner (Thrust + Chop + BTC Confirm) v3.1 by Sam KimThis is a swing-trading framework designed to keep you out of bad trades, not push you into more of them.
It only activates when the higher-timeframe trend is clear, volatility supports continuation, and the market has actually finished correcting. No buying pullbacks. No forcing entries in chop.
The logic is simple:
• Trade in the direction of the dominant daily trend
• Wait for consolidation, then enter on momentum resumption (“thrust”)
• Avoid choppy, range-bound conditions
• Require Bitcoin confirmation before swinging ETH
• Define risk, stop, and targets before the trade exists
Cash is treated as a position. No-trade conditions are explicit, not emotional.
This tool is built for traders who value patience, structure, and capital preservation over constant action. It favors fewer trades, cleaner entries, and psychological clarity.
Missing a move is acceptable. Being trapped in a bad one is not.
Usanghyang philosophy, coded.






















