Volume Profile / Fixed Range with Strong Levels (DanLetto)Индикатор формирует профиль объёма по заданному числу баров, показывает POC и Value Area, визуализируя бычьи и медвежьи объёмы. Он находит сильные уровни, сортирует их по убыванию объёма и рисует линии разной толщины, отражая относительную “силу” каждого уровня.
Volume
突兀量標記+均線顯示Volume Spike Indicator:
用來檢測交易量的異常變動(例如大幅上升或下降)。當交易量顯著高於歷史平均值或達到某一設定閾值時,該指標會標記出「突兀量」,也稱為交易量尖峰。
Moving Average Overlay:
將均線疊加於交易量圖表上,幫助觀察交易量的整體趨勢與變化,例如短期和長期均值的比較。
這種指標通常用於技術分析中,協助交易者識別市場異常活動(例如機構交易、大額交易或突然的市場反應),並將這些異常與長期趨勢結合進行解讀
Supertrend with Multiple EMA by KanzuBaeFeatures:
ATR (Average True Range) Settings:
Allows the user to adjust the ATR period and multiplier for the Supertrend calculation.
Offers an option to choose between the standard ATR or a simple moving average (SMA) for ATR calculation.
Source Price:
Users can select from four different EMAs (EMA1, EMA2, EMA3, EMA4) or use the default HL2 (average of high and low) as the source price for calculating the Supertrend.
The EMAs are calculated with adjustable periods.
Supertrend Calculation:
The Supertrend is calculated using the selected source price and ATR values. The trend direction is determined based on whether the closing price is above or below the Supertrend lines.
Trend Plotting:
The script plots the Supertrend lines: green for an uptrend and red for a downtrend. These lines are updated based on trend reversals.
Buy/Sell Signals:
The script generates buy and sell signals based on trend reversals (when the trend changes from up to down or vice versa).
Buy and sell signals are marked on the chart using shapes and labels.
Background Highlighting:
The background is highlighted in green for an uptrend and red for a downtrend. This can be turned on or off using the highlighting option.
EMA Lines:
The selected EMAs (EMA1, EMA2, EMA3, EMA4) are plotted on the chart for reference.
Alerts:
Alerts are triggered when a buy or sell signal occurs or when the trend direction changes.
Customization:
You can adjust the ATR period, multiplier, and EMA periods.
You can enable or disable the display of buy/sell signals and background highlighting.
The script allows for flexibility in choosing which EMA to use for the source price.
This script provides a versatile Supertrend indicator with multiple EMA options and various customization choices for traders who want more control over their strategy.
gallant volumeDescription:
The "Gallant with Custom Volume" indicator is designed to enhance your technical analysis by integrating advanced volume metrics with Ichimoku components. This versatile tool allows traders to visualize various volume types, such as standard volume, dollar volume, On-Balance Volume (OBV), Volume Weighted Average Price (VWAP), and Accumulation/Distribution (A/D) line.
Key Features:
Customizable Volume Types: Select from multiple volume sources to suit your trading strategy, providing deeper insights into market dynamics.
Volume Candle Visualization: Color-coded volume candles make it easier to identify market trends at a glance.
Ichimoku Integration: The indicator includes traditional Ichimoku lines (Tenkan-Sen, Kijun-Sen, and Senkou Span A/B), helping you assess market momentum and potential reversals.
Trading Signals: Alerts and visual signals are generated when key crossovers occur, aiding in timely decision-making.
Use Cases:
This indicator is suitable for both day traders and long-term investors looking to incorporate volume analysis with ichimoku techniques. It provides a comprehensive view of market conditions, enhancing your ability to identify potential buy and sell opportunities.
Note: Customize the periods and settings to fit your specific trading style.
Feel free to reach out with feedback or suggestions for improvement
Ways to Use the Indicator:
Identifying Trends:
Use the color-coded volume candles to quickly identify bullish (green) and bearish (red) trends. A consistent color trend may indicate market momentum.
Volume Analysis:
Switch between different volume types based on your trading strategy. For example, using the On-Balance Volume can help confirm trends, while Dollar Volume can provide insight into the strength of buying or selling pressure.
Ichimoku Signals:
Monitor the Ichimoku lines for potential buy and sell signals. A crossover of the Tenkan-Sen above the Kijun-Sen may indicate a bullish signal, while a downward crossover could signal a potential bearish move.
Trading Alerts:
Set alerts based on the indicator’s buy/sell signals to notify you of potential trading opportunities without constantly monitoring the chart.
Custom Periods:
Adjust the Ichimoku settings and custom line periods to match your trading style, whether you're a day trader looking for quick entries or a long-term investor analyzing broader trends.
Integrate with Other Tools:
Combine this indicator with other technical analysis tools for a more comprehensive strategy. For instance, use it alongside moving averages or Fibonacci retracement levels to validate entry and exit points.
Directional Volume Index (DVI)Directional Volume Index
A. Directional Volume Index (DVI)
B. Average Directional Volume Index (ADVX)
C. Differential Directional Volume Index (DDVI)
D. Differential Directional Volume Index (DDVI) Divergences
Twiggs Money FlowTwiggs Money Flow (TMF)
This indicator is an implementation of the Twiggs Money Flow (TMF), a volume-based tool designed to measure buying and selling pressure over a specified period. TMF is an enhancement of Chaikin Money Flow (CMF), utilizing more sophisticated smoothing techniques for improved accuracy and reduced noise. This version is highly customizable and includes advanced features for both new and experienced traders.
What is Twiggs Money Flow?
Twiggs Money Flow was developed by Colin Twiggs to provide a clearer picture of market momentum and the balance between buyers and sellers. It uses a combination of price action, trading volume, and range calculations to assess whether a market is under buying or selling pressure.
Unlike traditional volume indicators, TMF incorporates Weighted Moving Averages (WMA) by default but allows for other moving average types (SMA, EMA, VWMA) for added flexibility. This makes it adaptable to various trading styles and market conditions.
Features of This Script:
Customizable Moving Average Types:
Select from SMA , EMA , WMA , or VWMA to smooth volume and price-based calculations.
Tailor the indicator to align with your trading strategy or the asset's behavior.
Optional HMA Smoothing:
Apply Hull Moving Average (HMA) smoothing for a cleaner, faster-reacting TMF line.
Perfect for traders who want to reduce lag and capture trends earlier.
Dynamic Thresholds for Signal Filtering:
Set user-defined thresholds for Long (LT) and Short (ST) signals to highlight significant momentum.
Focus on actionable trends by ignoring noise around neutral levels.
Bar Coloring for Visual Clarity:
Automatically colors your chart bars based on TMF values:
Aqua for strong bullish signals (above the long threshold).
Fuchsia for strong bearish signals (below the short threshold).
Gray for neutral or undecided market conditions.
Ensures that trend direction and strength are visually intuitive.
Configurable Lookback Period:
Adjust the sensitivity of TMF by customizing the length of the lookback period to suit different timeframes and market conditions.
How It Works:
True Range Calculation: The script determines the high, low, and close range to calculate buying and selling pressure.
Adjusted Volume: Incorporates the relationship between price and volume to gauge whether trading activity is favoring buyers or sellers.
Weighted Moving Averages (WMAs): Smooths both volume and adjusted volume values to eliminate erratic fluctuations.
TMF Line: Computes the ratio of adjusted volume to total volume, representing the net buying/selling pressure as a percentage.
HMA Option (if enabled): Smooths the TMF line further to reduce lag and enhance trend identification.
Bar Coloring Logic:
Bars are colored dynamically based on TMF values, thresholds, and smoothing preferences.
Provides an at-a-glance understanding of market conditions.
Input Parameters:
Lookback Period: Defines the number of bars used to calculate TMF (default: 21).
Use HMA Smoothing: Toggle Hull Moving Average smoothing (default: true).
HMA Smoothing Length: Length of the HMA smoothing period (default: 14).
Moving Average Type: Select SMA, EMA, WMA, or VWMA (default: WMA).
Long Threshold (LT): Threshold value above which a long signal is considered (default: 0).
Short Threshold (ST): Threshold value below which a short signal is considered (default: 0).
How to Use It:
Confirm Trends: TMF can validate trends by identifying periods of sustained buying or selling pressure.
Divergence Signals: Watch for divergences between price and TMF to anticipate potential reversals.
Filter Trades: Use the thresholds to ignore weak signals and focus on strong trends.
Combine with Other Indicators: Pair TMF with trend-following or momentum indicators (e.g., RSI, Bollinger Bands) for a comprehensive trading strategy.
Example Use Cases:
Spotting breakouts when TMF crosses above the long threshold.
Identifying sell-offs when TMF dips below the short threshold.
Avoiding sideways markets by ignoring neutral (gray) bars.
Notes:
This indicator is highly customizable, making it versatile across different assets (e.g., stocks, crypto, forex).
While the default settings are robust, tweaking the lookback period, moving average type, and thresholds is recommended for different trading instruments or strategies.
Always backtest thoroughly before applying the indicator to live trading.
This version of Twiggs Money Flow goes beyond standard implementations by offering advanced smoothing, custom thresholds, and enhanced visual feedback to give traders a competitive edge.
Add it to your charts and experience the power of volume-driven analysis!
TRAP 02who hold positions for several days to weeks, also benefit from volume analysis. Stocks showing rising volume above their 20-bar average are often amid a strong trend, which can continue for several sessions. Rising volume suggests that a trend has momentum and may continue, providing swing traders with the potential for substantial gains.
Traders looking for positional traders can check daily volumes, while investors can keep checking weekly volumes on weekends.
Multi ADX + DIThis custom indicator combines the Average Directional Index (ADX) and Directional Indicators (DI+ and DI–) on multiple timeframes to help you spot potential buy and sell opportunities. Essentially, it checks the market’s momentum and whether bulls (DI+) or bears (DI–) have the upper hand, then displays color-coded signals on the chart. It also includes a built-in volume filter (using a smoothed RSI of volume) to help ensure signals appear only when there’s enough trading activity.
How to Use
Add to Your Chart
Select Timeframes
Choose up to three different timeframes (e.g., 5 min, 30 min, 4 hr) in the indicator settings. The script will calculate ADX and DI on each timeframe, so you can see how momentum behaves across different periods.
Look for Buy and Sell Signals
Buy Signals appear when the ADX and DI+ conditions across timeframes indicate bullish momentum, and volume meets certain thresholds. Bars turn aqua if a buy signal is triggered.
Sell Signals appear when the ADX and DI– conditions across timeframes indicate bearish momentum, and volume meets certain thresholds. Bars turn maroon if a sell signal is triggered.
Observe Bar Colors
Green bars suggest overall bullish conditions.
Red bars suggest overall bearish conditions.
Gray bars mean the indicator doesn’t see a clear bullish or bearish signal at the moment.
Look for Circles
A small circle appears on the chart when a new buy or sell signal occurs without having triggered another signal recently (helpful for spotting fresh opportunities).
Use this indicator as a guide alongside your other analysis. It’s most effective when combined with a thorough understanding of support/resistance levels, trends, and risk management strategies.
Additional Instructions on Inputs
Below is a simple breakdown of what each input does and how you can adjust them for your own trading style:
Timeframe Combination (tf1, tf2, tf3)
These let you pick up to three timeframes for calculating the ADX and DI values. For example, you might choose 5 minutes, 30 minutes, and 4 hours.
Adjusting these timeframes can help you see momentum trends over both short and longer periods. It’s often beneficial to use a smaller timeframe (like 5 or 15 minutes) alongside a mid-range (like 30 minutes or 1 hour) and a higher timeframe (like 4 hours or 1 day) to get a broader market perspective.
ADX Length (adxLen)
Controls how the Average Directional Index is calculated. A larger value (for instance, 14) smooths out results but responds more slowly to rapid price changes. A smaller value (like 8) reacts faster but can be more sensitive to short-lived fluctuations.
DI Length (diLen)
Similar to ADX Length, but specifically for the DI calculations (DI+ and DI–). Increasing this value may reduce signal noise, while decreasing it can generate quicker signals but potentially more false positives.
Volume*Price RSI Length (rsiLen)
Sets the length of the RSI used to measure “Volume * Price.” The RSI aims to show when the market might be “overbought” or “oversold.” Here, it’s used primarily as a volume filter to ensure trades happen in active market conditions.
How to Tweak
If you find the indicator too “choppy,” try increasing the ADX and DI lengths to make the signals smoother.
If you’re missing opportunities or if the indicator responds too slowly, shorten the lengths.
Experiment with different timeframe combinations to find the balance that makes sense for your specific trading strategy and risk tolerance.
These inputs allow you to tailor the indicator’s sensitivity and the breadth of market data it examines. Start with the default values, then make small adjustments as you track the outcomes on your favorite assets.
Pivot Points Standard + VWAPThis indicator is combination for pivot point and VWAP. In pivot we can select traditional, fibonacci, woddi, classic, DM, Camerilla.
FAVO (Fast Accurate Volume Oscillator)FAVO (Fast Accurate Volume Oscillator) — осциллятор объёма, специально разработанный для выделения повышения объёмов на графике, фильтруя влияние периодических фаз узкой волатильности. Он помогает отслеживать значительные изменения объёмов, исключая шум от временных снижений активности.
Этот индикатор является альтернативой классическим объёмам, упрощая их использование в алгоритмической торговле. В отличие от номинальных объемов, FAVO не требует точных значений, что облегчает настройку автоматических стратегий с применением выявления повышения объёмов.
Основные параметры:
Период ATR: Используется для расчёта волатильности.
Порог волатильности: Уровень волатильности, при котором осциллятор активируется.
Сглаживание объёмов (период): Параметр для уменьшения рыночного шума в объёмах.
Тип отображения: Выбор между отображением в виде линии или гистограммы
Morning Star and Bullish Harami StrategyExecuting buy orders with only 5% target per order and controlled stop loss
Pink PantherThis strategy embodies elegance, speed, and intelligence.
🦄 Main Advantage: Combines key indicators (EMA, RSI, MACD, and Bollinger Bands) to gracefully adapt to any market changes, just like a panther.
💗 Feature: Like the iconic Pink Panther, this strategy skillfully identifies entry and exit points, even in chaotic market conditions.
Quote for inspiration:
“Patience and timing are the greatest allies of success.” — (Pink Panther, probably)
Buy-Sell-rVolume [BSR] IndicatorBSR is a combination of buy and sell volumes with various length relative volumes of different ranges which is used as a relative volume crossover, indicating incoming volatility of buy or sell direction. BSR offers different options for monitoring buy or sell volumes and relative volume.
Ema Crossover + Volume (Ashish Singh)This indicator strategy combines Exponential Moving Average (EMA) crossovers and volume analysis with candle patterns to help identify potential buy or sell opportunities. Here's a breakdown of how it works:
Key Components
1. Exponential Moving Averages (EMAs)
EMA 21, EMA 50, and EMA 200 are calculated:
EMA 21 is a short-term moving average.
EMA 50 is a medium-term moving average.
EMA 200 is a long-term moving average.
These EMAs are plotted on the chart with different colors to help visually identify trends.
2. EMA Crossover Signals
Buy Signal: When EMA 21 crosses above EMA 50 (short-term trend turns bullish).
Sell Signal: When EMA 21 crosses below EMA 50 (short-term trend turns bearish).
Visual markers ("BUY" and "SELL") are placed on the chart:
Green "BUY" marker below the price bar for buy signals.
Red "SELL" marker above the price bar for sell signals.
3. Volume Analysis
30-day Average Volume: Calculated using a Simple Moving Average (SMA) of the volume over the last 30 candles.
A high-volume condition is defined as:
The current volume is 2.5 times greater than the 30-day average volume.
4. Candle Patterns
Bullish Candle: The close price is higher than the open price (close > open).
Bearish Candle: The close price is lower than the open price (close < open).
5. Candle Color Highlighting
Green Candles: If both conditions are met:
High volume (current volume is 2.5x the 30-day average).
The candle is bullish (close > open).
Dark Red Candles: If both conditions are met:
High volume (current volume is 2.5x the 30-day average).
The candle is bearish (close < open).
How the Strategy Works
Trend Identification:
The EMAs help determine the current trend:
If EMA 21 > EMA 50 > EMA 200, the market is bullish.
If EMA 21 < EMA 50 < EMA 200, the market is bearish.
Buy and Sell Opportunities:
Crossovers between EMA 21 and EMA 50 indicate potential buy or sell signals.
A buy signal implies short-term bullishness, and a sell signal implies bearishness.
Volume and Candle Confirmation:
High-volume candles (bullish or bearish) are highlighted, which can indicate strong market moves.
This helps filter out signals that occur in low-volume or weak-market conditions.
Usage of the Strategy
Identify Trends: Use the EMA lines to spot the overall trend (bullish, bearish, or ranging).
Entry Points: Look for buy signals (green markers) during uptrends or sell signals (red markers) during downtrends.
Confirm Strength: Check for high-volume bullish or bearish candles to confirm the market's strength.
Avoid False Signals: Use volume and EMA alignment to avoid false crossovers in choppy markets.
MERCURY-PRO by DrAbhiramSivprasd“MERCURYPRO”
The MERCURYPRO indicator is a custom technical analysis tool designed to provide dynamic trend signals based on a combination of the Chande Momentum Oscillator (CMO) and Standard Deviation (StDev). This indicator helps traders identify trend reversals or continuation based on the behavior of the price and momentum.
Key Features:
• Source Input: The indicator works with any price data, with the default set to close, which represents the closing price of each bar.
• Length Input: A period (default value 9) is used to determine the calculation window for the Chande Momentum Oscillator and Standard Deviation.
• Fixed CMO Length Option: Users can choose whether to use a fixed CMO length of 9 or adjust the length to the user-defined pds value.
• Calculation Method: The indicator allows switching between using the Chande Momentum Oscillator (CMO) or Standard Deviation (StDev) for the momentum calculation.
• Alpha: The smoothing factor used in the calculation of the MERCURYPRO value, which is based on the length of the period input (pds).
Core Calculation:
1. Momentum Calculation: The script calculates the momentum by determining the change in the source price (e.g., close) from one period to the next.
2. Chande Momentum Oscillator (CMO): The positive and negative momentum components are calculated and then summed over the specified period. This value is normalized to a percentage to determine the momentum strength.
3. K Value Calculation: The script selects either the CMO or Standard Deviation (depending on the user setting) to calculate the k value, which represents the dynamic price momentum.
4. MERCURYPRO Line: The final output of the indicator, MERCURYPRO, is computed using a weighted average of the k value and the previous MERCURYPRO value. The line is smoothed using the Alpha parameter.
Plot and Signal Generation:
• Color Coding: The line is color-coded based on the direction of MERCURYPRO:
• Blue: The trend is bullish (MERCURYPRO is rising).
• Maroon: The trend is bearish (MERCURYPRO is falling).
• Default Blue: Neutral or sideways market conditions.
• Plotting: The MERCURYPRO line is plotted with varying colors depending on the trend direction.
Alerts:
• Color Change Alert: The indicator has an alert condition based on when the MERCURYPRO line crosses its previous value. This helps traders stay informed about potential trend reversals or continuation signals.
Use Case:
• Trend Confirmation: Traders can use the MERCURYPRO indicator to identify whether the market is in a strong trend or not.
• Signal for Entries/Exits: The color change and crossovers of the MERCURYPRO line can be used as entry or exit signals, depending on the trader’s strategy.
Overall Purpose:
The MERCURYPRO indicator combines momentum analysis with smoothing techniques to offer a dynamic, responsive tool for identifying market trends and potential reversals. It is particularly useful in conjunction with other technical indicators to provide confirmation for trade setups.
How to Use the MERCURYPRO Indicator:
The MERCURYPRO indicator is designed to help traders identify trend reversals and market conditions. Here are a few ways you can use it:
1. Trend Confirmation (Bullish or Bearish)
• Bullish Trend: When the MERCURYPRO line is colored Blue, it indicates a rising trend, suggesting that the market is bullish.
• Action: You can consider entering long positions when the line turns blue, or holding your existing positions if you’re already long.
• Bearish Trend: When the MERCURYPRO line is colored Maroon, it signals a downward trend, indicating a bearish market.
• Action: You may consider entering short positions or closing any long positions when the line turns maroon.
2. Trend Reversal Alerts
• Color Change: The MERCURYPRO indicator changes color when there’s a trend reversal. The alert condition triggers when the MERCURYPRO crosses above or below its previous value, signaling a potential shift in the trend.
• Action: You can use this alert as a signal to monitor potential entry or exit points for trades. For example, a crossover from maroon to blue could indicate a potential buying opportunity, while a crossover from blue to maroon could suggest a selling opportunity.
3. Use with Other Indicators for Confirmation
• While the MERCURYPRO provides valuable trend insights, it’s often more effective when used in combination with other indicators like RSI (Relative Strength Index), MACD, or moving averages to confirm signals.
• Example: If MERCURYPRO turns blue and RSI is above 50, it may signal a strong bullish trend, enhancing the confidence to enter a long trade.
4. Divergence
• Watch for divergence between the MERCURYPRO line and the price chart:
• Bullish Divergence: If the price makes new lows while MERCURYPRO is showing higher lows, it suggests a potential bullish reversal.
• Bearish Divergence: If the price makes new highs while MERCURYPRO is showing lower highs, it suggests a potential bearish reversal.
Example of Use:
• Example 1: If the MERCURYPRO line changes from maroon to blue, you might enter a long position. After the MERCURYPRO line turns blue, use an alert to monitor the price action. If other indicators (like RSI) also suggest strength, your confidence in the trade will increase.
• Example 2: If the MERCURYPRO line shifts from blue to maroon, it could be a signal to close long positions and consider shorting the market if other conditions align (e.g., moving averages also turn bearish).
Warning for Using the MERCURYPRO Indicator:
1. Lagging Indicator:
• The MERCURYPRO is a lagging indicator, meaning it responds to price changes after they have occurred. This may delay entry and exit signals, and it’s crucial to combine it with other leading indicators to get timely information.
2. False Signals in Range-bound Markets:
• In choppy or sideways markets, the MERCURYPRO line can produce false signals, flipping between blue and maroon frequently without showing a clear trend. It’s important to avoid trading based on these false signals when the market is not trending.
3. Overreliance on One Indicator:
• Relying solely on MERCURYPRO can be risky. Always confirm signals with additional tools like volume analysis, price action, or other indicators to increase the accuracy of your trades.
4. Market Conditions Matter:
• The indicator may work well in trending markets, but in highly volatile or news-driven environments, it may provide misleading signals. Ensure that you take market fundamentals and external news events into consideration before acting on the indicator’s signals.
5. Risk Management:
• As with any technical indicator, MERCURYPRO is not infallible. Always use appropriate risk management techniques such as stop-loss orders to protect your capital. Never risk more than you can afford to lose on a trade.
6. Backtest First:
• Before implementing MERCURYPRO in live trading, make sure to backtest it on historical data. Test the strategy with various market conditions to assess its effectiveness and identify any potential weaknesses.
By considering these guidelines and warnings, you can use the MERCURYPRO indicator more effectively and mitigate potential risks in your trading strategy.
signal buy javad/time/15mThis indicator is designed to give a buy signal on a 15-minute time frame by specifying a profit limit and a loss limit.
Chaikin Oscillator with StdDev MarkersJust a Chaikin Oscillator slightly tuned to show extreme changes in A/D momentum.
- Red histogram means the fast EMA is way above the slow EMA (strong distribution).
- Green histogram means the fast EMA is way below the slow EMA (strong accumulation).
Divergences are also easy to identify. When the price pushes more than the histogram, hidden selling could be taking place near tops, and when the price drops but the histogram doesn't follow, accumulation could be taking place.
This, coupled with VSA analysis, is all you'll ever need to understand price action.
Colored Volume with 20 MA"Colored Volume with 20 MA," visualizes volume bars with dynamic coloring based on their relationship to a moving average (MA). Users can set the MA length and customize the colors for bars above or below the MA.
The script calculates the volume's simple moving average (SMA) and colors bars green if volume exceeds the MA or red if it falls below. It also plots the MA as a blue line for reference.
An enhanced version includes the option to switch between SMA and EMA, catering to diverse analysis needs. This tool aids in identifying volume trends efficiently.
Pivot Points Standard + VWAPThis indicator is combination for pivot point and VWAP. In pivot we can select traditional, fibonacci, woddi, classic, DM, Camerilla.
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.
Breadth of Volatility The Breadth of Volatility (BoV) is an indicator designed to help traders understand the activity and volatility of the market. It focuses on analyzing how fast prices are moving and how much trading volume is driving those movements. By combining these two factors—price speed and volume strength—the BoV provides a single value that reflects the current level of market activity. This can help traders identify when the market is particularly active or calm, which is useful for planning trading strategies.
The speed component of the BoV measures how quickly prices are moving compared to their recent average. This is done by using a metric called the Average True Range (ATR), which calculates the typical size of price movements over a specific period. The BoV compares the current price change to this average, showing whether the market is moving faster or slower than usual. Faster price movements generally indicate higher volatility, which might signal opportunities for active traders.
The strength component focuses on the role of trading volume in price changes. It multiplies the trading volume by the size of the price movement to create a value called volume strength. This value is then compared to the highest volume strength seen over a recent period, which helps gauge whether the current price action is being strongly supported by trading activity. When the strength value is high, it suggests that market participants are actively trading and supporting the price movement.
These two components—speed and strength—are averaged to calculate the Breadth of Volatility value. While the formula also includes a placeholder for a third component (related to fundamental analysis), it is currently inactive and does not influence the final value. The BoV is displayed as a line on a chart, with a zero line for reference. Positive BoV values indicate heightened market activity and volatility, while values near zero suggest a quieter market. This indicator is particularly helpful for new traders to monitor market conditions and adjust their strategies accordingly, whether they’re focusing on trend-following or waiting for calmer periods for more conservative trades.
Important Notice:
Trading financial markets involves significant risk and may not be suitable for all investors. The use of technical indicators like this one does not guarantee profitable results. This indicator should not be used as a standalone analysis tool. It is essential to combine it with other forms of analysis, such as fundamental analysis, risk management strategies, and awareness of current market conditions. Always conduct thorough research or consult with a qualified financial advisor before making trading decisions. Past performance is not indicative of future results.
Disclaimer:
Trading financial instruments involves substantial risk and may not be suitable for all investors. Past performance is not indicative of future results. This indicator is provided for informational and educational purposes only and should not be considered investment advice. Always conduct your own research and consult with a licensed financial professional before making any trading decisions.
Note: The effectiveness of any technical indicator can vary based on market conditions and individual trading styles. It's crucial to test indicators thoroughly using historical data and possibly paper trading before applying them in live trading scenarios.