Drawdown Tracker [SpokoStocks]Drawdown Tracker
The Drawdown Tracker is a powerful tool designed to help traders monitor and visualize the drawdown of symbol. By tracking both current and maximum drawdown levels, this indicator provides valuable insights into risk and potential capital preservation.
Features:
> Current Drawdown:
The current drawdown is calculated as the percentage drop from the record high to the current low, providing a real-time view of the loss from the peak.
> Maximum Drawdown:
The maximum drawdown represents the deepest drop observed from any peak in the historical data, giving an understanding of the worst-case scenario for losses.
> You can choose between two modes:
Full History: Tracks the maximum drawdown from the entire available data.
Rolling Period: Tracks the maximum drawdown within a defined rolling period (default 50 bars), allowing for a shorter-term risk assessment.
> Customizable Rolling Period:
You can adjust the rolling period length through the Rolling Period Length input to reflect different time frames for drawdown calculations.
> Warning Level:
A customizable warning level (default -65%) is plotted on the chart. This acts as a threshold to alert users when the drawdown crosses into a potentially concerning territory.
> Gradient Color Visualization:
The current drawdown is visualized using a gradient color, transitioning from red to yellow as the drawdown increases from -100% to 0%, providing an easy-to-interpret view of the severity of the drawdown.
> New Max Drawdown Marker:
Whenever a new maximum drawdown is recorded, a triangle marker is displayed at the bottom of the chart, along with a label showing the drawdown percentage. This provides clear visual confirmation when a new historical low is reached.
> Alerts:
Warning Level Breach Alert: Alerts you when the drawdown breaches the warning level you’ve set, helping you stay aware of significant risk events.
New Max Drawdown Alert: Triggers when a new maximum drawdown is recorded, allowing you to act quickly if necessary.
Use Cases:
Risk Management: Keep track of how much an asset is down from the peak, helping you make informed decisions about risk and drawdown tolerances.
Risk Disclaimer:
The information provided by this script is for educational and informational purposes only. It is not intended as financial advice and should not be construed as such. All trading and investment activities involve a high level of risk and may result in the loss of capital. The user is solely responsible for any decisions made based on the content provided by this script.
By using this script, you acknowledge and agree that you use it at your own risk. The creator of this script makes no warranties regarding the accuracy, completeness, or reliability of the information, and disclaims any responsibility for any losses or damages arising from its use.
Always conduct your own research and consult with a qualified financial advisor before making any investment decisions.
Gestão de carteira
Bear Market LevelMarks the bear market level. Calculated as 20% drop from highs. Useful on indices to determine technical Bull or Bear markets.
BTC vs Mag7 Combined IndexThis Mag7 Combined Index script is a custom TradingView indicator that calculates and visualizes the collective performance of the Magnificent 7 (Mag7) stocks—Apple, Microsoft, Alphabet, Amazon, NVIDIA, Tesla, and Meta (red line) compared to Bitcoin (blue line). It normalizes the daily closing prices of each stock to their initial value on the chart, scales them into percentages, and then computes their simple average to form a combined index. The result is plotted as a single red line, offering a clear view of the aggregated performance of these influential stocks over time compared to Bitcoin.
This indicator is ideal for analyzing the overall market impact of Bitcoin compared to the Mag7 stocks.
Simple Average Price & Target ProfitThis script is designed to help users calculate and visualize the weighted average price of an asset based on multiple entry points, along with the target price and the potential profit. The user can input specific prices for three different entries, along with the percentage of total investment allocated to each price point. The script then calculates the weighted average price based on these entries and displays it on the chart. Additionally, it calculates the potential profit at a given target price, which is plotted on the chart.
Market Regime DetectorMarket Regime Detector
The Market Regime Detector is a tool designed to help traders identify and adapt to the prevailing market environment by analyzing price action in relation to key macro timeframe levels. This indicator categorizes the market into distinct regimes—Bullish, Bearish, or Reverting—providing actionable insights to set trading expectations, manage volatility, and align strategies with broader market conditions.
What is a Market Regime?
A market regime refers to the overarching state or condition of the market at a given time. Understanding the market regime is critical for traders as it determines the most effective trading approach. The three main regimes are:
Bullish Regime:
Characterized by upward momentum where prices are consistently trending higher.
Trading strategies often focus on buying opportunities and trend-following setups.
Bearish Regime:
Defined by downward price pressure and declining trends.
Traders typically look for selling opportunities or adopt risk-off strategies.
Reverting Regime:
Represents a consolidation phase where prices move within a defined range.
Ideal for mean-reversion strategies or range-bound trading setups.
Key Features of the Market Regime Detector:
Dynamic Market Regime Detection:
Identifies the market regime based on macro timeframe high and low levels (e.g., weekly or monthly).
Provides clear and actionable insights for each regime to align trading strategies.
Visual Context for Price Levels:
Plots the macro high and low levels on the chart, allowing traders to visualize critical support and resistance zones.
Enhances understanding of volatility and trend boundaries.
Regime Transition Alerts:
Sends alerts only when the market transitions into a new regime, ensuring traders are notified of meaningful changes without redundant signals.
Alert messages include clear regime descriptions, such as "Market entered a Bullish Regime: Price is above the macro high."
Customizable Visualization:
Background colors dynamically adjust to the current regime:
Blue for Reverting.
Aqua for Bullish.
Fuchsia for Bearish.
Option to toggle high/low line plotting and background highlights for a tailored experience.
Volatility and Expectation Management:
Offers insights into market volatility by showing when price action approaches, exceeds, or reverts within macro timeframe levels.
Helps traders set realistic expectations and adjust their strategies accordingly.
Use Cases:
Trend Traders: Identify bullish or bearish regimes to capture sustained price movements.
Range Traders: Leverage reverting regimes to trade between defined support and resistance zones.
Risk Managers: Use macro high and low levels as dynamic stop-loss or take-profit zones to optimize trade management.
The Market Regime Detector equips traders with a deeper understanding of the market environment, making it an essential tool for informed decision-making and strategic planning. Whether you're trading trends, ranges, or managing risk, this indicator provides the clarity and insights needed to navigate any market condition.
Improved Trend Reconnaissance | JeffreyTimmermansImproved Trend Reconnaissance
The Improved Trend Reconnaissance indicator is a robust tool designed to help traders identify and follow trends while avoiding market noise. It is especially effective for capturing longer-term trends and sustained price movements over extended time periods. By leveraging smoothed trend analysis and volatility-based consolidation detection, this indicator provides clear and actionable insights for traders focusing on significant market trends.
What Does This Indicator Do?
At its core, this indicator calculates a Half Trend value and applies advanced smoothing techniques to emphasize longer-term trends. Additionally, it incorporates volatility analysis using the Average True Range (ATR) to detect periods of consolidation, where trend signals are muted to prevent false signals.
Key Components Explained
Half Trend Calculation:
This indicator determines a Half Trend value based on the relationship between the Exponential Moving Average (EMA) of closing prices and the highest highs and lowest lows over a specified range.
The trend is further smoothed to minimize short-term fluctuations, ensuring the focus remains on sustained price movements.
ATR-Based Consolidation Detection:
By comparing the range of price highs and lows to a multiple of ATR, the indicator detects consolidation zones where the market is range-bound. During these periods, trend signals are suppressed to avoid false positives.
Trend Visualization:
Bullish Trends: Highlighted in green with upward markers and optional trend-colored candles.
Bearish Trends: Highlighted in red with downward markers and optional trend-colored candles.
Designed for Longer-Term Trends:
The default settings are optimized to capture longer-term trends, making this indicator particularly valuable for traders looking to identify and follow substantial market movements over extended periods.
Key Features
Optimized for Capturing Longer Trends:
With the default settings, the indicator is tailored to identify and follow longer-term price trends, reducing noise from minor fluctuations. This makes it ideal for traders focused on significant trends and extended price movements.
Customizable Inputs:
Parameters such as trend range, smoothing length, ATR calculation period, and consolidation threshold are fully customizable.
Visual settings, including trend colors and signal sizes, can be adjusted for personalized trading needs.
Dynamic Signal Generation:
Bullish Signals: Generated when the smoothed Half Trend crosses upward and the market is trending.
Bearish Signals: Generated when the smoothed Half Trend crosses downward and the market is trending.
Alerts can notify traders in real time when these conditions occur.
Enhanced Visualization:
Candle coloring based on trend direction provides an immediate visual representation of market momentum.
Plotted trend lines and filled regions between them emphasize the current trend's strength and direction.
Real-Time Dashboard:
Displays essential information, including the current ticker, trend direction, and status (bullish or bearish), directly on the chart.
How to Use This Indicator
Identify Longer-Term Trends:
Use the smoothed Half Trend line and trend-colored candles to identify and follow significant price trends.
The default settings are specifically designed to focus on extended trends, making it easier to spot major market moves.
Avoid Noise in Consolidation:
Pay attention to the consolidation detection feature, which suppresses signals during range-bound market conditions, aka mean-reverting markets.
This ensures that signals generated are more reliable and actionable.
Confirm Trend Signals:
Use the visual markers (flags) and dashboard status to validate bullish or bearish trends before making trading decisions.
Set Alerts:
Set alerts for bullish or bearish signals to stay informed about key market movements without constantly monitoring the charts.
Adapt for Your Strategy:
While optimized for longer-term trends, the customizable settings allow you to adapt the indicator for shorter-term strategies if needed.
What Makes This Indicator Unique?
Focus on Longer-Term Trends:
Unlike many indicators that respond to short-term fluctuations, this tool is tailored for longer-term trend-following systems, ensuring that traders capture the most meaningful price movements.
Noise Reduction:
By combining smoothing techniques and ATR-based consolidation detection, the indicator reduces market noise and focuses on actionable insights.
Clear Visual Representation:
The combination of trend-colored candles, plotted lines, and dashboard information simplifies the analysis of complex market trends.
Customizability:
Fully adjustable parameters ensure the indicator meets the specific needs of a wide range of trading styles.
Real-Time Feedback:
Alerts and dashboard integration keep traders informed, enabling timely and well-informed decision-making.
The Improved Trend Reconnaissance indicator is an essential tool for traders looking to focus on longer-term trends and sustained market movements. With its default settings optimized for capturing significant trends over extended periods, it offers clarity, precision, and actionable insights for successful trend-following trading.
-Jeffrey
Z-Score Financial Market Conditions | JeffreyTimmermansZ-Score Financial Market Conditions
The Z-Score Financial Market Conditions indicator is a cutting-edge tool for measuring financial market stress and relaxation by combining eight critical financial metrics into a single composite Z-score. This dynamic indicator provides traders and analysts with actionable insights into the overall state of the financial markets, enabling informed decision-making across various trading and investment systems.
Purpose of the Indicator
This indicator serves as a comprehensive gauge of financial market conditions, offering a clear visualization of whether the markets are in a state of stress (elevated risks) or relaxation (normalized conditions). The Z-Score Financial Market Conditions tool is particularly effective for:
Macro-Level Risk Assessment: Identifying periods of high market stress or calmness.
Trend Following Systems: Gauging the market's underlying conditions to validate trends.
Mean Reversion Strategies: Using extreme Z-score levels to detect potential reversals.
Portfolio Risk Management: Adjusting asset exposure based on market-wide financial conditions.
This indicator works exclusively on the 1-day timeframe, as it is calibrated to analyze daily changes in the financial metrics that drive market behavior.
The Eight Key Components and Their Importance
The composite Z-score integrates the Z-scores of the following eight financial metrics. These metrics have been selected for their complementary insights into various aspects of financial market conditions:
VIX (S&P 500 Volatility Index)
Reflects implied volatility in the U.S. equity market.
High VIX values indicate increased uncertainty and risk aversion among market participants.
MOVE (US Treasury Bond Volatility Index)
Captures volatility in U.S. Treasury bonds.
Essential for understanding risk in fixed-income markets, which significantly impact broader economic conditions.
ICE BofA High Yield Option Adjusted Spread (BAMLH0A0HYM2)
Measures the risk premium for high-yield corporate bonds.
Rising spreads suggest increased credit risk and potential economic stress.
ICE BofA Corporate Index Option Adjusted Spread (BAMLC0A0CM)
Tracks credit spreads in the investment-grade bond market.
Helps evaluate the health of higher-quality corporate debt, a key indicator of financial stability.
ICE BofA US High Yield Index Spread (BAMLH0A0HYM2)
Focuses on high-yield U.S. corporate bonds.
Provides localized insights into U.S. credit conditions and risk levels.
CDS (Credit Default Swap Spreads)
Measures the cost of insuring against bond defaults.
Rising CDS spreads signal growing concern over creditworthiness, often a leading indicator of financial stress.
Global Bond Spread (AGG)
Represents global fixed-income spreads.
Offers a broader perspective on international financial conditions beyond the U.S. market.
TED Spread (Treasury-EuroDollar Spread)
The difference between interbank lending rates and short-term U.S. Treasury yields.
Widely regarded as an indicator of systemic risk in the banking sector.
Features and Improvements
This script builds upon the original concept by introducing advanced features to enhance its precision and usability:
Lookback Period Adjustment
A customizable lookback period for Z-score calculations (default: 160 days).
Allows for greater flexibility in adapting to different market conditions.
Moving Average (MA) Smoothing
Optional smoothing of Z-scores using an exponential moving average (EMA) for enhanced clarity.
Default smoothing length: 8 days.
Individual Component Visibility
Plots for individual Z-scores can be enabled or disabled to focus on specific metrics.
Dynamic Background Coloring
Visual cues to indicate bullish (green) or bearish (red) financial conditions based on the composite Z-score.
Custom Inputs
Toggle on/off for each financial metric to tailor the indicator to specific use cases.
Customizable parameters for smoothing and moving averages.
Applications
This indicator is versatile and can be effectively used in various trading systems and strategies:
Long-Term Investment Decision-Making: Assess macroeconomic trends for portfolio rebalancing.
Systematic Trading: Incorporate market conditions into algorithmic models to enhance robustness.
Volatility-Based Strategies: Use Z-score fluctuations to anticipate periods of market turbulence or calm.
Credits
This indicator was inspired by and builds upon the work of TomasOnMarkets . While incorporating significant enhancements, it acknowledges the foundational concepts provided by this original source. Thank you for sharing your input on this important indicator. We are honored to use it and to further improve upon it.
-Jeffrey
Dynamic Risk-Adjusted Performance Ratios with TableWith this indicator, you have everything you need to monitor and compare the Sharpe ratio, Sortino ratio, and Omega ratio across multiple assets—all in one place. This tool is designed to help save time and improve efficiency by letting you track up to 15 assets simultaneously in a fully customizable table. You can adjust the lookback period to fit your trading strategy and get a clearer picture of how your assets perform over time. Instead of switching between charts, this indicator puts all the critical information you need at your fingertips.
Sharpe Ratio -
Helps evaluate the overall efficiency of investments by comparing the average return to the total risk (measured by the standard deviation of all returns). Essentially, it tells you how much excess return you’re getting for each unit of risk you’re taking. A higher Sharpe ratio means you’re getting better risk-adjusted performance—something you’ll want to aim for in your portfolio.
Sortino Ratio -
Goes a step further by focusing only on downside risk—because let’s face it, no one worries about positive volatility. This ratio is calculated by dividing the average return by the standard deviation of only the negative returns. Perfect for those concerned about avoiding losses rather than chasing extreme gains. It gives you a sharper view of how well your assets are performing relative to the risks you’re trying to avoid.
Omega Ratio -
Offers a unique perspective by comparing the sum of positive returns to the absolute sum of negative returns. It’s a straightforward way to see if your wins outweigh your losses. A higher Omega ratio means your positive returns significantly exceed the downside, which is exactly what you want when building a strong, reliable portfolio.
This indicator is perfect for traders who want to streamline their decision-making process and gain an edge. Bringing together these three critical ratios into a single user-defined table makes it easy to compare and rank assets at a glance. Whether optimizing a portfolio or looking for the best opportunities, this tool helps you stay ahead by focusing on risk-adjusted returns. The customizable lookback period lets you tailor the analysis to fit your unique trading approach, giving you insights that align with your goals. If you’re serious about making data-driven decisions and improving your trading outcomes, this indicator is a game-changer for your toolkit.
DCA Buy v1Key Features
1. Selective Entry Filters
Trend Filter
Enabled through "Enable Trend Filter?" using the "EMA Length" setting to ensure entries align with prevailing trends.
Momentum Filter
Configured using "Enable Momentum Filter?" combined with "RSI Length" and "RSI Source" to detect oversold conditions.
Bollinger Filter
Activated via "Enable Bollinger Filter?" along with "BB Length" and "BB Multiplier" to focus entries on deeper price dips below Bollinger Bands.
2. DCA Configuration
Base Order Settings
Choose between a percentage ("Base Order % of Equity/Initial Capital") or fixed value ("Base Order Value ($)").
Safety Order Settings
Fine-tune "Initial Deviation (%)" and "Price Deviation Multiplier" to control the spacing of safety orders.
Use "Volume Scaling Factor (Qty)" to scale the size of each subsequent safety order.
Customize the "First Safety Order Type" as either value-based or a multiplier of the base order using "1st Safety Order Value ($)" or "1st Safety Order Multiplier (Qty)".
Set the maximum number of safety orders through "Max Safety Orders".
3. Profit and Risk Management
Take Profit Settings
"Take Profit (%)" triggers a sell when a specific profit percentage above the average entry is reached.
Use "Trailing Take Profit (%)" to lock in profits while capturing additional upside if prices continue to rise.
Stop Loss Settings
Configure "Stop Loss (%)" to prevent excessive drawdowns by closing all positions when prices drop below a defined percentage.
4. Time Control & Visualization
Time Filters
Define trading windows with "Start Time" and "End Time".
Use "Cooldown (Seconds)" to avoid frequent entries during rapid price movements.
Visualization
Enable "Show Average Entry Price", "Show Take Profit Level", and "Show Stop Loss Level" to plot key levels on the chart for better monitoring.
5. Performance Metrics
Built-in performance tracking includes:
Net Profit (%): Measures overall profitability.
Win Rate (%): Displays the ratio of winning trades.
Max Drawdown (%): Tracks the largest equity decline.
Trading Days: Calculates the duration of active trades.
Profit/Day (%): Evaluates daily returns.
The performance table also shows average cycle duration and utilization of available capital.
HMA Buy Sell Signals - Profit ManagerNote : Settings should be adjusted according to the selected time frame. Try to find the best setting according to the profitability rate
Overall Functionality
This script combines several trading tools to create a comprehensive system for trend analysis, trade execution, and performance tracking. Users can identify market trends using specific moving averages and RSI indicators while managing profit and loss levels automatically.
Trend Detection and Trade Signals
Hull Moving Averages (HMA):
Two HMAs (a faster one and a slower one) are used to determine the market trend.
A buy signal is generated when the faster HMA crosses above the slower HMA.
Conversely, a sell signal is triggered when the faster HMA crosses below the slower one.
Visual Feedback:
Trend lines on the chart change color to reflect the trend direction (e.g., green for upward trends and red for downward trends).
Trade Levels and Management
Entry, Take-Profit, and Stop-Loss Levels:
When the trend shifts upwards, the script calculates entry, take-profit, and stop-loss levels based on the opening price.
Similarly, for downward trends, these levels are determined for short trades.
Commission Tracking:
Each trade includes a commission cost, which is factored into net profit and loss calculations.
Dynamic Labels:
Entry, take-profit, and stop-loss levels are visually marked on the chart for easier tracking.
Performance Tracking
Profit and Loss Tracking:
The script keeps a running total of profits, losses, and commissions for both long and short trades.
It also calculates the net profit after all costs are considered.
Performance Table:
A table is displayed on the chart summarizing:
The number of trades.
Total profit and loss for long and short positions.
Commission costs.
Net profit.
Fractal Support and Resistance
Dynamic Lines:
The script identifies the most recent significant highs and lows using fractals.
It draws support and resistance lines that automatically update as new fractals form.
Simplified Visuals:
The chart always shows the last two support and resistance lines, keeping the visualization clean and focused.
RSI-Based Signals
Overbought and Oversold Levels:
RSI is used to identify overbought (above 80) and oversold (below 20) conditions.
The script generates buy signals at oversold levels and sell signals at overbought levels.
Chart Indicators:
Arrows and labels appear on the chart to highlight these RSI-based opportunities.
Customization
The script allows users to customize key parameters such as:
Moving average lengths for trend detection.
Take-profit and stop-loss percentages.
Timeframes for backtesting.
Starting capital and commission rates.
Conclusion
This script is a versatile tool for traders, combining trend detection, automated trade management, and visual feedback. It simplifies decision-making by providing clear signals and tracking performance metrics, making it suitable for both beginners and experienced traders.
* The most recently drawn fractals represent potential support and resistance levels. If the price aligns with these levels at the time of entering a trade, it may indicate a likelihood of reversal. In such cases, it’s advisable to either avoid entering the trade altogether or proceed with increased caution.
Visual Range Position Size CalculatorVisual Range Position Size Calculator
The "VR Position Size Calculator" helps traders determine the appropriate position size based on their risk tolerance and the current market conditions. Below is a detailed description of the script, its functionality, and how to use it effectively.
---
Key Features
1. Risk Calculation: The script allows users to input their desired risk in monetary terms (in the currency of the ticker). It then calculates the position sizes for both long and short trades based on this risk.
2. Dynamic High and Low Tracking: The script dynamically tracks the highest and lowest prices within the visible range of the chart, allowing for more accurate position sizing.
3. Formatted Output: The calculated values are displayed in a user-friendly table format with thousands separators for better readability.
4. Visual Indicators: Dashed lines are drawn on the chart at the high and low points of the visible range, providing a clear visual reference for traders.
5. If the risk in security price is 1% or less, the background of the cells displaying position sizes will be green for long positions and red for short positions. If the risk is between 1% and 5%, the background changes to gray, indicating that the risk may be too high for an effective trade. If the risk exceeds 5% of the price, the text also turns gray, rendering it invisible, which signifies that there is no justification for such a trade.
---
Code Explanation
The script identifies the start and end times of the visible range on the chart, ensuring calculations are based only on the data currently in view. It updates and stores the highest (hh) and lowest (ll) prices within this visible range. At the end of the range, dashed lines are drawn at the high and low prices, providing a visual cue for traders.
Users can input their risk amount, which is then used to calculate potential position sizes for both long and short trades based on the current price relative to the tracked high and low. The calculated risk values and position sizes are displayed in a table on the right side of the chart, with color coding to indicate whether the calculated position size meets specific criteria.
---
Usage Instructions
1. Add the Indicator: To use this script, copy and paste it into Pine Script editor, then add it to your chart.
2. Input Your Risk: Adjust the 'Risk in money' input to reflect your desired risk amount for trading.
3. Analyze Position Sizes: Observe the calculated position sizes for both long and short trades displayed in the table. Use this information to guide your trading decisions.
4. Visual Cues: Utilize the dashed lines on the chart to understand recent price extremes within your visible range.
VWAP Valuation Model | JeffreyTimmermansVWAP Valuation Model
This indicator provides a powerful tool for traders looking to assess the value of an asset based on the VWAP (Volume Weighted Average Price) and the z-score. The VWAP Valuation Model is designed to give insights into the overbought or oversold condition of an asset by comparing the current price to a volume-weighted average over a defined period.
Key Features:
VWAP Baseline: The indicator calculates a volume-weighted moving average of the price, which serves as the core reference line for price analysis.
Z-Score: The z-score is calculated to determine how far the current price deviates from the mean, adjusted for volatility. This score helps identify overbought and oversold conditions.
Smoothing Option: Optionally, the indicator can be smoothed for better visualization, with the smoothing length being adjustable.
Real-time Data: The indicator provides real-time insights for multiple assets, such as Bitcoin (BTCUSD), Ethereum (ETHUSD), and Solana (SOLUSD), and can take the broader market performance (like the total crypto market) into account.
Z-Score Table: The indicator features an interactive table that provides valuable information on the z-scores of selected assets, allowing traders to quickly get an overview of market conditions. The table is strategically positioned above the chart for maximum visibility without interfering with the chart data.
Usage:
Overbought/Oversold: A z-score above +1.5 indicates overvaluation (overbought), while a score below -1.5 indicates undervaluation (oversold). This indicator helps in making informed trading decisions.
VWAP Range: The indicator offers a visual representation of the VWAP range, crucial for understanding price trends and market dynamics.
This indicator is ideal for investors interested in fundamental analysis while also needing technical insights to identify buy and sell opportunities. It helps to objectively assess market valuation and make well-informed decisions.
Important Note: This indicators works only in mean-reverting markets, not trending periods.
-Jeffrey
Market Cap LevelsThis indicator zeroes in on those key “round number” market caps and marks them right on your price chart, converting cumbersome billions into crisp, easy-to-track figures (e.g., “10 B”). Instead of getting lost in massive numbers, you’ll instantly see whether a stock is flirting with a big valuation threshold.
Why It Matters & How Big Players Might Use It:
Round-Number Magnet: Institutions often treat nice, round market caps as psychological checkpoints. When a company edges near or beyond SEED_TVCODER77_ETHBTCDATA:5B , SEED_TVCODER77_ETHBTCDATA:10B , or even $500B, it can spark new waves of interest—or caution.
Behavioral Insights: These lines can act like magnets or barriers, hinting at spots where price action could shift if the broader market starts perceiving the company as hitting “the next major level.”
Clean Visuals, Quick Decisions: By placing these key valuations directly on your chart, you can instantly gauge whether a stock is hovering just below or sailing above a major capital milestone—no calculator needed.
RISK MANAGEMENT TABLEThis updated Risk Management Indicator is a powerful and customizable tool designed to help traders effectively manage risk on every trade. By dynamically calculating position size, stop-loss, and take-profit levels, it enables traders to stay disciplined and follow predefined risk parameters directly on their charts.
Features:
Dynamic Stop-Loss and Take-Profit Levels:
Stop-loss is based on the Average True Range (ATR), offering a flexible way to account for
market volatility.
Take-profit levels can be customized as a percentage of the entry price, providing a clear
target for trade exits.
Position Sizing Calculation:
The indicator computes the maximum position size by considering:
Trade amount (montant_ligne).
Risk percentage per trade.
Transaction fees.
Visual Representation:
Displays stop-loss and take-profit levels on the chart as customizable lines.
Optional visibility of these lines through checkboxes in the settings panel.
Comprehensive Risk Table:
A table on the chart summarizes essential risk metrics:
Stop-loss value.
Distance from entry in percentage.
Position size (maximum suggested).
Take-profit price.
Customizable:
Adjust parameters like ATR length, smoothing type, risk percentage, transaction fees,
and take-profit percentage.
Modify the visual length of lines representing stop-loss and take-profit levels.
How It Works:
Stop-Loss Calculation:
The stop-loss level is calculated using ATR and a volatility factor (default: 2).
This ensures your stop-loss adapts to market conditions.
Take-Profit Calculation:
Take-profit is derived as a percentage increase from the entry price.
Position Size:
The optimal position size is computed as:
Position Size = Risk per Trade /ATR-based Stop Distance
The risk per trade deducts transaction fees to provide a more accurate calculation.
Visual Lines:
Risk Table:
The table displays updated stop-loss, position size, and take-profit metrics at a glance.
Settings Panel:
Length: ATR length for calculating market volatility.
Smoothing: Choose RMA, SMA, EMA, or WMA for ATR smoothing.
Trade Amount: The capital allocated to a single trade.
Risk by Trade (%): Define how much of your trade capital is at risk per trade.
Transaction Fees: Input fees to ensure realistic calculations.
Take Profit (%): Specify your desired take-profit percentage.
Show Entry Stop Loss: Toggle visibility of the stop-loss line.
Show Entry Take Profit: Toggle visibility of the take-profit line.
BTC Slayer 9000 - Relative Risk-adjusted performanceBTC Slayer 9000: Relative Risk-Adjusted Performance
Dear friends and fellow traders,
I am pleased to introduce the BTC Slayer 9000, a script designed to provide clear insights into risk-adjusted performance relative to a benchmark. Whether you're navigating the volatile world of cryptocurrencies or exploring opportunities in stocks, this tool helps you make informed decisions by comparing assets against your chosen benchmark.
What Does It Do?
This indicator is based on the Ulcer Index (UI), a metric that measures downside risk. It calculates the Ulcer Performance Index (UPI), which combines returns and downside risk, and compares it to a benchmark (like BTC/USDT, SPY500, or any trading pair).
The result is the Relative UPI (RUPI):
Positive RUPI (green area): The asset's risk-adjusted performance is better than the benchmark.
Negative RUPI (red area): The asset's risk-adjusted performance is worse than the benchmark.
Why Use It?
Risk vs. Reward: See if the extra risk of an asset is justified by its returns.
Customizable Benchmark: Compare any asset against BTC, SPY500, or another chart.
Dynamic Insights: Quickly identify outperforming assets for long positions and underperformers for potential shorts.
How to Use:
Inputs:
Adjust the lookback period to set the time frame for analysis. 720 Period is meant to represent 30 days. I like to use 168 period because I do not hold trades for long.
Choose your comparison chart (e.g., BTC/USDT, SPY500, AAPL, etc.).
Interpretation:
Green Area Above 0: The asset offers better risk-adjusted returns than the benchmark.
Red Area Below 0: The benchmark is a safer or more rewarding option.
Perfect for All Traders
Whether you:
Trade Cryptocurrencies: Compare altcoins to BTC.
Invest in Stocks: Compare individual stocks to indices like SPY500.
Evaluate Portfolio Options: Decide between assets like AAPL or TSLA.
This indicator equips you with a systematic way to evaluate "Is the extra risk worth it?".
The script was compiled in Collaboration with ChatGPT
Average Trading Volume per Minute & Suitable Position SizeDescription:
This indicator calculates an average trading volume per minute for the specified lookback period (default 377 bars). It then estimates a suitable position size in USD (or contracts on specific exchanges) by multiplying the average volume by a user-defined percentage (default 8%). The script discards extreme data points (top and bottom 20%) before finding the median, so it provides a more robust measure of typical volume.
How It Works:
1. Each bar’s volume is converted to a USD-based figure, either by taking volume directly (if the exchange quotes in USD) or multiplying volume by the midpoint price.
2. Values are stored in an array, which is then sorted to remove the most extreme 40% (20% from each tail). The remaining 60% is used to calculate a median.
3. You enter a position size percentage (e.g. 8%), and the script multiplies the median volume-per-minute by this percentage to get your recommended position size.
4. For certain exchanges like BitMEX/Deribit, the script adapts how it treats volume (in quotes vs. base), so it can display the final position size properly (USD or contracts).
5. The script displays the result in a small table on the chart, showing the recommended position size in USD (or, for some perpetual contracts, in contract units). If no valid data is available, it indicates “Data Invalid.”
Usage Tips:
• The default Position Size Percentage is 8%. You can adjust it higher for more aggressive trading or lower for smaller exposure.
• The default lookback (Average Calculation Period) is 377 bars. Experiment with different values (e.g. 200 or 500) to capture more or fewer historical bars.
• On certain exchanges and symbols (e.g. BitMEX or Deribit’s “.P” pairs), the script automatically switches how it calculates volume (USD vs. coin-based).
• If you see “Data Invalid,” it likely means the current symbol or timeframe lacks sufficient volume info, or you’re running it on a symbol like BTC.D.
Why This Helps:
• Many traders size positions by guesswork or a fixed fraction of their account. This script instead ties position size to actual average trading volume, ensuring your position is neither too large (risk of poor fills) nor too small (wasting leverage potential).
• Removing top/bottom outliers and using the median aims to give a stable volume measure—less influenced by sudden spikes or extremely quiet bars.
Feel free to tweak the inputs and experiment with different timeframes or pairs. By aligning your position size with typical market liquidity, you can potentially improve overall trade execution and manage risk more effectively.
Lot size calculator for futuresEasily and quickly calculate lot sizes with this unique indicator for futures trading. Whether you're dealing with full contracts or micro contracts, this tool simplifies the process by allowing you to input your account balance, risk percentage, and stop loss in pips. The indicator then automatically calculates the optimal number of contracts to trade based on your risk parameters. Designed for both novice and experienced traders, it ensures precise risk management and enhances your trading strategy. Experience the ease and efficiency of lot size calculation like never before!
[Rizq] All Eyez on Me Ticker - LiveA tool for traders looking to stay informed about real-time market dynamics, track momentum, and manage watchlists effectively.
How To Use This Indicator To Assist Trading
Market Sentiment Overview:
Quickly identify overall market sentiment by observing the balance between positive (top ticker) and negative (bottom ticker) symbols.
Momentum Tracking:
Use real-time percentage changes to track momentum shifts in key symbols.
Focus on Leading/Lagging Assets:
Identify top-performing and underperforming assets at a glance.
Helps with rotation strategies (e.g., moving into strong sectors or avoiding weak ones).
Sector Monitoring:
Combine tickers to monitor performance across different sectors (e.g., tech in one ticker, commodities in the other).
Custom Watchlist:
Create a personalized watchlist with critical symbols for monitoring trade setups or broader market movements.
Real-Time Scanning:
Continuous scrolling ensures that no symbols are missed, even in fast-moving markets.
Better Timing for Trades:
Align updates with 1-minute chart intervals, making it easier to time trades based on market movements.
Compact and Non-Intrusive:
Overlay design keeps the chart clean while providing crucial information at a glance.
Dynamic Tickers:
Two ticker tapes dynamically display market data for a unified list of symbols.
Symbols are categorized into positive changes (top ticker) and negative changes (bottom ticker).
Neutral symbols appear in both tickers.
Custom Symbol Lists:
Input multiple symbols for both ticker tapes.
Merge symbol lists dynamically for comprehensive market monitoring.
Real-Time Updates:
Align updates with 1-minute chart intervals for consistency.
Continues scrolling current data until the next update.
Scroll Speed Control:
Adjustable scrolling speed
Color-Coded Indicators:
Green (▲) for positive price changes.
Red (▼) for negative price changes.
Gray (=) for neutral changes.
Compact Display:
Displays symbol name, ticker ID, last price, percentage change, and price change in a single row.
Dynamic Filtering :
Automatically separates symbols into positive, negative, and neutral categories.
Ensures relevant symbols are always visible.
Position Control:
Choose between top-center and bottom-center for each ticker tape's position.
Add and remove symbols to suit your needs.
BB Context PanelThe BB Context Panel indicator is designed to provide a customizable and informative overlay on your chart. It offers key contextual details to enhance your trading experience by combining essential market data, user-defined messages, and time-based insights in an easily accessible panel. Whether you use it for quick reference, sharing screenshots, or maintaining focus with motivational reminders, this tool adapts to your unique trading needs.
Key Features
1. Futures Contract Tracking:
• Automatically displays the current or nearest futures contract (e.g., MNQH5), including support for continuous contracts.
• Adjusts dynamically based on the quarterly roll schedule (March, June, September, December).
2. Time and Date Display:
• Choose to display either:
• Bar Time: Reflects the timestamp of the most recent bar.
• Current Time: Updates in real time based on your selected timezone.
• Formats the timestamp as hh:mm Day mm-dd-yy for easy readability.
3. Custom User Messages:
• Add personalized messages, motivational reminders, or trading affirmations (e.g., “Patience | Discipline | Confidence”).
• Supports multiline messages for greater customization.
4. Customizable Placement:
• Select from multiple placement options (e.g., Top Right, Bottom Left, etc.) to integrate seamlessly with your chart layout.
5. Time Zone Support:
• Supports a wide range of global time zones, ensuring accurate time synchronization based on your location or trading session preferences.
6. Clean and Minimalist Design:
• Aesthetic panel with customizable text and background colors for better integration with your chart theme.
• Bolded key information like contract symbols and timeframes for quick recognition.
How to Use
1. Enable the Context Panel:
• Select a location for the panel using the Show Chart Context Panel? setting (e.g., Top Right).
2. Choose Time Display:
• Decide whether to show Bar Time, Current Time, or disable the time display entirely (None).
3. Add Custom Messages:
• Use the Panel Message input to add motivational reminders, strategy notes, or any text you’d like to see during your trading sessions.
4. Set Your Time Zone:
• Configure the time zone using the Select Timezone dropdown to ensure time data aligns with your trading hours.
Example Use Cases
1. Screenshot-Friendly Context:
• Capture annotated screenshots with clear context, including contract symbol, timeframe, timestamp, and reminders.
2. Quick Market Overview:
• Use the panel to stay informed about the current futures contract and trading session details without cluttering your chart.
3. Trading Psychology Support:
• Display affirmations like “Patience | Discipline | Confidence” to help maintain focus and emotional discipline while trading.
ZERE Majors System [FahimK3]ZERE Majors System
This system introduces an innovative approach to crypto portfolio management through a dynamic matrix-based rotation methodology. At its core, the system utilizes a proprietary scoring matrix that directly compares the relative strength between BTC, ETH, and SOL, creating a more nuanced understanding of asset relationships than traditional indicators alone could provide.
The fundamental innovation lies in how the system evaluates cryptocurrencies. Rather than analyzing each asset independently, it employs a comprehensive matrix where each asset is scored against others through direct pair-wise comparisons. This creates a network of relationships that reveals underlying strength patterns that might be missed by conventional analysis methods. The scoring process incorporates both momentum and relative performance metrics, ensuring that capital is allocated to the truly strongest asset rather than just the one showing temporary strength.
While the exact scoring calculations remain proprietary, the system's framework combines relative strength principles with adaptive thresholds that automatically adjust to changing market conditions. This differs from standard relative strength approaches by considering the complete web of relationships between assets rather than isolated comparisons.
The regime filter serves as a secondary confirmation layer, using volatility and momentum metrics to validate the primary matrix signals. When market conditions become unfavorable, the system automatically moves to cash, providing an additional layer of capital protection.
Performance tracking includes comprehensive metrics comparing the rotation strategy against a standard buy-and-hold approach. The visual interface displays the scoring matrix, current positions, and equity curves, allowing traders to understand position rationale in real-time.
Recommended Usage:
- Timeframe: Daily chart
- Starting Capital: Customizable for portfolio size
- Scoring Method: Choice between UNI.v2 and UNI.v3
Note: While this system incorporates some standard technical elements, its value lies in the unique matrix-based rotation methodology that provides a more complete picture of relative strength than traditional indicators used in isolation.
SIM Custom Weighted Index MakerSIM Custom Weighted Index Maker
The UNIQE SIM Custom Index Maker is a versatile and customizable indicator designed to help traders create their own personalized index using up to 10 different symbols. This tool is particularly useful for those who want to monitor the performance of a specific group of assets, such as meme coins, tech stocks, or any other category of interest. Additionally, users can now assign weights to each symbol, allowing for a more tailored index calculation.
Key Features:
Symbol Selection:
- Users can select up to 10 different symbols to include in their custom index.
- Each symbol can be individually enabled or disabled, allowing for flexible index composition.
Weight Assignment:
- Users can assign weights to each symbol, providing more control over the influence of each symbol on the index.
- By default, all symbols are equally weighted.
Timeframe Selection:
- The indicator supports both the chart's current timeframe and a fixed timeframe, providing users with the flexibility to analyze data at their preferred granularity.
OHLC Price Calculation:
- The indicator fetches the Open, High, Low, and Close (OHLC) prices for each enabled symbol.
- It then calculates the weighted average OHLC prices across all enabled symbols to create the index values.
Index Visualization:
- The custom index is plotted as candlesticks, with green candles indicating a rise in the index value and red candles indicating a fall.
- The wicks of the candlesticks are colored gray for better visual distinction.
Usage:
Select Symbols:
- Input the symbols you want to include in your index. You can choose up to 10 symbols.
- Enable or disable each symbol as needed to fine-tune your index.
Assign Weights:
- Assign weights to each symbol to control their influence on the index. By default, all symbols are equally weighted.
Choose Timeframe:
- Decide whether to use the chart's current timeframe or a fixed timeframe for data analysis.
Analyze the Index:
- The indicator will plot the custom index on your chart, allowing you to monitor the collective performance of your selected symbols.
Benefits:
- Customization : Create an index tailored to your specific interests or investment strategies.
- Flexibility : Easily add or remove symbols and adjust their weights to fine-tune the index composition.
- Visualization : Clear and intuitive candlestick representation of the index for easy analysis.
The SIM Custom Weighted Index Maker is a powerful tool for traders looking to gain insights into the performance of a custom group of assets, making it an essential addition to any trader's toolkit.
Crypto Price Volatility Range# Cryptocurrency Price Volatility Range Indicator
This TradingView indicator is a visualization tool for tracking historical volatility across multiple major cryptocurrencies.
## Features
- Real-time volatility tracking for 14 major cryptocurrencies
- Customizable period and standard deviation multiplier
- Individual color coding for each currency pair
- Optional labels showing current volatility values in percentage
## Supported Cryptocurrencies
- Bitcoin (BTC)
- Ethereum (ETH)
- Avalanche (AVAX)
- Dogecoin (DOGE)
- Hype (HYPE)
- Ripple (XRP)
- Binance Coin (BNB)
- Cardano (ADA)
- Tron (TRX)
- Chainlink (LINK)
- Shiba Inu (SHIB)
- Toncoin (TON)
- Sui (SUI)
- Stellar (XLM)
## Settings
- **Period**: Timeframe for volatility calculation (default: 20)
- **Standard Deviation Multiplier**: Multiplier for standard deviation (default: 1.0)
- **Show Labels**: Toggle label display on/off
## Calculation Method
The indicator calculates volatility using the following method:
1. Calculate daily logarithmic returns
2. Compute standard deviation over the specified period
3. Annualize (multiply by √252)
4. Convert to percentage (×100)
## Usage
1. Add the indicator to your TradingView chart
2. Adjust parameters as needed
3. Monitor volatility lines for each cryptocurrency
4. Enable labels to see precise current volatility values
## Notes
- This indicator displays in a separate window, not as an overlay
- Volatility values are annualized
- Data for each currency pair is sourced from USD pairs
Highest Volume FuturesScript tracks the volume of futures contracts which are not expired for the current and next year. Provides a label at the real-time bar and when a different contract has higher volume in the last bar of the timeframe input as long as it is different from the current ticker. It should display on continuous and lower volume contract charts.
Intended to be used with a higher timeframe input.
Currently supports ES, MES, NQ, MNQ, RTY, M2K, YM, MYM, BTC, MBT, CL, MCL, GC, MGC, E7 and J7. If you'd like to add your own, then include the syminfo.root of your ticker and the appropriate month codes for that contract in the validMonthCodes switch list.