MTF EMA Pane with Diagnostics30 sec chart, 1 min EMA goes flat, I buy, 1 min EMA stays inside the group, I stay in the trade.
Not financial advice. I am working on an Algo killer, stay tuned. I am dedicating the rest of my life, as short as it my be, to beating the Men behind the Algo's. Buy me some coffee.
Send USDT thru ETH or Base to BYDFi 0x20391e32afd61dc9e1ec027651391b56ceade4e0
Join BYDFi
Referral Link: Spin for a possible $100
partner.bydfi.com
Deposit: USDT via;
ETH (ERC20) 0x20391e32afd61dc9e1ec027651391b56ceade4e0
Tron (TRC20)
TUs5u2YxtQrQfRwYK2CsMmSDGvND6Uopdj
BNB/Base (BEP20)
0x20391e32afd61dc9e1ec027651391b56ceade4e0
Solana
696LAngiQBbdk4m6k1ZBiKZrFtjTJo6dxCnVXMEePQea
Indicators and strategies
Dynamic S/R System - Pivot + ChannelDynamic S/R System - Pivot + Channel
A comprehensive Support & Resistance indicator combining dual methodologies for institutional-grade price level analysis
📊 CORE FEATURES
Dual Detection System
• Pivot-Based Levels - Historical turning points with intelligent touch counting
• Dynamic Channel S/R - Trend-aware linear regression boundaries
• Smart Level Management - Auto-merges similar levels, removes weak/outdated ones
Volume Integration
• Multi-timeframe volume analysis using EMA oscillator and spike detection
• Volume confirmation for all breakout signals to filter false moves
• Real-time volume status (Normal/High/Spike) in live information panel
Intelligent Touch Counting
• Automatic level validation through touch frequency analysis
• Strength classification with visual differentiation (colors/thickness)
• Level labels showing exact touch count (S3, R5, etc.)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 VISUAL ELEMENTS
Line System
Solid Lines: Pivot-based S/R levels
Dashed Lines: Dynamic channel boundaries
Color Coding:
• 🔵 Blue/🔴 Red: Standard support/resistance
• 🟠 Orange: Strong levels (multiple touches)
• 🟣 Purple: Channel S/R levels
Signal Labels
• "B" - Pivot S/R breakout with volume confirmation
• "CB" - Channel boundary breakout
• "Bull/Bear Wick" - False breakout detection (wick rejections)
Information Panel
Real-time analysis displays:
• Total resistance/support levels detected
• Closest S/R levels to current price
• Volume status and position relative to levels
• Current market position assessment
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ KEY ADVANTAGES
Multi-Method Validation
Combines historical pivot analysis with dynamic trend channels for comprehensive market view
False Breakout Protection
• Volume confirmation requirements
• Wick analysis to identify failed attempts
• Multiple validation criteria before signal generation
Adaptive Level Management
• Automatically updates as new pivots form
• Removes outdated/weak levels
• Maintains clean, relevant level display
Institutional-Grade Analysis
• Touch counting reveals institutional respect levels
• Volume integration shows smart money activity
• Strength classification identifies high-probability zones
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏰ OPTIMAL USE CASES
Best Timeframes
• Daily - Primary recommendation for swing trading
• 4-Hour - Intraday analysis and entries
• Weekly - Long-term position planning
Ideal Markets
• Crypto pairs (especially ETH/BTC, BTC/USD)
• Forex majors with good volume data
• Large-cap stocks with institutional participation
Trading Applications
• Entry/exit planning around key S/R levels
• Breakout confirmation with volume validation
• Risk management using nearest S/R for stops
• Trend analysis through channel dynamics
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ CONFIGURATION GUIDELINES
Conservative Setup (Higher Confidence)
Min Pivot Strength: 3-4
Volume Threshold: 25-30%
Max Levels: 6-8
Aggressive Setup (More Signals)
Min Pivot Strength: 2
Volume Threshold: 15-20%
Max Levels: 10-12
🔔 ALERT SYSTEM
Breakout Alerts
• Resistance/Support breaks with volume confirmation
• Channel boundary violations
• Approaching strong S/R levels
Advanced Notifications
• Strong level approaches (within 0.5% of price)
• False breakout detection
• Volume spike confirmations
📈 TRADING STRATEGY GUIDE
Entry Strategy
1. Wait for price to approach identified S/R level
2. Confirm with volume analysis (spike/high volume preferred)
3. Watch for wick formations indicating rejection
4. Enter on confirmed breakout with volume or bounce with rejection
Risk Management
• Use nearest S/R level for stop placement
• Scale position size based on level strength (touch count)
• Monitor volume confirmation for exit signals
Market Context
• Combine with higher timeframe trend analysis
• Consider overall market sentiment and volatility
• Use channel direction for bias confirmation
Transform complex S/R analysis into actionable trading intelligence with institutional-level insights for professional trading decisions.
Taylor Rule (Styled by Mongoose) + Macro Action PlanMethodology:
This indicator implements the standard Taylor Rule to estimate a theoretically neutral federal funds rate (FFR) based on economic conditions.
Taylor Rule Formula:
FFR = r* + π + 0.5(π - π*) + 0.5 × Output Gap
π = current inflation rate
π* = inflation target
r* = natural real interest rate
Output Gap = 100 × (u* - u) / u*
u = actual unemployment rate
u* = natural unemployment rate
Visuals:
Teal Line = Taylor Rule Rate
Orange Line = Manual Fed Funds Rate (custom input)
Color Zone Highlight
Red = policy rate far below Taylor estimate (gap > +1.0)
Green = policy rate far above Taylor estimate (gap < -1.0)
Reference Lines:
0% (Zero Bound)
2% (Neutral Rate)
5% (Hawkish Zone)
How to Use:
A Taylor Rate above the actual Fed Funds Rate may imply accommodative conditions.
A Taylor Rate below the actual Fed Funds Rate may imply restrictive or tight policy.
The gap between the Taylor estimate and actual rate helps assess potential macro pressure on markets, yields, and risk assets.
Trader Application:
Helps forecast shifts in Fed stance and macro policy inflection points
Use as a regime filter for positioning in equities, bonds, FX, and commodities
Can support long/short macro strategies based on rate gap and inflation dynamics
Inputs (Editable):
Inflation rate
Inflation target
Neutral real rate (r*)
Actual and natural unemployment rate
Manual FFR value
Normalized Dist from 4H MA200 + Chart HighlightsNormalized Distance from 4H EMA200 + Highlighting Extremes
This indicator measures the distance between the current price and the 4-hour EMA200, normalized into a z-score to detect statistically significant deviations.
🔹 The lower pane shows the normalized z-score.
🔹 Green background = price far below EMA200 (z < -2).
🔹 Red background = price far above EMA200 (z > 3.1).
🔹 These thresholds are user-configurable.
🔹 On the main chart:
🟥 Red candles indicate overheated prices (z > upper threshold)
🟩 Green candles signal oversold conditions (z < lower threshold)
The EMA200 is always taken from a fixed 4H timeframe, regardless of your current chart resolution.
Uptrend Strength Checklist DashboardThe Uptrend Strength Checklist Dashboard is a powerful visual tool designed to help traders quickly evaluate the strength and quality of an uptrend using a combination of 20 widely-used technical conditions. It displays a clean, color-coded dashboard directly on the chart, summarizing key trend indicators in real-time.
🧠 What It Does:
This script checks 20 bullish criteria across different categories—momentum, trend alignment, volume, and price action. Each condition is scored individually and shown in a dashboard with checkmarks ✅ (condition met) or ❌ (condition not met).
The total score out of 20 is then used to interpret the trend strength into 4 levels:
🔥 Very Strong Uptrend (18–20 points)
👍 Strong Uptrend (14–17 points)
🤔 Possible Uptrend Forming (8–13 points)
📉 Weak or No Uptrend (0–7 points)
📋 Checklist Criteria Includes:
Price above short/medium/long EMAs (7, 20, 50, 200)
EMAs stacked in bullish order
MACD Line & Histogram
RSI > 50 and ROC > 0
ADX > 25 and +DI > -DI
OBV trend and Bullish Volume Dominance
Price above Ichimoku Cloud, Tenkan > Kijun
Parabolic SAR bullish signal
Williams Alligator confirmation
Price > Bollinger Band Midline
Price > Previous Week’s High
🌐 Multilingual Support:
Supports both English and Arabic (العربية) language options, with all labels, tooltips, and trend messages dynamically translated based on user selection.
🎨 Customization Options:
Choose table position and size on chart
Customize all trend and table colors
Adjust all indicator input lengths to suit your strategy
✅ Perfect For:
Trend-following traders
Swing and position traders
Technical analysts looking for a structured signal confirmation tool
🔔 Note: This indicator does not generate buy/sell signals on its own but provides a visual checklist to help confirm the strength of an uptrend. Use it in conjunction with your entry/exit strategy and risk management rules.
Candle Size Calculator# Candle Size Calculator
**A powerful position sizing tool that calculates optimal position sizes based on risk management and stop loss levels from historical candles.**
## 🎯 What it does
This indicator helps traders determine the exact position size for their trades by calculating the risk-to-reward ratio between the current price and stop loss levels from previous candles. Perfect for consistent risk management across all your trades.
## 📊 Key Features
- **Smart Position Sizing**: Automatically calculates position size based on your risk amount and distance to stop loss
- **Multiple Candle Analysis**: Analyze up to 20 previous candles to find optimal stop loss levels
- **Direction Support**: Works for both Long and Short positions
- **Clean Table Display**: Shows all calculations in an easy-to-read table format
## ⚙️ Settings
- **Number of Candles**: Choose how many previous candles to analyze (1-20)
- **Risk Amount**: Set your maximum risk per trade in dollars
- **Direction**: Select Long or Short trading direction
- **Table Position**: Choose from 6 different table positions (top/bottom + left/center/right)
- **Font Size**: Select from 5 font sizes (tiny to huge)
## 🎨 Visual Design
- Modern dark theme that matches TradingView's interface
- Color-coded text: Green for Long positions, Red for Short positions
- Clean, borderless design for minimal chart clutter
- Customizable positioning to fit your chart layout
## 📈 How it works
1. **Entry Price**: Always uses the current market price
2. **Stop Loss**:
- For Long positions: Uses the low of selected candles
- For Short positions: Uses the high of selected candles
3. **Position Size**: Calculated as Risk Amount ÷ |Current Price - Stop Price|
## 💡 Use Cases
- **Risk Management**: Maintain consistent risk across all trades
- **Position Sizing**: Never risk more than your predetermined amount
- **Stop Loss Planning**: Identify optimal stop loss levels from recent price action
- **Quick Analysis**: Instantly see position sizes for multiple stop loss scenarios
## 🚀 Perfect for
- Day traders who need quick position size calculations
- Swing traders planning entries with historical support/resistance
- Anyone practicing proper risk management
- Traders who want to automate position sizing calculations
---
*Clean, efficient, and essential for serious traders who prioritize risk management.*
Previous RTH Levels (RTH Only)Previous RTH Levels on current session (RTH Only)
This indicator calculates key volume profile levels from the previous Regular Trading Hours (RTH) session and projects them onto the current RTH session. It is designed to provide traders with significant historical price levels—Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL)—to use as potential support, resistance, and pivot points for intraday trading.
Instead of just plotting lines, this script highlights the entire Value Area (VA) between the VAH and VAL, offering a clear visual reference for the prior day's zone of price agreement.
NativeLenSA CISD w/1st 5m FVG5m CISD + FVG Indicator which works best on 5m TimeFrame, with the concept of 5m Liquidity sweeps of the previous highs/lows and the next candle closing below/above the opening price of candle that swept the highs/lows.
A line marking +CISD or -CISD will show as soon as the CISD is created, and a first 5m Fair Value Gap will also be displayed. This is advantageous for an extra confluence and re-entry.
The indicator also provides the trader with:
i. The flexibility of allowing to only show Bearish, Bullish or both Bearish and Bullish CISD + FVG,
ii. Showing only London Session, New York Session, or both London and New York Sessions' CISD & FVG,
iii. Option of hiding/showing 5m CISD+FVG on time frames greater than 5m,
iv. Adjustable:
(a) Look back bars (max=300),
(b) CISD line length,
(c) FVG line length,
v. Customizable Bearish and Bullish CISD line colors.
I hope you find value in this indicator, and convenient for time when trading, no CISD markups needed
Drawdown Distribution Analysis (DDA) ACADEMIC FOUNDATION AND RESEARCH BACKGROUND
The Drawdown Distribution Analysis indicator implements quantitative risk management principles, drawing upon decades of academic research in portfolio theory, behavioral finance, and statistical risk modeling. This tool provides risk assessment capabilities for traders and portfolio managers seeking to understand their current position within historical drawdown patterns.
The theoretical foundation of this indicator rests on modern portfolio theory as established by Markowitz (1952), who introduced the fundamental concepts of risk-return optimization that continue to underpin contemporary portfolio management. Sharpe (1966) later expanded this framework by developing risk-adjusted performance measures, most notably the Sharpe ratio, which remains a cornerstone of performance evaluation in financial markets.
The specific focus on drawdown analysis builds upon the work of Chekhlov, Uryasev and Zabarankin (2005), who provided the mathematical framework for incorporating drawdown measures into portfolio optimization. Their research demonstrated that traditional mean-variance optimization often fails to capture the full risk profile of investment strategies, particularly regarding sequential losses. More recent work by Goldberg and Mahmoud (2017) has brought these theoretical concepts into practical application within institutional risk management frameworks.
Value at Risk methodology, as comprehensively outlined by Jorion (2007), provides the statistical foundation for the risk measurement components of this indicator. The coherent risk measures framework developed by Artzner et al. (1999) ensures that the risk metrics employed satisfy the mathematical properties required for sound risk management decisions. Additionally, the focus on downside risk follows the framework established by Sortino and Price (1994), while the drawdown-adjusted performance measures implement concepts introduced by Young (1991).
MATHEMATICAL METHODOLOGY
The core calculation methodology centers on a peak-tracking algorithm that continuously monitors the maximum price level achieved and calculates the percentage decline from this peak. The drawdown at any time t is defined as DD(t) = (P(t) - Peak(t)) / Peak(t) × 100, where P(t) represents the asset price at time t and Peak(t) represents the running maximum price observed up to time t.
Statistical distribution analysis forms the analytical backbone of the indicator. The system calculates key percentiles using the ta.percentile_nearest_rank() function to establish the 5th, 10th, 25th, 50th, 75th, 90th, and 95th percentiles of the historical drawdown distribution. This approach provides a complete picture of how the current drawdown compares to historical patterns.
Statistical significance assessment employs standard deviation bands at one, two, and three standard deviations from the mean, following the conventional approach where the upper band equals μ + nσ and the lower band equals μ - nσ. The Z-score calculation, defined as Z = (DD - μ) / σ, enables the identification of statistically extreme events, with thresholds set at |Z| > 2.5 for extreme drawdowns and |Z| > 3.0 for severe drawdowns, corresponding to confidence levels exceeding 99.4% and 99.7% respectively.
ADVANCED RISK METRICS
The indicator incorporates several risk-adjusted performance measures that extend beyond basic drawdown analysis. The Sharpe ratio calculation follows the standard formula Sharpe = (R - Rf) / σ, where R represents the annualized return, Rf represents the risk-free rate, and σ represents the annualized volatility. The system supports dynamic sourcing of the risk-free rate from the US 10-year Treasury yield or allows for manual specification.
The Sortino ratio addresses the limitation of the Sharpe ratio by focusing exclusively on downside risk, calculated as Sortino = (R - Rf) / σd, where σd represents the downside deviation computed using only negative returns. This measure provides a more accurate assessment of risk-adjusted performance for strategies that exhibit asymmetric return distributions.
The Calmar ratio, defined as Annual Return divided by the absolute value of Maximum Drawdown, offers a direct measure of return per unit of drawdown risk. This metric proves particularly valuable for comparing strategies or assets with different risk profiles, as it directly relates performance to the maximum historical loss experienced.
Value at Risk calculations provide quantitative estimates of potential losses at specified confidence levels. The 95% VaR corresponds to the 5th percentile of the drawdown distribution, while the 99% VaR corresponds to the 1st percentile. Conditional VaR, also known as Expected Shortfall, estimates the average loss in the worst 5% of scenarios, providing insight into tail risk that standard VaR measures may not capture.
To enable fair comparison across assets with different volatility characteristics, the indicator calculates volatility-adjusted drawdowns using the formula Adjusted DD = Raw DD / (Volatility / 20%). This normalization allows for meaningful comparison between high-volatility assets like cryptocurrencies and lower-volatility instruments like government bonds.
The Risk Efficiency Score represents a composite measure ranging from 0 to 100 that combines the Sharpe ratio and current percentile rank to provide a single metric for quick asset assessment. Higher scores indicate superior risk-adjusted performance relative to historical patterns.
COLOR SCHEMES AND VISUALIZATION
The indicator implements eight distinct color themes designed to accommodate different analytical preferences and market contexts. The EdgeTools theme employs a corporate blue palette that matches the design system used throughout the edgetools.org platform, ensuring visual consistency across analytical tools.
The Gold theme specifically targets precious metals analysis with warm tones that complement gold chart analysis, while the Quant theme provides a grayscale scheme suitable for analytical environments that prioritize clarity over aesthetic appeal. The Behavioral theme incorporates psychology-based color coding, using green to represent greed-driven market conditions and red to indicate fear-driven environments.
Additional themes include Ocean, Fire, Matrix, and Arctic schemes, each designed for specific market conditions or user preferences. All themes function effectively with both dark and light mode trading platforms, ensuring accessibility across different user interface configurations.
PRACTICAL APPLICATIONS
Asset allocation and portfolio construction represent primary use cases for this analytical framework. When comparing multiple assets such as Bitcoin, gold, and the S&P 500, traders can examine Risk Efficiency Scores to identify instruments offering superior risk-adjusted performance. The 95% VaR provides worst-case scenario comparisons, while volatility-adjusted drawdowns enable fair comparison despite varying volatility profiles.
The practical decision framework suggests that assets with Risk Efficiency Scores above 70 may be suitable for aggressive portfolio allocations, scores between 40 and 70 indicate moderate allocation potential, and scores below 40 suggest defensive positioning or avoidance. These thresholds should be adjusted based on individual risk tolerance and market conditions.
Risk management and position sizing applications utilize the current percentile rank to guide allocation decisions. When the current drawdown ranks above the 75th percentile of historical data, indicating that current conditions are better than 75% of historical periods, position increases may be warranted. Conversely, when percentile rankings fall below the 25th percentile, indicating elevated risk conditions, position reductions become advisable.
Institutional portfolio monitoring applications include hedge fund risk dashboard implementations where multiple strategies can be monitored simultaneously. Sharpe ratio tracking identifies deteriorating risk-adjusted performance across strategies, VaR monitoring ensures portfolios remain within established risk limits, and drawdown duration tracking provides valuable information for investor reporting requirements.
Market timing applications combine the statistical analysis with trend identification techniques. Strong buy signals may emerge when risk levels register as "Low" in conjunction with established uptrends, while extreme risk levels combined with downtrends may indicate exit or hedging opportunities. Z-scores exceeding 3.0 often signal statistically oversold conditions that may precede trend reversals.
STATISTICAL SIGNIFICANCE AND VALIDATION
The indicator provides 95% confidence intervals around current drawdown levels using the standard formula CI = μ ± 1.96σ. This statistical framework enables users to assess whether current conditions fall within normal market variation or represent statistically significant departures from historical patterns.
Risk level classification employs a dynamic assessment system based on percentile ranking within the historical distribution. Low risk designation applies when current drawdowns perform better than 50% of historical data, moderate risk encompasses the 25th to 50th percentile range, high risk covers the 10th to 25th percentile range, and extreme risk applies to the worst 10% of historical drawdowns.
Sample size considerations play a crucial role in statistical reliability. For daily data, the system requires a minimum of 252 trading days (approximately one year) but performs better with 500 or more observations. Weekly data analysis benefits from at least 104 weeks (two years) of history, while monthly data requires a minimum of 60 months (five years) for reliable statistical inference.
IMPLEMENTATION BEST PRACTICES
Parameter optimization should consider the specific characteristics of different asset classes. Equity analysis typically benefits from 500-day lookback periods with 21-day smoothing, while cryptocurrency analysis may employ 365-day lookback periods with 14-day smoothing to account for higher volatility patterns. Fixed income analysis often requires longer lookback periods of 756 days with 34-day smoothing to capture the lower volatility environment.
Multi-timeframe analysis provides hierarchical risk assessment capabilities. Daily timeframe analysis supports tactical risk management decisions, weekly analysis informs strategic positioning choices, and monthly analysis guides long-term allocation decisions. This hierarchical approach ensures that risk assessment occurs at appropriate temporal scales for different investment objectives.
Integration with complementary indicators enhances the analytical framework. Trend indicators such as RSI and moving averages provide directional bias context, volume analysis helps confirm the severity of drawdown conditions, and volatility measures like VIX or ATR assist in market regime identification.
ALERT SYSTEM AND AUTOMATION
The automated alert system monitors five distinct categories of risk events. Risk level changes trigger notifications when drawdowns move between risk categories, enabling proactive risk management responses. Statistical significance alerts activate when Z-scores exceed established threshold levels of 2.5 or 3.0 standard deviations.
New maximum drawdown alerts notify users when historical maximum levels are exceeded, indicating entry into uncharted risk territory. Poor risk efficiency alerts trigger when the composite risk efficiency score falls below 30, suggesting deteriorating risk-adjusted performance. Sharpe ratio decline alerts activate when risk-adjusted performance turns negative, indicating that returns no longer compensate for the risk undertaken.
TRADING STRATEGIES
Conservative risk parity strategies can be implemented by monitoring Risk Efficiency Scores across a diversified asset portfolio. Monthly rebalancing maintains equal risk contribution from each asset, with allocation reductions triggered when risk levels reach "High" status and complete exits executed when "Extreme" risk levels emerge. This approach typically results in lower overall portfolio volatility, improved risk-adjusted returns, and reduced maximum drawdown periods.
Tactical asset rotation strategies compare Risk Efficiency Scores across different asset classes to guide allocation decisions. Assets with scores exceeding 60 receive overweight allocations, while assets scoring below 40 receive underweight positions. Percentile rankings provide timing guidance for allocation adjustments, creating a systematic approach to asset allocation that responds to changing risk-return profiles.
Market timing strategies with statistical edges can be constructed by entering positions when Z-scores fall below -2.5, indicating statistically oversold conditions, and scaling out when Z-scores exceed 2.5, suggesting overbought conditions. The 95% VaR serves as a stop-loss reference point, while trend confirmation indicators provide additional validation for position entry and exit decisions.
LIMITATIONS AND CONSIDERATIONS
Several statistical limitations affect the interpretation and application of these risk measures. Historical bias represents a fundamental challenge, as past drawdown patterns may not accurately predict future risk characteristics, particularly during structural market changes or regime shifts. Sample dependence means that results can be sensitive to the selected lookback period, with shorter periods providing more responsive but potentially less stable estimates.
Market regime changes can significantly alter the statistical parameters underlying the analysis. During periods of structural market evolution, historical distributions may provide poor guidance for future expectations. Additionally, many financial assets exhibit return distributions with fat tails that deviate from normal distribution assumptions, potentially leading to underestimation of extreme event probabilities.
Practical limitations include execution risk, where theoretical signals may not translate directly into actual trading results due to factors such as slippage, timing delays, and market impact. Liquidity constraints mean that risk metrics assume perfect liquidity, which may not hold during stressed market conditions when risk management becomes most critical.
Transaction costs are not incorporated into risk-adjusted return calculations, potentially overstating the attractiveness of strategies that require frequent trading. Behavioral factors represent another limitation, as human psychology may override statistical signals, particularly during periods of extreme market stress when disciplined risk management becomes most challenging.
TECHNICAL IMPLEMENTATION
Performance optimization ensures reliable operation across different market conditions and timeframes. All technical analysis functions are extracted from conditional statements to maintain Pine Script compliance and ensure consistent execution. Memory efficiency is achieved through optimized variable scoping and array usage, while computational speed benefits from vectorized calculations where possible.
Data quality requirements include clean price data without gaps or errors that could distort distribution analysis. Sufficient historical data is essential, with a minimum of 100 bars required and 500 or more preferred for reliable statistical inference. Time alignment across related assets ensures meaningful comparison when conducting multi-asset analysis.
The configuration parameters are organized into logical groups to enhance usability. Core settings include the Distribution Analysis Period (100-2000 bars), Drawdown Smoothing Period (1-50 bars), and Price Source selection. Advanced metrics settings control risk-free rate sourcing, either from live market data or fixed rate specification, along with toggles for various risk-adjusted metric calculations.
Display options provide flexibility in visual presentation, including color theme selection from eight available schemes, automatic dark mode optimization, and control over table display, position lines, percentile bands, and standard deviation overlays. These options ensure that the indicator can be adapted to different analytical workflows and visual preferences.
CONCLUSION
The Drawdown Distribution Analysis indicator provides risk management tools for traders seeking to understand their current position within historical risk patterns. By combining established statistical methodology with practical usability features, the tool enables evidence-based risk assessment and portfolio optimization decisions.
The implementation draws upon established academic research while providing practical features that address real-world trading requirements. Dynamic risk-free rate integration ensures accurate risk-adjusted performance calculations, while multiple color schemes accommodate different analytical preferences and use cases.
Academic compliance is maintained through transparent methodology and acknowledgment of limitations. The tool implements peer-reviewed statistical techniques while clearly communicating the constraints and assumptions underlying the analysis. This approach ensures that users can make informed decisions about the appropriate application of the risk assessment framework within their broader trading and investment processes.
BIBLIOGRAPHY
Artzner, P., Delbaen, F., Eber, J.M. and Heath, D. (1999) 'Coherent Measures of Risk', Mathematical Finance, 9(3), pp. 203-228.
Chekhlov, A., Uryasev, S. and Zabarankin, M. (2005) 'Drawdown Measure in Portfolio Optimization', International Journal of Theoretical and Applied Finance, 8(1), pp. 13-58.
Goldberg, L.R. and Mahmoud, O. (2017) 'Drawdown: From Practice to Theory and Back Again', Journal of Risk Management in Financial Institutions, 10(2), pp. 140-152.
Jorion, P. (2007) Value at Risk: The New Benchmark for Managing Financial Risk. 3rd edn. New York: McGraw-Hill.
Markowitz, H. (1952) 'Portfolio Selection', Journal of Finance, 7(1), pp. 77-91.
Sharpe, W.F. (1966) 'Mutual Fund Performance', Journal of Business, 39(1), pp. 119-138.
Sortino, F.A. and Price, L.N. (1994) 'Performance Measurement in a Downside Risk Framework', Journal of Investing, 3(3), pp. 59-64.
Young, T.W. (1991) 'Calmar Ratio: A Smoother Tool', Futures, 20(1), pp. 40-42.
Bar numberAdds a number above the last 50 candles. Candle 1 is always the most recent.
Can be useful when teaching people onlinet. Now they can just ask « what’s candle number 20 » instead of « what’s with that narrow range candle next to the big one to the left… no not that one, the other one »
Silver BulletSilver Bullet is a trading tool built for finding cleaner, higher-probability setups. It focuses on key windows of market movement and adds helpful tools like daily range levels and candlestick patterns.
Whether you’re trading breakouts or reversals, Silver Bullet gives you a clearer view of the market and more confidence in your setups.
⸻
🔹 Trading Setup #1: Macro Time
The Macro Time setting offers two modes: Macro Bullet and Silver Bullet. Both help traders focus on specific times when the market tends to deliver clean moves.
• Macro Bullet is based on the high and low of a full macro session. It automatically detects the session’s range and bias, then offers optimal entries for either Long or Short setups. Once the session resolves, it provides Fibonacci-based levels for entry, target, and stop loss.
• Silver Bullet is based on ICT concepts and focuses on the hourly range for London, NY AM, and NY PM sessions. It’s designed for quick time blocks and highlights key levels as the session unfolds.
To use this setup, set Macro Time to “ICT Sessions” and select your preferred mode under Bullet Mode.
⸻
🔹 Trading Setup #2: Daily Range
Enable Daily Range to draw Fibonacci levels based on either the previous day’s candle or the current day’s developing range. These levels help you identify potential support, resistance, and midpoint zones throughout the day.
With the current day’s range, levels automatically update in real time as new highs or lows form — keeping your chart aligned with evolving price action.
⸻
🔹 Trading Setup #3: Candlestick Patterns
Turn on Candlestick Patterns to automatically highlight clean reversal signals such as Hammers, Hanging Men, Shooting Stars, and Tweezers. Each pattern is detected using specific criteria and trend filters to reduce noise and improve reliability. They work especially well as confirmation signals around key levels or session zones.
Silver Bullet brings structure, clarity, and precision to your intraday trading. By combining time-based bias, price action levels, and pattern recognition, it helps you trade with purpose — not guesswork. Use one setup or combine all three for a complete view of the market, tailored to your style and session of choice.
FU Candle - dnd_whael What the FU Candle Indicator does:
First we need to understand what FU candles are. There's bullish and bearish FU candles.
Bullish FU candles are candles that have a long wick that takes out the previous candles low, then turns around and closes above the high of the previous candle.
3x Multi EMA/SMA ColoredThis is a Multi-Colored EMA/SMA Script with 3 ema's that can be toggled on/off and 3 sma's that can be toggled on/off.
Giving you more visibility where price is actually going using 3 ema's at the same time or 3 sma's at the same time allowing you to change the colors when Bearish or Bullish.
AI's Opinion Trading System V21. Complete Summary of the Indicator Script
AI’s Opinion Trading System V2 is an advanced, multi-factor trading tool designed for the TradingView platform. It combines several technical indicators (moving averages, RSI, MACD, ADX, ATR, and volume analysis) to generate buy, sell, and hold signals. The script features a customizable AI “consensus” engine that weighs multiple indicator signals, applies user-defined filters, and outputs actionable trade instructions with clear stop loss and take profit levels. The indicator also tracks sentiment, volume delta, and allows for advanced features like pyramiding (adding to positions), custom stop loss/take profit prices, and flexible signal confirmation logic. All key data and signals are displayed in a dynamic, color-coded table on the chart for easy review.
2. Full Explanation of the Table
The table is a real-time dashboard summarizing the indicator’s logic and recommendations for the most recent bars. It is color-coded for clarity and designed to help traders quickly understand market conditions and AI-driven trade signals.
Columns (from left to right):
Column Name What it Shows
Bar The time context: “Now” for the current bar, then “Bar -1”, “Bar -2”, etc. for previous bars.
Raw Consensus The raw AI consensus for each bar: “Buy”, “Sell”, or “-” (neutral).
Up Vol The amount of volume on up (rising) bars.
Down Vol The amount of volume on down (falling) bars.
Delta The difference between up and down volume. Green if positive, red if negative, gray if neutral.
Close The closing price for each bar, color-coded by price change.
Sentiment Diff The difference between the close and average sentiment price (a custom sentiment calculation).
Lookback The number of bars used for sentiment calculation (if enabled).
ADX The ADX value (trend strength).
ATR The ATR value (volatility measure).
Vol>Avg “Yes” (green) if volume is above average, “No” (red) otherwise.
Confirm Whether the AI signal is confirmed over the required bars.
Logic Output The AI’s interpreted signal after applying user-selected logic: “Buy”, “Sell”, or “-”.
Final Action The final signal after all filters: “Buy”, “Sell”, or “-”.
Trade Instruction A plain-English instruction: Buy/Sell/Add/Hold/No Action, with price, stop loss, and take profit.
Color Coding:
Green: Positive/bullish values or signals
Red: Negative/bearish values or signals
Gray: Neutral or inactive
Blue background: For all table cells, for visual clarity
White text: Default, except for color-coded cells
3. Full User Instructions for Every Input/Style Option
Below are plain-language instructions for every user-adjustable option in the indicator’s input and style pages:
Inputs
Table Location
What it does: Sets where the summary table appears on your chart.
How to use: Choose from 9 positions (Top Left, Top Center, Top Right, etc.) to avoid overlapping with other chart elements.
Decimal Places
What it does: Controls how many decimal places prices and values are displayed with.
How to use: Increase for assets with very small prices (e.g., SHIB), decrease for stocks or forex.
Show Sentiment Lookback?
What it does: Shows or hides the “Lookback” column in the table, which displays how many bars are used in the sentiment calculation.
How to use: Turn off if you want a simpler table.
AI View Mode
What it does: Selects the logic for how the AI combines signals from different indicators.
Majority: Follows the most common signal among all indicators.
Weighted: Uses custom weights for each type of signal.
Custom: Lets you define your own logic (see below).
How to use: Pick the logic style that matches your trading philosophy.
AI Consensus Weight / Vol Delta Weight / Sentiment Weight
What they do: When using “Weighted” AI View Mode, these let you set how much influence each factor (indicator consensus, volume delta, sentiment) has on the final signal.
How to use: Increase a weight to make that factor more important in the AI’s decision.
Custom AI View Logic
What it does: Lets advanced users write their own logic for when the AI should signal a trade (e.g., “ai==1 and delta>0 and sentiment>0”).
How to use: Only use if you understand basic boolean logic.
Use Custom Stop Loss/Take Profit Prices?
What it does: If enabled, you can enter your own fixed stop loss and take profit prices for buys and sells.
How to use: Turn on to override the auto-calculated SL/TP and enter your desired prices below.
Custom Buy/Sell Stop Loss/Take Profit Price
What they do: If custom SL/TP is enabled, these fields let you set exact prices for stop loss and take profit on both buy and sell trades.
How to use: Enter your preferred price, or leave at 0 for auto-calculation.
Sentiment Lookback
What it does: Sets how many bars the sentiment calculation should look back.
How to use: Increase to smooth out sentiment, decrease for faster reaction.
Max Pyramid Adds
What it does: Limits how many times you can add to an existing position (pyramiding).
How to use: Set to 1 for no adds, higher for more aggressive scaling in trends.
Signal Preset
What it does: Quick-sets a group of signal parameters (see below) for “Robust”, “Standard”, “Freedom”, or “Custom”.
How to use: Pick a preset, or select “Custom” to adjust everything manually.
Min Bars for Signal Confirmation
What it does: Sets how many bars a signal must persist before it’s considered valid.
How to use: Increase for more robust, less frequent signals; decrease for faster, but possibly less reliable, signals.
ADX Length
What it does: Sets the period for the ADX (trend strength) calculation.
How to use: Longer = smoother, shorter = more sensitive.
ADX Trend Threshold
What it does: Sets the minimum ADX value to consider a trend “strong.”
How to use: Raise for stricter trend confirmation, lower for more trades.
ATR Length
What it does: Sets the period for the ATR (volatility) calculation.
How to use: Longer = smoother volatility, shorter = more reactive.
Volume Confirmation Lookback
What it does: Sets how many bars are used to calculate the average volume.
How to use: Longer = more stable volume baseline, shorter = more sensitive.
Volume Confirmation Multiplier
What it does: Sets how much current volume must exceed average volume to be considered “high.”
How to use: Increase for stricter volume filter.
RSI Flat Min / RSI Flat Max
What they do: Define the RSI range considered “flat” (i.e., not trending).
How to use: Widen to be stricter about requiring a trend, narrow for more trades.
Style Page
Most style settings (such as plot colors, label sizes, and shapes) are preset in the script for visual clarity.
You can adjust plot visibility and colors (for signals, stop loss, take profit) in the TradingView “Style” tab as with any indicator.
Buy Signal: Shows as a green triangle below the bar when a buy is triggered.
Sell Signal: Shows as a red triangle above the bar when a sell is triggered.
Stop Loss/Take Profit Lines: Red and green lines for SL/TP, visible when a trade is active.
SL/TP Labels: Small colored markers at the SL/TP levels for each trade.
How to use:
Toggle visibility or change colors in the Style tab if you wish to match your chart theme or preferences.
In Summary
This indicator is highly customizable—you can tune every aspect of the AI logic, risk management, signal filtering, and table display to suit your trading style.
The table gives you a real-time, comprehensive view of all relevant signals, filters, and trade instructions.
All inputs are designed to be intuitive—hover over them in TradingView for tooltips, or refer to the explanations above for details.
AI's Opinion Trading System V21. Complete Summary of the Indicator Script
AI’s Opinion Trading System V2 is an advanced, multi-factor trading tool designed for the TradingView platform. It combines several technical indicators (moving averages, RSI, MACD, ADX, ATR, and volume analysis) to generate buy, sell, and hold signals. The script features a customizable AI “consensus” engine that weighs multiple indicator signals, applies user-defined filters, and outputs actionable trade instructions with clear stop loss and take profit levels. The indicator also tracks sentiment, volume delta, and allows for advanced features like pyramiding (adding to positions), custom stop loss/take profit prices, and flexible signal confirmation logic. All key data and signals are displayed in a dynamic, color-coded table on the chart for easy review.
2. Full Explanation of the Table
The table is a real-time dashboard summarizing the indicator’s logic and recommendations for the most recent bars. It is color-coded for clarity and designed to help traders quickly understand market conditions and AI-driven trade signals.
Columns (from left to right):
Column Name What it Shows
Bar The time context: “Now” for the current bar, then “Bar -1”, “Bar -2”, etc. for previous bars.
Raw Consensus The raw AI consensus for each bar: “Buy”, “Sell”, or “-” (neutral).
Up Vol The amount of volume on up (rising) bars.
Down Vol The amount of volume on down (falling) bars.
Delta The difference between up and down volume. Green if positive, red if negative, gray if neutral.
Close The closing price for each bar, color-coded by price change.
Sentiment Diff The difference between the close and average sentiment price (a custom sentiment calculation).
Lookback The number of bars used for sentiment calculation (if enabled).
ADX The ADX value (trend strength).
ATR The ATR value (volatility measure).
Vol>Avg “Yes” (green) if volume is above average, “No” (red) otherwise.
Confirm Whether the AI signal is confirmed over the required bars.
Logic Output The AI’s interpreted signal after applying user-selected logic: “Buy”, “Sell”, or “-”.
Final Action The final signal after all filters: “Buy”, “Sell”, or “-”.
Trade Instruction A plain-English instruction: Buy/Sell/Add/Hold/No Action, with price, stop loss, and take profit.
Color Coding:
Green: Positive/bullish values or signals
Red: Negative/bearish values or signals
Gray: Neutral or inactive
Blue background: For all table cells, for visual clarity
White text: Default, except for color-coded cells
3. Full User Instructions for Every Input/Style Option
Below are plain-language instructions for every user-adjustable option in the indicator’s input and style pages:
Inputs
Table Location
What it does: Sets where the summary table appears on your chart.
How to use: Choose from 9 positions (Top Left, Top Center, Top Right, etc.) to avoid overlapping with other chart elements.
Decimal Places
What it does: Controls how many decimal places prices and values are displayed with.
How to use: Increase for assets with very small prices (e.g., SHIB), decrease for stocks or forex.
Show Sentiment Lookback?
What it does: Shows or hides the “Lookback” column in the table, which displays how many bars are used in the sentiment calculation.
How to use: Turn off if you want a simpler table.
AI View Mode
What it does: Selects the logic for how the AI combines signals from different indicators.
Majority: Follows the most common signal among all indicators.
Weighted: Uses custom weights for each type of signal.
Custom: Lets you define your own logic (see below).
How to use: Pick the logic style that matches your trading philosophy.
AI Consensus Weight / Vol Delta Weight / Sentiment Weight
What they do: When using “Weighted” AI View Mode, these let you set how much influence each factor (indicator consensus, volume delta, sentiment) has on the final signal.
How to use: Increase a weight to make that factor more important in the AI’s decision.
Custom AI View Logic
What it does: Lets advanced users write their own logic for when the AI should signal a trade (e.g., “ai==1 and delta>0 and sentiment>0”).
How to use: Only use if you understand basic boolean logic.
Use Custom Stop Loss/Take Profit Prices?
What it does: If enabled, you can enter your own fixed stop loss and take profit prices for buys and sells.
How to use: Turn on to override the auto-calculated SL/TP and enter your desired prices below.
Custom Buy/Sell Stop Loss/Take Profit Price
What they do: If custom SL/TP is enabled, these fields let you set exact prices for stop loss and take profit on both buy and sell trades.
How to use: Enter your preferred price, or leave at 0 for auto-calculation.
Sentiment Lookback
What it does: Sets how many bars the sentiment calculation should look back.
How to use: Increase to smooth out sentiment, decrease for faster reaction.
Max Pyramid Adds
What it does: Limits how many times you can add to an existing position (pyramiding).
How to use: Set to 1 for no adds, higher for more aggressive scaling in trends.
Signal Preset
What it does: Quick-sets a group of signal parameters (see below) for “Robust”, “Standard”, “Freedom”, or “Custom”.
How to use: Pick a preset, or select “Custom” to adjust everything manually.
Min Bars for Signal Confirmation
What it does: Sets how many bars a signal must persist before it’s considered valid.
How to use: Increase for more robust, less frequent signals; decrease for faster, but possibly less reliable, signals.
ADX Length
What it does: Sets the period for the ADX (trend strength) calculation.
How to use: Longer = smoother, shorter = more sensitive.
ADX Trend Threshold
What it does: Sets the minimum ADX value to consider a trend “strong.”
How to use: Raise for stricter trend confirmation, lower for more trades.
ATR Length
What it does: Sets the period for the ATR (volatility) calculation.
How to use: Longer = smoother volatility, shorter = more reactive.
Volume Confirmation Lookback
What it does: Sets how many bars are used to calculate the average volume.
How to use: Longer = more stable volume baseline, shorter = more sensitive.
Volume Confirmation Multiplier
What it does: Sets how much current volume must exceed average volume to be considered “high.”
How to use: Increase for stricter volume filter.
RSI Flat Min / RSI Flat Max
What they do: Define the RSI range considered “flat” (i.e., not trending).
How to use: Widen to be stricter about requiring a trend, narrow for more trades.
Style Page
Most style settings (such as plot colors, label sizes, and shapes) are preset in the script for visual clarity.
You can adjust plot visibility and colors (for signals, stop loss, take profit) in the TradingView “Style” tab as with any indicator.
Buy Signal: Shows as a green triangle below the bar when a buy is triggered.
Sell Signal: Shows as a red triangle above the bar when a sell is triggered.
Stop Loss/Take Profit Lines: Red and green lines for SL/TP, visible when a trade is active.
SL/TP Labels: Small colored markers at the SL/TP levels for each trade.
How to use:
Toggle visibility or change colors in the Style tab if you wish to match your chart theme or preferences.
In Summary
This indicator is highly customizable—you can tune every aspect of the AI logic, risk management, signal filtering, and table display to suit your trading style.
The table gives you a real-time, comprehensive view of all relevant signals, filters, and trade instructions.
All inputs are designed to be intuitive—hover over them in TradingView for tooltips, or refer to the explanations above for details.
Volume Visualizer KerryFinds lowest volume candles under 30 period volume SMA. Kan be changed for period and multiple factor under SMA.
Low volume candles can be seen before breakouts and can be used with TTM squeeze indicator.
TraderOracle MethodCatboy buy and sell. This indicator will show buy and sell signals on market direction
Insane OscillatorCatboy buy and sell. This indicator will show buy and sell signals on market direction