Forex Heatmap█ OVERVIEW
This indicator creates a dynamic grid display of currency pair cross rates (exchange rates) and percentage changes, emulating the Cross Rates and Heat Map widgets available on our Forex page. It provides a view of realtime exchange rates for all possible pairs derived from a user-specified list of currencies, allowing users to monitor the relative performance of several currencies directly on a TradingView chart.
█ CONCEPTS
Foreign exchange
The Foreign Exchange (Forex/FX) market is the largest, most liquid financial market globally, with an average daily trading volume of over 5 trillion USD. Open 24 hours a day, five days a week, it operates through a decentralized network of financial hubs in various major cities worldwide. In this market, participants trade currencies in pairs , where the listed price of a currency pair represents the exchange rate from a given base currency to a specific quote currency . For example, the "EURUSD" pair's price represents the amount of USD (quote currency) that equals one unit of EUR (base currency). Globally, the most traded currencies include the U.S. dollar (USD), Euro (EUR), Japanese yen (JPY), British pound (GBP), and Australian dollar (AUD), with USD involved in over 87% of all trades.
Understanding the Forex market is essential for traders and investors, even those who do not trade currency pairs directly, because exchange rates profoundly affect global markets. For instance, fluctuations in the value of USD can impact the demand for U.S. exports or the earnings of companies that handle multinational transactions, either of which can affect the prices of stocks, indices, and commodities. Additionally, since many factors influence exchange rates, including economic policies and interest rate changes, analyzing the exchange rates across currencies can provide insight into global economic health.
█ FEATURES
Requesting a list of currencies
This indicator requests data for every valid currency pair combination from the list of currencies defined by the "Currency list" input in the "Settings/Inputs" tab. The list can contain up to six unique currency codes separated by commas, resulting in a maximum of 30 requested currency pairs.
For example, if the specified "Currency list" input is "CAD, USD, EUR", the indicator requests and displays relevant data for six currency pair combinations: "CADUSD", "USDCAD", "CADEUR", "EURCAD", "USDEUR", "EURUSD". See the "Grid display" section below to understand how the script organizes the requested information.
Each item in the comma-separated list must represent a valid currency code. If the "Currency list" input contains an invalid currency code, the corresponding cells for that currency in the "Cross rates" or "Heat map" grid show "NaN" values. If the list contains empty items, e.g., "CAD, ,EUR, ", the indicator ignores them in its data requests and calculations.
NOTE: Some uncommon currency pair combinations might not have data feeds available. If no available symbols provide the exchange rates between two specified currencies, the corresponding table cells show "NaN" results.
Realtime data
The indicator retrieves realtime market prices, daily price changes, and minimum tick sizes for all the currency pairs derived from the "Currency list" input. It updates the retrieved information shown in its grid display after new ticks become available to reflect the latest known values.
NOTE: Pine scripts execute on realtime bars only when new ticks are available in the chart's data feed. If no new updates are available from the chart's realtime feed, it may cause a delay in the data the indicator receives.
Grid display
This indicator displays the requested data for each currency pair in a table with cells organized as a grid. Each row name corresponds to a pair's base currency , and each column name corresponds to a quote currency . The cell at the intersection of a specific row and column shows the value requested from the corresponding currency pair.
For example, the cell at the intersection of a "EUR" row and "USD" column shows the data retrieved for the "EURUSD" currency pair, and the cell at the "USD" row and "EUR" column shows data for the inverse pair ("USDEUR").
Note that the main diagonal cells in the table, where rows and columns with the same names intersect, are blank. The exchange rate from one currency to itself is always 1, and no Forex symbols such as "EUREUR" exist.
The dropdown input at the top of the "Settings/Inputs" tab determines the type of information displayed in the table. Two options are available: "Cross rates" and "Heat map" . Both modes color their cells for light and dark themes separately based on the inputs in the "Colors" section.
Cross rates
When a user selects the "Cross rates" display mode, the table's cells show the latest available exchange rate for each currency pair, emulating the behavior of the Cross Rates widget. Each cell's value represents the amount of the quote currency (column name) that equals one unit of the base currency (row name). This display allows users to compare cross rates across currency pairs, and their inverses.
The background color of each cell changes based on the most recent update to the exchange rate, allowing users to monitor the direction of short-term fluctuations as they occur. By default, the background turns green (positive cell color) when the cross rate increases from the last recorded update and red (negative cell color) when the rate decreases. The cell's color reverts to the chart's background color after no new updates are available for 200 milliseconds.
Heat map
When a user selects the "Heat map" display mode, the table's cells show the latest daily percentage change of each currency pair, emulating the behavior of the Heat Map widget.
In this mode, the background color of each cell depends on the corresponding currency pair's daily performance. Heat maps typically use colors that vary in intensity based on the calculated values. This indicator uses the following color coding by default:
• Green (Positive cell color): Percentage change > +0.1%
• No color: Percentage change between 0.0% and +0.1%
• Bright red (Negative cell color): Percentage change < -0.1%
• Lighter/darker red (Minor negative cell color): Percentage change between 0.0% and -0.1%
█ FOR Pine Script™ CODERS
• This script utilizes dynamic requests to iteratively fetch information from multiple contexts using a single request.security() instance in the code. Previously, `request.*()` functions were not allowed within the local scopes of loops or conditional structures, and most `request.*()` function parameters, excluding `expression`, required arguments of a simple or weaker qualified type. The new `dynamic_requests` parameter in script declaration statements enables more flexibility in how scripts can use `request.*()` calls. When its value is `true`, all `request.*()` functions can accept series arguments for the parameters that define their requested contexts, and `request.*()` functions can execute within local scopes. See the Dynamic requests section of the Pine Script™ User Manual to learn more.
• Scripts can execute up to 40 unique `request.*()` function calls. A `request.*()` call is unique only if the script does not already call the same function with the same arguments. See this section of the User Manual's Limitations page for more information.
• Typically, when requesting higher-timeframe data with request.security() using barmerge.lookahead_on as the `lookahead` argument, the `expression` argument should use the history-referencing operator to offset the series, preventing lookahead bias on historical bars. However, the request.security() call in this script uses barmerge.lookahead_on without offsetting the `expression` because the script only displays results for the latest historical bar and all realtime bars, where there is no future information to leak into the past. Instead, using this call on those bars ensures each request fetches the most recent data available from each context.
• The request.security() instance in this script includes a `calc_bars_count` argument to specify that each request retrieves only a minimal number of bars from the end of each symbol's historical data feed. The script does not need to request all the historical data for each symbol because it only shows results on the last chart bar that do not depend on the entire time series. In this case, reducing the retrieved bars in each request helps minimize resource usage without impacting the calculated results.
Look first. Then leap.
Heatmap
Momentum Nexus Oscillator [UAlgo]The "Momentum Nexus Oscillator " indicator is a comprehensive momentum-based tool designed to provide traders with visual cues on market conditions using multiple oscillators. By combining four popular technical indicators—RSI (Relative Strength Index), VZO (Volume Zone Oscillator), MFI (Money Flow Index), and CCI (Commodity Channel Index)—this heatmap offers a holistic view of the market's momentum.
The indicator plots two lines: one representing the current chart’s combined momentum score and the other representing a higher timeframe’s (HTF) score, if enabled. Through smooth gradient color transitions and easy-to-read signals, the Momentum Nexus Heatmap allows traders to easily identify potential trend reversals or continuation patterns.
Traders can use this tool to detect overbought or oversold conditions, helping them anticipate possible long or short trade opportunities. The option to use a higher timeframe enhances the flexibility of the indicator for longer-term trend analysis.
🔶 Key Features
Multi-Oscillator Approach: Combines four popular momentum oscillators (RSI, VZO, MFI, and CCI) to generate a weighted score, providing a comprehensive picture of market momentum.
Dynamic Color Heatmap: Utilizes a smooth gradient transition between bullish and bearish colors, reflecting market momentum across different thresholds.
Higher Timeframe (HTF) Compatibility: Includes an optional higher timeframe input that displays a separate score line based on the same momentum metrics, allowing for multi-timeframe analysis.
Customizable Parameters: Adjustable RSI, VZO, MFI, and CCI lengths, as well as overbought and oversold levels, to match the trader’s strategy or preference.
Signal Alerts: Built-in alert conditions for both the current chart and higher timeframe scores, notifying traders when long or short entry signals are triggered.
Buy/Sell Signals: Displays visual signals (▲ and ▼) on the chart when combined scores reach overbought or oversold levels, providing clear entry cues.
User-Friendly Visualization: The heatmap is separated into four sections representing each indicator, providing a transparent view of how each contributes to the overall momentum score.
🔶 Interpreting Indicator:
Combined Score
The indicator generates a combined score by weighing the individual contributions of RSI, VZO, MFI, and CCI. This score ranges from 0 to 100 and is plotted as a line on the chart. Lower values suggest potential oversold conditions, while higher values indicate overbought conditions.
Color Heatmap
The indicator divides the combined score into four distinct sections, each representing one of the underlying momentum oscillators (RSI, VZO, MFI, and CCI). Bullish (greenish) colors indicate upward momentum, while bearish (grayish) colors suggest downward momentum.
Long/Short Signals
When the combined score drops below the oversold threshold (default is 26), a long signal (▲) is displayed on the chart, indicating a potential buying opportunity.
When the combined score exceeds the overbought threshold (default is 74), a short signal (▼) is shown, signaling a potential sell or short opportunity.
Higher Timeframe Analysis
If enabled, the indicator also plots a line representing the combined score for a higher timeframe. This can be used to align lower timeframe trades with the broader trend of a higher timeframe, providing added confirmation.
Signals for long and short entries are also plotted for the higher timeframe when its combined score reaches overbought or oversold levels.
🔶Purpose of Using Multiple Technical Indicators
The combination of RSI, VZO, MFI, and CCI in the Momentum Nexus Heatmap provides a comprehensive approach to analyzing market momentum by leveraging the unique strengths of each indicator. This multi-indicator method minimizes the limitations of using just one tool, resulting in more reliable signals and a clearer understanding of market conditions.
RSI (Relative Strength Index)
RSI contributes by measuring the strength and speed of recent price movements. It helps identify overbought or oversold levels, signaling potential trend reversals or corrections. Its simplicity and effectiveness make it one of the most widely used indicators in technical analysis, contributing to momentum assessment in a straightforward manner.
VZO (Volume Zone Oscillator)
VZO adds the critical element of volume to the analysis. By assessing whether price movements are supported by significant volume, VZO distinguishes between price changes that are driven by real market conviction and those that might be short-lived. It helps validate the strength of a trend or alert the trader to potential weakness when price moves are unsupported by volume.
MFI (Money Flow Index)
MFI enhances the analysis by combining price and volume to gauge money flow into and out of an asset. This indicator provides insight into the participation of large players in the market, showing if money is pouring into or exiting the asset. MFI acts as a volume-weighted version of RSI, giving more weight to volume shifts and helping traders understand the sustainability of price trends.
CCI (Commodity Channel Index)
CCI contributes by measuring how far the price deviates from its statistical average. This helps in identifying extreme conditions where the market might be overextended in either direction. CCI is especially useful for spotting trend reversals or continuations, particularly during market extremes, and for identifying divergence signals.
🔶 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.
Heatmap Volume ProfileThe Volume Profile with Support/Resistance indicator is a powerful tool designed to help traders visually identify support and resistance zones based on volume analysis at specific price levels. Unlike traditional volume indicators that focus on time-based volume, this indicator analyzes the volume traded at various price levels, offering a clearer view of where the strongest buying and selling forces are concentrated.
Key Features:
Volume Heatmap: The indicator displays a colored heatmap that varies based on the volume traded at different price levels. "Hot zones" (red) indicate areas with high volume, while "cold zones" (blue) represent areas with low volume.
Automatic Detection of Support and Resistance Levels: In addition to the heatmap, the indicator automatically detects price levels where the volume reaches a significant threshold. These levels are marked with white lines on the chart, highlighting potential support and resistance zones.
Adjustable Granularity: The number of price bands can be adjusted, allowing for finer or broader volume analysis. This helps customize the analysis based on the volatility of the asset and the chosen time frame.
Configurable Analysis Period: The number of historical bars used for volume analysis can be defined by the user, enabling the analysis of short-term or long-term volume trends.
Customizable Support/Resistance Threshold: A parameter allows you to define the threshold at which a volume level is considered significant enough to be marked as support or resistance.
Indicator Parameters:
Number of Price Bands (Granularity):
This parameter controls how finely the price is divided into bands. The higher the number of bands, the more precise the volume analysis. The default is set to 50 bands.
Color Transparency:
This parameter adjusts the transparency of the heatmap colors, making it easier to read when overlaid on the price chart.
Number of Bars for Analysis:
Defines the historical period used for volume analysis. The default is 200 bars, but it can be adjusted based on your time frame and the asset being analyzed.
Volume Threshold for Support/Resistance:
This setting allows you to define the intensity of volume (between 0.1 and 1.0) necessary for a price level to be marked as support or resistance. This parameter ensures that only the most relevant levels are displayed.
Practical Use:
Identify Support and Resistance Zones: Traders can use the levels marked by this indicator to identify areas where significant volumes have been traded, signaling potential support or resistance. These zones are often where the market may reverse direction or confirm a trend.
Detect Congestion Zones: The heatmap allows traders to easily spot volume congestion zones, where prices tend to stall due to the high concentration of trading at those levels.
Improve Decision-Making: By combining price-level volume analysis, traders can better understand where the market’s key forces are located, allowing for more informed entry and exit strategies.
Example of Use:
Support: If a support line is detected at a price level with high volume, it may represent an area where buyers are heavily concentrated, making it more difficult for the price to break below that level.
Resistance: Conversely, a resistance line indicates a zone where sellers have a significant presence, suggesting that the price may struggle to move above that level without strong momentum.
Target Audience:
This indicator is ideal for:
Day traders looking to spot short-term reversal points based on volume concentration.
Swing traders identifying key zones to place limit orders or stops.
Long-term traders who want to analyze volume clusters over an extended period to determine critical levels to watch.
Conclusion:
The Volume Profile with Support/Resistance indicator is an essential tool for any trader looking to understand how volume behaves at each price level. With its intuitive visualizations and automatically marked levels, this indicator makes it easy to spot important support and resistance zones, helping traders optimize their strategies and anticipate market movements more effectively.
[DarkTrader] Pivot Point HeatmapThe indicator calculates pivot points using price data from different timeframes such as 12M, 1M, 1W, 3D, and 1D. For each timeframe, it retrieves the high, low, open, and close prices of the previous bar. The pivot point is calculated as the average of the high, low, and close prices, which provides a central level where market sentiment may shift. This calculation is repeated for each timeframe, ensuring a multi-dimensional view of potential interest zones.
Importance of Pivot Points :
Pivot points are essential tools in technical analysis, providing traders with levels that act as potential support and resistance zones. These zones help identify price levels where reversals or breakouts are more likely to occur.
Visual Representation :
The core feature of this indicator is its ability to visualize pivot points as a heatmap on the chart. Instead of showing just the latest pivot points, it tracks the historical pivot swipe, providing a dynamic view of how price interacts with these key levels. Each pivot point is represented by a line, color-coded based on its position relative to other points, creating a gradient effect that highlights the most critical price areas.
Customization Options :
Traders can customize various aspects of the heatmap to suit their preferences. The indicator offers options to toggle pivot swipe history, enabling traders to either focus on the most recent price interactions or consider how price has behaved over time. The background color and pivot line colors are fully customizable, making it easy to match the heatmap with your chart's theme or emphasize certain price levels.
Detecting Sweeps and Price Interaction :
Another important feature is the detection of price interactions with pivot levels. If the current bar's high and low cross a pivot point, it signals that the pivot level has been "swept" by price action, potentially indicating a change in market sentiment. The indicator either extends the line if the pivot point remains relevant or deletes it if price has broken through. This dynamic adjustment helps traders stay updated on which pivot levels are still valid.
Volume Analysis - Heatmap and Volume ProfileHello All!
I have a new toy for you! Volume Analysis - Heatmap and Volume Profile . Honestly I started to work to develop Volume Heatmap then I decided to improve it and add more features such Volume profile, volume, difference in Buy/Sell volumes etc. I tried to put my abilities into this script and tried to use some new Pine Language™ features ( method, force_overlay, enum etc features ). I hope the usage of these new features would be an example for Pine Programmers.
Lets talk about how it works:
- It gets number of Rows/Columns from the user for each candle to create heatmap
- It calculates the number of the candles to analyze. Number of the candles may change by number of Rows/columns or if any volume / difference in volumes / volume profile is enabled
- It gets Closing/Opening price, Volume and Time info from lower time frame for each candle ( it can be up to 100K for each candle )
- After getting the data it calculates lower time frame to analyze
- Then it calculates how closing price moves, how much volume on each move and create boxes by the volume/move in each box
- The colors for each box calculated by volume info and closing price movements in the lower time frame
- It shows the boxes on Absolute places or Zero Line optionally
- it shows Volume, Cumulative volume, Difference between Buy/Sell volume for each column
- it changes empty box color by Chart background color, also you can change transparency
- At this time it creates Volume Profile with up to 25 rows
- As a new Pine Language™ feature, it can show Volume Profile in the indicator window or in Main chart, shows Value Area, Value Area High (VAH), Value Area Low (VAL), and draw it and POC (Point Of Control) in the indicator window and/or in the main chart
- Honestly the feature I like is that: For the markets that are not open 24/7, it combines the data from the lower time period without any gaps. For example, if you work for a market that is closed on Saturdays and Sundays, it ensures data integrity by omitting weekends and holidays. so for example if the data is like "ABC---DEF-X---YL-Z" then it makes this data like "ABCDEFXYLZ". In this way, there will be no data breaks in the displayed boxes, there will be no empty colons, and it will appear as if data is coming in at any time.
- Finally it shows Info Panel to give info, its background color automatically changes by the Chart background color
- Important! You should set your "Plan" accordingly, your plan is "Premium or Higher" or "Lower tier". so the script can understand the minimum time frame it can get data!!
I tried to share many screenshots below to explain it much better
How it looks?
it shows Highest Buy/Sell volumes brighter, move volume -> brighter
Volume Profile ( up to 25 row s) ( number of contained candles should be more than 1 )
Volume Profile can be shown in the main chart optionally
How the main chart looks:
Closing price shown and you can enable it, change colors & line width
Can include many candles according to Row&Column number you set
Optionally it can show cumulative volume for each candle
Closing prices from lower time frame
Shows Candle Body by changing background colors
It can shows all included candles on Zero line
You can change the colors of many things
You can set Empty box and border transparency
Table, Empty box Colors adjustment done automatically by chart background color
Sometimes we can not get data from some historical candles if time frame is high such 2days, 1 week etc, and it looks like:
It also checks if Chart time frame and Chart type is suitable
Enjoy!
[DarkTrader] Liquidity Regression MapLinear Regression Function Reference by @RicardoSantos :
Liquidity Regression Map is an advanced indicator designed to assist traders in identifying key liquidity zones, reversals, and potential breakout areas within the market. By visualizing liquidity shifts and regression patterns, this tool provides a powerful visual guide to price movements that often go unnoticed by conventional indicators. The indicator's dynamic and adaptive approach helps traders better navigate complex market environments.
Purpose :
This indicator focuses on analyzing the behavior of liquidity in the market and mapping it out in a visual format on your TradingView charts. It provides a deeper understanding of where large clusters of liquidity exist, helping traders pinpoint potential areas where price is likely to react. It aims to highlight key liquidity zones and assess when price is likely to reverse or continue its trend, providing a comprehensive view of the market's internal structure.
Liquidity Regression Map supports multiple timeframes and multiple assets, providing traders with flexibility to analyze different market conditions. Whether you're analyzing short-term charts for scalping or higher timeframes for swing trades, the indicator adjusts its liquidity and regression calculations accordingly, ensuring accurate insights across all timeframes. Additionally, it is compatible with various asset classes, including stocks, forex, cryptocurrencies, and commodities, allowing you to apply the same powerful liquidity analysis across multiple markets for a unified trading strategy.
How It Works :
The indicator identifies liquidity zones by looking at the highs and lows of recent price action within a user-defined period, known as the lookback period. These zones represent areas where market participants are likely to have placed a significant number of stop orders or large positions, creating pockets of liquidity. The zones are visualized as levels on the chart, showing where the market is likely to react.
Next, the indicator performs a linear regression analysis on the price data. Linear regression helps smooth out the price action and gives an indication of the overall trend within the defined liquidity zone. This analysis is critical for determining the slope and direction of price movement, which provides insights into the market's momentum and strength in these liquidity areas.
A key feature of this indicator is its ability to detect liquidity swipes—sharp moves in price that sweep liquidity levels. When price approaches a liquidity zone and crosses it aggressively, the indicator highlights this as a swipe. Swipes often signal significant price reversals or trend continuation because they indicate that liquidity has been absorbed. The Akastra Liquidity Regression Map highlights these areas, helping traders anticipate where a reversal or continuation may occur.
As new price data comes in, the liquidity zones and regression lines dynamically adjust. This real-time update ensures that traders are always working with the most relevant and up-to-date liquidity information. The indicator recalculates the liquidity levels based on the recent highs and lows and repositions the regression lines accordingly. This makes it adaptive to both short-term volatility and long-term trends.
To make the analysis intuitive and easy to interpret, the liquidity levels are color-coded based on their strength and importance. Liquidity zones are shown using a gradient of colors, from weak liquidity (indicating potential minor reactions) to strong liquidity (where a significant price reaction is more likely). The heatmap visually communicates how liquidity is distributed across different levels and timeframes.
Liquidity Condition Filtering :
Another important aspect of the mechanism is the liquidity condition filtering, which only highlights significant liquidity shifts. The indicator evaluates if price movement meets certain thresholds, such as exceeding a 1.618 threshold for liquidity absorption or rejection . This filtering ensures that only the most relevant and impactful liquidity conditions are displayed, minimizing noise and false signals on the chart.
Finally, the indicator calculates and displays liquidity levels across multiple timeframes simultaneously, providing a more comprehensive view. For example, liquidity from a higher timeframe may interact with liquidity from a lower timeframe, providing traders with an overlapping view of where significant liquidity is concentrated. This multi-layer analysis helps to confirm trading setups and increases the probability of successful trades.
SPY $ectors | by Octopu$🏭 SPY Sectors with % Variance and Ticker Status| by Octopu$
What is SPY Sectors?
They are 11 SPY Sectors based on activity, which groups together their specific markets as well as the composition about the Tickers on the Sector.
For example: information technology, consumer discretionary, consumer staples, health care, financials, industrials, communication services, energy, , materials, utilities, real estate.
It is an useful resource for a trading system:
Can be used to follow up with tickers/sectors up and down moves and percentages as well as overall status and market sentiment as a whole.
AMEX:SPY
This indicator however should not be used as a standalone tool.
(The combination of factors relies on your own knowledge about Confluence Factors along with your Due Diligence)
This indicator is not an advice to buy or sell securities in any form.
ANY Ticker. ANY Timeframe.
Features:
• ALL Sector Track
• Up and Down Status
• Green and Red Colors
• % Indication
Options:
• Customization
• Location
Notes:
v1.0
Indicator release.
Changes and updates can come in the future for additional functionalities or per requests. Follow and Stay Tuned!
Did you like it? Please Support and Shoot me a message! I'd appreciate if you dropped by to say thanks! Thank you.
- Octopu$
🐙
VIX-Heatmap [CrossTrade]The "VIX-Heatmap" is a sophisticated and informative indicator designed for traders who want to integrate volatility analysis into their trading strategy, especially focusing on the market's fear gauge, the VIX (Volatility Index). This tool is not just about plotting numbers; it's about visualizing market sentiment in a more intuitive and impactful way.
Key Features and Customization Options:
1. Primary Functionality:
At its core, the VIX-Heatmap tracks the daily closing price of the VIX. It provides a clear, line-based visualization, with the line color set to black for stark contrast and easy visibility.
2. Segmented Volatility Levels:
The indicator allows users to set multiple VIX levels: Danger Zone (super low VIX level), and Levels 1 through 5. These levels are represented as horizontal lines on the chart, offering a structured view of different volatility thresholds.
3. Customizable Thresholds:
Traders can input their preferred values for each level, tailoring the indicator to fit their perception of market risk and volatility. This customization makes the tool versatile for different trading styles and market conditions.
4. Heatmap Visualization:
The chart's background color changes based on the VIX level, creating a "heatmap" effect. This visual representation allows traders to quickly gauge the current market sentiment. The color intensity varies from white (for extremely low VIX values) through various shades of red, increasing in intensity with higher VIX levels. This gradient provides an immediate visual cue of rising or falling market anxiety.
5. Interactive Display:
The indicator includes an interactive table display at the bottom center of the chart that shows the current VIX level in large, bold text, ensuring that it catches the trader's eye.
6. Optional Background Coloring:
Users have the option to enable or disable the heatmap feature. When enabled, the chart's background reflects the VIX level with the corresponding color, enhancing the visual impact of the data.
Applications and Benefits:
The VIX-Heatmap is ideal for traders who base their decisions not only on price movements but also on market sentiment and volatility. Its color-coded heatmap approach simplifies the interpretation of the VIX data, making it accessible even to those who may not be deeply familiar with volatility indices. By offering a quick visual summary of current market fear levels, it aids in making informed decisions, especially in times of market uncertainty.
In summary, the VIX-Heatmap transforms the traditional VIX data into an interactive, visually engaging, and easy-to-interpret format.
Volume Profile Heatmap [UAlgo]The "Volume Profile Heatmap " indicator is a tool designed to visualize the distribution of trading volume across different price levels over a specified period. This heatmap-style indicator helps traders identify significant price levels where a high volume of trading activity has occurred, which can be crucial for making informed trading decisions. The indicator divides the price range into multiple levels and calculates the volume of trades occurring at each level, presenting this data in a visually intuitive manner using a gradient of colors.
By analyzing the volume profile, traders can gain insights into areas of support and resistance, as well as the Point of Control (POC)—the price level with the highest traded volume. This information is valuable in assessing market sentiment, potential reversal points, and key areas of interest where price action might consolidate or react.
🔶 Key Features
Customizable Analysis Period: The indicator allows users to specify the analysis period, defining the historical range over which the volume profile is calculated.
Adjustable Number of Levels: Users can set the number of price levels to divide the price range, offering flexibility in the granularity of the volume analysis.
Color-Coded Heatmap: The indicator uses a gradient color scheme to visually represent volume intensity at each price level. Higher volume areas are shaded differently than lower volume areas, making it easy to spot significant price levels.
Opacity Control: Users can adjust the opacity of the volume boxes, enabling a clearer or more subtle visualization according to their preferences.
Point of Control (POC) Display: The indicator highlights the Point of Control, the price level with the highest traded volume, with a distinct line on the chart, allowing traders to easily identify this critical level.
🔶 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.
Open Interest (OI) Delta [UAlgo]The Open Interest (OI) Delta indicator is a tool designed to provide insights into the dynamics of Open Interest changes within the futures market. Open Interest (OI) refers to the total number of outstanding derivative contracts, such as options or futures, that have not been settled. The OI Delta measures the change in Open Interest over a specified period, allowing traders to assess whether new money is entering the market or existing positions are being closed.
This indicator offers two distinct display modes to visualize OI Delta, along with customizable levels that help in categorizing the magnitude of OI changes. Additionally, it provides the option to color-code the bars on the price chart based on the intensity and direction of OI Delta, making it easier for traders to interpret market sentiment and potential future price movements.
🔶 Key Features
Two Display Modes: Choose between two different modes for visualizing OI Delta, depending on your analysis preferences:
Mode 1: Displays the OI Delta directly as positive or negative values.
Mode 2: Separates positive and negative OI Delta values, displaying them as absolute values for easier comparison.
Customizable Levels: Set up to four levels of OI Delta magnitude, each with customizable thresholds and colors. These levels help categorize the OI changes into Normal, Medium, Large, and Extreme ranges, allowing for a more nuanced interpretation of market activity.
MA Length and Standard Deviation Period: Adjust the moving average length and standard deviation period for OI Delta, which smooths out the data and helps in identifying significant deviations from the norm.
Color-Coded Bar Chart: Optionally color the price bars on your chart based on the OI Delta levels, helping to visually correlate price action with changes in Open Interest.
Heatmap Display: Toggle the display of OI Delta levels on the chart, with the option to fill the areas between these levels for a more visually intuitive understanding of the data.
🔶 Interpreting Indicator
Positive vs. Negative OI Delta:
A positive OI Delta indicates that the Open Interest is increasing, suggesting that new contracts are being created, which could imply fresh capital entering the market.
A negative OI Delta suggests that Open Interest is decreasing, indicating that contracts are being closed out or settled, which might reflect profit-taking or a reduction in market interest.
Magnitude Levels:
Level 1 (Normal OI Δ): Represents typical, less significant changes in OI. If the OI Delta stays within this range, it may indicate routine market activity without any substantial shift in sentiment.
Level 2 (Medium OI Δ): Reflects a more significant change in OI, suggesting increased market interest and possibly the beginning of a new trend or phase of market participation.
Level 3 (Large OI Δ): Indicates a strong change in OI, often associated with a decisive move in the market. This could signify strong conviction among market participants, either bullish or bearish.
Level 4 (Extreme OI Δ): The highest level of OI change, often preceding major market moves. Extreme OI Δ can be a signal of potential market reversals or the final phase of a strong trend.
Color-Coded Bars:
When enabled, the color of the price bars will reflect the magnitude and direction of the OI Delta. This visual aid helps in quickly assessing the correlation between price movements and changes in market sentiment as indicated by OI.
This indicator is particularly useful for futures traders looking to gauge the strength and direction of market sentiment by analyzing changes in Open Interest. By combining this with price action, traders can gain a deeper understanding of market dynamics and make more informed trading decisions
🔶 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.
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.
Volume Distribution (Heat Map)This Pine Script indicator, "Volume Distribution (Heat Map)" is designed to visualize the distribution of volume across different price levels over a specified lookback period. Here's a detailed breakdown of its functionality and features:
Indicator Overview
User Inputs
Length: The lookback period for analysis, defaulting to 500 bars.
Source: The price source used for calculations (default is the close price).
Color Intensity: Adjusts the intensity of the heatmap colors, with a default value of 25.
Lines Width: The width of the plotted lines, with a default value of 10.
Main Color: The main color used for the heatmap (default is lime).
Logic
The script iterates through the number of bins, calculates the volume for each bin between highest and lowest prices for length period, and updates the corresponding bin in the freq array if the current bar is allowed.
If the current bar is the last bar, the script plots lines and labels based on the volume distribution.
Heatmap Lines:
Solid lines colored based on the volume in each bin, using a gradient from no color to the main color based on amount of volume.
Highest Volume Line:
A dashed red line indicating the bin with the highest volume.
Labels:
Labels for the highest and lowest prices and the volume at the highest volume bin.
Plots
Highest Price Plot: Plots the highest price within the lookback period if the current bar is within the allowed range.
Lowest Price Plot: Plots the lowest price within the lookback period if the current bar is within the allowed range.
Summary
This indicator provides a visual representation of where trading volume is concentrated across different price levels, forming a heatmap. The highest volume level is highlighted with a dashed red line and a label indicating the volume at that level. This can help traders identify significant price levels where trading activity is clustered.
The "Volume Distribution (Heat Map)" indicator is a valuable tool for traders looking to enhance their technical analysis by incorporating volume data into their price charts. It provides a clear and visual representation of where market participants are most active, aiding in better-informed trading decisions.
Volume Storm Trend [ChartPrime]The Volume Storm Trend (VST) indicator is a robust tool for traders looking to analyze volume momentum and trend strength in the market. By incorporating key volume-based calculations and dynamic visualizations, VST provides clear insights into market conditions.
Components:
Calculating the median of the source data.
Volume Power Calculation: The indicator calculates the "heat power" and "cold power" by applying an Exponential Moving Average (EMA) to the median of volume data arrays.
// ---------------------------------------------------------------------------------------------------------------------}
// 𝙄𝙉𝘿𝙄𝘾𝘼𝙏𝙊𝙍 𝘾𝘼𝙇𝘾𝙐𝙇𝘼𝙏𝙄𝙊𝙉𝙎
// ---------------------------------------------------------------------------------------------------------------------{
max_val = 1000
src = close
source = ta.median(src, len)
heat.push(src > source ? (volume > max_val ? max_val : volume) : 0)
heat.remove(0)
cold.push(src < source ? (volume > max_val ? max_val : volume) : 0)
cold.remove(0)
heat_power = ta.ema(heat.median(), 10)
cold_power = ta.ema(cold.median(), 10)
Visualization:
Gradient Colors: The indicator uses gradient colors to visualize bullish volume and bearish volume powers, providing a clear contrast between rising and falling trends.
Bars Fill Color: The color fill between high and low prices changes based on whether the heat power is greater than the cold power.
Bottom Line: A zero line with changing colors based on the dominance of heat or cold power.
Weather Symbols: Visual indicators ("☀" for hot weather and "❄" for cold weather) appear on the chart when the heat and cold powers crossover, helping traders quickly identify trend changes.
Inputs:
Source: The input data source, typically the closing price.
Median Length: The period length for calculating the median of the source. Default is 40.
Volume Length: The period length for calculating the average volume. Default is 3.
Show Weather: A toggle to display weather symbols on the chart. Default is false.
Temperature Type: Allows users to choose between Celsius (°C) and Fahrenheit (°F) for temperature display.
Show Weather Function:
The `Show Weather?` function enhances the VST indicator by displaying weather symbols ("☀" for hot and "❄" for cold) when there are significant crossovers between heat power and cold power. This feature adds a visual cue for potential market tops and bottoms. When the market heats to a high temperature, it often indicates a potential top, signaling traders to consider exiting long positions or preparing for a reversal.
Additional Features:
Dynamic Table Display: A table displays the current "temperature" on the chart, indicating market heat based on the calculated heat and cold powers.
The Volume Storm Trend indicator is a powerful tool for traders
looking to enhance their market analysis with volume and momentum insights, providing a clear and visually appealing representation of key market dynamics.
RSI Screener / Heatmap - By LeviathanThis script allows you to quickly scan the market by displaying the RSI values of up to 280 tickers at once and visualizing them in an easy-to-understand format using labels with heatmap coloring.
📊 Source
The script can display the RSI from a custom timeframe (MTF) and custom length for the following data:
- Price
- OBV (On Balance Volume)
- Open Interest (for crypto tickers)
📋 Ticker Selection
This script uses a different approach for selecting tickers. Instead of inputting them one by one via input.symbol(), you can now copy-paste or edit a list of tickers in the text area window. This approach allows users to easily exchange ticker lists between each other and, for example, create multiple lists of tickers by sector, market cap, etc., and easily input them into the script. Full credit to @allanster for his functions for extracting tickers from the text. Users can switch between 7 groups of 40 tickers each, totaling 280 tickers.
🖥️ Display Types
- Screener with Labels: Each ticker has its own color-coded label located at its RSI value.
- Group Average RSI: A standard RSI plot that displays the average RSI of all tickers in the group.
- RSI Heatmap (coming soon): Color-coded rows displaying current and historical values of tickers.
- RSI Divergence Heatmap (coming soon): Color-coded rows displaying current and historical regular/hidden bullish/bearish divergences for tickers.
🎨 Appearance
Appearance is fully customizable via user inputs, allowing you to change heatmap/gradient colors, zone coloring, and more.
MA Cross HeatmapThe Moving Average Cross Heatmap Created by Technicator , visualizes the crossing distances between multiple moving averages using a heat map style color coding.
The main purpose of this visualization is to help identify potential trend changes or trading opportunities by looking at where the moving averages cross over each other.
Key Features:
Can plot up to 9 different moving average with their cross lengths you set
Uses a heat map to show crossing distances between the MAs
Adjustable settings like crossing length percentage, color scheme, color ceiling etc.
Overlay style separates the heat map from the price chart
This is a unique way to combine multiple MA analysis with a visual heat map representation on one indicator. The code allows you to fine-tune the parameters to suit your trading style and preferences. Worth checking out if you trade using multiple moving average crossovers as part of your strategy.
Crypto Liquidation Heatmap [LuxAlgo]The Crypto Liquidation Heatmap tool offers real-time insights into the liquidations of the top cryptocurrencies by market capitalization, presenting the current state of the market in a visually accessible format. Assets are sorted in descending order, with those experiencing the highest liquidation values placed at the top of the heatmap.
Additional details, such as the breakdown of long and short liquidation values and the current price of each asset, can be accessed by hovering over individual boxes.
🔶 USAGE
The crypto liquidation heatmap tool provides real-time insights into liquidations across all timeframes for the top 29 cryptocurrencies by market capitalization. The assets are visually represented in descending order, prioritizing assets with the highest liquidation values at the top of the heatmap.
Different colors are used to indicate whether long or short liquidations are dominant for each asset. Green boxes indicate that long liquidations surpass short liquidations, while red boxes indicate the opposite, with short liquidations exceeding long liquidations.
Hovering over each box provides additional details, such as the current price of the asset, the breakdown of long and short liquidation values, and the duration for the calculated liquidation values.
🔶 DETAILS
🔹Crypto Liquidation
Crypto liquidation refers to the process of forcibly closing a trader's positions in the cryptocurrency market. It occurs when a trader's margin account can no longer support their open positions due to significant losses or a lack of sufficient margin to meet the maintenance requirements. Liquidations can be categorized as either a long liquidation or a short liquidation.
A long liquidation occurs when long positions are being liquidated, typically due to a sudden drop in the price of the asset being traded. Traders who were bullish on the asset and had opened long positions will face losses as the market moves against them.
On the other hand, a short liquidation occurs when short positions are being liquidated, often triggered by a sudden spike in the price of the asset. Traders who were bearish on the asset and had opened short positions will face losses as the market moves against them.
🔹Liquidation Data
It's worth noting that liquidation data is not readily available on TradingView. However, we recognize the close correlation between liquidation data, trading volumes, and asset price movements. Therefore, this script analyzes accessible data sources, extracts necessary information, and offers an educated estimation of liquidation data. It's important to emphasize that the presented data doesn't reflect precise quantitative values of liquidations. Traders and analysts should instead focus on observing changes over time and identifying correlations between liquidation data and price movements.
🔶 SETTINGS
🔹Cryptocurrency Asset List
It is highly recommended to select instruments from the same exchange with the same currency to maintain proportional integrity among the chosen assets, as different exchanges may have varying trading volumes.
Supported currencies include USD, USDT, USDC, USDP, and USDD. Remember to use the same currency when selecting assets.
List of Crypto Assets: The default options feature the top 29 cryptocurrencies by market capitalization, currently listed on the Binance Exchange. Please note that only crypto assets are supported; any other asset type will not be processed or displayed. To maximize the utility of this tool, it is crucial to heed the warning message displayed above.
🔹Liquidation Heatmap Settings
Position: Specifies the placement of the liquidation heatmap on the chart.
Size: Determines the size of the liquidation heatmap displayed on the chart.
🔶 RELATED SCRIPTS
Liquidations-Meter
Liquidation-Estimates
Liquidation-Levels
ATH Distance HeatmapThe "ATH Distance Heatmap" is a powerful visualization tool designed for traders and investors who seek to quickly assess the relative performance of assets against their All-Time Highs (ATH). By mapping the percentage distance of current prices from their historical peaks, this script provides a unique perspective on market sentiment, potential recovery opportunities, and overvaluation risks.
Key Features:
Visual Clarity: Utilize a color-coded heatmap to instantly recognize which assets are near or far from their ATHs. Colors transition smoothly from cool to warm tones, indicating smaller to larger distances respectively.
Real-Time Updates: The script updates dynamically with live market data, ensuring you have the most current information at your fingertips.
Versatile Application: Whether you're tracking stocks, cryptocurrencies, commodities, or indices, the "ATH Distance Heatmap" adapts to a wide array of assets, making it a versatile tool for your trading arsenal.
Insightful Analysis: Beyond mere visualization, this tool can help identify potential buying opportunities in assets that are significantly below their ATHs, or highlight caution for those nearing their peaks.
How to Use:
Configure Your Assets: Start by selecting the assets you wish to track. The script can be customized to monitor a broad market range or a specific segment.
Interpret the Colors: Use the color gradient to gauge the distance of each asset from its ATH. Cooler colors indicate assets closer to their ATH, while warmer colors highlight those further away.
Ideal for:
Traders looking for a quick visual guide to market trends and asset performance.
Investors aiming to capitalize on recovery opportunities or to evaluate entry and exit points.
Market analysts interested in a concise overview of asset health relative to historical performance.
Historical Correlation [LuxAlgo]The Historical Correlation tool aims to provide the historical correlation coefficients of up to 10 pairs of user-defined tickers starting from a user-defined point in time.
Users can choose to display the historical values as lines or the most recent correlation values as a heat map.
🔶 USAGE
This tool provides historical correlation coefficients, the correlation coefficient between two assets highlight their linear relationship and is always within the range (-1, 1).
It is a simple and easy to use statistical tool, with the following interpretation:
Positive correlation (values close to +1.0): the two assets move in sync, they rise and fall at the same time.
Negative correlation (values close to -1.0): the two assets move in opposite directions: when one goes up, the other goes down and vice versa.
No correlation (values close to 0): the two assets move independently.
The user must confirm the selection of the anchor point in order for the tool to be executed; this can be done directly on the chart by clicking on any bar, or via the date field in the settings panel.
For the parameter Anchor period , the user can choose between the following values NONE, HOURLY, DAILY, WEEKLY, MONTHLY, QUARTERLY and YEARLY. If NONE is selected, there will be no resetting of the calculations, otherwise the calculations will start from the first bar of the new period.
There is a wide range of trading strategies that make use of correlation coefficients between assets, some examples are:
Pair Trading: Traders may wish to take advantage of divergences in the price movements of highly positively correlated assets; even highly positively correlated assets do not always move in the same direction; when assets with a correlation close to +1.0 diverge in their behavior, traders may see this as an opportunity to buy one and sell the other in the expectation that the assets will return to the likely same price behavior.
Sector rotation: Traders may want to favor some sectors that are expected to perform in the next cycle, tracking the correlation between different sectors and between the sector and the overall market.
Diversification: Traders can aim to have a diversified portfolio of uncorrelated assets. From a risk management perspective, it is useful to know the correlation between the assets in your portfolio, if you hold equal positions in positively correlated assets, your risk is tilted in the same direction, so if the assets move against you, your risk is doubled. You can avoid this increased risk by choosing uncorrelated assets so that they move independently.
Hedging: Traders may want to hedge positions with correlated assets, from a hedging perspective, if you are long an asset, you can hedge going long a negative correlated asset or going short a positive correlated asset.
Traders generally need to develop awareness, a key point is to be aware of the relationships between the assets we hold or trade, the historical correlation is an invaluable tool in our arsenal which allows us to make better informed decisions.
On this chart we have an example of historical correlations for several futures markets.
We can clearly see how positively correlated the Nasdaq100 and Dow30 are with the SP500 over the whole period, or how the correlation between the Euro and the SP500 falls from almost +85% to almost -4% since 2021.
As we can see, correlations, like everything else in the market, are not static and vary over time depending on many factors, from macro to technical and everything in between.
🔹 Heatmap
The chart above shows the tool with the default settings and the Drawing Mode set to 'HEATMAP'.
We can see the current correlation between the assets, in this case the FX pairs.
The highest positive correlation is +90% (+0.90) between EURUSD and GBPUSD.
The highest negative correlation is -78% (-0.78) between EURUSD and USDJPY.
The pair with no correlation is AUDUSD and EURCAD with 1% (0.01)
On the above chart we can see the current correlations for the futures markets.
Currently, the assets that are less correlated to the SP500 are NaturalGas and the Euro, the more positive correlations are Nasdaq100 and Dow20, and the more negative correlations are the Yen, Treasury Bonds and 10-Year Notes.
🔶 DETAILS
🔹 Anchor Period
This chart shows the standard FX correlations with the Anchor Period set to `MONTHLY`.
We can clearly see how the calculations restart with the new month, in this case we can clearly see the differences between the correlations from month to month.
Let us look at the correlation coefficient between GBPUSD and USDJPY
In January, their correlation started at close to -100%, rose to close to +50%, only to fall to close to 0% and remain there for the second half of the month.
In February it was -90% in the first few days of the month and is now around -57%.
And between AUDUSD and EURCAD
Last month their correlation was negative for most of the month, reaching -70% and ending around -14%.
This month their correlation has never gone below +21% and at the time of writing is close to +53%.
🔶 SETTINGS
Anchor point: Starting point from which the tool is executed
Anchor period: At the beginning of each new period, the tool will reset the calculations
Pairs from 1 to 10: For each pair of tickers, you can: enable/disable the pair, select the color and specify the two tickers from which you wish to obtain the correlation
🔹 Style
Drawing Mode: Output style, `LINES` will show the historical correlations as lines, `HEATMAP` will show the current correlations with a color gradient from green for correlations near 1 to red for correlations near -1.
Open Liquidity Heatmap [BigBeluga]Open Liquidity Heatmap is an indicator designed to display accumulated resting liquidity on the chart.
Unlike any other liquidity heatmap, this aims to accumulate liquidity at specific levels that build up over time, showing larger areas of liquidity.
🔶 FEATURES
The indicator includes the following settings:
Lookback : Used to determine the range calculation of the heatmap.
Leverage : Leverage of the liquidation (Counted as % in price, Example: 4.5 will return a distance from price of 4.5%, indicating any possible resting liquidity in this range).
Levels : Amount of levels to display (Each level is counted as liquidity resting on the chart; fewer levels will return a bigger area of liquidity sitting on the chart).
Mode : Apply a color gradient from the minimum liquidation to the maximum liquidity level. Set the maximum color gradient value (Counted as volume).
Offset : Automatically determine the offset range of the Volume Profiles. Manual offset of the Volume Profiles.
🔶 CALCULATION
for i = 0 to step - 1
float plotter = na
switch i
0 =>
plotter := hs
=>
plotter := hs - diff * ( i )
cls.hm.gnL(plotter)
cls.vp.put(plotter, 0)
We calculate levels like a normal volume profile with steps, from the highest point within the lookback to the lowest one. Each level will contain the corresponding amount of volume that the candle has closed in that range.
As we can see in the image above, we add liquidity each time the distance in % from price is between two levels.
Unlike many liquidity indicators that provide a single candle liquidity heatmap, this aims to add up liquidity (volume) in already present levels.
This can be extremely useful to see which levels are likely to be more liquid and tend to get a bigger reaction to the price.
Imagine it like a range of levels that each time price revisits that area, a new position area is added; we add volume in that area each time price visits that zone. Liquidity builds up in those zones, causing a bigger reaction to the price once the price visits it.
This indicator is not the same as a single candle heatmap like many others. What is a single candle heatmap?
A single candle heatmap is when a level is created on every new candle, coloring the level based on the total volume of it.
This indicator, on the contrary, aims to provide a more specific use by adding up liquidity each time price visits it.
🔶 BASIC DEMOSTRATION
This is a basic demonstration of how we can spot high liquidity points overall using confluence:
We see the POC of the liquidation in a low volume area of the normal volume profile adding up as confluence.
Resistance from the POC Volume Profile suggesting price will go lower.
Major long open liquidity down.
As we can see, price takes out all the long liquidity and right after pumping, indicating that all the major liquidity got taken out.
Some key note to take is that a POC in the liquidation heatmap in a low volume area of the normal Volume Profile add confluence of a possible big reaction in that zone.
In the forex market, we suggest to use a low distance from price (Leverage) while in a crypto market you can use the one that fit the best the current timeframe.
🔶 CONCLUSION
This indicator aims to show open resting liquidity that had built up over time, showing the most amount of liquidation in specific areas in an aggregated way unlike many liquidation heatmap indicators that show single-level liquidation.
🔶 RELATED SCRIPT
[LCS] Bar HeatmapThe script is an overlay aimed at making price action within a range more comprehensible, i.e. what is the “story” that the band range is telling in relation to the price. You’ll see bars become brighter as they come near the upper or lower band, and dimmer around the average/middle of the two bands. This makes it easier to spot when the price is within an oversold or overbought area or when its experiencing a strong trend movement. The color shift from one to the other can also give a sense as to whether the price action is changing character (going from bullish to bearish or vice versa).
Settings are available for customization to the user's liking.
How to use:
1. Add the indicator.
2. Add another indicator to use as the source, such as Bollinger Bands, which provides upper and lower plots for a channel range.
3. Click the gear icon to access the indicator settings.
4. Mandatory: Select the Upper Band and Lower Band settings as the upper and lower plots from your source indicator of choice to define the range.
5. Save settings. You should now see bars on your chart.
6. Access the Chart Settings (not the indicator settings) and hide the Body, Borders, and Wick for the default candle bars to avoid overlap.
You may need to perform additional configuration steps in your source indicator to appropriately size the range of the upper and lower band plots for a meaningful visualization.
RSI_CMO_ScannerHave you ever wanted to scan across many tickers and monitor an indicator across time for these selected tickers?
Have you ever wanted to monitor the Mag7 and SPY simultaneously and watch a divergence take place real time across all selected tickers?
With this indicator, you can now view 100 tickers (in batches of 10) for either Stocks, Crypto or Forex, with a HeatMap visualisation for the selected timeframe.
This particular indicator utilises the RSI or the CMO to provide this view, where colors change from deep red (low values) to dark green (high values) and provide the HeatMap sense of how this metric changes across time.
The values within the labels can be switched on and off from the Settings, depending on the user's preference.
Additionally, the tickers can be selected through the Settings from the Stocks, Crypto or Forex groups
The originality and usefulness of this indicator is that it provides a simultaneous view across batches of 10 tickers for a lookback of values in the given timeframe. Also, the view is served as a heatmap, for a visual understanding of the fluctuation over time.
The same logic can be applied to a variety of indicators, besides the RSI and the CMO.
[Excalibur][Pandora][Mosaic] Ultra Spectrum Analyzer@veryfid, you will always be remembered eternally...
ANCIENT MYTHOS AND LORE:
The retellings of "Pandora's Box" serve as a cautionary metaphor depicting an opened container (pithos - jar) that once held profound perils and evils — sufferings that are experienced around the world in various forms. The known and vague mythical box contents actually represent manifestation of evils, situational adversities, and human disparities that have been encountered throughout life for aeons. In contemporary times, a meager list of ordeals would include incidents of deceit, betrayal, corruption, oppression, greed, envy, depravity, conflict, mania, affliction, plague, and mortality. However, as the tale is told, kept and remaining inside the box was the essence of expectant hope (elpis), which may represent the optimism and resilience to overcome immense hardships.
There are other versions of the classic story where Pandora isn't actually the culprit, being her husband Epimetheus was the lid lifting perpetrator and the one who always and actually received the gift(s). Curiously, the interpreted Greek word ‘Pandora’ translated to English, can mean either "all-endowed" or "all-gifting". Much like Pandora herself, who was formed from clay of the earth, the jar also would have been most likely crafted from clay. Conceived as a made-to-order maiden for an arranged marriage, Pandora was given qualities of exquisite beauty, persuasive charm, all while being adorned with jewelry and fine clothing. Olympian premeditated preparations in the didactic fable of 'Works and Days' by Hesiod had blamable intent and would be later used for centuries as denigration of women/mothers. The rest of Hesiod's tale is even worse.
In reality, the entire contrived exploit of incarnating Pandora as a trojan temptress was solely intended as an instrument of infiltration and entrapment for delivery to Epimetheus as an arranged seductive snare. Being a man myself, I find it appalling how the antiquated writings of ancient morphological men have repeatedly ostracized women for many of the ailments of mankind. When in truth, it is far more often that despicable men are the recorded all time winning historical harbingers of global abysmal darkness by means of ideological treachery. Vast historical chronicles since antiquity have frequently recorded who the typical real-world villains truly are and are not. As the stories are told in the first place, it was dictator Zeus along with his Olympian conspirators, who intently implanted malicious spirits into a gifted receptacle to orchestrate planetary suffering and carnage on humankind.
PROLOGUE:
I believe, it is way past overdue to restore Pandora's name to a place of better standing. As I have been peaking into a theoretical pitcher of mathematic mysteria for years now, where no one else dares to look. Once upon a time, I pondered an opposite notion: What if Pandora was originally conceived to solve global problems instead of creating them? Maybe Pandora could have been wielded into existence to wage unrelenting and avenging retribution on every dominance hierarchy and each diabolical enemy intently hostile to humankind. My hypothetical version of Pandora would take the notion of "mors omnibus tyrannis" to a whole other fearsome magnitude. She would cause evil arrogant men to tremble with sheer horror... the kind of fear ALL false gods, despotic kings, tyrannical dictators, controligarchies, and criminal syndicates truly worry about at night. In my opinion, that would be a better fictional story worthy of retelling for aeons.
One unique goliath 21st century adversary is LAG and it must be subdued or minimized. This unyielding nemesis is also known as group delay, processing delay, and algorithmic latency. My eyes are locked onto this opponent with fixation that will never surrender a staring contest. The formidable creature lag is my daily arch enemy destined for defeat in battle. It's losing time after time and bar by bar during the past year of 2023. In my attempts to peer through the murky darkness of useless and deceptive information, I am confident that I have found more suitable answers to many current dilemmas of algorithmic lag.
The internet, using mathematics and the speed of light as a planetary beneficial advantage, has already performed wonders by drastically reducing the delay of dissemination of knowledge. This has garnered a mostly positive rapid acceleration of economic evolution. However, hierarchies of dark forces of chaos and subversion by the thousands lurking in the global shadows are not thrilled about well informed populations. In the present era, new spectrums of strife within planetary societies are being waged, one of the worst forms taking the hideous form of censorship. Other nefarious tactics are hindering economic progress with substantial negativity using heavily funded penetration and infiltration operations. Those sinister operational varieties are spanning psychological, cultural, educational, digital, financial, electoral, scientific, medical, biological, commercial, infrastructural, institutional, and organizational domains.
They are mistakenly meddling with the entire primordial order of planetary natural dynamics. The miscalculations from these malevolent CAUSES will be countered with EFFECTS of immense retaliatory primal veracity having equal or exceedingly more powerful opposition with overwhelming numbers in mass. It is a law embedded within the universe that supersedes ALL laws, known as 'causality'. Everyone, especially programmers, know exactly what to do with predatory infiltrating cockroaches... When tyranny becomes enforced law by agendized policies in any land, order = abs(DUTY) * pow(RIGHT) * exp(PEOPLE).
FUTURE ECONOMIC ADVERSARIAL CHALLENGES:
Just as programmers have to critically analyze our code for BUGS, a scrutinized analysis of the current world around us is at times necessary. It is an empirical statistical fact that a few percent of captains at the helm of industry, commerce, institutes, and governance are monetarily psychopathic. They are often hidden bugs operating within national systems. The subsequent economic consequences result in effects that aren't always clearly obvious to all. Here are a few global economic security issues...
Corrupted immoral code in national operation is an inevitable breakdown waiting to happen. In the harsh future to follow, old degenerate interdependent control systems will need to be dismantled and discarded, eventually succeeded by having resilient parallel arrangements with robust independent fidelity. The coming successive paradigm shifts would include future hardware and the hefty novel algorithms that will run on them afterwards. Evolution is inevitable! The internet must be upgraded and continually programmed securely to the near hardness of diamonds at multiple layers within the operational code to retain peaceful global integrity between international collaborations.
DigitalID is never going to fix an insecure vulnerable titanic network of devices full of holes taking in megatons of water from every direction. Weaponized digital mucking ID dead on arrival is certainly NOT a one size fits all solution and it still doesn't do diddly-squat to secure the internet's DNA as executable code. DigID's real purpose is to manage servitude digitally and keep citizens right where they want them, as subservient slaves.
There is a very specific reason why we have key chain rings in OUR pockets with numerous private keys evolving technologically over time to robustly safeguard individual locks we use every day, duh. AI becoming an artificial sentient hyper intelligence may sooner or later become a potential hazard, especially if it breaks AES192 into a thousand shards of glass. Perilous aspects from artilects will emerge and are coming swiftly. AI is already being weaponized and tasked to mind muzzle expressions of human consciousness.
Also, EMPs from the sun ARE an imminent planetary threat, and no amount of carbon taxation schemes inciting anthropomorphic climate hysteria originating from falsified modeling hocus-pocus is going to protect against extreme solar cycle related X-class phenomena. Our solar system candle called the sun, is not consistently energy irradiation stable if you just glance at SOHO images/video. There are very obvious cyclical frequencies within the dynamics of the sun's energetic activity that affect planets far beyond earth. The earth already has a built-in natural thermometer indicating that oceans have been rising very linearly for thousands of years since the last ice age, submerging entire ancient cities under coastal water dozens of meters.
BEAR with me and pardon my French translation, but I have the option to call major league climate BULLshite. There is no hardcore "anthropomorphic climate crisis" proof. It is a crisis in failed modeling that is insufficient to properly estimate colossal computations with dircet limited empirical data with enough accuracy to anticipate higly probable future outcomes. People deserve solid science instead of slanderous smackdowns and slighted statistics. 400ppm of atmospheric CO2 is nothing compared to previously existing 1600ppm concentrations acquired from ancient indirect historical observations at a time when early humans were hunter gatherers driving gas guzzlers.
Western climate-monger fortune tellers are scamming every nation on earth, betraying the collective human species worldwide by climate hype strangulation. Wait until the sheeple with dinner forks turn on the rabid wolves in shepherds's clothing; it has already begun. What these predatory profiteering fraudsters are not telling you is WATER (H2O) in earth's atmosphere is the all time dominating and potent greenhouse gas, always has been, not CO2. Dr. Willie Soon has explained it in the best of ways with clarity. Misleaders, banksterCorpses, and mediaPresstitutes are immensely involved in this hot model scheme and like keeping people right where they want them, force fed with mental filth with regularly scheduled socially engineered programming.
Beware of agendas and isms. The ESGovernanceAgenda is ready made economic coffin nails. I'll explain this very simply, a future green war on carbon is a silent war on carbon lifeforms and economies. Many of the smiling faces you can actually see on the world stage pulling levers are often the coldest blooded deceivers beyond anything you can ever imagine. In truth, corporate agents and policies are the greatest devastators to ecologies, while in concert, they are incessantly waging blame campaign agendas with subversive narratives by targeting consumers as the wrongdoers.
Why am I mentioning all these adversarial difficulties? Well, the intertangling myriads of tomorrow's "bundle of burdens" in a future box ALL have to be thoroughly analyzed, sifted through, and dealt with tenaciously now and in the future by generations to come in every nation state. Some days I wonder if Hesiod's fiction was taken from reality over 2000 years ago to WARN future world inhabitants. In the scope of economics, the series of incidents that have or will lead up to major world events, will need to have the frequency of related occurrences examined that lead up to crucial points in time historically. In order to prevent future disparities, our progeny will look backwards into history with ultra clarity and vigilance to see how corrupted society once was by hordes of overlords twisted by obsessive delusions of absolute power over the entire human species. There is no human race, only diverse genetic multiformity expressed from the DNA code of humankind exists.
We can't simply put the lid back on low entropy hydroCarbons and a broadband globalNet without having an implemented proven replacement or upgrade. It's far too late, leaving only wiser security chess moves forward as the only viable options. Nikola Tesla was dreaming of this daily in order to build every foundation of modern civilization that we now enjoy today and take for granted. Humanity still has to evolve by unlocking hidden secrets of mother nature. For instance, nations powered by endless geothermal electricity and deuterium fusion WILL solve a lot of the world's problems. Imagine our world dominantly powered by extreme abundant amounts of heavy water... Lady destiny awaits and begs for the future to be built securely, by eventual abandonment of antiquated wheelworks that eventually deserve to be hurled into the annihilatory dustbin of history.
SPECTRAL BURDENS:
Ephemeral 'spectral contents' are extremely difficult to decipher with the least amount of lag, especially while they reside within a noise ridden non-stationary environment. When 'lifting the lid off' of series analysis to peek with quick discernment, distinguishing between real-time relevant signals differing from intertwining undesirable randomness in a crowded information space, requires special kinds of intricate extraction. Due to the nature of fractal chaos, any novel spectral method is better than the scanty few we have now. Firstly, let's comprehend agilities of interpreting a spectrum's structure...
SPECTRAL ANALYSIS PURPOSE AND INTENTION:
Frequency Analysis - Spectral analysis serves a crucial purpose in unraveling the frequency composition of a signal. Its primary intention is to explore the intricacies of a dataset by identifying dominant frequencies and unveiling inherent cyclical patterns. This foundational understanding forms the basis for improving analyses.
Power Spectrum Visualization - The visualization of a signal's power spectrum is a key objective in spectral analysis. By portraying how power is distributed across different frequencies, the goal is to provide a visual representation of the signal's energy landscape. This insight aids with grasping the significance of various frequency components obtained from a larger whole.
Signal Characteristics - Understanding the traits of a signal is another vital goal. Spectral analysis seeks to characterize the nature of the signal, unveiling its periodicity, trends, or irregularities. This knowledge is instrumental in deciphering the behavior of the signal over time, fostering a deeper comprehension.
Algorithmic Adaptation - Spectral analyzer estimation can play a pivotal role in algorithmic development. By assisting with the creation of algorithms sensitive to specific frequency ranges, one possible advantage is to enable real-time adaptability. This adaptability approach may allow algorithms to respond dynamically to variations in different spectral components, potentially enhancing their efficacy.
Market Analysis - In the realm of trading systems and financial markets, spectral analysis methods can serve as applicable functions when studying market dynamics. By 'uncovering' trends, cycles, and anomalies within financial instruments, this analytical proficiency can aid traders and algorithm developers with making better informed decisions based on the spectral attributes of market data.
Noise/Interference Detection - Another purpose of spectral analysis is to identify and scrutinize undesirable elements within a signal, such as noise or interference. One benefit would be to facilitate the development of strategies to mitigate or eliminate these unwanted components, ultimately refining the quality of a given signal with filtration.
INTRODUCTION:
Allow me to introduce Pandora! What you see in the demonstration above, I've named it "Pandora Periodogram", which is also referred to as 'Ultra Spectrum Analyzer' (USA) for technical minds. Firstly, this is NOT technically speaking an indicator like most others. I would describe it as an avant-garde cycle period detector obtaining accurate spectral estimates on market data with Pine Script v5.0. USA is a spectral analysis cryptid that I can only describe as being an alien saber in nature. It is my rendering of spectral wrath unleashed. With time and history to come, my HOPE is this instrument will reveal Excalibur like aspects capable of slicing up a spectrum craftily, traits long thought to be a mythical enigma.
It is not modified forms of either Autocorrelation Periodogram (ACP) or MESA. Pandora's Periodogram embodies an entirely distinct design, adorned with glamourous color, by incorporating several of my most profound, highly refined technological innovations that I have poetically composed into being. What I have forged in Pine, has essentially manifested as a zero lag spectrum analyzer. Pandora easily peeks inside a single signal source more effectively to inspect for hidden spectres, revealing invisible apparitions inside data with improved clarity...
My 'Ultra Spectrum Analyzer' bears an eerie likeness to Autocorrelation Periodogram, but it possesses no autocorrelation and the other small hindrances of ACP that I formerly encountered. While ACP does have a few shortcomings, a few bars of lag, and high frequency bias, it is still phenomenal code. ACP is one answer to spectral enigmas, but not the only one. Developers can utilize this detector by creating scripts that employ a "Dominant Cycle Source" input to adaptively govern algorithms. If you are capable of building suitable algorithms for direct tethering to Autocorrelation Periodogram, then this is your next step in evolutionary application to tether to when you are ready. ACP is a good place to start building upon as an exploratory vessel, before you might ponder using USA. Once you do obtain dynamic ACP sweetness with only a few pesky bars of dominant cycle induced lag, USA may be your tool chest choice without the burden of subtle ACP lag.
USA is possibly the end of my quest for spectral bliss, for the time being. However, I still suspect there is more room for upgrades to Pandora in the future. I must mention, as an overture, this won't be the last of Pandora tech that you will witness, as my literal "out of the box thinking" will unleash many additional creations upon this Earth. The "Power of Pine" merely serves as the beginning foundational phase... Some of my futuristic dreams and daydreams of TradingView are droplets in a wavy ocean of economic providence and potential.
What I am crafting in poetic form is born out of raw curiosity. Future creations are probably best kept private for now, but I will present my future tech with beauty and elegance as it should rightfully be. There's one catch, I have absolutely no idea what this and my future marvels may do to the future of digital signal processing (DSP) and markets. I do fear any insane AI or MALEficent entity ever seeing this code. My innermost hopes and ambitions are always focused on achieving the best result obtainable. What the future can hold, may be absolutely exquisite to gaze upon, maybe even monstrous, or possibly a combination of both.
Notice: Unfortunately, I will not provide any integration support into member's projects at all. My own projects demand too much of my day to day time. I hope you understand. Meanwhile, I'll be applying this on future indication until Mr. Mortality sneaks up behind me.
FEATURES AND CHARACTERISTICS:
I have included as much ultra adjustability as I can humanly muster. Those features being the following and more...
Color Preferences - Four vivid color schemes are available in the original release. The "Ultra Violet" color scheme, in particular, contributes to the indicator's technical title, as it seems to me to reveal the greatest detail of my various spectral color schemes. Color inversion of the four color schemes is also possible, yielding eight schemes in total with predator style visuals. Heatmap transparency control is also provided.
Lag Control - Pandora achieves zero lag spectral approximations, with the added capability to control lag using an input for selectable delay. Note, however, that testing less than zero lag has not been assessed thoroughly due to potential unforeseen instability concerns. Adjustments are provided in either direction for further testing.
Spectral Bias Mitigation - Options for mitigating high OR low-frequency spectral biases are present. One interesting tweak made during development was a subtle form of spectral manipulation, involving a partial reduction of frequency amplitudes influencing either the highest or lowest periodicities. This slightly reduces the impact on the upper and lower portions of the spectrogram and the dominant cycle measurement. What initially surfaced as an unexpected discovery, may now be considered worthy of experimental utility.
Adjustable Periodogram Window Size - The periodogram is adjustable for various window sizes of periodic operation. Exploration up to a periodicity of 59 is obtainable for curiosity's sake. This flexibility challenges the notion that curiosity isn't always a negative trait, contrasting with Hesiod's ancient perspective.
Dominant Cycle Filtration - Filtration of the dominant cycle is achieved with a novel smoother having reduced lag, easily surpassing SuperSmoother's performance. However, defeating lag completely on that one plot() function was elusive.
Tooltips for Control Intention - The settings commonly include handy and informative tooltips that provide information eluding to the intention behind the various controls provided.
Initialization Advantages - Initialization of USA accomplishes what Autocorrelation Periodogram (ACP) didn't. Spectral analysis begins on the earliest visible bars, starting at period 2. Users need to ensure their algorithm's integrity from period 2 upwards to beyond 40ish, establishing a viable operational range for dynamically governing those algorithms. It's notable that stochastics and correlations have a minimum operable critical period of 2, distinct from most low-pass filters that can actually achieve a period of 1 (which is the raw signal itself). Proper initialization of complex IIR filters is particularly effective, especially with smaller initialization periods.
Remaining options and features are comparable to my Enhanced Autocorrelation Periodogram in terms of comprehension, and other upgrades may be added in the future upon discovery.
PERIODOGRAM INTERPRETATION:
The periodogram heatmap renders a power spectrum of a signal visually by color, where the y-axis represents periodicity (frequencies/wavelengths) and the x-axis is delineating time. The y-axis is divided into periods, with each elevation portraying demarcation of periodicity. In this periodogram, the y-axis ranges from 4 at the very bottom to 49 (or greater) at the top, with intermediary values in between, all conveying power of the corresponding frequency component by color. The higher the position ascends on the y-axis, the longer the cycle period or lower the frequency. The x-axis of the periodogram signifies time and is partitioned into equal chart intervals, where each vertical column corresponds to the time interval when the signal was measured. Most recent values/colors are on the right side of the periodogram.
Intensity of the colors on the periodogram signify the power level of the corresponding frequency or cycle period. For example, the "Fiery Embers" color scheme is distinctly like heat intensity from any casual flame witnessed in a small fire from a lighter, match, or campfire. The most intense power exhibited would be represented by the brightest of yellow, while the lowest power would be indicated by the darkest shade of red or just black. By analyzing the pattern of colors across different periods, one may gain insights into the dominant frequency components of the signal and visually identify recurring cycles/patterns of periodicity.
AlgoRhythmica - Liquidity MapThe AlgoRhythmica - Liquidity Map is a complex and performance heavy indicator, attempting to visualize and highlight areas of liquidity on the chart. It paints lines above and below price with different color and opacity based on the volume, and then highlight the areas with the highest cumulative volume.
What is liquidity and a liquidity map?
Liquidity refers to how quickly and easily an asset can be bought or sold in the market without affecting its price. High liquidity means that there are many buyers and sellers, and transactions can happen rapidly and smoothly.
Liquidity analysis involves examining where and how liquidity is distributed across different price levels.
Price often moves from liquidity zone to liquidity zone, and therefore, having an idea of where those zones are can give traders an understanding of potential support and resistance levels and where significant trading activities might occur.
Those looking to fill large buy orders for example would want to do that in liquid sell areas and vice versa. This indicator attempts to estimate the price levels where traders using leverage get liquidated, and therefore creates liquid areas for buying and selling.
In contrast to Bookmaps which chart the orders in the order book where traders want to transact, a liquidity map is charting where traders are 'forced' to transact due to stop-losses or margin calls. To do that, liquidity maps are mostly based on estimations. It could be based on pivot points, common stop-loss amounts, common leverage amounts or a combination of multiple factors.
As of the current version on release, this indicator is only using the leverage input by the user to estimate the liquidity.
How does it work and what makes it unique?
The indicator takes the volume in a candle and saves that volume in a line. Based on the leverage settings it then offsets that line above and below price. Say, a trader using 20x leverage without a stop-loss gets liquidated if price goes roughly 5% in the wrong direction. Therefore, by assuming common leverage amounts or common risk amounts, we can estimate where traders get liquidated or have their stop-losses based on their leverage or amount they are willing to risk.
Now keep in mind, this liquidity map is just estimating based on general assumptions, it doesn't have access to actual liquidity data.
But at the same time, we're not trading single individual traders, but we're trading the market as a whole, and interestingly enough, some risk and leverage amounts are more common than others. People like using those even numbers like 10x, 20x, 1% risk etc. That's why price do often react on the liquidity in liquidity maps such as this one.
So, when a candle is printed, and you are on a smaller timeframe and decided this is just the kind of market for 100x scalpers. You set the leverage to 100x in the settings and the indicator will paint lines above and below price offset by 1%. There are settings for three leverage amounts at the same time, so you might also set it to paint lines at 5% and 10%, just to catch those traders on higher timeframes if price really takes off.
Now let's talk about what makes this indicator really shine and stand out!
Normally, if we just left the indicator doing as above, there would be lines all over the place and very difficult to interpret which areas matter, or we could limit the indicator to only print lines at high volume candles. Now, you do have that option, but that wouldn't pick up areas where low volume trading has cumulated in the same range, such as over a weekend or during market gaps. Where other liquidity indicators out there might miss that liquidity, this indicator has several solutions for it.
The first solution is stacking semi-transparent lines on top of each other. Normally, lines of the same color and transparency wouldn't add and blend together. But this script offers a seamless transition from one color the next, blending those low volume liquidity lines together.
The second solution, and this is what I believe is really unique and powerful, is that this indicator also has the ability highlight certain liquidity. When enabled, it scans through all the lines, cumulate the volume within a specified range around the lines and then compare the cumulated volume range with the ranges around the other lines. New lines created in the range with the highest cumulated volume gets highlighted.
Without this feature you wouldn't necessarily be able to tell which of two strong areas are more liquid. When price later enters that area and crosses those lines, the liquidity there is then considered consumed and lines created in a different range will now begin to highlight.
All of this is of course enhanced, as in the picture above, when multiple copies of the indicator is used together and assigned to only calculate specific parts of the liquidity map, such as longs, shorts or specific leverage amounts.
Oh, and there's also options for assigning which part of the candle should generate the liquidity. Close, Middle Body or Open. The indicator will then assume that the majority of traders are entering their position in that part of the candle.
The offset is calculated from that part of the candle. By using multiple copies of the indicator, you can assign one for each part and that will give you the whole range of the candle. And you might assume more traders go long from the top, so to emphasize that liquidity, you could increase the size or transparency slightly of the lines generated from that part.
How do I use it?
Well, this isn't gonna give you trading signals or anything, but it will visualize the market for you in a new perspective.
Typically, high liquidity areas are often good areas for entry and TP. But always watch how the price reacts in those areas before entering a position. And remember, the liquidity estimation might not always be accurate.
Particularly watch the highlighted areas for long wicks and high volume, indicating that the liquidity was enough to meet the orders and a retrace or reversal could be imminent.
Watch what happens during consolidation, market gaps and weekends. Notice the lack of liquidity and how the market maker creates liquidity by inducing traders to take positions with quick moves that instantly reverses. You might know how that works in theory, but watching it happen real-time with visualized liquidity is very interesting.
While not necessary, and as I've mentioned earlier, dividing the different functions of the indicator on multiple copies will substantially increase it's accuracy and performance!
For example, use one copy of the indicator per leverage level, or one for shorts, one for longs. One that generates from the close, one from the middle etc. creating a much clearer picture of the liquidity like the picture comparison above.
This is what the indicator offers:
When you're estimating liquidity, you want to be able to do it with accuracy and interpretability. That's why the customization options of this indicator has been really important in the development.
Timeframe Options:
It supports a wide range of time periods, from daily to yearly, enabling traders to apply it across various trading strategies, from short-term day trading to long-term investment analysis. Assuming traders are eventually taking their profits, liquidity after the set time period disappears.
Rich Visual Settings:
The indicator comes with multiple preset color themes and a completely customizable option as well. These visual settings are designed to enhance the interpretability of liquidity data, with adjustable transparency and contrast features.
Liquidity Highlighting Function:
This unique feature emphasizes areas with high liquidity concentration. It scans and highlights significant liquidity zones, aiding traders in identifying critical market levels.
Liquidity Profile:
The LQ-Profile extends liquidity lines based on their associated volume, giving traders another way of identifying high liquidity zones.
Adjustable Liquidity Estimation:
Select and adjust leverage amounts based on your particular chart and analysis. Choose what positions and leverage amounts to display liquidity for. You also have the option to determine if wicks consume liquidity or not.
Since wicks indicate that price was rejected from that area, it doesn't necessarily mean all the liquidity in that area was consumed. You could assign an additional copy of the indicator consuming with wicks and another that doesn't. That way, half the liquidity gets consumed and the other half remains until another candle closes in that area. They choices are endless and it's all about your understanding and analysis here.
Multiple Performance Options:
Depending on your particular chart and timeframe, this indicator can be very performance heavy to load. Luckily it has plenty of performance options for limiting the calculations of the indicator.
Tooltips:
As usual, this indicator comes with extensive tooltips for every function, making sure you understand every part of it.
Happy trading!