MA Cloud + Linha Média🧠 Description of “MA Cloud + Average Line” Indicator
This Pine Script indicator combines multiple moving averages (MAs) into a dynamic visualization that helps traders identify market trends, momentum shifts, and trend strength. It creates a colored cloud between the fastest and slowest moving averages, and also plots an average line representing the mean of all active MAs.
⚙️ 1. Core Features
Multiple Moving Averages (MAs)
Supports up to four customizable moving averages (MA1, MA2, MA3, MA4).
Each MA can use different types:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume-Weighted Moving Average)
RMA (Smoothed Moving Average)
Hull MA (Hull Moving Average)
LSMA (Least Squares Moving Average)
The trader can define each MA’s period, color, and choose whether it’s active or not.
Trend Color Coding
Each MA changes color based on its slope:
Green (or chosen “Up Color”) when rising
Red (or chosen “Down Color”) when falling
This gives instant visual feedback on short-term direction.
MA Cloud (Trend Zone)
When the “Cloud” is active, the area between the minimum and maximum of all active MAs is shaded.
The cloud changes color based on alignment:
🟩 Green Cloud – all MAs are aligned upward (strong bullish trend).
🟥 Red Cloud – all MAs are aligned downward (strong bearish trend).
⚪ Gray Cloud – mixed alignment (no clear trend / consolidation).
Average Line (Mean of All MAs)
Calculates the average of all active MAs and plots it as a central “mean” line.
Serves as a dynamic trend guide — when price is above it, the market tends to be bullish; below it, bearish.
The color of the line follows the current cloud color for consistency.
📈 2. How It Helps Identify Trends
This indicator provides multiple layers of trend confirmation:
Visual Element Interpretation Trend Insight
MA Slope Color Green (Up) / Red (Down) Short-term momentum direction
MA Cloud Color Green / Red / Gray Overall trend alignment across timeframes
Average Line Mean of all MAs Acts as a “trend equilibrium” line
Price vs. Average Line Above = Bullish / Below = Bearish Confirms trend bias
🔍 3. Example Use Cases
Trend Following
Enter long trades when all MAs are aligned (Cloud = Green) and price is above the average line.
Enter short trades when the Cloud is Red and price is below the average line.
Trend Strength Confirmation
The wider the distance between MAs (thicker cloud), the stronger the ongoing trend.
A narrowing cloud or color shift (green → gray → red) can warn of trend reversal or consolidation.
Dynamic Support and Resistance
The MA Cloud acts as a support zone in uptrends and resistance zone in downtrends.
Traders can use the edges of the cloud to identify possible pullback entry zones.
Multi-Timeframe Analysis
By using fast MAs (e.g., 20/50) and slow MAs (100/200), traders can visualize short-term vs. long-term trend interaction, similar to “Golden Cross” and “Death Cross” setups.
🧩 4. How to Use It Practically
Step 1: Enable only the MAs you need (e.g., 20, 50, 200).
Step 2: Observe the cloud color:
🟩 Green → Favor long trades
🟥 Red → Favor short trades
⚪ Gray → Wait for confirmation
Step 3: Use the average line as a filter:
Trade only in the direction of the average line’s slope.
Step 4: Combine with volume, RSI, or price action to refine entries.
💬 Summary
Indicator Name: MA Cloud + Average Line
Purpose: Visual trend detection and confirmation
Best For: Swing and trend-following traders
Signals Provided:
Trend alignment (via color-coded cloud)
Momentum shifts (via MA color changes)
Dynamic support/resistance (via cloud zones)
Overall trend bias (via average line)
週期
DRACO TOMAS EMA Trend Follower🐉 DRACO TOMAS EMA Trend Follower
Description:
The DRACO TOMAS EMA Trend Follower is a simple yet powerful trend-following strategy designed to capture directional moves based on exponential moving average (EMA) crossovers. It automatically detects trend changes and manages positions dynamically.
Core Logic:
The strategy uses two EMAs — a Fast EMA (default 12) and a Slow EMA (default 21) — to identify the market trend.
When the Fast EMA crosses above the Slow EMA, the strategy opens a long position, signaling bullish momentum.
When the Fast EMA crosses below the Slow EMA, the strategy opens a short position, signaling bearish momentum.
The color of the EMAs changes dynamically: green for uptrends, red for downtrends.
Exit rules:
Longs are closed when the EMAs turn red (trend reversal to bearish).
Shorts are closed when the EMAs turn green (trend reversal to bullish).
Position Sizing:
The system uses 10% of equity per trade by default, allowing flexible risk management and compounding.
Purpose:
Designed for traders who want a clean and efficient EMA crossover system to follow trends automatically on any timeframe or asset.
Best Used For:
Swing trading and trend confirmation
Identifying major directional shifts
Testing EMA-based momentum systems
Chart Info Display (HOKO) 2It displays 3 things on the screen in order: symbol, date, time frame. You can use it to capture educational videos to make your chart more beautiful, more private, and more practical.
Advanced Time TechniqueAdvanced Time Technique (ATT)
The Advanced Time Technique (ATT) identifies mathematically significant price levels based on candle count sequences within higher timeframes. The indicator tracks specific numerical patterns to project potential reversal zones.
Calculation Methodology:
- Monitors candle cycles in user-selected higher timeframes (1H, 2H, 3H)
- Identifies key candle counts: 3, 11, 17, 29, 41, 47, 53, 59
- Projects these counts as visual markers on the current chart
- Uses pure price action without lagging indicators
Key Features:
- HTF Candle Boxes: Displays higher timeframe candle ranges as colored boxes
- ATT Circles: Places circular markers at specified candle counts
- Multi-timeframe Analysis: References 1-hour, 2-hour, or 3-hour timeframes
- Prediction Labels: Shows upcoming ATT levels within user-defined range
- Historical Display: Optional viewing of past ATT markers
Visual Components:
- Colored boxes representing HTF candle ranges (bullish/bearish)
- Circle markers positioned above/below bars based on candle color
- Optional numerical display on ATT circles
- Customizable colors and transparency settings
Trading Applications:
- Identifies potential reversal zones at mathematically significant intervals
- Highlights liquidity concentration areas
- Useful for intraday and scalp trading strategies
- Complements price action and market structure analysis
The indicator works by counting candles within the selected higher timeframe and marking specific numerical sequences where price reactions commonly occur.
Hoko Quarterly Theory is it this Quarterly Theory but for faraz................................................................................................................................................................................................................
HOKO Doubling Theorythis script is like Quarterly theory but with bigger box .............................................................................................................................
Chart Info Display (HOKO)this script show you three information , symbol , date , time frame .........................................................................................................................................................
Seasonal Performance Analyzer | AlphaNatt📊 Seasonal Performance Analyzer | AlphaNatt
📈 Overview
Unlock the power of seasonality with this advanced visualization tool that reveals hidden patterns in market behavior. The Seasonal Performance Analyzer overlays multiple years of historical data for any selected month, allowing traders to identify recurring seasonal trends, anomalies, and potential trading opportunities.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✨ Key Features
🎯 Month-by-Month Analysis
- Isolate and analyze any single month across multiple years
- Compare up to 20 years of historical performance
- Instantly visualize seasonal patterns and trends
📊 Advanced Visualization
- Beautiful gradient coloring from oldest (light blue) to newest (dark blue) years
- Clean axis system with labeled days and months
- Professional grid layout for easy value reading
- Optional average line showing mean performance across all years
🔧 Flexible Display Options
- Normalize to 100: Start each year at a base value of 100 for easy percentage comparison
- Raw Price Mode: View actual price movements without normalization
- Customizable Colors: Adjust gradient colors and transparency to your preference
- Toggle Features: Show/hide year labels, average line, and day labels
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ Input Parameters
📅 Time Settings
- Select Month: Choose any month (1-12) for analysis
- Years to Display: Show 1-20 years of historical data
- Include Current Year: Option to include incomplete current year data
🎨 Visual Settings
- Line Transparency: Adjust the opacity of year lines (0-100)
- Gradient Colors: Customize oldest and newest year colors
- Average Line: Color and width customization
- Legend Display: Toggle year labels on/off
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 Use Cases
1. Seasonal Trading Strategies
Identify months with consistent directional bias for seasonal entry/exit timing
2. Risk Management
Spot historically volatile periods and adjust position sizes accordingly
3. Pattern Recognition
Discover recurring intra-month patterns like "first week strength" or "mid-month reversals"
4. Comparative Analysis
Compare current month's performance against historical averages to gauge relative strength
5. Anomaly Detection
Quickly identify years that deviated significantly from typical seasonal patterns
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 How to Use
Step 1: Add the indicator to your chart
Step 2: Select the month you want to analyze (default: November)
Step 3: Choose how many years of history to display
Step 4: Toggle normalization based on your analysis needs
Step 5: Look for patterns:
• Consistent trends across multiple years
• Divergences from the average line
• Specific days with recurring movements
• Years that broke the seasonal pattern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 Pro Tips
✅ For Swing Traders: Focus on months showing consistent multi-day trends
✅ For Day Traders: Identify specific days within a month that show repetitive behavior
✅ For Investors: Use normalized view to compare percentage gains across years
✅ For Risk Analysis: The wider the spread between years, the less reliable the seasonal pattern
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Example Insights
This indicator can reveal powerful insights such as:
- "November typically shows strength in the first two weeks"
- "Years above the average line tend to continue outperforming"
- "Day 15-20 historically shows consolidation patterns"
- "Election years show different patterns than non-election years"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ Important Notes
- Past performance does not guarantee future results
- Seasonality is one factor among many - combine with other analysis methods
- Major events can override seasonal patterns
- Works best on assets with long price history
- More years of data generally provides more reliable patterns
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 Perfect For:
- Seasonal traders
- Swing traders looking for optimal entry months
- Analysts studying market cycles
- Anyone interested in historical market patterns
- Risk managers assessing seasonal volatility
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Created by AlphaNatt - Empowering traders with advanced seasonal analysis
Version: 1.0
Pine Script: v6
License: Mozilla Public License 2.0
BTP Swing InfoPanel Mk02 _ PublicBTP Swing InfoPanel Mk02 _ Public
An infopanel dedicated to be used as a guide on asset details.
Price Movement Alert with Previous Close as ReferenceFunctionality of the Indicator
The "Price Movement Alarm with Previous Day Close as Reference" indicator is a tool that helps you monitor significant price levels based on the previous day's closing price. The indicator calculates both decline and rise thresholds in specified percentages to generate potential trade alerts. The lines on the chart represent these thresholds, and the corresponding labels show the exact percentage.
Usage Instructions:
Previous Day's Close: The indicator uses the previous trading day's close as the reference point.
Setting Decline and Rise Percentages: You can adjust the alarm levels for declines (e.g., 0.5%, 1.0%, 1.5%, 2.0%, 2.5%, 3.0%) and rises (e.g., 0.5%, 1.0%, 1.5%, 2.0%, 2.5%, 3.0%).
Lines and Labels: The indicator draws lines on the chart and displays labels that indicate the percentage of price movement.
Market Analysis: Analyze the price movements to make potential trading decisions.
Market in Equilibrium:
A market is in equilibrium when price movements remain within a narrow range (e.g., 0.5% to 1%). During this phase, volatility is low, and there are no significant price changes.
Market not in Equilibrium:
A market is not in equilibrium when price movements fall outside the narrow range (e.g., above 1%). During this phase, larger price movements can occur, often triggered by news or economic events.
INFOPANEL_PUBLICThis contains key details of an asset such as:
- market cap
- ave volume
- ave $ volume
- etc.
This will help you assess the asset easily with the information displayed
OHLC Tool Multiple TFThis indicator displays Open, High, Low, and Close (OHLC) levels from multiple timeframes directly on your chart. It allows full customization of line styles, colors, and widths for each OHLC component — not only for the base timeframe, but also for higher timeframes like Daily, Weekly, and Monthly.
Key Features:
- 🔹 Per-TF Styling: Customize color, style, and thickness for each OHLC line (O/H/L/C) independently across base, daily, weekly, and monthly timeframes.
- 🔹 Inheritance Toggle: Optionally inherit base timeframe styles for higher timeframes to maintain visual consistency.
- 🔹 Dynamic Labels: Each OHLC line is labeled with its type and price, rounded to your preferred decimal precision.
- 🔹 Precision Control: Set custom decimal formatting for each timeframe to match asset volatility (e.g. 2 decimals for BTC, 3+ for altcoins).
- 🔹 Length Multipliers: Extend line visibility with adjustable multipliers per timeframe.
- 🔹 Toggle Visibility: Enable or disable OHLC lines for Daily, Weekly, and Monthly timeframes independently.
How to Use:
- Select your base timeframe (e.g. 3G, 15m, 1h) and configure its OHLC line styles under Line Display Settings.
- Enable Daily / Weekly / Monthly OHLC under General Settings > Higher TFs.
- Customize each higher timeframe’s OHLC styles under their respective sections (Daily Line Display, Weekly Line Display, etc.).
- Use the inherit toggle to apply base styles to higher timeframes automatically.
- Tune line length multipliers to extend visibility across your chart.
Ideal For:
- Traders who want to track multi-timeframe OHLC levels with visual clarity.
- Analysts who prefer symbolic, rhythmic, or color-coded chart annotations.
- Anyone seeking a clean, customizable OHLC overlay with precision control.
Perpetual Swing [HCR]The Perpetual Swing is a fully automated swing-direction indicator designed to help traders visualize long-term trend regimes and smooth out noise in volatile markets.
It combines:
• Hash Adaptive CCI – a dynamically tuned Commodity Channel Index that adapts to volatility conditions.
• Regime-based SMMA – a Smoothed Moving Average model used to define bullish and bearish environments.
The indicator continuously monitors both momentum and structural trend, switching bias automatically between long and short conditions.
It can be used on any asset or timeframe to identify directional bias, trend transitions, and potential swing entries.
How it works:
– When the adaptive CCI confirms bullish strength above the SMMA regime, the indicator signals a long bias.
– When momentum and regime flip bearish, it switches to short bias.
– The system remains continuously engaged to capture multi-cycle swings.
bearish Price Below PDL - Complete Multi-Confirmation Alert🎯 KEY IMPROVEMENTS:
1. Enhanced Alert Visibility:$jmoskyhigh
✅ HUGE triangle down marker with "SELL" text
✅ Alert title: "SELL SIGNAL - PDL BREAKDOWN CONFIRMED"
✅ Prominent info panel with red theme
✅ Clear "SELL ALERT: TRIGGERED" status
2. Better Visual Feedback:
Red frame around info panel
Larger shapes and markers
Color-coded confirmations (green = OK, red = FAIL)
Progress percentage displayed
Breakdown price label
3. Complete Alert System:
Main Alert: "SELL SIGNAL - PDL BREAKDOWN CONFIRMED"
Early Warning: "PDL Breakdown Started - Monitoring"
Reset Alert: "Confirmation Lost - Breakdown Reset"
Price Below PDL - Complete Multi-Confirmation Alert🎯 KEY DIFFERENCES - BEARISH VERSION:$jmoskyhigh
1. Core Logic Inversions:
PDL (Previous Day Low) instead of PDH
Below instead of Above
Breakdown instead of Breakout
bars_below instead of bars_above
ma_bearish (Fast < Slow) instead of ma_bullish
2. Visual Changes:
Red color scheme throughout
Red background when below PDL with confirmations
Triangle DOWN for alert (location.abovebar)
Diamond ABOVE bar for breakdown start
Red header in info panel ("PDL:")
Red MA fill when bearish
3. Confirmation Requirements:
✅ Volume Spike - Same logic
✅ MA Bearish - Fast MA < Slow MA
✅ Below VWAP - Price < VWAP
✅ Hold Period - Must stay below PDL with all confirmations
✅ Reset on Failure - Any lost confirmation = complete reset
VWMA Series (Dynamic) mtf - Dual Gradient Colored"VWMA Series (Dynamic) mtf - Dual Gradient Colored" is a multi-timeframe (MTF) Volume-Weighted Moving Average (VWMA) ribbon indicator that plots up to 60 sequential VWMAs with arithmetic progression periods (e.g., 1, 4, 7, 10…). Each VWMA line is dual-gradient colored: Base hue = Greenish (#2dd204) if close > VWMA (bullish), Magenta (#ff00c8) if close < VWMA (bearish)
Brightness gradient = fades from base → white as period increases (short → long-term)
Uses daily resolution by default (timeframe="D"), making it ideal for higher-timeframe trend filtering on lower charts.Key FeaturesFeature
Description
Dynamic Periods
Start + i × Increment → e.g., 1, 4, 7, 10… up to 60 terms
Dual Coloring
Bull/Bear + Gradient (short = vivid, long = pale)
MTF Ready
Plots daily VWMAs on any lower timeframe (1H, 15M, etc.)
No Lag on Long Sets
Predefined "best setups" eliminate repainting/lag
Transparency Control
Adjustable line opacity for clean visuals
Scalable
Up to 60 VWMAs (max iterations)
Recommended Setups (No Lag)Type
Example Sequence (Start, Inc, Iter)
Long-Term Trend
1, 3, 30 → 1, 4, 7 … 88
93, 3, 30 → 93, 96 … 180
372, 6, 30 → 372, 378 … 546
Short-Term Momentum
1, 1, 30 → 1, 2, 3 … 30
94, 2, 30 → 94, 96 … 152
1272, 5, 30 → 1272, 1277 … 1417
Key Use CasesUse Case
How to Use
1. Multi-Timeframe Trend Alignment
On 1H chart, use 1, 3, 30 daily VWMAs → price above all green lines = strong uptrend
2. Dynamic Support/Resistance
Cluster of long-term pale VWMAs = major S/R zone
3. Early Trend Change Detection
Short-term vivid lines flip from red → green before longer ones = early bullish signal
4. Ribbon Compression/Expansion
Tight bundle → consolidation; fanning out → trend acceleration
5. Mean Reversion Entries
Price far from long-term VWMA cluster + short-term reversal = pullback trade
6. Volume-Weighted Fair Value
Long-period VWMAs reflect true average price paid over weeks/months
Visual Summary
Price ↑
████ ← Short VWMA (vivid green = close > VWMA)
███
██
█
. . . fading to white
█
██
███
████ ← Long VWMA (pale = institutional average)
Green lines = price above VWMA (bullish bias)
Magenta lines = price below VWMA (bearish bias)
Gradient = shorter (left) → brighter; longer (right) → whiter
Ribbon thickness = trend strength (wide = strong, narrow = weak)
Best For Swing traders using daily trend on intraday charts
Volume-based strategies (VWMA > SMA)
Clean, colorful trend visualization without clutter
Institutional fair value anchoring via long-period VWMAs
Pro Tip:
Use Start=1, Increment=3, Iterations=30 on a 4H chart with timeframe="D" → perfect daily trend filter with zero lag and beautiful gradient flow.
Session Highs & Lows Title:
Session Highs & Lows — Asia, London, New York + NY Open Line
Description:
This indicator automatically plots the session highs and lows for the three major trading sessions:
Asia (5 PM – 2 AM PT) – red rays
London (12 AM – 9 AM PT) – blue rays
Previous New York Session (6:30 AM – 1 PM PT) – brown rays
It also draws a thin dashed red line at 6:30 AM PT, marking the New York open.
The script dynamically updates each session’s range as price action unfolds, then locks it in when the session closes.
Lines extend to the right only (“rays”) so traders can easily identify liquidity zones, previous highs/lows, and intraday reaction points without cluttering the left side of the chart.
The logic uses TradingView’s session-time functions (time() windows) and resets automatically after each New York session ends, ensuring that only the current day’s structure is visible.
Unique features:
Works on any timeframe and any symbol (optimized for ES & NQ futures).
Separate colors for each session for clear visual distinction.
Session lines are “live” during the session and freeze once it closes.
Lightweight code with automatic cleanup — avoids line-count overflow.
Non-repainting and fully timezone-aware.
How to use:
Add the indicator to your chart and select your preferred timezone.
Watch how Asia and London session highs/lows guide liquidity during the New York session open (marked by the red dashed line).
Moon Phases: 1st Quarter, Full, 3rd QuarterTracks the Lunar phase or Moon phase, which is the apparent shape of the Moon's day and night phases of the lunar day as viewed from earth.
SH/SL with Trend TableHelps in identify Swing High and Swing Low in chart time frame.
Trend is also mentioned in Chart.
Day Range Divider DTSCopied it for DTS purposes to ensure proper tracking, testing, and verification within the DTS workflow. This copy is intended for reference, analysis, and any required adjustments without affecting the original version.
True Previous Day/Week High & LowTrue Previous Day/Week High & Low
What makes this indicator unique:
Unlike most previous day high/low indicators that only track SESSION data (e.g., 6:00 PM - 5:00 PM for futures), this indicator calculates the TRUE calendar day high and low from MIDNIGHT TO MIDNIGHT (00:00 - 23:59) in New York time.
Why this matters:
- Session-based indicators miss crucial price action that occurs during overnight hours
- True midnight-to-midnight calculation gives you the ACTUAL daily range
- Essential for traders who need accurate previous day levels for support/resistance
- Works perfectly on 24-hour markets like futures (NQ, ES, YM, etc.)
Features:
✓ True calendar day high/low (00:00-23:59 NY time)
✓ Previous week high/low
✓ Customizable line colors, widths, and styles (solid, dashed, dotted)
✓ Optional labels with adjustable size, color, and spacing
✓ Values displayed on price scale
✓ Toggle individual levels on/off
✓ Optimized for 1-minute charts but works on all timeframes
Perfect for:
- Futures traders (NQ, ES, YM, RTY)
- Day traders using previous day levels as key support/resistance
- Swing traders tracking weekly ranges
- Anyone who needs accurate 24-hour high/low levels
Settings are clean and intuitive - just add to your chart and customize the appearance to match your setup!
FuTech : Darvas Box (Original Theory) IndicatorFuTech : Darvas Box (Original Theory) Indicator
📈 Introduction
🔹 This indicator implements the legendary Darvas Box theory developed by Nicolas Darvas in the 1950s, which helped him turn $25,000 into $2,000,000 in just 18 months.
🔹 Unlike other box indicators, this implementation strictly follows Darvas' original methodology while adding modern technical features for enhanced usability in today's markets.
===============================================================================
📊 What Makes This Implementation Unique
🔹 This indicator stands apart from other Darvas Box implementations in several key ways:
🔹 It implements the exact "high before low" rule that Darvas used - first identifying the roof (top) of the box, then waiting for the floor (bottom) to form
🔹 It offers two distinct methods for box detection - Swing Confirmation (which waits for price confirmation) and Lookback Period (simpler approach)
🔹 It includes Darvas' critical volume confirmation requirement with customizable parameters
🔹 It incorporates Darvas' focus on strong stocks near their highs through the 52-week high filter
🔹 It provides multi-timeframe capability, allowing application to intraday, daily, weekly, or monthly charts
🔹 It features dynamic box coloring based on breakout direction (green for upward, red for downward)
===============================================================================
🔍 Technical Implementation Details
📦 Box Formation Algorithm
🔹 The indicator constructs boxes using a sophisticated algorithm that follows Darvas' original approach:
🔹 For Swing Confirmation mode:
🔸 The system identifies potential swing highs by looking for price points that are higher than the previous N bars (user-defined)
🔸 Similarly, swing lows are identified as points lower than the previous N bars
🔸 The "high before low" rule ensures a roof is established before a floor is determined
🔸 Once both parameters are locked in, the box is drawn and extended horizontally
🔹 For Lookback Period mode:
🔸 The box high is simply the highest high of the last X bars (user-defined)
🔸 The box low is the lowest low of the last X bars
🔸 This provides a simpler but still effective implementation of Darvas' concept
🚀 Breakout Detection System
🔹 The indicator employs a dual-confirmation system for breakouts:
🔹 Upward Breakout Conditions:
🔸 Price must close above the box roof
🔸 Volume must exceed the volume moving average (default 20-period) multiplied by a factor (default 1.5x)
🔸 The 52-week high filter must be satisfied (price must be within the maximum drawdown percentage from the 52-week high)
🔹 Downward Breakout Conditions:
🔸 Price must close below the box floor
🔸 No volume confirmation is required for downward breakouts (following Darvas' approach)
📊 Volume Confirmation Mechanism
🔹 The indicator calculates volume thresholds using:
🔸 Volume Average = SMA(volume, N) where N is the user-defined period (default 20)
🔸 Volume Threshold = Volume Average × Volume Factor (default 1.5)
🔸 Only when current volume exceeds this threshold is an upward breakout considered valid
📈 Uptrend Filter
🔹 The indicator implements Darvas' focus on strong stocks through:
🔸 52-week High Calculation = Highest price over the past 52 weeks
🔸 Minimum Price Requirement = 52-week High × (1 - Maximum Drawdown %)
🔸 This ensures only stocks that are not too far from their highs generate signals
===============================================================================
🎯 How to Use This Indicator
🔷 Entry Signals
🔹 Wait for a green box to appear, indicating an upward breakout
🔹 Confirm that volume was above average during the breakout (shown by the indicator)
🔹 Verify the stock is within your acceptable distance from its 52-week high
🔹 Consider entering on the next candle after confirmation
🔷 Exit Signals
🔹 Exit when a red box appears, indicating a downward breakout
🔹 Alternatively, use trailing stops below newly formed box lows
🔹 Consider partial exits at predefined profit targets while letting the remainder run
🔷 Parameter Optimization
🔹 For swing traders, use longer lookback periods (20-50 bars)
🔹 For day traders, use shorter periods (5-15 bars)
🔹 Adjust the volume factor based on the asset's typical volatility
🔹 Modify the maximum drawdown percentage based on your risk tolerance
===============================================================================
📚 Historical Context and Trading Philosophy
🔹 Nicolas Darvas developed his box theory while traveling the world as a dancer.
🔹 With limited access to market information, he relied only on price charts and telegrams.
🔹 He discovered that strong stocks tend to pause after hitting new highs, forming what he called "boxes" - sideways ranges where the stock "rests" before its next move.
🔹 By buying only when price broke above these ranges with unusually high volume, he was able to ride powerful uptrends while cutting losses quickly when the breakdown occurred.
🔹 This indicator captures the essence of Darvas' approach - focusing on strength, confirming with volume, and selling weakness quickly - while adding modern technical features to enhance its utility in today's electronic trading environment.
===============================================================================
⚙️ Calculation Summary
🔹 The indicator performs the following calculations:
🔸 Box High = Highest swing high or lookback high (depending on selected method)
🔸 Box Low = Lowest swing low or lookback low (depending on selected method)
🔸 Upward Breakout = Price > Box High AND Volume > (Volume Average × Volume Factor)
🔸 Downward Breakout = Price < Box Low
🔸 Volume Average = SMA(Volume, N) where N is the volume period
🔸 Uptrend Filter = Price ≥ (52-week High × (1 - Maximum Drawdown %))
===============================================================================
🔔 Alert Configuration
🔹 To set up alerts:
🔸 Right-click on the chart and select "Add Alert"
🔸 Choose the Darvas Box indicator as the alert condition
🔸 Select either "Breakout Up" or "Breakout Down" as the alert condition
🔸 Configure your preferred notification method
🔹 This modernizes Darvas' telegram-based approach, allowing you to receive instant notifications when potential trading opportunities occur.
===============================================================================
📈 Conclusion
🔹 This FuTech : Darvas Box (Original Theory) indicator faithfully implements Nicolas Darvas' legendary trading method while adding modern technical features.
🔹 By focusing on strength, confirming with volume, and providing clear entry and exit signals, it offers traders a structured approach to trend following that has stood the test of time.
🔹 The indicator's multiple detection methods, volume confirmation, and trend filtering make it a comprehensive tool for implementing Darvas' box theory in today's markets.
===============================================================================
🙏 Credits : Inspired by @LevelUpTools
Altseason Probability (BTC.D • USDT • TOTAL3 • DXY)Testing phase, workig out the kinks.
Works by aggregating several factors to define altseason probability in any given moment






















