Follow the Volumes / Path of Least ResistanceThis indicator tracks price movements following significant volume increases. It identifies volume spikes by comparing recent average volume to a longer-term average. After a spike, it monitors price changes over a specified number of bars.
In plain English, the point of this is to “let the market show it’s hand”, vs. other common and preemptive methods of execution.
You can think of it as a better version of a volume up/down indicator which only uses opening and closing prices to identify "bullish" or "bearish" behavior.
To optimize this, I used a very small range chart, hence the small values. You will need to experiment with other values, ESPECIALLY the % change. If you do not do this, the indicator will generate a lot of noise.
The indicator has three main conditions:
1. Significant price increase, bullish: A green triangle appears below the bar.
2. Significant price decrease, bearish: A red triangle appears above the bar.
3. Price change within thresholds: A fuschia triangle appears, pointing up or down based on the overall (short-term) trend. This is common behavior during trends. A spike in volume will appear, and price simply does not budge. Volume/price is essentially declaring a new found value, in which case prices tend to follow the impulse movement (see market profile theory).
The color scheme is intuitive: green for positive moves, red for negative, and fuschia for subtle changes following the existing trend. Blue circles mark volume spikes for reference, which I recommend using only for reference, and disabling to remove unneeded noise.
Because this indicator "lags" in the sense of waiting for the market to show its hand, best opportunities are typically found on retests of the volume spikes themselves. On drives, however, the market will unlikely pullback, which (in my view) is one of its best use cases.
Bottom line, you will need to adjust the parameters to the instrument. This is not a plug and play solution, but far more accurate than those which are.
Settings, and what they mean:
Volume spike average bars: length for identification of high volumes. On smaller timeframes, such as my optimization period, you’ll want several bars. But on something such as a 5 minute or higher, only 1.
Lookback period: for identification of high volumes.
Volume Increase Threshold (%): % which constitutes a jump in volume
Bars After Spike: How long to wait for ensuing price movement. Also sensitive to the timeframe you are using. 1-2 recommended for 5m+, more for smaller range-based.
Negative Price Change Threshold (%): For red arrows (Volume + Price Movement)
Positive Price Change Threshold (%): Inverse of above
WMA Period for Stability Function: When price spikes on high volumes but does not move (price is “trapped” between negative and positive price change thresholds) the indicator marks direction (in fuchsia) in the direction of the underlying trend. This short-term MA identifies that trend.
Finally, because this indicator is volume-based, I recommend using primary instruments only and discourage its use on CFDs or other firm-generated instruments. Just use the primary. I would ignore signals off the open, which is subject to erroneous behavior. Other methods are far more effective for that.
This script is purposely uncomplicated. Feel free to play with settings and change code to suit your needs.
Volume
Linear and Logarithmic Fibonacci Levels and FansIntroduction
The Fibonacci Retracement tool is a go-to for traders looking to spot potential support and resistance levels. By measuring the distance between swing highs and lows, you can apply Fibonacci ratios like 0.236, 0.382, and 0.618 to predict key market levels.
Traditionally, these levels are set by dividing this distance into equal parts—known as Linear Levels. A more refined approach, Logarithmic Levels, divides the distance into proportionally equal segments. Plus, this indicator now includes Fibonacci fans, adding another layer of analysis by projecting potential price levels using trendlines based on Fibonacci ratios.
This tool makes it easier to identify both Linear and Logarithmic levels while also leveraging Fibonacci fans for a more complete market view.
Applications
Logarithmic Levels and Fibonacci fans are ideal for volatile markets. In crypto, they’re especially effective for BTCUSDT (check out the wick from January 23, 2024). They also help spot accumulation and distribution patterns in high-volume altcoins like FETUSDT . In traditional markets, they’re useful for tracking stocks like TSLA and NVDA with extreme price swings, as well as indices in inflation-affected markets like XU100 , or recession-hit currency pairs like JPYUSD .
How to Use
This indicator is intuitive and similar to TradingView’s Fibonacci Tool. Select your reference levels (Level 1 and Level 0), then tweak the settings to customize your analysis, including adding Fibonacci fans for extra insights.
Why It’s Different
Unlike TradingView’s tool, which forces you to switch to a logarithmic scale (messing with other indicators and trend lines), this indicator lets you view both Linear and Logarithmic levels—and Fibonacci fans—without changing your chart’s scale. The original Fibonacci Code was derived from zekicanozkanli, modified and upgraded to plot fib fans as well.
Average of CBO and CBO divergence histogramShort Description:
This indicator combines a Custom Bias Oscillator (CBO) with its Divergence Histogram and computes their average for use to assess the market's bias based on candlestick analysis, from the aforementioned CBO indicator.
Full Description:
Overview:
This indicator integrates two powerful analytical tools into a single script: a Custom Bias Oscillator (CBO) and its Divergence Histogram. This indicator provides traders with a comprehensive view of market bias and divergence between price movements and volume, enhanced by an optional signal line derived from the combined average of these metrics.
Key Features:
Custom Bias Oscillator (CBO):
The CBO is calculated based on the body and wick biases of candlesticks, normalized by the Average True Range (ATR) to account for market volatility.
The CBO is scaled by the divergence between the Rate of Change (ROC) of volume and the ROC of the adjusted bias, ensuring it reflects potential reversals or continuations in the market.
Divergence Histogram:
The Divergence Histogram is derived from the difference between the CBO and its signal line.
This difference is normalized and plotted to provide visual cues for potential divergences, which may indicate trend exhaustion or the beginning of a new trend.
Combined Average with Signal Line:
The indicator calculates the average of the CBO and the normalized divergence, creating a combined signal that offers a more rounded perspective on market conditions.
A signal line, generated by smoothing the combined average, is plotted to help traders identify potential buy or sell signals based on crossovers.
Customization:
The indicator includes customizable parameters for the periods of the oscillator, signal line, ATR, ROC, and the combined signal line, allowing traders to tailor the indicator to different market conditions and timeframes.
How to Use:
Buy Signal: Consider a long position when the combined average crosses above the signal line, indicating potential bullish momentum.
Sell Signal: Consider a short position when the combined average crosses below the signal line, indicating potential bearish momentum.
Divergence Analysis: Use the Divergence Histogram to identify areas where price movements may be diverging from volume, signaling potential reversals or corrections.
Disclaimer:
This indicator is designed for educational and informational purposes only. It is not financial advice. Always perform your own analysis before making any investment decisions. Past performance is not indicative of future results.
zavaUnni-MTF_Volume-Based AnalysisThis Pine Script is designed for volume-based analysis across multiple timeframes. Users can select a specific timeframe, and based on the selected timeframe, the script calculates and projects key price levels such as potential highs and lows. The script also identifies significant buy and sell volumes, displaying them visually on the chart through lines and labels.
Key Points:
1.Timeframe Selection and Volume Analysis:
The script allows users to select a timeframe through an input field.
The selected timeframe is used as the basis for all subsequent volume and price calculations.
The core function vol_dir(string _TF) computes projected highs and lows based on volume data. This function determines whether the market is in a bullish or bearish phase by calculating the spread (spred) and its rate (spred_rate), and then averaging these over the selected timeframe.
2.Projected High and Low Calculation:
-Green Line: Represents the volume-based projected high for the selected timeframe (e.g., 1D).
This line acts as a key resistance level, and if the price reaches or exceeds this level, it serves as support.
-Red Line: Represents the volume-based projected low for the selected timeframe.
This line acts as a support level, and if the price reaches or falls below this level, it serves as resistance.
3.Price and Volume Indicators:
-Blue Line: Marks the previous 1D closing price, giving traders an additional reference point for recent price action.
-Green Dotted Line: Indicates the previous 1D projected high. This line serves as historical context for traders, showing where resistance was expected in the past.
-Red Dotted Line: Shows the previous 1D projected low, similarly providing historical support levels.
4.Trading Implications:
If the price breaks above the Green Line, it suggests strong bullish momentum, making short entries riskier.
Conversely, if the price drops below the Red Line, it indicates strong bearish momentum, where long entries should be avoided.
5.Volume Summation and Percentage Calculation:
The script tracks the buy and sell volumes over the selected timeframe, storing these in arrays.
It then calculates the total buy and sell volumes, along with their respective percentages of the total volume. These percentages help in assessing the relative strength of buyers versus sellers.
6.Visual Representation:
The script plots various lines representing the projected high, low, and real-time closing price.
Additionally, it uses the label function to display the buy and sell volume percentages directly on the chart.
A table is also generated at the bottom of the chart, summarizing the information for easy reference.
7.Dynamic Updates:
The script dynamically updates the projected lines and labels based on new data as it becomes available, ensuring that traders always have the latest insights.
The timeframe.change function triggers recalculations and updates the last high, low, and close values whenever the timeframe shifts.
Conclusion:
This script is a powerful tool for traders who rely on volume-based analysis to make informed decisions. By projecting key levels based on volume and price action, it helps identify critical support and resistance zones. The visual elements, including lines, labels, and tables, make it easier for traders to interpret the data and act accordingly. Whether trading intraday or on longer timeframes, this script provides a robust framework for assessing market conditions and planning trades
Delta Flow Profile [LuxAlgo]The Delta Flow Profile is a charting tool that tracks and visualizes money flow and the difference between buying and selling pressure accumulated within multiple price ranges over a specified period. It reveals the relationship between an asset's price and traders' willingness to buy or sell, helping traders identify significant price levels and analyze market activity.
The Normalized Profile displays the percentage of money flow at each price level relative to the maximum money flow level, enabling traders to easily compare levels and understand the relative importance of each price point in the context of overall trading activity.
🔶 USAGE
The Delta Flow Profile is made of two principal components with different usability, each one of them described in the sub-sections below.
🔹 Money Flow Profile
The Money Flow Profile illustrates the total buying and selling activity at different price ranges. By analyzing this profile, users can identify key price zones with substantial buying or selling pressure. These zones can often act as potential support or resistance.
The rows of the Money Flow Profile represent the trading activity at specific price ranges over a given period.
A normalized profile is included to compare each zone relative to the peak money flow using a percentage, with 100% indicating that a price range is the one with the highest accumulated money flow.
🔹 Delta Profile
The Delta Profile assesses the dominant sentiment (buying or selling) from volume delta at different price levels to gauge market sentiment and potential reversals.
Delta Profile rows with more significant buying or selling volume indicate dominance from one side of the market in that specific price area. Price coming back to that area might indicate willingness from a dominant side to further accumulate orders within it, potentially causing price to follow the direction established by this dominant side afterward.
The volume delta is determined from the user-selected Polarity Method, with "Bar Polarity" using candle sentiment to determine if a bar associated volume is buying or selling volume, and "Bar Buying/Selling Pressure" making use of the high/low price to obtain more precise results.
🔹 Level of Significance
Users can quickly highlight the price levels with the highest recorded money flow activity through the included "Level of Significance". Various display methods are included:
Developing: Show the price level with the highest recorded money flow activity spanning over the indicator calculation interval.
Level: Show the price level with the highest recorded money flow activity.
Row: Show the price zone with the highest recorded money flow activity.
These levels/zones can be used as potential support/resistance points and can serve as a reference of where prices might go next for market participants to accumulate orders.
🔶 SETTINGS
The script offers a range of customizable settings to tailor the analysis to your trading needs.
🔹 Calculation Settings
Money Flow Profile: Toggles the visibility of the Money Flow Profile.
Normalized: Toggles the visibility of the Normalized Profile.
Sentiment Profile: Toggles the visibility of the Sentiment Profile.
Polarity Method: Choose between Bar Polarity or Bar Buying/Selling Pressure to calculate the Sentiment Profile.
Level of Significance: Toggles the visibility of the level of significance line/zone.
Lookback Length / Fixed Range: Sets the lookback length.
Number of Rows: Specify how many rows each profile histogram will have.
🔹 Display Settings
Profile Width %: Alters the width of the rows in the histogram, relative to the profile length.
Profile Horizontal Offset: Enables moving the profile on the horizontal axis.
Profile Text: Toggles the visibility of profile texts, and alters the size of the text. Setting to Auto will keep the text within the box limits.
Currency: Extends the profile text with the traded currency.
Profile Price Levels: Toggles the visibility of the profile price levels.
🔶 RELATED SCRIPTS
Money-Flow-Profile
Volume-Profile-with-Node-Detection
Visible Range Volume Profile Heatmap [MyTradingCoder]The Visible Range Volume Profile Heatmap indicator offers a visually striking and insightful way to analyze trading volume within the visible price range of your chart. This tool goes beyond traditional volume profiles by displaying volume distribution as a heatmap, where color intensity represents the volume traded at each price level.
Key Features:
Dynamic Heatmap: Displays volume concentration using a color gradient, making it easy to spot areas of high and low trading activity.
Customizable Grid: Choose between auto-scaling or manual grid configuration to suit your analysis needs.
Flexible Color Schemes: Select from tri-tone or two-tone color palettes to represent bullish and bearish volume.
Point of Control (POC) Overlay: Highlights the price level with the highest trading volume, a critical reference point for traders.
Adjustable Transparency: Fine-tune the visibility of the heatmap to balance it with other chart elements.
Lookback Period: Customize the number of bars used for volume profile calculation.
How to Use the Visible Range Volume Profile Heatmap:
The Visible Range Volume Profile Heatmap is a powerful tool that can significantly enhance your market analysis when used effectively. To get the most out of this indicator, start by observing the overall pattern of the heatmap. Areas with darker colors represent higher volume concentration, indicating price levels where significant trading activity has occurred. These areas often serve as important support or resistance levels, as they represent prices where many traders have established positions.
Pay close attention to the Point of Control (POC), represented by a line running through the heatmap. This line marks the price level with the highest trading volume and often acts as a magnet for price action. Price tends to gravitate towards the POC, making it a crucial reference point for potential reversals or continuations.
When analyzing potential trades, consider how the current price relates to the volume distribution shown in the heatmap. If the price is approaching a high-volume area from below, it might face resistance; conversely, if it's approaching from above, that area might provide support. Breakouts beyond significant volume nodes can be particularly noteworthy, as they may signal a shift in market sentiment.
Use the heatmap in conjunction with your existing trading strategies. For example, if you're a trend follower, you might look for breakouts beyond major volume areas as confirmation of trend continuation. If you're a mean reversion trader, you might consider entries when price moves away from high-volume nodes, anticipating a return to these heavily traded levels.
The indicator can also help in identifying potential profit targets. As price moves away from one volume node, it often continues until it reaches the next significant volume area. These areas can serve as logical places to consider taking profits or adjusting your position.
For longer-term analysis, observe how the volume profile changes over time. Shifts in the distribution of volume can indicate evolving market dynamics. A broadening of the high-volume area might suggest increasing uncertainty, while a narrowing could indicate building consensus about price.
Settings Explained:
Auto Grid Configuration:
The "Auto Scale" option automatically adjusts the grid size based on the visible chart area. This ensures optimal visualization regardless of your chart's dimensions or zoom level.
Auto Scale Grid Size: Determines the total number of cells in the heatmap. A higher number provides more granular detail but may increase calculation time.
Auto Scale Grid Ratio: Adjusts the aspect ratio of the grid cells. A higher ratio creates wider, more rectangular cells, while a lower ratio results in more square-shaped cells. Experiment to find the best visual representation for your analysis.
Lookback Period:
The lookback setting determines how many columns (bars) of historical data the indicator uses to calculate the volume profile. A larger lookback will provide a more comprehensive view of historical volume distribution but may be slower to react to recent changes. A smaller lookback will be more responsive to recent volume patterns but may miss longer-term trends.
Manual Grid Configuration:
If you prefer more control over the grid layout, you can switch to manual configuration:
Column Width: Sets the number of price bars each column of the heatmap represents. A wider column aggregates more data, smoothing out the profile.
Number of Rows: Determines the vertical resolution of the heatmap. More rows provide finer price level detail but may make the overall pattern less distinct.
Tips for Optimization:
For short-term trading, use a smaller lookback and finer grid settings to capture recent market dynamics.
For longer-term analysis, increase the lookback and use wider columns to identify persistent volume patterns.
If the heatmap appears too blocky, increase the number of rows or decrease the column width.
If the heatmap is too granular, making patterns hard to discern, do the opposite.
Remember, the ideal settings often depend on your specific trading timeframe, the asset you're analyzing, and your personal analytical preferences. Don't hesitate to experiment with different configurations to find what works best for your trading style.
Conclusion
The Visible Range Volume Profile Heatmap is more than just an indicator—it's a versatile tool that enhances your ability to analyze and interpret market data. By transforming volume profiles into an intuitive, color-coded heatmap, this indicator allows you to quickly identify critical price levels where significant trading activity has occurred. Whether you're a day trader focused on short-term moves or a swing trader analyzing longer-term trends, the customizable settings of this tool provide the flexibility needed to adapt to various market conditions.
The ability to configure the grid layout, adjust the lookback period, and fine-tune the color and transparency settings ensures that the heatmap can be tailored to your specific trading strategy. By highlighting key areas of support and resistance, identifying potential breakouts, and pinpointing the Point of Control (POC), the heatmap gives you actionable insights that can enhance your decision-making process.
Incorporate the Visible Range Volume Profile Heatmap into your trading routine to gain a deeper understanding of market dynamics and to spot opportunities that might otherwise go unnoticed. Remember to experiment with the settings to find the configuration that best suits your analysis style, and use this powerful indicator in conjunction with your existing strategies for optimal results. With the right approach, this tool can become an indispensable part of your trading toolkit, helping you navigate the markets with greater confidence and precision.
Simplified Spoofing DetectorIndicator Name:
Simplified Spoofing Detector
Description:
Simplified Spoofing Detector is an indicator designed to detect potential spoofing activity in financial markets. Spoofing is a form of market manipulation where large orders are placed to create a false impression of demand or supply, only to be quickly canceled.
The indicator analyzes changes in trading volume and price velocity to identify suspicious activities. When significant changes in both volume and price velocity occur simultaneously, the indicator generates a signal indicating possible spoofing.
How the Indicator Works:
Volume Change: The indicator calculates how much the current trading volume deviates from its average. If this change is significant, it may indicate a large order that could be part of a spoofing attempt.
Price Velocity: The indicator also tracks how quickly the price is changing. A sudden change in price velocity may be a sign of manipulation.
Spoofing Signal: If both conditions – significant volume change and price velocity – are met simultaneously, the indicator generates a signal that is highlighted on the chart.
Indicator Parameters:
Sensitivity: Determines how quickly the indicator responds to changes in volume.
Volume Threshold: The minimum level of volume change required to trigger a signal.
Price Velocity Threshold: The minimum level of price velocity change required to trigger a signal.
Volume Amplitude Multiplier: Amplifies the amplitude of the displayed blue volume line.
Velocity Multiplier: Amplifies the amplitude of the displayed green price velocity line.
Usage:
This indicator is intended for traders who want to monitor suspicious market activities related to potential manipulation. It can be useful for analyzing both short-term and long-term trading strategies.
Please note: The indicator does not guarantee precise detection of spoofing and should be used in conjunction with other analysis methods.
Here’s the detailed explanation of how the indicator works:
1. Parameters:
sensitivity: Specifies the number of periods used to calculate the Exponential Moving Average (EMA) of volume. The lower the value, the faster the indicator will respond to changes in volume.
volume_threshold: Sets the minimum volume change required for the indicator to consider it a potential spoofing signal. If the volume change exceeds this value, the indicator will assume that spoofing may be occurring.
velocity_threshold: Defines the minimum price velocity change (change in closing price) considered significant. If the price velocity exceeds this value, it may be part of a spoofing signal.
amplitude_multiplier: Used to increase the value of volume change (volume_change), making the volume line more visible on the chart.
velocity_multiplier: Used to amplify the value of price velocity (price_velocity), making the price velocity line more visible on the chart.
2. Calculation of Variables:
volume_change_raw: Calculated as the ratio of the current volume to its Exponential Moving Average (EMA) over the number of periods defined by sensitivity. This shows how much the current volume deviates from the average volume.
volume_change: This is the volume_change_raw value multiplied by the amplitude_multiplier. Increasing this value makes volume changes more noticeable on the chart.
price_velocity: Calculated as the rate of change of the closing price over one period (roc(close, 1)), multiplied by the velocity_multiplier. This indicates how quickly the price is changing on the chart.
3. Spoofing Detection Logic:
spoofing_detected: This is the primary signal of the indicator. It is triggered if two conditions are met simultaneously:
volume_change exceeds volume_threshold, indicating a significant volume change.
price_velocity exceeds velocity_threshold, indicating a significant change in price velocity.
If both conditions are met, the indicator assumes that spoofing may be occurring.
4. Data Display:
plot(volume_change): Displays the volume change value as a blue line on the chart.
plot(price_velocity): Displays the price velocity value as a green line on the chart.
5. Spoofing Signal Highlight:
bgcolor(spoofing_detected ? color.new(color.red, 80) : na): If spoofing_detected returns true, the chart's background is highlighted with a semi-transparent red color to visually mark the moment when the indicator detects potential spoofing.
6. Alerts:
alertcondition(spoofing_detected): If the indicator detects spoofing, an alert is triggered with the message "Advanced spoofing activity detected!".
Conclusion:
This indicator analyzes changes in volume and price velocity to identify potential cases of spoofing. If significant changes in both volume and price velocity are observed simultaneously, the indicator highlights these moments on the chart and can send an alert to the user.
Yes, the Simplified Spoofing Detector indicator can be used on all timeframes.
Why it is suitable for all timeframes:
Volume and Price Velocity Analysis: The indicator is based on analyzing changes in volume and price velocity, which are relevant across any timeframe—whether it’s a minute, hourly, daily, or weekly chart.
Adjustable Sensitivity: The indicator's parameters, such as sensitivity, volume threshold, and price velocity threshold, can be adapted to specific timeframes. This allows traders to optimize the indicator’s performance according to their strategy and time preferences.
Recommendations:
For short-term timeframes (e.g., 1 minute, 5 minutes): You can use higher sensitivity and lower threshold values to detect rapid changes.
For long-term timeframes (e.g., 1 hour, 1 day): You can use lower sensitivity and higher threshold values to filter out noise and focus on significant changes.
Thus, the Simplified Spoofing Detector indicator is versatile and can be effectively applied on any timeframe.
Название индикатора:
Simplified Spoofing Detector
Описание:
Simplified Spoofing Detector – это индикатор, разработанный для выявления возможных случаев спуффинга на финансовых рынках. Спуффинг – это форма рыночной манипуляции, при которой крупные ордера размещаются для создания ложного впечатления о спросе или предложении, а затем быстро отменяются.
Индикатор анализирует изменения объема торгов и скорости изменения цены для выявления подозрительных активностей. Когда одновременно происходят значительные изменения в объеме и скорости цены, индикатор генерирует сигнал о возможном спуффинге.
Как работает индикатор:
Изменение объема (Volume Change): Индикатор рассчитывает, насколько текущий объем отличается от его среднего значения. Если это изменение значительно, это может быть признаком крупного ордера, который потенциально может быть частью спуффинга.
Скорость изменения цены (Price Velocity): Индикатор также отслеживает, насколько быстро меняется цена. Внезапное изменение скорости цены может свидетельствовать о манипуляции.
Сигнал спуффинга: Если оба условия – значительное изменение объема и скорости цены – выполняются одновременно, индикатор генерирует сигнал, который отображается в виде подсветки на графике.
Параметры индикатора:
Sensitivity (Чувствительность): Определяет, насколько быстро индикатор реагирует на изменения объема.
Volume Threshold (Порог объема): Минимальный уровень изменения объема, при котором активируется сигнал.
Price Velocity Threshold (Порог скорости цены): Минимальный уровень изменения скорости цены для активации сигнала.
Volume Amplitude Multiplier (Множитель амплитуды объема): Увеличивает амплитуду отображаемой синей линии объема.
Velocity Multiplier (Множитель скорости): Увеличивает амплитуду отображаемой зелёной линии скорости цены.
Использование:
Этот индикатор предназначен для трейдеров, которые хотят отслеживать подозрительные рыночные активности, связанные с возможными манипуляциями. Он может быть полезен при анализе как краткосрочных, так и долгосрочных торговых стратегий.
Обратите внимание: Индикатор не гарантирует точное определение спуффинга и должен использоваться в сочетании с другими методами анализа.
Подробное объяснение работы индикатора:
1. Параметры:
sensitivity (Чувствительность): Указывает количество периодов для расчета скользящего среднего (EMA) объема. Чем меньше значение, тем быстрее индикатор будет реагировать на изменения объема.
volume_threshold (Порог объема): Определяет минимальное значение изменения объема, при котором индикатор будет рассматривать это как возможный сигнал спуффинга. Если изменение объема превышает это значение, индикатор будет считать, что может происходить спуффинг.
velocity_threshold (Порог скорости): Определяет минимальное значение изменения скорости цены (изменения закрытия цены), которое будет рассматриваться как значительное. Если изменение скорости превышает это значение, это может быть частью сигнала спуффинга.
amplitude_multiplier (Множитель амплитуды объема): Используется для увеличения значения изменения объема (volume_change), чтобы сделать линию объема более заметной на графике.
velocity_multiplier (Множитель скорости): Используется для увеличения значения изменения скорости цены (price_velocity), чтобы сделать линию скорости цены более заметной на графике.
2. Расчет переменных:
volume_change_raw: Вычисляется как отношение текущего объема к его экспоненциальному скользящему среднему (EMA) за sensitivity периодов. Это показывает, насколько текущий объем отличается от среднего объема.
volume_change: Это значение volume_change_raw, умноженное на amplitude_multiplier. Увеличение этого значения делает изменение объема более заметным на графике.
price_velocity: Вычисляется как скорость изменения цены закрытия за один период (roc(close, 1)), умноженная на velocity_multiplier. Это показывает, насколько быстро меняется цена на графике.
3. Логика обнаружения спуффинга:
spoofing_detected: Это основной сигнал индикатора. Он активируется, если одновременно выполняются два условия:
volume_change превышает volume_threshold, что указывает на значительное изменение объема.
price_velocity превышает velocity_threshold, что указывает на значительное изменение скорости цены.
Если оба условия выполняются, индикатор считает, что может происходить спуффинг.
4. Отображение данных:
plot(volume_change): Отображает на графике значение изменения объема как синюю линию.
plot(price_velocity): Отображает на графике значение изменения скорости цены как зеленую линию.
5. Подсветка сигналов спуффинга:
bgcolor(spoofing_detected ? color.new(color.red, 80) : na): Если spoofing_detected возвращает true, фон графика подсвечивается полупрозрачным красным цветом, чтобы визуально отметить момент, когда индикатор считает, что происходит спуффинг.
6. Оповещения:
alertcondition(spoofing_detected): Если индикатор обнаруживает спуффинг, срабатывает оповещение с сообщением "Advanced spoofing activity detected!".
Заключение:
Этот индикатор анализирует изменения объема и скорости цены, чтобы определить потенциальные случаи спуффинга. Если одновременно наблюдаются значительные изменения и объема, и скорости цены, индикатор подсвечивает эти моменты на графике и может отправить оповещение пользователю.
индикатор Simplified Spoofing Detector может быть использован на всех таймфреймах.
Почему он подходит для всех таймфреймов:
Анализ объема и скорости цены: Индикатор основан на анализе изменения объема и скорости изменения цены, что актуально на любом таймфрейме — будь то минутный, часовой, дневной или недельный график.
Настраиваемая чувствительность: Параметры индикатора, такие как чувствительность, порог объема и порог скорости цены, можно адаптировать под конкретный таймфрейм. Это позволяет трейдерам оптимизировать работу индикатора для их стратегии и временных предпочтений.
Рекомендации:
Для краткосрочных таймфреймов (например, 1 мин, 5 мин): Можно использовать более высокую чувствительность и низкие пороговые значения для обнаружения быстрых изменений.
Для долгосрочных таймфреймов (например, 1 час, 1 день): Можно использовать более низкую чувствительность и более высокие пороговые значения, чтобы отфильтровать шум и сосредоточиться на значимых изменениях.
Таким образом, индикатор Simplified Spoofing Detector универсален и может быть эффективно применён на любом таймфрейме.
LazyScalp Board by MalexThis indicator offers a quick view of essential trading parameters in a customizable table format.
The table displays key metrics such as daily volume, average volume over a chosen period, volatility (normalized ATR), correlation coefficient, and funding rate, all of which can be tailored to your preferences.
You can also adjust the table's appearance, style, and layout to better fit your needs.
Designed with intraday traders and scalpers in mind, this indicator helps you swiftly identify the most suitable trading instruments.
Based on LazyScalp Board by Aleksandr400
Gann + Laplace Smoothed Hybrid Volume Spread AnalysisThe Gann + Laplace Smoothed Hybrid Volume Spread Analysis ( GannLSHVSA ) Strategy/Indicator is an trading tool designed to fuse volume analysis with trend detection, offering traders a view of market dynamics.
This Strategy/Indicator stands apart by integrating the principles of the upgraded Discrete Fourier Transform (DFT), the Laplace Stieltjes Transform and volume spread analysis, enhanced with a layer of Fourier smoothing to distill market noise and highlight trend directions with unprecedented clarity.
The length of EMA and Strategy Entries are modified with the Gann swings .
This smoothing process allows traders to discern the true underlying patterns in volume and price action, stripped of the distractions of short-term fluctuations and noise.
The core functionality of the GannLSHVSA revolves around the innovative combination of volume change analysis, spread determination (calculated from the open and close price difference), and the strategic use of the EMA (default 10) to fine-tune the analysis of spread by incorporating volume changes.
Trend direction is validated through a moving average (MA) of the histogram, which acts analogously to the Volume MA found in traditional volume indicators. This MA serves as a pivotal reference point, enabling traders to confidently engage with the market when the histogram's movement concurs with the trend direction, particularly when it crosses the Trend MA line, signalling optimal entry points.
It returns 0 when MA of the histogram and EMA of the Price Spread are not align.
WHAT IS GannLSHVSA INDICATOR:
The GannLSHVSA plots a positive trend when a positive Volume smoothed Spread and EMA of Volume smoothed price is above 0, and a negative when negative Volume smoothed Spread and EMA of Volume smoothed price is below 0. When this conditions are not met it plots 0.
HOW TO USE THE STRATEGY:
Here you fine-tune the inputs until you find a combination that works well on all Timeframes you will use when creating your Automated Trade Algorithmic Strategy. I suggest 4h, 12h, 1D, 2D, 3D, 4D, 5D, 6D, W and M.
ORIGINALITY & USEFULNESS:
The GannLSHVSA Strategy is unique because it applies upgraded DFT, the Laplace Stieltjes Transform for data smoothing, effectively filtering out the minor fluctuations and leaving traders with a clear picture of the market's true movements. The DFT's ability to break down market signals into constituent frequencies offers a granular view of market dynamics, highlighting the amplitude and phase of each frequency component. This, combined with the strategic application of Ehler's Universal Oscillator principles via a histogram, furnishes traders with a nuanced understanding of market volatility and noise levels, thereby facilitating more informed trading decisions. The Gann swing strategy is developed by meomeo105, this Gann high and low algorithm forms the basis of the EMA modification.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is the meaning of price spread?
In finance, a spread refers to the difference between two prices, rates, or yields. One of the most common types is the bid-ask spread, which refers to the gap between the bid (from buyers) and the ask (from sellers) prices of a security or asset.
We are going to use Open-Close spread.
What is Volume spread analysis?
Volume spread analysis (VSA) is a method of technical analysis that compares the volume per candle, range spread, and closing price to determine price direction.
What does this mean?
We need to have a positive Volume Price Spread and a positive Moving average of Volume price spread for a positive trend. OR via versa a negative Volume Price Spread and a negative Moving average of Volume price spread for a negative trend.
What if we have a positive Volume Price Spread and a negative Moving average of Volume Price Spread?
It results in a neutral, not trending price action.
Thus the Indicator/Strategy returns 0 and Closes all long and short positions.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame. I suggest using 100% equity as your default quantity for fine-tune purposes. I have to mention that 100% equity may lead to unrealistic backtesting results. Be avare. When backtesting for trading purposes use Contracts or USDT.
Fine-tune Inputs: Gann + Laplace Smooth Volume Zone OscillatorUse this Strategy to Fine-tune inputs for the GannLSVZ0 Indicator.
Strategy allows you to fine-tune the indicator for 1 TimeFrame at a time; cross Timeframe Input fine-tuning is done manually after exporting the chart data.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame.
MEANINGFUL DESCRIPTION:
The Volume Zone oscillator breaks up volume activity into positive and negative categories. It is positive when the current closing price is greater than the prior closing price and negative when it's lower than the prior closing price. The resulting curve plots through relative percentage levels that yield a series of buy and sell signals, depending on level and indicator direction.
The Gann Laplace Smoothed Volume Zone Oscillator GannLSVZO is a refined version of the Volume Zone Oscillator, enhanced by the implementation of the upgraded Discrete Fourier Transform, the Laplace Stieltjes Transform. Its primary function is to streamline price data and diminish market noise, thus offering a clearer and more precise reflection of price trends.
By combining the Laplace with Gann Swing Entries and with Ehler's white noise histogram, users gain a comprehensive perspective on volume-related market conditions.
HOW TO USE THE INDICATOR:
The default period is 2 but can be adjusted after backtesting. (I suggest 5 VZO length and NoiceR max length 8 as-well)
The VZO points to a positive trend when it is rising above the 0% level, and a negative trend when it is falling below the 0% level. 0% level can be adjusted in setting by adjusting VzoDifference. Oscillations rising below 0% level or falling above 0% level result in a natural trend.
HOW TO USE THE STRATEGY:
Here you fine-tune the inputs until you find a combination that works well on all Timeframes you will use when creating your Automated Trade Algorithmic Strategy. I suggest 4h, 12h, 1D, 2D, 3D, 4D, 5D, 6D, W and M.
When Indicator/Strategy returns 0 or natural trend, Strategy Closes All it's positions.
ORIGINALITY & USFULLNESS:
Personal combination of Gann swings and Laplace Stieltjes Transform of a price which results in less noise Volume Zone Oscillator.
The Laplace Stieltjes Transform is a mathematical technique that transforms discrete data from the time domain into its corresponding representation in the frequency domain. This process involves breaking down a signal into its individual frequency components, thereby exposing the amplitude and phase characteristics inherent in each frequency element.
This indicator utilizes the concept of Ehler's Universal Oscillator and displays a histogram, offering critical insights into the prevailing levels of market noise. The Ehler's Universal Oscillator is grounded in a statistical model that captures the erratic and unpredictable nature of market movements. Through the application of this principle, the histogram aids traders in pinpointing times when market volatility is either rising or subsiding.
The Gann swing strategy is developed by meomeo105, this Gann high and low algorithm forms the basis of the EMA modification.
DETAILED DESCRIPTION:
My detailed description of the indicator and use cases which I find very valuable.
What is oscillator?
Oscillators are chart indicators that can assist a trader in determining overbought or oversold conditions in ranging (non-trending) markets.
What is volume zone oscillator?
Price Zone Oscillator measures if the most recent closing price is above or below the preceding closing price.
Volume Zone Oscillator is Volume multiplied by the 1 or -1 depending on the difference of the preceding 2 close prices and smoothed with Exponential moving Average.
What does this mean?
If the VZO is above 0 and VZO is rising. We have a bullish trend. Most likely.
If the VZO is below 0 and VZO is falling. We have a bearish trend. Most likely.
Rising means that VZO on close is higher than the previous day.
Falling means that VZO on close is lower than the previous day.
What if VZO is falling above 0 line?
It means we have a high probability of a bearish trend.
Thus the indicator returns 0 and Strategy closes all it's positions when falling above 0 (or rising bellow 0) and we combine higher and lower timeframes to gauge the trend.
What is approximation and smoothing?
They are mathematical concepts for making a discrete set of numbers a
continuous curved line.
Laplace Stieltjes Transform approximation of a close price are taken from aprox library.
Key Features:
You can tailor the Indicator/Strategy to your preferences with adjustable parameters such as VZO length, noise reduction settings, and smoothing length.
Volume Zone Oscillator (VZO) shows market sentiment with the VZO, enhanced with Exponential Moving Average (EMA) smoothing for clearer trend identification.
Noise Reduction leverages Euler's White noise capabilities for effective noise reduction in the VZO, providing a cleaner and more accurate representation of market dynamics.
Choose between the traditional Fast Laplace Stieltjes Transform (FLT) and the innovative Double Discrete Fourier Transform (DTF32) soothed price series to suit your analytical needs.
Use dynamic calculation of Laplace coefficient or the static one. You may modify those inputs and Strategy entries with Gann swings.
I suggest using "Close all" input False when fine-tuning Inputs for 1 TimeFrame. When you export data to Excel/Numbers/GSheets I suggest using "Close all" input as True, except for the lowest TimeFrame. I suggest using 100% equity as your default quantity for fine-tune purposes. I have to mention that 100% equity may lead to unrealistic backtesting results. Be avare. When backtesting for trading purposes use Contracts or USDT.
MVSF 6.0[ELPANO]The "MVSF 6.0 " indicator, which stands for Multi-Variable Strategy Framework, overlays on price charts to aid in trading decisions. It combines various moving averages and volume data to generate buy and sell signals based on predefined conditions.
Key features of the indicator include:
Moving Averages: It uses three exponential moving averages (EMAs) with lengths of 200, 100, and 50, and two simple moving averages (SMAs) with lengths of 14 and 9. These averages are combined into a single average line to detect trends.
Volume Analysis: The volume is assessed over a specified period (default is 2 bars) to determine its trend relative to its average, influencing the color and interpretation of signals.
Price Source and VWAP: Users can select the price (close, low, or high) used for calculations. The volume-weighted average price (VWAP) serves as a potential benchmark or condition in signal generation.
Signal Generation: Buy and sell signals are based on the relationship of the price to the average line and VWAP, the direction of the last candle, and the trend direction of the average line. These signals are visually represented on the chart.
Customization: Traders can toggle the visibility of signals, entry points, the average line, and even use these elements as conditions for filtering signals.
This script is designed to be flexible, allowing traders to modify settings according to their strategy needs. The description and implementation aim to provide clarity on how each component works together to assist in trading decisions, adhering to best practices for creating and publishing trading scripts.
*************************************
Der Indikator "MVSF 6.0 ", der für Multi-Variable Strategy Framework steht, wird über Preisdiagramme gelegt, um bei Handelsentscheidungen zu helfen. Er kombiniert verschiedene gleitende Durchschnitte und Volumendaten, um Kauf- und Verkaufssignale basierend auf vordefinierten Bedingungen zu generieren.
Wesentliche Merkmale des Indikators umfassen:
Gleitende Durchschnitte: Es werden drei exponentielle gleitende Durchschnitte (EMAs) mit Längen von 200, 100 und 50 sowie zwei einfache gleitende Durchschnitte (SMAs) mit Längen von 14 und 9 verwendet. Diese Durchschnitte werden zu einer einzelnen Durchschnittslinie kombiniert, um Trends zu erkennen.
Volumenanalyse: Das Volumen wird über einen festgelegten Zeitraum (standardmäßig 2 Balken) bewertet, um seinen Trend im Vergleich zum Durchschnitt zu bestimmen, was die Farbe und Interpretation der Signale beeinflusst.
Preisquelle und VWAP: Benutzer können den für Berechnungen verwendeten Preis (Schluss-, Tief- oder Hochkurs) auswählen. Der volumengewichtete Durchschnittspreis (VWAP) dient als mögliche Benchmark oder Bedingung bei der Generierung von Signalen.
Signalgenerierung: Kauf- und Verkaufssignale basieren auf dem Verhältnis des Preises zur Durchschnittslinie und zum VWAP, der Richtung der letzten Kerze und der Trendrichtung der Durchschnittslinie. Diese Signale werden visuell auf dem Diagramm dargestellt.
Anpassung: Händler können die Sichtbarkeit von Signalen, Einstiegspunkten, der Durchschnittslinie und sogar deren Verwendung als Bedingungen für die Filterung von Signalen ein- und ausschalten.
Dieses Skript ist so konzipiert, dass es flexibel ist und Händlern erlaubt, die Einstellungen gemäß ihren Strategiebedürfnissen zu modifizieren. Die Beschreibung und Implementierung zielen darauf ab, Klarheit darüber zu schaffen, wie jede Komponente zusammenarbeitet, um bei Handelsentscheidungen zu helfen, und halten sich an die besten Praktiken für die Erstellung und Veröffentlichung von Handelsskripten.
Hammers & star Patterns After a Trend
1. **Candlestick Patterns Detection:**
- **Hammers** and **Inverted Hammers** are specific candlestick patterns that can indicate potential reversals in the market.
- **Hammer**: A candle with a small body and a long lower wick, showing a possible reversal after a downtrend.
- **Inverted Hammer**: A candle with a small body and a long upper wick, indicating a possible reversal after an uptrend.
2. **Volume Consideration:**
- The script checks if these patterns occur with **high trading volume**. If the volume is significantly higher than the average volume over a certain period, the pattern is highlighted.
3. **Trend Detection:**
- The script looks for a significant trend before the pattern appears:
- **Downtrend**: A significant downward movement in price is required before a Hammer is considered.
- **Uptrend**: A significant upward movement is required before an Inverted Hammer is considered.
4. **Additional Patterns:**
- **Morning Star** and **Evening Star** patterns are also detected:
- **Morning Star**: A three-candle pattern where the first candle is a large bearish candle, followed by a small-bodied candle, and then a large bullish candle, indicating a potential reversal from downtrend to uptrend.
- **Evening Star**: The opposite pattern, signaling a potential reversal from uptrend to downtrend.
5. **Visual Indicators:**
- The script **plots arrows** and **labels** on the chart to show where these patterns occur:
- **Hammers** and **Inverted Hammers** are marked with triangle arrows.
- **Morning Stars** and **Evening Stars** are marked with labels.
In summary, this script helps traders identify key candlestick patterns that may signal potential reversals in price trends, with special emphasis on patterns that occur with high volume and after significant price movements.
Lot Size Calculator [SCRIPTS INVERSIONES]1. Balance (USD)
Description: This input allows you to set your trading account balance in USD. The balance is used to calculate the amount of money you are risking on a trade.
How to Use: Enter the total balance of your trading account. For example, if you have $1,000 in your account, you would input 1000.
2. Leverage
Description: Leverage multiplies your purchasing power, allowing you to control a larger position than your account balance would normally allow.
How to Use: Set the leverage level you are using. For example, if your broker offers 20x leverage, you would input 20. This will affect the size of your positions and the potential risk and reward.
3. Risk Percentage (%)
Description: This is the percentage of your account balance that you are willing to risk on a single trade.
How to Use: Enter the percentage of your balance you want to risk. For instance, if you want to risk 1% of your $1,000 balance, you would input 1. The script will then calculate the maximum amount of money you can lose on the trade.
4. Stop Loss Percentage (%)
Description: This is the percentage distance from your entry price at which your Stop Loss (SL) will be set.
How to Use: Input the percentage you want for the Stop Loss. For example, if you want the SL to be set 1% below the entry price, you would input 1. This is used when not in manual or ATR mode.
5. Take Profit Percentage (%)
Description: This is the percentage distance from your entry price at which your Take Profit (TP) will be set.
How to Use: Input the percentage for the Take Profit. For example, if you want the TP to be set 2% above the entry price, you would input 2. This is used when not in manual or ATR mode.
6. ATR Multiplier
Description: The Average True Range (ATR) is a measure of volatility, and this multiplier adjusts how far your Stop Loss and Take Profit are set based on ATR.
How to Use: If you're using ATR mode, set the multiplier to adjust the distance of your SL and TP. For example, if the ATR is 10 and you set a multiplier of 1.5, the SL and TP will be set 15 units away from the entry price.
7. Long Trade?
Description: This option determines whether your trade is a "Long" (buy) or "Short" (sell) position.
How to Use: Select true if you are going long (expecting the price to rise), or false if you are going short (expecting the price to fall). This will influence how the SL and TP are calculated.
8. Manual Mode?
Description: In Manual Mode, you can manually input an entry price instead of using the current market price for calculations.
How to Use: Enable this mode by setting it to true if you want to manually enter a specific price. You will then need to input your desired entry price in the "Manual Price" field.
9. ATR Mode?
Description: When ATR Mode is enabled, the script uses the ATR to calculate Stop Loss and Take Profit levels instead of using fixed percentages.
How to Use: Enable this mode by setting it to true to calculate SL and TP based on ATR. The SL and TP will then be adjusted automatically based on market volatility.
How to Use the Script with Different Modes
Automatic Mode with Percentages:
When to Use: If you want SL and TP to be set as a fixed percentage of the entry price.
Setup: Set Manual Mode to false and ATR Mode to false. Input your desired percentages for SL and TP.
Manual Mode:
When to Use: If you want to manually set the entry price and calculate SL and TP based on that price.
Setup: Set Manual Mode to true. Enter the manual price you want to use for calculations in the "Manual Price" field. SL and TP will be calculated based on this price.
ATR Mode:
When to Use: If you want SL and TP to adjust automatically based on market volatility.
Setup: Set ATR Mode to true and adjust the ATR Multiplier according to your preference. SL and TP will be set according to the ATR value multiplied by the chosen multiplier.
VWAP Bands [TradingFinder] 26 Brokers Data (Forex + Crypto)🔵 Introduction
Indicators are tools that help analysts predict the price trend of a stock through mathematical calculations on price or trading volume. It is evident that trading volume significantly impacts the price trend of a stock symbol.
The Volume-Weighted Average Price (VWAP) indicator combines the influence of trading volume and price, providing technical analysts with a practical tool.
This technical indicator determines the volume-weighted average price of a symbol over a specified time period. Consequently, this indicator can be used to identify trends and entry or exit points.
🟣 Calculating the VWAP Indicator
Adding the VWAP indicator to a chart will automatically perform all calculations for you. However, if you wish to understand how this indicator is calculated, the following explains the steps involved.
Consider a 5-minute chart. In the first candle of this chart (which represents price information in the first 5 minutes), sum the high, low, and close prices, and divide by 3. Multiply the resulting number by the volume for the period and call it a variable (e.g., X).
Then, divide the resulting output by the total volume for that period to calculate your VWAP. To maintain the VWAP sequence throughout the trading day, it is necessary to add the X values obtained from each period to the previous period and divide by the total volume up to that time. It is worth noting that the calculation method is the same for intervals shorter than a day.
The mathematical formula for this VWAP indicator : VWAP = ∑ (Pi×Vi) / ∑ Vi
🔵 How to Use
Traders might consider the VWAP indicator as a tool for predicting trends. For example, they might buy a stock when the price is above the VWAP level and sell it when the price is below the VWAP.
In other words, when the price is above the VWAP, the price is rising, and when it is below the VWAP, the price is falling. Major traders and investment funds also use the VWAP ratio to help enter or exit stocks with the least possible market impact.
It is important to note that one should not rely solely on the VWAP indicator when analyzing symbols. This is because if prices rise quickly, the VWAP indicator may not adequately describe the conditions. This indicator is generally used for daily or shorter time frames because using longer intervals can distort the average.
Since this indicator uses past data in its calculations, it can be considered a lagging indicator. As a result, the more data there is, the greater the delay.
🟣 Difference Between VWAP and Simple Moving Average
On a chart, the VWAP and the simple moving average may look similar, but these two indicators have different calculations. The VWAP calculates the total price considering volume, while the simple moving average does not consider volume.
In simpler terms, the VWAP indicator measures each day's price change relative to the trading volume that occurred that day. In contrast, the simple moving average implicitly assumes that all trading days have the same volume.
🟣 Reasons Why Traders Like the VWAP Indicator
The VWAP Considers Volume: Since VWAP takes volume into account, it can be more reliable than a simple arithmetic average of prices. Theoretically, one person can buy 200,000 shares of a symbol in one transaction at a single price.
However, during the same time frame, 100 other people might place 200 different orders at various prices that do not total 100,000 shares. In this case, if you only consider the average price, you might be mistaken because trading volume is ignored.
The Indicator Can Help Day Traders: While reviewing your trades, you might notice that the shares you bought at market price are trading below the VWAP indicator.
In this case, there's no need to worry because with the help of VWAP, you always get a price below the average. By knowing the volume-weighted average price of a stock, you can easily make an informed decision about paying more or less than other traders for the stock.
VWAP Can Signal Market Trend Changes: Buying low and selling high can be an excellent strategy for individuals. However, you are looking to buy when prices start to rise and sell your shares when prices start to fall.
Since the VWAP indicator simulates a balanced price in the market, when the price crosses above the VWAP line, one can assume that traders are willing to pay more to acquire shares, and as a result, the market will grow. Conversely, when the price crosses below the line, this can be considered a sign of a downward movement.
🔵 Setting
Period : Indicator calculation time frame.
Source : The Price used for calculations.
Market Ultra Data : If you turn on this feature, 26 large brokers will be included in the calculation of the trading volume.
The advantage of this capability is to have more reliable volume data. You should be careful to specify the market you are in, FOREX brokers and Crypto brokers are different.
Multiplier : Coefficient of band lines.
Gabriel's Relative Unrealized Profit with Dynamic MVRV Histogram
Certainly! Here’s an enhanced description of the Gabriel's Relative Unrealized Profit with Dynamic MVRV Histogram indicator with detailed usage instructions and explanations of why it's effective:
Gabriel's Relative Unrealized Profit with Dynamic MVRV Histogram
Description:
The Gabriel's Relative Unrealized Profit with Dynamic MVRV Histogram is an advanced trading indicator designed to offer in-depth insights into asset profitability and market valuation. By integrating Relative Unrealized Profit (RUP) and the Market Value to Realized Value (MVRV) Ratio, this indicator provides a nuanced view of an asset's performance and potential trading signals.
Key Components:
SMA Length and Volume Indicator:
SMA Length: Defines the period for the Simple Moving Average (SMA) used to calculate the entry price, defaulted to 14 periods. This smoothing technique helps estimate the average historical price at which the asset was acquired.
Volume Indicator: Allows selection between "volume" and "vwap" (Volume-Weighted Average Price) for calculating entry volume. The choice impacts the calculation of entry volume, either based on standard trading volume or a weighted average price.
Realized Price Calculation:
Computes the average price over a specified period (default of 30 periods) to establish the realized price. This serves as a benchmark for evaluating the cost basis of the asset.
MVRV Calculation:
Current Price: The most recent closing price of the asset, representing its market value.
Total Cost: Calculated as the product of the entry price and entry volume, reflecting the total investment made.
Unrealized Profit: The difference between the current price and the entry price, multiplied by entry volume, indicating profit or loss that has yet to be realized.
Relative Unrealized Profit: Expressed as a percentage of the total cost, showing how much profit or loss exists relative to the initial investment.
Market Value and Realized Value: Market Value is the current price multiplied by entry volume, while Realized Value is the realized price multiplied by entry volume. The MVRV Ratio is obtained by dividing Market Value by Realized Value.
Normalization:
Normalizes both Relative Unrealized Profit and MVRV Ratio to a standardized range of -100 to 100. This involves calculating the minimum and maximum values over a 100-period window to ensure comparability and relevance.
Histogram Calculation:
The histogram is derived from the difference between the normalized Relative Unrealized Profit and the normalized MVRV Ratio. It visually represents the disparity between the two metrics, highlighting potential trading signals.
Plotting and Alerts:
Plots:
Normalized Relative Unrealized Profit (Blue Line): Plotted in blue, this line shows the scaled measure of unrealized profit. Positive values indicate potential gains, while negative values suggest potential losses.
Normalized MVRV Ratio (Red Line): Plotted in red, this line represents the scaled MVRV Ratio. Higher values suggest that the asset’s market value significantly exceeds its realized value, indicating potential overvaluation, while lower values suggest potential undervaluation.
Histogram (Green Bars): Plotted in green, this histogram displays the difference between the normalized Relative Unrealized Profit and the normalized MVRV Ratio. Positive bars indicate that the asset’s profitability is exceeding its market valuation, while negative bars suggest the opposite.
Alerts:
High Histogram Alert: Activated when the histogram value exceeds 50. This condition signals a strong positive divergence, indicating that the asset's profitability is outperforming its market valuation. It may suggest a buying opportunity or indicate that the asset is undervalued relative to its potential profitability.
Low Histogram Alert: Triggered when the histogram value falls below -50. This condition signals a strong negative divergence, indicating that the asset's profitability is lagging behind its market valuation. It may suggest a selling opportunity or indicate that the asset is overvalued relative to its profitability.
How to Use the Indicator:
Setup: Customize the SMA Length, Volume Indicator, and Realized Price Length based on your trading strategy and asset volatility. These parameters allow you to tailor the indicator to different market conditions and asset types.
Interpretation:
Blue Line (Normalized Relative Unrealized Profit): Monitor this line to gauge the profitability of holding the asset. Significant positive values suggest that the asset is currently in a profitable position relative to its purchase price.
Red Line (Normalized MVRV Ratio): Use this line to assess whether the asset is trading at a premium or discount relative to its cost basis. Higher values may indicate overvaluation, while lower values suggest undervaluation.
Green Bars (Histogram): Observe the histogram for deviations between RUP and MVRV Ratio. Large positive bars indicate that the asset's profitability is strong relative to its valuation, signaling potential buying opportunities. Large negative bars suggest that the asset's profitability is weak relative to its valuation, signaling potential selling opportunities.
Trading Strategy:
Bullish Conditions: When the histogram shows large positive values, it suggests that the asset’s profitability is strong compared to its valuation. Consider this as a potential buying signal, especially if the histogram remains consistently positive.
Bearish Conditions: When the histogram displays large negative values, it indicates that the asset’s profitability is weak compared to its valuation. This may signal a potential selling opportunity or caution, particularly if the histogram remains consistently negative.
Why This Indicator is Effective:
Integrated Metrics: Combining Relative Unrealized Profit and MVRV Ratio provides a comprehensive view of asset performance. This integration allows traders to evaluate both profitability and market valuation in one cohesive tool.
Multiple Naked LevelsPURPOSE OF THE INDICATOR
This indicator autogenerates and displays naked levels and gaps of multiple types collected into one simple and easy to use indicator.
VALUE PROPOSITION OF THE INDICATOR AND HOW IT IS ORIGINAL AND USEFUL
1) CONVENIENCE : The purpose of this indicator is to offer traders with one coherent and robust indicator providing useful, valuable, and often used levels - in one place.
2) CLUSTERS OF CONFLUENCES : With this indicator it is easy to identify levels and zones on the chart with multiple confluences increasing the likelihood of a potential reversal zone.
THE TYPES OF LEVELS AND GAPS INCLUDED IN THE INDICATOR
The types of levels include the following:
1) PIVOT levels (Daily/Weekly/Monthly) depicted in the chart as: dnPIV, wnPIV, mnPIV.
2) POC (Point of Control) levels (Daily/Weekly/Monthly) depicted in the chart as: dnPoC, wnPoC, mnPoC.
3) VAH/VAL STD 1 levels (Value Area High/Low with 1 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH1/dnVAL1, wnVAH1/wnVAL1, mnVAH1/mnVAL1
4) VAH/VAL STD 2 levels (Value Area High/Low with 2 std) (Daily/Weekly/Monthly) depicted in the chart as: dnVAH2/dnVAL2, wnVAH2/wnVAL2, mnVAH1/mnVAL2
5) FAIR VALUE GAPS (Daily/Weekly/Monthly) depicted in the chart as: dnFVG, wnFVG, mnFVG.
6) CME GAPS (Daily) depicted in the chart as: dnCME.
7) EQUILIBRIUM levels (Daily/Weekly/Monthly) depicted in the chart as dnEQ, wnEQ, mnEQ.
HOW-TO ACTIVATE LEVEL TYPES AND TIMEFRAMES AND HOW-TO USE THE INDICATOR
You can simply choose which of the levels to be activated and displayed by clicking on the desired radio button in the settings menu.
You can locate the settings menu by clicking into the Object Tree window, left-click on the Multiple Naked Levels and select Settings.
You will then get a menu of different level types and timeframes. Click the checkboxes for the level types and timeframes that you want to display on the chart.
You can then go into the chart and check out which naked levels that have appeared. You can then use those levels as part of your technical analysis.
The levels displayed on the chart can serve as additional confluences or as part of your overall technical analysis and indicators.
In order to back-test the impact of the different naked levels you can also enable tapped levels to be depicted on the chart. Do this by toggling the 'Show tapped levels' checkbox.
Keep in mind however that Trading View can not shom more than 500 lines and text boxes so the indocator will not be able to give you the complete history back to the start for long duration assets.
In order to clean up the charts a little bit there are two additional settings that can be used in the Settings menu:
- Selecting the price range (%) from the current price to be included in the chart. The default is 25%. That means that all levels below or above 20% will not be displayed. You can set this level yourself from 0 up to 100%.
- Selecting the minimum gap size to include on the chart. The default is 1%. That means that all gaps/ranges below 1% in price difference will not be displayed on the chart. You can set the minimum gap size yourself.
BASIC DESCRIPTION OF THE INNER WORKINGS OF THE INDICTATOR
The way the indicator works is that it calculates and identifies all levels from the list of levels type and timeframes above. The indicator then adds this level to a list of untapped levels.
Then for each bar after, it checks if the level has been tapped. If the level has been tapped or a gap/range completely filled, this level is removed from the list so that the levels displayed in the end are only naked/untapped levels.
Below is a descrition of each of the level types and how it is caluclated (algorithm):
PIVOT
Daily, Weekly and Monthly levels in trading refer to significant price points that traders monitor within the context of a single trading day. These levels can provide insights into market behavior and help traders make informed decisions regarding entry and exit points.
Traders often use D/W/M levels to set entry and exit points for trades. For example, entering long positions near support (daily close) or selling near resistance (daily close).
Daily levels are used to set stop-loss orders. Placing stops just below the daily close for long positions or above the daily close for short positions can help manage risk.
The relationship between price movement and daily levels provides insights into market sentiment. For instance, if the price fails to break above the daily high, it may signify bearish sentiment, while a strong breakout can indicate bullish sentiment.
The way these levels are calculated in this indicator is based on finding pivots in the chart on D/W/M timeframe. The level is then set to previous D/W/M close = current D/W/M open.
In addition, when price is going up previous D/W/M open must be smaller than previous D/W/M close and current D/W/M close must be smaller than the current D/W/M open. When price is going down the opposite.
POINT OF CONTROL
The Point of Control (POC) is a key concept in volume profile analysis, which is commonly used in trading.
It represents the price level at which the highest volume of trading occurred during a specific period.
The POC is derived from the volume traded at various price levels over a defined time frame. In this indicator the timeframes are Daily, Weekly, and Montly.
It identifies the price level where the most trades took place, indicating strong interest and activity from traders at that price.
The POC often acts as a significant support or resistance level. If the price approaches the POC from above, it may act as a support level, while if approached from below, it can serve as a resistance level. Traders monitor the POC to gauge potential reversals or breakouts.
The way the POC is calculated in this indicator is by an approximation by analysing intrabars for the respective timeperiod (D/W/M), assigning the volume for each intrabar into the price-bins that the intrabar covers and finally identifying the bin with the highest aggregated volume.
The POC is the price in the middle of this bin.
The indicator uses a sample space for intrabars on the Daily timeframe of 15 minutes, 35 minutes for the Weekly timeframe, and 140 minutes for the Monthly timeframe.
The indicator has predefined the size of the bins to 0.2% of the price at the range low. That implies that the precision of the calulated POC og VAH/VAL is within 0.2%.
This reduction of precision is a tradeoff for performance and speed of the indicator.
This also implies that the bigger the difference from range high prices to range low prices the more bins the algorithm will iterate over. This is typically the case when calculating the monthly volume profile levels and especially high volatility assets such as alt coins.
Sometimes the number of iterations becomes too big for Trading View to handle. In these cases the bin size will be increased even more to reduce the number of iterations.
In such cases the bin size might increase by a factor of 2-3 decreasing the accuracy of the Volume Profile levels.
Anyway, since these Volume Profile levels are approximations and since precision is traded for performance the user should consider the Volume profile levels(POC, VAH, VAL) as zones rather than pin point accurate levels.
VALUE AREA HIGH/LOW STD1/STD2
The Value Area High (VAH) and Value Area Low (VAL) are important concepts in volume profile analysis, helping traders understand price levels where the majority of trading activity occurs for a given period.
The Value Area High/Low is the upper/lower boundary of the value area, representing the highest price level at which a certain percentage of the total trading volume occurred within a specified period.
The VAH/VAL indicates the price point above/below which the majority of trading activity is considered less valuable. It can serve as a potential resistance/support level, as prices above/below this level may experience selling/buying pressure from traders who view the price as overvalued/undervalued
In this indicator the timeframes are Daily, Weekly, and Monthly. This indicator provides two boundaries that can be selected in the menu.
The first boundary is 70% of the total volume (=1 standard deviation from mean). The second boundary is 95% of the total volume (=2 standard deviation from mean).
The way VAH/VAL is calculated is based on the same algorithm as for the POC.
However instead of identifying the bin with the highest volume, we start from range low and sum up the volume for each bin until the aggregated volume = 30%/70% for VAL1/VAH1 and aggregated volume = 5%/95% for VAL2/VAH2.
Then we simply set the VAL/VAH equal to the low of the respective bin.
FAIR VALUE GAPS
Fair Value Gaps (FVG) is a concept primarily used in technical analysis and price action trading, particularly within the context of futures and forex markets. They refer to areas on a price chart where there is a noticeable lack of trading activity, often highlighted by a significant price movement away from a previous level without trading occurring in between.
FVGs represent price levels where the market has moved significantly without any meaningful trading occurring. This can be seen as a "gap" on the price chart, where the price jumps from one level to another, often due to a rapid market reaction to news, events, or other factors.
These gaps typically appear when prices rise or fall quickly, creating a space on the chart where no transactions have taken place. For example, if a stock opens sharply higher and there are no trades at the prices in between the two levels, it creates a gap. The areas within these gaps can be areas of liquidity that the market may return to “fill” later on.
FVGs highlight inefficiencies in pricing and can indicate areas where the market may correct itself. When the market moves rapidly, it may leave behind price levels that traders eventually revisit to establish fair value.
Traders often watch for these gaps as potential reversal or continuation points. Many traders believe that price will eventually “fill” the gap, meaning it will return to those price levels, providing potential entry or exit points.
This indicator calculate FVGs on three different timeframes, Daily, Weekly and Montly.
In this indicator the FVGs are identified by looking for a three-candle pattern on a chart, signalling a discrete imbalance in order volume that prompts a quick price adjustment. These gaps reflect moments where the market sentiment strongly leans towards buying or selling yet lacks the opposite orders to maintain price stability.
The indicator sets the gap to the difference from the high of the first bar to the low of the third bar when price is moving up or from the low of the first bar to the high of the third bar when price is moving down.
CME GAPS (BTC only)
CME gaps refer to price discrepancies that can occur in charts for futures contracts traded on the Chicago Mercantile Exchange (CME). These gaps typically arise from the fact that many futures markets, including those on the CME, operate nearly 24 hours a day but may have significant price movements during periods when the market is closed.
CME gaps occur when there is a difference between the closing price of a futures contract on one trading day and the opening price on the following trading day. This difference can create a "gap" on the price chart.
Opening Gaps: These usually happen when the market opens significantly higher or lower than the previous day's close, often influenced by news, economic data releases, or other market events occurring during non-trading hours.
Gaps can result from reactions to major announcements or developments, such as earnings reports, geopolitical events, or changes in economic indicators, leading to rapid price movements.
The importance of CME Gaps in Trading is the potential for Filling Gaps: Many traders believe that prices often "fill" gaps, meaning that prices may return to the gap area to establish fair value.
This can create potential trading opportunities based on the expectation of gap filling. Gaps can act as significant support or resistance levels. Traders monitor these levels to identify potential reversal points in price action.
The way the gap is identified in this indicator is by checking if current open is higher than previous bar close when price is moving up or if current open is lower than previous day close when price is moving down.
EQUILIBRIUM
Equilibrium in finance and trading refers to a state where supply and demand in a market balance each other, resulting in stable prices. It is a key concept in various economic and trading contexts. Here’s a concise description:
Market Equilibrium occurs when the quantity of a good or service supplied equals the quantity demanded at a specific price level. At this point, there is no inherent pressure for the price to change, as buyers and sellers are in agreement.
Equilibrium Price is the price at which the market is in equilibrium. It reflects the point where the supply curve intersects the demand curve on a graph. At the equilibrium price, the market clears, meaning there are no surplus goods or shortages.
In this indicator the equilibrium level is calculated simply by finding the midpoint of the Daily, Weekly, and Montly candles respectively.
NOTES
1) Performance. The algorithms are quite resource intensive and the time it takes the indicator to calculate all the levels could be 5 seconds or more, depending on the number of bars in the chart and especially if Montly Volume Profile levels are selected (POC, VAH or VAL).
2) Levels displayed vs the selected chart timeframe. On a timeframe smaller than the daily TF - both Daily, Weekly, and Monthly levels will be displayed. On a timeframe bigger than the daily TF but smaller than the weekly TF - the Weekly and Monthly levels will be display but not the Daily levels. On a timeframe bigger than the weekly TF but smaller than the monthly TF - only the Monthly levels will be displayed. Not Daily and Weekly.
CREDITS
The core algorithm for calculating the POC levels is based on the indicator "Naked Intrabar POC" developed by rumpypumpydumpy (https:www.tradingview.com/u/rumpypumpydumpy/).
The "Naked intrabar POC" indicator calculates the POC on the current chart timeframe.
This indicator (Multiple Naked Levels) adds two new features:
1) It calculates the POC on three specific timeframes, the Daily, Weekly, and Monthly timeframes - not only the current chart timeframe.
2) It adds functionaly by calculating the VAL and VAH of the volume profile on the Daily, Weekly, Monthly timeframes .
Volume Spread Analysis [AlgoAlpha]Unleash the power of Volume Spread Analysis (VSA) with our state-of-the-art indicator designed to detect market divergences and convergences, helping you make informed trading decisions. 📈
Key Features:
Detects bullish and bearish divergences based on volume and price movements. 📊🔍
Identifies bullish and bearish convergences, signaling potential trend continuations or reversals. 🔄📉
Customizable parameters for period length, volume SMA period, and outlier reduction factor. ⚙️🔧
Visual highlights for detected effects, with color-coded boxes and labels. 🟩🟥
Provides alerts for divergences and convergences, keeping you updated on market conditions. 🔔📬
📚 Introduction to Volume Spread Analysis (VSA) :
Volume Spread Analysis is a method used to interpret the relationship between volume and price to identify the intentions of market participants. By analyzing the spread (range) of a price bar and its corresponding volume, VSA helps traders discern market strength and potential reversals.
In VSA, harmony occurs when price and volume move in sync, such as when increasing prices(aka "Effect" in the script) are accompanied by increasing volume. This indicates a strong and healthy trend. Conversely, divergence happens when price and volume move in opposite directions. For example, if prices are rising lesser but volume is still high, it may signal a weakening trend and a potential reversal. Identifying these patterns helps traders understand market dynamics and make more informed trading decisions.
🛠 Quick Guide to Using the Volume Spread Analysis Indicator
⭐ Add the Indicator: Add the indicator to favorites by pressing the star icon. Customize settings such as period length, volume SMA period, and outlier reduction factor to fit your trading style.
📊 Market Analysis: Watch for color-coded boxes indicating effects and labels showing effort values. Look for divergences and convergences to identify potential trading opportunities. A higher work done suggests that the markets are needing to work harder to move the price and users can use that information as displayed below each trend impulse box to analyze the likely hood of trend continuation/reversals.
🔔 Alerts: Enable alerts for divergences and convergences to stay informed of critical market conditions without constant chart monitoring.
🔍 How It Works:
Our indicator meticulously analyzes volume and price data to detect significant market movements. It identifies periods where volume is above or below a moving average, marks these points, and tracks the price effect over a user-defined range. By calculating the effort (volume) and effect (price movement), it distinguishes between divergences and convergences based on predefined conditions. Bullish and bearish conditions are visually represented with color-coded boxes and labels, making it easy to spot trading opportunities. Alerts can be set to notify you of critical market conditions, ensuring you never miss a potential trade setup.
Happy trading! 📈🚀
WaveTrend With Divs & RSI(STOCH) Divs by WeloTradesWaveTrend with Divergences & RSI(STOCH) Divergences by WeloTrades
Overview
The "WaveTrend With Divergences & RSI(STOCH) Divergences" is an advanced Pine Script™ indicator designed for TradingView, offering a multi-dimensional analysis of market conditions. This script integrates several technical indicators—WaveTrend, Money Flow Index (MFI), RSI, and Stochastic RSI—into a cohesive tool that identifies both regular and hidden divergences across these indicators. These divergences can indicate potential market reversals and provide critical trading opportunities.
This indicator is not just a simple combination of popular tools; it offers extensive customization options, organized data presentation, and valuable trading signals that are easy to interpret. Whether you're a day trader or a long-term investor, this script enhances your ability to make informed decisions.
Originality and Usefulness
The originality of this script lies in its integration and the synergy it creates among the indicators used. Rather than merely combining multiple indicators, this script allows them to work together, enhancing each other's strengths. For example, by identifying divergences across WaveTrend, RSI, and Stochastic RSI simultaneously, the script provides multiple layers of confirmation, which reduces the likelihood of false signals and increases the reliability of trading signals.
The usefulness of this script is apparent in its ability to offer a consolidated view of market dynamics. It not only simplifies the analytical process by combining different indicators but also provides deeper insights through its divergence detection features. This comprehensive approach is designed to help traders identify potential market reversals, confirm trends, and ultimately make more informed trading decisions.
How the Components Work Together
1. Cross-Validation of Signals
WaveTrend: This indicator is primarily used to identify overbought and oversold conditions, as well as potential buy and sell signals. WaveTrend's ability to smooth price data and reduce noise makes it a reliable tool for identifying trend reversals.
RSI & Stochastic RSI: These momentum oscillators are used to measure the speed and change of price movements. While RSI identifies general overbought and oversold conditions, Stochastic RSI offers a more granular view by tracking the RSI’s level relative to its high-low range over a period of time. When these indicators align with WaveTrend signals, it adds a layer of confirmation that enhances the reliability of the signals.
Money Flow Index (MFI): This volume-weighted indicator assesses the inflow and outflow of money in an asset, giving insights into buying and selling pressure. By analyzing the MFI alongside WaveTrend and RSI indicators, the script can cross-validate signals, ensuring that buy or sell signals are supported by actual market volume.
Example Bullish scenario:
When a bullish divergence is detected on the RSI and confirmed by a corresponding bullish signal on the WaveTrend, along with an increasing Money Flow Index, the probability of a successful trade setup increases. This cross-validation minimizes the risk of acting on false signals, which might occur when relying on a single indicator.
Example Bearish scenario:
When a bearish divergence is detected on the RSI and confirmed by a corresponding bearish signal on the WaveTrend, along with an decreasing Money Flow Index, the probability of a successful trade setup increases. This cross-validation minimizes the risk of acting on false signals, which might occur when relying on a single indicator.
2. Divergence Detection and Market Reversals
Regular Divergences: Occur when the price action and an indicator (like RSI or WaveTrend) move in opposite directions. Regular bullish divergence signals a potential upward reversal when the price makes a lower low while the indicator makes a higher low. Conversely, regular bearish divergence suggests a downward reversal when the price makes a higher high, but the indicator makes a lower high.
Hidden Divergences: These occur when the price action and indicator move in the same direction, but with different momentum. Hidden bullish divergence suggests the continuation of an uptrend, while hidden bearish divergence suggests the continuation of a downtrend. By detecting these divergences across multiple indicators, the script identifies potential trend reversals or continuations with greater accuracy.
Example: The script might detect a regular bullish divergence on the WaveTrend while simultaneously identifying a hidden bullish divergence on the RSI. This combination suggests that while a trend reversal is possible, the overall market sentiment remains bullish, providing a nuanced view of the market.
A Regular Bullish Divergence Example:
A Hidden Bullish Divergence Example:
A Regular Bearish Divergence Example:
A Hidden Bearish Divergence Example:
3. Trend Strength and Sentiment Analysis
WaveTrend: Measures the strength and direction of the trend. By identifying the extremes of market sentiment (overbought and oversold levels), WaveTrend provides early signals for potential reversals.
Money Flow Index (MFI): Assesses the underlying sentiment by analyzing the flow of money. A rising MFI during an uptrend confirms strong buying pressure, while a falling MFI during a downtrend confirms selling pressure. This helps traders assess whether a trend is likely to continue or reverse.
RSI & Stochastic RSI: Offer a momentum-based perspective on the trend’s strength. High RSI or Stochastic RSI values indicate that the asset may be overbought, suggesting a potential reversal. Conversely, low values indicate oversold conditions, signaling a possible upward reversal.
Example:
During a strong uptrend, the WaveTrend & RSI's might signal overbought conditions, suggesting caution. If the MFI also shows decreasing buying pressure and the RSI reaches extreme levels, these indicators together suggest that the trend might be weakening, and a reversal could be imminent.
Example:
During a strong downtrend, the WaveTrend & RSI's might signal oversold conditions, suggesting caution. If the MFI also shows increasing buying pressure and the RSI reaches extreme levels, these indicators together suggest that the trend might be weakening, and a reversal could be imminent.
Conclusion
The "WaveTrend With Divergences & RSI(STOCH) Divergences" script offers a powerful, integrated approach to technical analysis by combining trend, momentum, and sentiment indicators into a single tool. Its unique value lies in the cross-validation of signals, the ability to detect divergences, and the comprehensive view it provides of market conditions. By offering traders multiple layers of analysis and customization options, this script is designed to enhance trading decisions, reduce false signals, and provide clearer insights into market dynamics.
WAVETREND
Display of WaveTrend:
Display of WaveTrend Setting:
WaveTrend Indicator Explanation
The WaveTrend indicator helps identify overbought and oversold conditions, as well as potential buy and sell signals. Its flexibility allows traders to adapt it to various strategies, making it a versatile tool in technical analysis.
WaveTrend Input Settings:
WT MA Source: Default: HLC3
What it is: The data source used for calculating the WaveTrend Moving Average.
What it does: Determines the input data to smooth price action and filter noise.
Example: Using HLC3 (average of High, Low, Close) provides a smoother data representation compared to using just the closing price.
Length (WT MA Length): Default: 3
What it is: The period used to calculate the Moving Average.
What it does: Adjusts the sensitivity of the WaveTrend indicator, where shorter lengths respond more quickly to price changes.
Example: A length of 3 is ideal for short-term analysis, providing quick reactions to price movements.
WT Channel Length & Average: Default: WT Channel Length = 9, Average = 12
What it is: Lengths used to calculate the WaveTrend channel and its average.
What it does: Smooths out the WaveTrend further, reducing false signals by averaging over a set period.
Example: Higher values reduce noise and help in identifying more reliable trends.
Channel: Style, Width, and Color:
What it is: Customization options for the WaveTrend channel's appearance.
What it does: Adjusts how the channel is displayed, including line style, width, and color.
Example: Choosing an area style with a distinct color can make the WaveTrend indicator clearly visible on the chart.
WT Buy & Sell Signals:
What it is: Settings to enable and customize buy and sell signals based on WaveTrend.
What it does: Allows for the display of buy/sell signals and customization of their shapes and colors.
When it gives a Buy Signal: Generated when the WaveTrend line crosses below an oversold level and then rises back, indicating a potential upward price movement.
When it gives a Sell Signal: Triggered when the WaveTrend line crosses above an overbought level and then declines, suggesting a possible downward trend.
Example: The script identifies these signals based on mean reversion principles, where prices tend to revert to the mean after reaching extremes. Traders can use these signals to time their entries and exits effectively.
WAVETREND OVERBOUGTH AND OVERSOLD LEVELS
Display of WaveTrend with Overbought & Oversold Levels:
Display of WaveTrend Overbought & Oversold Levels Settings:
WaveTrend Overbought & Oversold Levels Explanation
WT OB & OS Levels: Default: OB Level 1 = 53, OB Level 2 = 60, OS Level 1 = -53, OS Level 2 = -60
What it is: The default overbought and oversold levels used by the WaveTrend indicator to signal potential market reversals.
What it does: When the WaveTrend crosses above the OB levels, it indicates an overbought condition, potentially signaling a reversal or selling opportunity. Conversely, when it crosses below the OS levels, it indicates an oversold condition, potentially signaling a reversal or buying opportunity.
Example: A trader might use these levels to time entry or exit points, such as selling when the WaveTrend crosses into the overbought zone or buying when it crosses into the oversold zone.
Show OB/OS Levels: Default: True
What it is: Toggle options to show or hide the overbought and oversold levels on your chart.
What it does: When enabled, these levels will be visually represented on your chart, helping you to easily identify when the market reaches these critical thresholds.
Example: Displaying these levels can help you quickly see when the WaveTrend is approaching or has crossed into overbought or oversold territory, allowing for more informed trading decisions.
Line Style, Width, and Color for OB/OS Levels:
What it is: Options to customize the appearance of the OB and OS levels on your chart, including line style (solid, dotted, dashed), line width, and color.
What it does: These settings allow you to adjust how prominently these levels are displayed on your chart, which can help you better visualize and respond to overbought or oversold conditions.
Example: Setting a thicker, dashed line in a contrasting color can make these levels stand out more clearly, aiding in quick visual identification.
Example of Use:
Scenario: A trader wants to identify potential selling points when the market is overbought. They set the OB levels at 53 and 60, choosing a solid, red line style to make these levels clear on their chart. As the WaveTrend crosses above 53, they monitor for further price action, and upon crossing 60, they consider initiating a sell order.
WAVETREND DIVERGENCES
Display of WaveTrend Divergence:
Display of WaveTrend Divergence Setting:
WaveTrend Divergence Indicator Explanation
The WaveTrend Divergence feature helps identify potential reversal points in the market by highlighting divergences between the price and the WaveTrend indicator. Divergences can signal a shift in market momentum, indicating a possible trend reversal. This component allows traders to visualize and customize divergence detection on their charts.
WaveTrend Divergence Input Settings:
Potential Reversal Range: Default: 28
What it is: The number of bars to look back when detecting potential tops and bottoms.
What it does: Sets the range for identifying possible reversal points based on historical data.
Example: A setting of 28 looks back across the last 28 bars to find reversal points, offering a balance between responsiveness and reliability.
Reversal Minimum LVL OB & OS: Default: OB = 35, OS = -35
What it is: The minimum overbought and oversold levels required for detecting potential reversals.
What it does: Adjusts the thresholds that trigger a reversal signal based on the WaveTrend indicator.
Example: A higher OB level reduces the sensitivity to overbought conditions, potentially filtering out false reversal signals.
Lookback Bar Left & Right: Default: Left = 10, Right = 1
What it is: The number of bars to the left and right used to confirm a top or bottom.
What it does: Helps determine the position of peaks and troughs in the price action.
Example: A larger left lookback captures more extended price action before the peak, while a smaller right lookback focuses on the immediate past.
Lookback Range Min & Max: Default: Min = 5, Max = 60
What it is: The minimum and maximum range for the lookback period when identifying divergences.
What it does: Fine-tunes the detection of divergences by controlling the range over which the indicator looks back.
Example: A wider range increases the chances of detecting divergences across different market conditions.
R.Div Minimum LVL OB & OS: Default: OB = 53, OS = -53
What it is: The threshold levels for detecting regular divergences.
What it does: Adjusts the sensitivity of the regular divergence detection.
Example: Higher thresholds make the detection more conservative, identifying only stronger divergence signals.
H.Div Minimum LVL OB & OS: Default: OB = 20, OS = -20
What it is: The threshold levels for detecting hidden divergences.
What it does: Similar to regular divergence settings but for hidden divergences, which can indicate potential reversals that are less obvious.
Example: Lower thresholds make the hidden divergence detection more sensitive, capturing subtler market shifts.
Divergence Label Options:
What it is: Options to display and customize labels for regular and hidden divergences.
What it does: Allows users to visually differentiate between regular and hidden divergences using customizable labels and colors.
Example: Using different colors and symbols for regular (R) and hidden (H) divergences makes it easier to interpret signals on the chart.
Text Size and Color:
What it is: Customization options for the size and color of divergence labels.
What it does: Adjusts the readability and visibility of divergence labels on the chart.
Example: Larger text size may be preferred for charts with a lot of data, ensuring divergence labels stand out clearly.
FAST & SLOW MONEY FLOW INDEX
Display of Fast & Slow Money Flow:
Display of Fast & Slow Money Flow Setting:
Fast Money Flow Indicator Explanation
The Fast Money Flow indicator helps traders identify the flow of money into and out of an asset over a shorter time frame. By tracking the volume-weighted average of price movements, it provides insights into buying and selling pressure in the market, which can be crucial for making timely trading decisions.
Fast Money Flow Input Settings:
Fast Money Flow: Length: Default: 9
What it is: The period used for calculating the Fast Money Flow.
What it does: Determines the sensitivity of the Money Flow calculation. A shorter length makes the indicator more responsive to recent price changes, while a longer length provides a smoother signal.
Example: A length of 9 is suitable for traders looking to capture quick shifts in market sentiment over a short period.
Fast MFI Area Multiplier: Default: 5
What it is: A multiplier applied to the Money Flow area calculation.
What it does: Adjusts the size of the Money Flow area on the chart, effectively amplifying or reducing the visual impact of the indicator.
Example: A higher multiplier can make the Money Flow more prominent on the chart, aiding in the quick identification of significant money flow changes.
Y Position (Y Pos): Default: 0
What it is: The vertical position adjustment for the Fast Money Flow plot on the chart.
What it does: Allows you to move the Money Flow plot up or down on the chart to avoid overlap with other indicators.
Example: Adjusting the Y Position can be useful if you have multiple indicators on the chart and need to maintain clarity.
Fast MFI Style, Width, and Color:
What it is: Customization options for how the Fast Money Flow is displayed on the chart.
What it does: Enables you to choose between different plot styles (line or area), set the line width, and select colors for positive and negative money flow.
Example: Using different colors for positive (green) and negative (red) money flow helps to visually distinguish between periods of buying and selling pressure.
Slow Money Flow Indicator Explanation
The Slow Money Flow indicator tracks the flow of money into and out of an asset over a longer time frame. It provides a broader perspective on market sentiment, smoothing out short-term fluctuations and highlighting longer-term trends.
Slow Money Flow Input Settings:
Slow Money Flow: Length: Default: 12
What it is: The period used for calculating the Slow Money Flow.
What it does: A longer period smooths out short-term fluctuations, providing a clearer view of the overall money flow trend.
Example: A length of 12 is often used by traders looking to identify sustained trends rather than short-term volatility.
Slow MFI Area Multiplier: Default: 5
What it is: A multiplier applied to the Slow Money Flow area calculation.
What it does: Adjusts the size of the Money Flow area on the chart, helping to emphasize the indicator’s significance.
Example: Increasing the multiplier can help highlight the Money Flow in markets with less volatile price action.
Y Position (Y Pos): Default: 0
What it is: The vertical position adjustment for the Slow Money Flow plot on the chart.
What it does: Allows for vertical repositioning of the Money Flow plot to maintain chart clarity when used with other indicators.
Example: Adjusting the Y Position ensures that the Slow Money Flow indicator does not overlap with other key indicators on the chart.
Slow MFI Style, Width, and Color:
What it is: Customization options for the visual display of the Slow Money Flow on the chart.
What it does: Allows you to choose the plot style (line or area), set the line width, and select colors to differentiate positive and negative money flow.
Example: Customizing the colors for the Slow Money Flow allows traders to quickly distinguish between buying and selling trends in the market.
RSI
Display of RSI:
Display of RSI Setting:
RSI Indicator Explanation
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It is typically used to identify overbought or oversold conditions in the market, providing traders with potential signals for buying or selling.
RSI Input Settings:
RSI Source: Default: Close
What it is: The data source used for calculating the RSI.
What it does: Determines which price data (e.g., close, open) is used in the RSI calculation, affecting how the indicator reflects market conditions.
Example: Using the closing price is standard practice, as it reflects the final agreed-upon price for a given time period.
MA Type (Moving Average Type): Default: SMA
What it is: The type of moving average applied to the RSI for smoothing purposes.
What it does: Changes the smoothing technique of the RSI, impacting how quickly the indicator responds to price movements.
Example: Using an Exponential Moving Average (EMA) will make the RSI more sensitive to recent price changes compared to a Simple Moving Average (SMA).
RSI Length: Default: 14
What it is: The period over which the RSI is calculated.
What it does: Adjusts the sensitivity of the RSI. A shorter length (e.g., 7) makes the RSI more responsive to recent price changes, while a longer length (e.g., 21) smooths out the indicator, reducing the number of signals.
Example: A 14-period RSI is commonly used for identifying overbought and oversold conditions, providing a balance between sensitivity and reliability.
RSI Plot Style, Width, and Color:
What it is: Options to customize the appearance of the RSI line on the chart.
What it does: Allows you to adjust the visual representation of the RSI, including the line width and color.
Example: Setting a thicker line width and a bright color like yellow can make the RSI more visible on the chart, aiding in quick analysis.
Display of RSI with RSI Moving Average:
RSI Moving Average Explanation
The RSI Moving Average adds a smoothing layer to the RSI, helping to filter out noise and provide clearer signals. It is particularly useful for confirming trend strength and identifying potential reversals.
RSI Moving Average Input Settings:
MA Length: Default: 14
What it is: The period over which the Moving Average is calculated on the RSI.
What it does: Adjusts the smoothing of the RSI, helping to reduce false signals and provide a clearer trend indication.
Example: A 14-period moving average on the RSI can smooth out short-term fluctuations, making it easier to spot genuine overbought or oversold conditions.
MA Plot Style, Width, and Color:
What it is: Customization options for how the RSI Moving Average is displayed on the chart.
What it does: Allows you to adjust the line width and color, helping to differentiate the Moving Average from the main RSI line.
Example: Using a contrasting color for the RSI Moving Average (e.g., magenta) can help it stand out against the main RSI line, making it easier to interpret the indicator.
STOCHASTIC RSI
Display of Stochastic RSI:
Display of Stochastic RSI Setting:
Stochastic RSI Indicator Explanation
The Stochastic RSI (Stoch RSI) is a momentum oscillator that measures the level of the RSI relative to its high-low range over a set period of time. It is used to identify overbought and oversold conditions, providing potential buy and sell signals based on momentum shifts.
Stochastic RSI Input Settings:
Stochastic RSI Length: Default: 14
What it is: The period over which the Stochastic RSI is calculated.
What it does: Adjusts the sensitivity of the Stochastic RSI. A shorter length makes the indicator more responsive to recent price changes, while a longer length smooths out the fluctuations, reducing noise.
Example: A length of 14 is commonly used to identify momentum shifts over a medium-term period, providing a balanced view of potential overbought or oversold conditions.
Display of Stochastic RSI %K Line:
Stochastic RSI %K Line Explanation
The %K line in the Stochastic RSI is the main line that tracks the momentum of the RSI over the chosen period. It is the faster-moving component of the Stochastic RSI, often used to identify entry and exit points.
Stochastic RSI %K Input Settings:
%K Length: Default: 3
What it is: The period used for smoothing the %K line of the Stochastic RSI.
What it does: Smoothing the %K line helps reduce noise and provides a clearer signal for potential market reversals.
Example: A smoothing length of 3 is common, offering a balance between responsiveness and noise reduction, making it easier to spot significant momentum shifts.
%K Plot Style, Width, and Color:
What it is: Customization options for the visual representation of the %K line.
What it does: Allows you to adjust the appearance of the %K line on the chart, including line width and color, to fit your visual preferences.
Example: Setting a blue color and a medium width for the %K line makes it stand out clearly on the chart, helping to identify key points of momentum change.
%K Fill Color (Above):
What it is: The fill color that appears above the %K line on the chart.
What it does: Adds visual clarity by shading the area above the %K line, making it easier to interpret the direction and strength of momentum.
Example: Using a light blue fill color above the %K line can help emphasize bullish momentum, making it visually prominent.
Display of Stochastic RSI %D Line:
Stochastic RSI %D Line Explanation
The %D line in the Stochastic RSI is a moving average of the %K line and acts as a signal line. It is slower-moving compared to the %K line and is often used to confirm signals or identify potential reversals when it crosses the %K line.
Stochastic RSI %D Input Settings:
%D Length: Default: 3
What it is: The period used for smoothing the %D line of the Stochastic RSI.
What it does: Smooths out the %D line, making it less sensitive to short-term fluctuations and more reliable for identifying significant market signals.
Example: A length of 3 is often used to provide a smoothed signal line that can help confirm trends or reversals indicated by the %K line.
%D Plot Style, Width, and Color:
What it is: Customization options for the visual representation of the %D line.
What it does: Allows you to adjust the appearance of the %D line on the chart, including line width and color, to match your preferences.
Example: Setting an orange color and a thicker line width for the %D line can help differentiate it from the %K line, making crossover points easier to spot.
%D Fill Color (Below):
What it is: The fill color that appears below the %D line on the chart.
What it does: Adds visual clarity by shading the area below the %D line, making it easier to interpret bearish momentum.
Example: Using a light orange fill color below the %D line can highlight bearish conditions, making it visually easier to identify.
RSI & STOCHASTIC RSI OVERBOUGHT AND OVERSOLD LEVELS
Display of RSI & Stochastic with Overbought & Oversold Levels:
Display of RSI & Stochastic Overbought & Oversold Settings:
RSI & Stochastic Overbought & Oversold Levels Explanation
The Overbought (OB) and Oversold (OS) levels for RSI and Stochastic RSI indicators are key thresholds that help traders identify potential reversal points in the market. These levels are used to determine when an asset is likely overbought or oversold, which can signal a potential trend reversal.
RSI & Stochastic Overbought & Oversold Input Settings:
RSI & Stochastic Level 1 Overbought (OB) & Oversold (OS): Default: OB Level = 170, OS Level = 130
What it is: The first set of thresholds for determining overbought and oversold conditions for both RSI and Stochastic RSI indicators.
What it does: When the RSI or Stochastic RSI crosses above the overbought level, it suggests that the asset might be overbought, potentially signaling a sell opportunity. Conversely, when these indicators drop below the oversold level, it suggests the asset might be oversold, potentially signaling a buy opportunity.
Example: If the RSI crosses above 170, traders might look for signs of a potential trend reversal to the downside, while a cross below 130 might indicate a reversal to the upside.
RSI & Stochastic Level 2 Overbought (OB) & Oversold (OS): Default: OB Level = 180, OS Level = 120
What it is: The second set of thresholds for determining overbought and oversold conditions for both RSI and Stochastic RSI indicators.
What it does: These levels provide an additional set of reference points, allowing traders to differentiate between varying degrees of overbought and oversold conditions, potentially leading to more refined trading decisions.
Example: When the RSI crosses above 180, it might indicate an extreme overbought condition, which could be a stronger signal for a sell, while a cross below 120 might indicate an extreme oversold condition, which could be a stronger signal for a buy.
RSI & Stochastic Overbought (OB) Band Customization:
OB Level 1: Width, Style, and Color:
What it is: Customization options for the visual appearance of the first overbought band on the chart.
What it does: Allows you to set the line width, style (solid, dotted, dashed), and color for the first overbought band, enhancing its visibility on the chart.
Example: A dashed red line with medium width can clearly indicate the first overbought level, helping traders quickly identify when this threshold is crossed.
OB Level 2: Width, Style, and Color:
What it is: Customization options for the visual appearance of the second overbought band on the chart.
What it does: Allows you to set the line width, style, and color for the second overbought band, providing a clear distinction from the first band.
Example: A dashed red line with a slightly thicker width can represent a more significant overbought level, making it easier to differentiate from the first level.
RSI & Stochastic Oversold (OS) Band Customization:
OS Level 1: Width, Style, and Color:
What it is: Customization options for the visual appearance of the first oversold band on the chart.
What it does: Allows you to set the line width, style (solid, dotted, dashed), and color for the first oversold band, making it visually prominent.
Example: A dashed green line with medium width can highlight the first oversold level, helping traders identify potential buying opportunities.
OS Level 2: Width, Style, and Color:
What it is: Customization options for the visual appearance of the second oversold band on the chart.
What it does: Allows you to set the line width, style, and color for the second oversold band, providing an additional visual cue for extreme oversold conditions.
Example: A dashed green line with a thicker width can represent a more significant oversold level, offering a stronger visual cue for potential buying opportunities.
RSI DIVERGENCES
Display of RSI Divergence Labels:
Display of RSI Divergence Settings:
RSI Divergence Lookback Explanation
The RSI Divergence settings allow traders to customize the parameters for detecting divergences between the RSI (Relative Strength Index) and price action. Divergences occur when the price moves in the opposite direction to the RSI, potentially signaling a trend reversal. These settings help refine the accuracy of divergence detection by adjusting the lookback period and range. ( NOTE: This setting only imply to the RSI. This doesn't effect the STOCHASTIC RSI. )
RSI Divergence Lookback Input Settings:
Lookback Left: Default: 10
What it is: The number of bars to look back from the current bar to detect a potential divergence.
What it does: Defines the left-side lookback period for identifying pivot points in the RSI, which are used to spot divergences. A longer lookback period may capture more significant trends but could also miss shorter-term divergences.
Example: A setting of 10 bars means the script will consider pivot points up to 10 bars before the current bar to check for divergence patterns.
Lookback Right: Default: 1
What it is: The number of bars to look forward from the current bar to complete the divergence pattern.
What it does: Defines the right-side lookback period for confirming a potential divergence. This setting helps ensure that the identified divergence is valid by allowing the script to check subsequent bars for confirmation.
Example: A setting of 1 bar means the script will look at the next bar to confirm the divergence pattern, ensuring that the signal is reliable.
Lookback Range Min: Default: 5
What it is: The minimum range of bars required to detect a valid divergence.
What it does: Sets a lower bound on the range of bars considered for divergence detection. A lower minimum range might capture more frequent but possibly less significant divergences.
Example: Setting the minimum range to 5 ensures that only divergences spanning at least 5 bars are considered, filtering out very short-term patterns.
Lookback Range Max: Default: 60
What it is: The maximum range of bars within which a divergence can be detected.
What it does: Sets an upper bound on the range of bars considered for divergence detection. A larger maximum range might capture more significant divergences but could also include less relevant long-term patterns.
Example: Setting the maximum range to 60 bars allows the script to detect divergences over a longer timeframe, capturing more extended divergence patterns that could indicate major trend reversals.
RSI Divergence Explanation
RSI divergences occur when the RSI indicator and price action move in opposite directions, signaling potential trend reversals. This section of the settings allows traders to customize the appearance and detection of both regular and hidden bullish and bearish divergences.
RSI Divergence Input Settings:
R. Bullish Div Label: Default: True
What it is: An option to display labels for regular bullish divergences.
What it does: Enables or disables the visibility of labels that mark regular bullish divergences, where the price makes a lower low while the RSI makes a higher low, indicating a potential upward reversal.
Example: A trader might use this to spot buying opportunities in a downtrend when a bullish divergence suggests the trend may be reversing.
Bullish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of regular bullish divergence labels.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: Selecting a green label color and a distinct line width makes bullish divergences easily recognizable on your chart.
R. Bearish Div Label: Default: True
What it is: An option to display labels for regular bearish divergences.
What it does: Enables or disables the visibility of labels that mark regular bearish divergences, where the price makes a higher high while the RSI makes a lower high, indicating a potential downward reversal.
Example: A trader might use this to spot selling opportunities in an uptrend when a bearish divergence suggests the trend may be reversing.
Bearish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of regular bearish divergence labels.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: Choosing a red label color and a specific line width makes bearish divergences clearly stand out on your chart.
H. Bullish Div Label: Default: False
What it is: An option to display labels for hidden bullish divergences.
What it does: Enables or disables the visibility of labels that mark hidden bullish divergences, where the price makes a higher low while the RSI makes a lower low, indicating potential continuation of an uptrend.
Example: A trader might use this to confirm an existing uptrend when a hidden bullish divergence signals continued buying strength.
Hidden Bullish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of hidden bullish divergence labels.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: A softer green color with a thinner line width might be chosen to subtly indicate hidden bullish divergences, keeping the chart clean while providing useful information.
H. Bearish Div Label: Default: False
What it is: An option to display labels for hidden bearish divergences.
What it does: Enables or disables the visibility of labels that mark hidden bearish divergences, where the price makes a lower high while the RSI makes a higher high, indicating potential continuation of a downtrend.
Example: A trader might use this to confirm an existing downtrend when a hidden bearish divergence signals continued selling pressure.
Hidden Bearish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of hidden bearish divergence labels.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: A muted red color with a thinner line width might be selected to indicate hidden bearish divergences without overwhelming the chart.
Divergence Text Size and Color: Default: S (Small)
What it is: Settings to adjust the size and color of text labels for RSI divergences.
What it does: Allows you to customize the size and color of text labels that display the divergence information on the chart.
Example: Choosing a small text size with a bright white color can make divergence labels easily readable without taking up too much space on the chart.
STOCHASTIC DIVERGENCES
Display of Stochastic RSI Divergence Labels:
Display of Stochastic RSI Divergence Settings:
Stochastic RSI Divergence Explanation
Stochastic RSI divergences occur when the Stochastic RSI indicator and price action move in opposite directions, signaling potential trend reversals. These settings allow traders to customize the detection and visual representation of both regular and hidden bullish and bearish divergences in the Stochastic RSI.
Stochastic RSI Divergence Input Settings:
R. Bullish Div Label: Default: True
What it is: An option to display labels for regular bullish divergences in the Stochastic RSI.
What it does: Enables or disables the visibility of labels that mark regular bullish divergences, where the price makes a lower low while the Stochastic RSI makes a higher low, indicating a potential upward reversal.
Example: A trader might use this to spot buying opportunities in a downtrend when a bullish divergence in the Stochastic RSI suggests the trend may be reversing.
Bullish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of regular bullish divergence labels in the Stochastic RSI.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: Selecting a blue label color and a distinct line width makes bullish divergences in the Stochastic RSI easily recognizable on your chart.
R. Bearish Div Label: Default: True
What it is: An option to display labels for regular bearish divergences in the Stochastic RSI.
What it does: Enables or disables the visibility of labels that mark regular bearish divergences, where the price makes a higher high while the Stochastic RSI makes a lower high, indicating a potential downward reversal.
Example: A trader might use this to spot selling opportunities in an uptrend when a bearish divergence in the Stochastic RSI suggests the trend may be reversing.
Bearish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of regular bearish divergence labels in the Stochastic RSI.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: Choosing an orange label color and a specific line width makes bearish divergences in the Stochastic RSI clearly stand out on your chart.
H. Bullish Div Label: Default: False
What it is: An option to display labels for hidden bullish divergences in the Stochastic RSI.
What it does: Enables or disables the visibility of labels that mark hidden bullish divergences, where the price makes a higher low while the Stochastic RSI makes a lower low, indicating potential continuation of an uptrend.
Example: A trader might use this to confirm an existing uptrend when a hidden bullish divergence in the Stochastic RSI signals continued buying strength.
Hidden Bullish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of hidden bullish divergence labels in the Stochastic RSI.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: A softer blue color with a thinner line width might be chosen to subtly indicate hidden bullish divergences, keeping the chart clean while providing useful information.
H. Bearish Div Label: Default: False
What it is: An option to display labels for hidden bearish divergences in the Stochastic RSI.
What it does: Enables or disables the visibility of labels that mark hidden bearish divergences, where the price makes a lower high while the Stochastic RSI makes a higher high, indicating potential continuation of a downtrend.
Example: A trader might use this to confirm an existing downtrend when a hidden bearish divergence in the Stochastic RSI signals continued selling pressure.
Hidden Bearish Label Color, Line Width, and Line Color:
What it is: Settings to customize the appearance of hidden bearish divergence labels in the Stochastic RSI.
What it does: Allows you to choose the color of the labels, adjust the width of the divergence lines, and select the color for these lines.
Example: A muted orange color with a thinner line width might be selected to indicate hidden bearish divergences without overwhelming the chart.
Divergence Text Size and Color: Default: S (Small)
What it is: Settings to adjust the size and color of text labels for Stochastic RSI divergences.
What it does: Allows you to customize the size and color of text labels that display the divergence information on the chart.
Example: Choosing a small text size with a bright white color can make divergence labels easily readable without taking up too much space on the chart.
Alert System:
Custom Alerts for Divergences and Reversals:
What it is: The script includes customizable alert conditions to notify you of detected divergences or potential reversals based on WaveTrend, RSI, and Stochastic RSI.
What it does: Helps you stay informed of key market movements without constantly monitoring the charts, enabling timely decisions.
Example: Setting an alert for regular bearish divergence on the WaveTrend could notify you of a potential sell opportunity as soon as it is detected.
How to Use Alerts:
Set up custom alerts in TradingView based on these conditions to be notified of potential trading opportunities. Alerts are triggered when the indicator detects conditions that match the selected criteria, such as divergences or potential reversals.
By following the detailed guidelines and examples above, you can effectively use and customize this powerful indicator to suit your trading strategy.
For further understanding and customization, refer to the input settings within the script and adjust them to match your trading style and preferences.
How Components Work Together
Synergy and Cross-Validation: The indicator combines multiple layers of analysis to validate trading signals. For example, a WaveTrend buy signal that coincides with a bullish divergence in RSI and positive fast money flow is likely to be more reliable than any single indicator’s signal. This cross-validation reduces the likelihood of false signals and enhances decision-making.
Comprehensive Market Analysis: Each component plays a role in analyzing different aspects of the market. WaveTrend focuses on trend strength, Money Flow indicators assess market sentiment, while RSI and Stochastic RSI offer detailed views of price momentum and potential reversals.
Ideal For
Traders who require a reliable, multifaceted tool for detecting market trends and reversals.
Investors seeking a deeper understanding of market dynamics across different timeframes and conditions, whether in forex, equities, or cryptocurrency markets.
This script is designed to provide a comprehensive tool for technical analysis, combining multiple indicators and divergence detection into one versatile and customizable script. It is especially useful for traders who want to monitor various indicators simultaneously and look for convergence or divergence signals across different technical tools.
Acknowledgements
Special thanks to these amazing creators for inspiration and their creations:
I want to thank these amazing creators for creating there amazing indicators , that inspired me and also gave me a head start by making this indicator! Without their amazing indicators it wouldn't be possible!
vumanchu: VuManChu Cipher B Divergences.
MisterMoTa: RSI + Divergences + Alerts .
DevLucem: Plain Stochastic Divergence.
Note
This indicator is designed to be a powerful tool in your trading arsenal. However , it is essential to backtest and adjust the settings according to your trading strategy before applying it to live trading . If you have any questions or need further assistance, feel free to reach out.
FXN - Week and Day Separator midnight open. A simple modification of the regular FXN day separator indicator. It starts the days at 12:00 of the time-zone you select as opposed to the regular 17:00 server time.
Volume-Weighted Support and Resistance with ProjectionsVolume-Weighted Support and Resistance with Projections (VW-SRP)
Overview
This TradingView PineScript indicator, "Volume-Weighted Support and Resistance with Projections" (VW-SRP), identifies key support and resistance levels based on volume-weighted average price (VWAP), short-term highs and lows, and projects future levels using standard deviation. It also provides a dashboard displaying the strength of each level based on the number of volume-based taps.
Features
VWAP Calculation: Computes the volume-weighted average price over a specified lookback period.
Support and Resistance Levels: Identifies short-term high and low levels within a rolling window.
Projected Levels: Calculates projected high and low levels based on standard deviation.
Volume-Based Strength: Counts the number of times each level is tested with significant volume.
Dynamic Labels: Displays labels for key levels and updates their positions periodically.
Dashboard: Shows the strength of each level in terms of volume-based taps.
Inputs
Lookback Period: Number of bars to consider for VWAP calculation (default: 100).
Projection Period: Number of bars for projecting future levels (default: 10).
Projection Offset: Number of bars to offset labels into the future (default: 15).
Update Interval: Frequency of updating labels and dashboard in bars (default: 5).
Standard Deviation Multiplier: Multiplier for calculating projected levels (default: 2.0).
Rolling Window: Number of bars for identifying short-term highs and lows (default: 20).
Volume Threshold: Minimum volume for counting taps (default: 1000).
Show Labels: Toggle for displaying labels on the chart (default: true).
Custom Colors
Light Red: color.rgb(255, 99, 71, 90)
Dark Red: color.rgb(205, 92, 92, 90)
White: color.new(color.white, 90)
Deep Orange: color.new(#f46200, 90)
Light Green: color.rgb(144, 238, 144, 90)
Text Color: color.white
Configuring the Indicator
Lookback Period: Set the number of bars for VWAP calculation.
Projection Period: Define the number of bars for projecting future levels.
Projection Offset: Set the number of bars to offset labels.
Update Interval: Choose how often the labels and dashboard should update.
Standard Deviation Multiplier: Adjust the multiplier for projected levels.
Rolling Window: Define the window for identifying short-term highs and lows.
Volume Threshold: Set the minimum volume for counting taps.
Show Labels: Toggle to display or hide labels.
Interpreting the Indicator
VWAP: The volume-weighted average price over the specified lookback period.
Short-term High/Low: The highest and lowest prices within the rolling window.
Projected High/Low: Future projections based on standard deviation.
Dashboard: Displays the strength of each level in terms of volume-based taps.
Visual Elements
Labels: Display the price levels and their respective values.
Dashboard: Located at the bottom-right corner of the chart, showing the number of taps for each level.
Example Usage
To use this indicator effectively, look for price reactions around the VWAP and projected levels. Strong volume-based taps at these levels indicate significant support or resistance. Adjust the input parameters to match your preferred timeframe and trading style
Volumetric Volatility Blocks [UAlgo]The Volumetric Volatility Blocks indicator is designed to identify significant volatility blocks based on price and volume data. It utilizes a combination of the Average True Range (ATR) and Simple Moving Average (SMA) to determine the volatility level and identify periods of heightened market activity. The indicator highlights these volatility blocks, providing traders with visual cues for potential trading opportunities. It differentiates between bullish and bearish volatility by analyzing price movement and volume, offering a nuanced view of market sentiment. This tool is particularly useful for traders looking to capitalize on periods of high volatility and momentum shifts.
🔶 Key Features
Volatility Measurement Length: Controls the period used to calculate the ATR.
Smooth Length of Volatility: Defines the period for the SMA used to smooth the ATR.
Multiplier of SMA: Sets the minimum threshold for the ATR to be considered a "high volatility" block.
Show Last X Volatility Blocks: Determines how many of the most recent volatility blocks are displayed on the chart.
Mitigation Method: Choose between "Close" or "Wick" price to filter volatility blocks based on price action. This helps avoid highlighting blocks broken by the chosen price level.
Volume Info: Displaying the volume associated with each block.
Up/Down Block Color: Sets the color for bullish and bearish volatility blocks.
🔶 Usage
The Volumetric Volatility Blocks indicator visually represents periods of high volatility with blocks on the chart. Green blocks indicate bullish volatility, while red blocks indicate bearish volatility.
Bullish Volatility Blocks: When the ATR surpasses the smoothed ATR multiplied by the set multiplier, and the price closes higher than it opened, a bullish block is formed. These blocks are generally used to identify potential buying opportunities as they indicate upward momentum.
Bearish Volatility Blocks: Conversely, bearish blocks form under the same conditions, but when the price closes lower than it opened. These blocks can signal potential selling opportunities as they highlight downward momentum.
Volume Information: Each block can display volume data, providing insight into the strength of the market movement. The percentage shown on the block indicates the relative volume contribution of that block, helping traders assess the significance of the volatility.
The volume percentages in the Volumetric Volatility Blocks indicator are calculated based on the total volume of the most recent volatility blocks. For each of the most recent volatility blocks, the percentage of the total volume is calculated by dividing the block's volume by the total volume:
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Money Flow Profile [Angel Algo]Money Flow Profile
Overview
This indicator is designed to analyze trading activity and identify key supply and demand zones using volume and money flow data. It is an advanced tool for traders who want to incorporate volume profile analysis into their trading strategy, enhancing their ability to spot potential reversal zones and understand market sentiment.
Features
1. Customizable Lookback Period
Description: Users can specify the number of bars to consider in the volume profile calculation, allowing for flexible analysis over different periods.
Functionality: This setting adjusts the depth of historical data analyzed, enabling traders to tailor the indicator to various trading styles and timeframes.
2. Row Size Configuration
Description: This input determines the number of rows (or price levels) displayed in the volume profile.
Functionality: By adjusting the row size, traders can get a more granular or more generalized view of trading activity at different price levels.
3. Data Source Selection
Options: Volume, Money Flow
Description: Traders can choose between using traditional volume data or money flow for the volume profile calculation.
Functionality: Money flow incorporates both price and volume to give a more comprehensive view of market buying and selling pressure, while volume focuses solely on trading activity.
Volume:
Money Flow:
4. Color Gradient for Volume Intensity
Description: The script allows setting maximum and minimum colors to create a gradient that visually represents the intensity of trading activity.
Functionality: This visual aid helps traders quickly identify areas of high and low trading activity, enhancing the interpretability of the volume profile.
Advanced Analysis: Supply and Demand Zones
1. Sentiment Analysis-Based Zoning
Description: The script analyzes the volume profile bars above and below the current close price to detect zones with significant buying or selling pressure.
Methodology:
Supply Zones: Identified by analyzing bars above the current close and finding the area with the highest selling pressure, indicated by volume delta.
Demand Zones: Identified by analyzing bars below the current close and finding the area with the highest buying pressure.
2. Volume Delta Calculation
Description: Volume delta, the difference between buy and sell volumes, is used to gauge the strength of buying or selling pressure at each price level.
Functionality: This calculation helps pinpoint the most significant supply and demand zones, providing traders with potential entry and exit points based on market sentiment.
Usage Scenario
This indicator is particularly useful for traders who focus on intraday trading, swing trading, or any strategy that benefits from understanding volume dynamics and sentiment at specific price levels. It allows traders to visually assess which levels are likely to act as resistance or support, based on historical trading activity and current market sentiment.
Conclusion
By integrating both traditional and innovative analytical methods, this Indicator offers a powerful tool for market analysis. Its flexibility and depth provide traders with valuable insights into market dynamics.
Volume Profile [ZeroHeroTrading]Volume Profile by ZeroHeroTrading provides Volume Profile information fully leveraging the high/low values associated with the volume. As such, it closely aligns with the price action.
You can change the indicator settings as you see fit to achieve the best results for your use case.
Algorithm Notes
The indicator retrieves high/low/volume data within the set lookback period (number of bars back). It then sorts high/low boundaries, and accumulates the volume within the boundaries. Finally, it draws the Volume Profile as a filled out polyline joining all the boundaries together with the relevant accumulated volume proportion, and the POC as a box between the boundaries with the highest accumulated volume starting from the lookback.
When the lookback period is based on days back (instead of bars back), the indicator first dynamically calculates the number of bars to look back within the set number of days.
Please note that the lookback upper limit is 1000 bars back regardless of the settings. For instance, if the requested number of days results in the calculated bars back count (relative to the chart's timeframe) to be higher than 1000, the effective lookback will be 1000 bars back.
Features
It draws the Volume Profile and POC on the chart.
It allows for setting the number of bars or days to look back for retrieving the volume information.
It allows for setting the length of the Volume Profile being displayed (as a number of bars).
It allows for setting the offset from the last bar for the Volume Profile being displayed (as a number of bars).
It allows for setting the orientation of the Volume Profile being displayed from right to left and vice versa.
It allows for setting the colors for the Volume Profile and POC.
It allows for turning the POC functionality on/off.
Settings
Volume Lookback field: Sets number of bars or days to look back for retrieving the volume information. If the Volume Lookback field is set to 0, the volume data is retrieved for the current day regardless of the Bar(s)/Day(s) selection. Default is 200. Minimum is 0 and maximum is 1000.
Volume Lookback dropdown: If Bar(s) is selected, the volume data is retrieved for the set number of bars back. If Day(s) is selected, the volume data is retrieved for the current day plus the set number of day(s) back. Default is Bar(s).
Profile Bar Length field: Sets length of the Volume Profile being displayed as a number of bars. Default is 50. Minimum is 10 and maximum is 100.
Profile Bar Offset field: Sets offset from the last bar for the Volume Profile being displayed as a number of bars. Default is 10. Minimum is 0 and maximum is 100.
Profile Orientation dropdown: Selects Volume Profile orientation. Left is -right to left- and Right is -left to right-. Default is Left.
Profile Color select: Selects Volume Profile color. Default is blue (100% opacity).
Show POC checkbox: Turns on/off POC. Default is on.
POC Color select: Selects POC color. Default is orange (80% opacity).