Request█ OVERVIEW
This library is a tool for Pine Script™ programmers that consolidates access to a wide range of lesser-known data feeds available on TradingView, including metrics from the FRED database, FINRA short sale volume, open interest, and COT data. The functions in this library simplify requests for these data feeds, making them easier to retrieve and use in custom scripts.
█ CONCEPTS
Federal Reserve Economic Data (FRED)
FRED (Federal Reserve Economic Data) is a comprehensive online database curated by the Federal Reserve Bank of St. Louis. It provides free access to extensive economic and financial data from U.S. and international sources. FRED includes numerous economic indicators such as GDP, inflation, employment, and interest rates. Additionally, it provides financial market data, regional statistics, and international metrics such as exchange rates and trade balances.
Sourced from reputable organizations, including U.S. government agencies, international institutions, and other public and private entities, FRED enables users to analyze over 825,000 time series, download their data in various formats, and integrate their information into analytical tools and programming workflows.
On TradingView, FRED data is available from ticker identifiers with the "FRED:" prefix. Users can search for FRED symbols in the "Symbol Search" window, and Pine scripts can retrieve data for these symbols via `request.*()` function calls.
FINRA Short Sale Volume
FINRA (the Financial Industry Regulatory Authority) is a non-governmental organization that supervises and regulates U.S. broker-dealers and securities professionals. Its primary aim is to protect investors and ensure integrity and transparency in financial markets.
FINRA's Short Sale Volume data provides detailed information about daily short-selling activity across U.S. equity markets. This data tracks the volume of short sales reported to FINRA's trade reporting facilities (TRFs), including shares sold on FINRA-regulated Alternative Trading Systems (ATSs) and over-the-counter (OTC) markets, offering transparent access to short-selling information not typically available from exchanges. This data helps market participants, researchers, and regulators monitor trends in short-selling and gain insights into bearish sentiment, hedging strategies, and potential market manipulation. Investors often use this data alongside other metrics to assess stock performance, liquidity, and overall trading activity.
It is important to note that FINRA's Short Sale Volume data does not consolidate short sale information from public exchanges and excludes trading activity that is not publicly disseminated.
TradingView provides ticker identifiers for requesting Short Sale Volume data with the format "FINRA:_SHORT_VOLUME", where "" is a supported U.S. equities symbol (e.g., "AAPL").
Open Interest (OI)
Open interest is a cornerstone indicator of market activity and sentiment in derivatives markets such as options or futures. In contrast to volume, which measures the number of contracts opened or closed within a period, OI measures the number of outstanding contracts that are not yet settled. This distinction makes OI a more robust indicator of how money flows through derivatives, offering meaningful insights into liquidity, market interest, and trends. Many traders and investors analyze OI alongside volume and price action to gain an enhanced perspective on market dynamics and reinforce trading decisions.
TradingView offers many ticker identifiers for requesting OI data with the format "_OI", where "" represents a derivative instrument's ticker ID (e.g., "COMEX:GC1!").
Commitment of Traders (COT)
Commitment of Traders data provides an informative weekly breakdown of the aggregate positions held by various market participants, including commercial hedgers, non-commercial speculators, and small traders, in the U.S. derivative markets. Tallied and managed by the Commodity Futures Trading Commission (CFTC) , these reports provide traders and analysts with detailed insight into an asset's open interest and help them assess the actions of various market players. COT data is valuable for gaining a deeper understanding of market dynamics, sentiment, trends, and liquidity, which helps traders develop informed trading strategies.
TradingView has numerous ticker identifiers that provide access to time series containing data for various COT metrics. To learn about COT ticker IDs and how they work, see our LibraryCOT publication.
█ USING THE LIBRARY
Common function characteristics
• This library's functions construct ticker IDs with valid formats based on their specified parameters, then use them as the `symbol` argument in request.security() to retrieve data from the specified context.
• Most of these functions automatically select the timeframe of a data request because the data feeds are not available for all timeframes.
• All the functions have two overloads. The first overload of each function uses values with the "simple" qualifier to define the requested context, meaning the context does not change after the first script execution. The second accepts "series" values, meaning it can request data from different contexts across executions.
• The `gaps` parameter in most of these functions specifies whether the returned data is `na` when a new value is unavailable for request. By default, its value is `false`, meaning the call returns the last retrieved data when no new data is available.
• The `repaint` parameter in applicable functions determines whether the request can fetch the latest unconfirmed values from a higher timeframe on realtime bars, which might repaint after the script restarts. If `false`, the function only returns confirmed higher-timeframe values to avoid repainting. The default value is `true`.
`fred()`
The `fred()` function retrieves the most recent value of a specified series from the Federal Reserve Economic Data (FRED) database. With this function, programmers can easily fetch macroeconomic indicators, such as GDP and unemployment rates, and use them directly in their scripts.
How it works
The function's `fredCode` parameter accepts a "string" representing the unique identifier of a specific FRED series. Examples include "GDP" for the "Gross Domestic Product" series and "UNRATE" for the "Unemployment Rate" series. Over 825,000 codes are available. To access codes for available series, search the FRED website .
The function adds the "FRED:" prefix to the specified `fredCode` to construct a valid FRED ticker ID (e.g., "FRED:GDP"), which it uses in request.security() to retrieve the series data.
Example Usage
This line of code requests the latest value from the Gross Domestic Product series and assigns the returned value to a `gdpValue` variable:
float gdpValue = fred("GDP")
`finraShortSaleVolume()`
The `finraShortSaleVolume()` function retrieves EOD data from a FINRA Short Sale Volume series. Programmers can call this function to retrieve short-selling information for equities listed on supported exchanges, namely NASDAQ, NYSE, and NYSE ARCA.
How it works
The `symbol` parameter determines which symbol's short sale volume information is retrieved by the function. If the value is na , the function requests short sale volume data for the chart's symbol. The argument can be the name of the symbol from a supported exchange (e.g., "AAPL") or a ticker ID with an exchange prefix ("NASDAQ:AAPL"). If the `symbol` contains an exchange prefix, it must be one of the following: "NASDAQ", "NYSE", "AMEX", or "BATS".
The function constructs a ticker ID in the format "FINRA:ticker_SHORT_VOLUME", where "ticker" is the symbol name without the exchange prefix (e.g., "AAPL"). It then uses the ticker ID in request.security() to retrieve the available data.
Example Usage
This line of code retrieves short sale volume for the chart's symbol and assigns the result to a `shortVolume` variable:
float shortVolume = finraShortSaleVolume(syminfo.tickerid)
This example requests short sale volume for the "NASDAQ:AAPL" symbol, irrespective of the current chart:
float shortVolume = finraShortSaleVolume("NASDAQ:AAPL")
`openInterestFutures()` and `openInterestCrypto()`
The `openInterestFutures()` function retrieves EOD open interest (OI) data for futures contracts. The `openInterestCrypto()` function provides more granular OI data for cryptocurrency contracts.
How they work
The `openInterestFutures()` function retrieves EOD closing OI information. Its design is focused primarily on retrieving OI data for futures, as only EOD OI data is available for these instruments. If the chart uses an intraday timeframe, the function requests data from the "1D" timeframe. Otherwise, it uses the chart's timeframe.
The `openInterestCrypto()` function retrieves opening, high, low, and closing OI data for a cryptocurrency contract on a specified timeframe. Unlike `openInterest()`, this function can also retrieve granular data from intraday timeframes.
Both functions contain a `symbol` parameter that determines the symbol for which the calls request OI data. The functions construct a valid OI ticker ID from the chosen symbol by appending "_OI" to the end (e.g., "CME:ES1!_OI").
The `openInterestFutures()` function requests and returns a two-element tuple containing the futures instrument's EOD closing OI and a "bool" condition indicating whether OI is rising.
The `openInterestCrypto()` function requests and returns a five-element tuple containing the cryptocurrency contract's opening, high, low, and closing OI, and a "bool" condition indicating whether OI is rising.
Example usage
This code line calls `openInterest()` to retrieve EOD OI and the OI rising condition for a futures symbol on the chart, assigning the values to two variables in a tuple:
= openInterestFutures(syminfo.tickerid)
This line retrieves the EOD OI data for "CME:ES1!", irrespective of the current chart's symbol:
= openInterestFutures("CME:ES1!")
This example uses `openInterestCrypto()` to retrieve OHLC OI data and the OI rising condition for a cryptocurrency contract on the chart, sampled at the chart's timeframe. It assigns the returned values to five variables in a tuple:
= openInterestCrypto(syminfo.tickerid, timeframe.period)
This call retrieves OI OHLC and rising information for "BINANCE:BTCUSDT.P" on the "1D" timeframe:
= openInterestCrypto("BINANCE:BTCUSDT.P", "1D")
`commitmentOfTraders()`
The `commitmentOfTraders()` function retrieves data from the Commitment of Traders (COT) reports published by the Commodity Futures Trading Commission (CFTC). This function significantly simplifies the COT request process, making it easier for programmers to access and utilize the available data.
How It Works
This function's parameters determine different parts of a valid ticker ID for retrieving COT data, offering a streamlined alternative to constructing complex COT ticker IDs manually. The `metricName`, `metricDirection`, and `includeOptions` parameters are required. They specify the name of the reported metric, the direction, and whether it includes information from options contracts.
The function also includes several optional parameters. The `CFTCCode` parameter allows programmers to request data for a specific report code. If unspecified, the function requests data based on the chart symbol's root prefix, base currency, or quoted currency, depending on the `mode` argument. The call can specify the report type ("Legacy", "Disaggregated", or "Financial") and metric type ("All", "Old", or "Other") with the `typeCOT` and `metricType` parameters.
Explore the CFTC website to find valid report codes for specific assets. To find detailed information about the metrics included in the reports and their meanings, see the CFTC's Explanatory Notes .
View the function's documentation below for detailed explanations of its parameters. For in-depth information about COT ticker IDs and more advanced functionality, refer to our previously published COT library .
Available metrics
Different COT report types provide different metrics . The tables below list all available metrics for each type and their applicable directions:
+------------------------------+------------------------+
| Legacy (COT) Metric Names | Directions |
+------------------------------+------------------------+
| Open Interest | No direction |
| Noncommercial Positions | Long, Short, Spreading |
| Commercial Positions | Long, Short |
| Total Reportable Positions | Long, Short |
| Nonreportable Positions | Long, Short |
| Traders Total | No direction |
| Traders Noncommercial | Long, Short, Spreading |
| Traders Commercial | Long, Short |
| Traders Total Reportable | Long, Short |
| Concentration Gross LT 4 TDR | Long, Short |
| Concentration Gross LT 8 TDR | Long, Short |
| Concentration Net LT 4 TDR | Long, Short |
| Concentration Net LT 8 TDR | Long, Short |
+------------------------------+------------------------+
+-----------------------------------+------------------------+
| Disaggregated (COT2) Metric Names | Directions |
+-----------------------------------+------------------------+
| Open Interest | No Direction |
| Producer Merchant Positions | Long, Short |
| Swap Positions | Long, Short, Spreading |
| Managed Money Positions | Long, Short, Spreading |
| Other Reportable Positions | Long, Short, Spreading |
| Total Reportable Positions | Long, Short |
| Nonreportable Positions | Long, Short |
| Traders Total | No Direction |
| Traders Producer Merchant | Long, Short |
| Traders Swap | Long, Short, Spreading |
| Traders Managed Money | Long, Short, Spreading |
| Traders Other Reportable | Long, Short, Spreading |
| Traders Total Reportable | Long, Short |
| Concentration Gross LE 4 TDR | Long, Short |
| Concentration Gross LE 8 TDR | Long, Short |
| Concentration Net LE 4 TDR | Long, Short |
| Concentration Net LE 8 TDR | Long, Short |
+-----------------------------------+------------------------+
+-------------------------------+------------------------+
| Financial (COT3) Metric Names | Directions |
+-------------------------------+------------------------+
| Open Interest | No Direction |
| Dealer Positions | Long, Short, Spreading |
| Asset Manager Positions | Long, Short, Spreading |
| Leveraged Funds Positions | Long, Short, Spreading |
| Other Reportable Positions | Long, Short, Spreading |
| Total Reportable Positions | Long, Short |
| Nonreportable Positions | Long, Short |
| Traders Total | No Direction |
| Traders Dealer | Long, Short, Spreading |
| Traders Asset Manager | Long, Short, Spreading |
| Traders Leveraged Funds | Long, Short, Spreading |
| Traders Other Reportable | Long, Short, Spreading |
| Traders Total Reportable | Long, Short |
| Concentration Gross LE 4 TDR | Long, Short |
| Concentration Gross LE 8 TDR | Long, Short |
| Concentration Net LE 4 TDR | Long, Short |
| Concentration Net LE 8 TDR | Long, Short |
+-------------------------------+------------------------+
Example usage
This code line retrieves "Noncommercial Positions (Long)" data, without options information, from the "Legacy" report for the chart symbol's root, base currency, or quote currency:
float nonCommercialLong = commitmentOfTraders("Noncommercial Positions", "Long", false)
This example retrieves "Managed Money Positions (Short)" data, with options included, from the "Disaggregated" report:
float disaggregatedData = commitmentOfTraders("Managed Money Positions", "Short", true, "", "Disaggregated")
█ NOTES
• This library uses dynamic requests , allowing dynamic ("series") arguments for the parameters defining the context (ticker ID, timeframe, etc.) of a `request.*()` function call. With this feature, a single `request.*()` call instance can flexibly retrieve data from different feeds across historical executions. Additionally, scripts can use such calls in the local scopes of loops, conditional structures, and even exported library functions, as demonstrated in this script. All scripts coded in Pine Script™ v6 have dynamic requests enabled by default. To learn more about the behaviors and limitations of this feature, see the Dynamic requests section of the Pine Script™ User Manual.
• The library's example code offers a simple demonstration of the exported functions. The script retrieves available data using the function specified by the "Series type" input. The code requests a FRED series or COT (Legacy), FINRA Short Sale Volume, or Open Interest series for the chart's symbol with specific parameters, then plots the retrieved data as a step-line with diamond markers.
Look first. Then leap.
█ EXPORTED FUNCTIONS
This library exports the following functions:
fred(fredCode, gaps)
Requests a value from a specified Federal Reserve Economic Data (FRED) series. FRED is a comprehensive source that hosts numerous U.S. economic datasets. To explore available FRED datasets and codes, search for specific categories or keywords at fred.stlouisfed.org Calls to this function count toward a script's `request.*()` call limit.
Parameters:
fredCode (series string) : The unique identifier of the FRED series. The function uses the value to create a valid ticker ID for retrieving FRED data in the format `"FRED:fredCode"`. For example, `"GDP"` refers to the "Gross Domestic Product" series ("FRED:GDP"), and `"GFDEBTN"` refers to the "Federal Debt: Total Public Debt" series ("FRED:GFDEBTN").
gaps (simple bool) : Optional. If `true`, the function returns a non-na value only when a new value is available from the requested context. If `false`, the function returns the latest retrieved value when new data is unavailable. The default is `false`.
Returns: (float) The value from the requested FRED series.
finraShortSaleVolume(symbol, gaps, repaint)
Requests FINRA daily short sale volume data for a specified symbol from one of the following exchanges: NASDAQ, NYSE, NYSE ARCA. If the chart uses an intraday timeframe, the function requests data from the "1D" timeframe. Otherwise, it uses the chart's timeframe. Calls to this function count toward a script's `request.*()` call limit.
Parameters:
symbol (series string) : The symbol for which to request short sale volume data. If the specified value contains an exchange prefix, it must be one of the following: "NASDAQ", "NYSE", "AMEX", "BATS".
gaps (simple bool) : Optional. If `true`, the function returns a non-na value only when a new value is available from the requested context. If `false`, the function returns the latest retrieved value when new data is unavailable. The default is `false`.
repaint (simple bool) : Optional. If `true` and the chart's timeframe is intraday, the value requested on realtime bars may change its time offset after the script restarts its executions. If `false`, the function returns the last confirmed period's values to avoid repainting. The default is `true`.
Returns: (float) The short sale volume for the specified symbol or the chart's symbol.
openInterestFutures(symbol, gaps, repaint)
Requests EOD open interest (OI) and OI rising information for a valid futures symbol. If the chart uses an intraday timeframe, the function requests data from the "1D" timeframe. Otherwise, it uses the chart's timeframe. Calls to this function count toward a script's `request.*()` call limit.
Parameters:
symbol (series string) : The symbol for which to request open interest data.
gaps (simple bool) : Optional. If `true`, the function returns non-na values only when new values are available from the requested context. If `false`, the function returns the latest retrieved values when new data is unavailable. The default is `false`.
repaint (simple bool) : Optional. If `true` and the chart's timeframe is intraday, the value requested on realtime bars may change its time offset after the script restarts its executions. If `false`, the function returns the last confirmed period's values to avoid repainting. The default is `true`.
Returns: ( ) A tuple containing the following values:
- The closing OI value for the symbol.
- `true` if the closing OI is above the previous period's value, `false` otherwise.
openInterestCrypto(symbol, timeframe, gaps, repaint)
Requests opening, high, low, and closing open interest (OI) data and OI rising information for a valid cryptocurrency contract on a specified timeframe. Calls to this function count toward a script's `request.*()` call limit.
Parameters:
symbol (series string) : The symbol for which to request open interest data.
timeframe (series string) : The timeframe of the data request. If the timeframe is lower than the chart's timeframe, it causes a runtime error.
gaps (simple bool) : Optional. If `true`, the function returns non-na values only when new values are available from the requested context. If `false`, the function returns the latest retrieved values when new data is unavailable. The default is `false`.
repaint (simple bool) : Optional. If `true` and the `timeframe` represents a higher timeframe, the function returns unconfirmed values from the timeframe on realtime bars, which repaint when the script restarts its executions. If `false`, it returns only confirmed higher-timeframe values to avoid repainting. The default is `true`.
Returns: ( ) A tuple containing the following values:
- The opening, high, low, and closing OI values for the symbol, respectively.
- `true` if the closing OI is above the previous period's value, `false` otherwise.
commitmentOfTraders(metricName, metricDirection, includeOptions, CFTCCode, typeCOT, mode, metricType)
Requests Commitment of Traders (COT) data with specified parameters. This function provides a simplified way to access CFTC COT data available on TradingView. Calls to this function count toward a script's `request.*()` call limit. For more advanced tools and detailed information about COT data, see TradingView's LibraryCOT library.
Parameters:
metricName (series string) : One of the valid metric names listed in the library's documentation and source code.
metricDirection (series string) : Metric direction. Possible values are: "Long", "Short", "Spreading", and "No direction". Consult the library's documentation or code to see which direction values apply to the specified metric.
includeOptions (series bool) : If `true`, the COT symbol includes options information. Otherwise, it does not.
CFTCCode (series string) : Optional. The CFTC code for the asset. For example, wheat futures (root "ZW") have the code "001602". If one is not specified, the function will attempt to get a valid code for the chart symbol's root, base currency, or main currency.
typeCOT (series string) : Optional. The type of report to request. Possible values are: "Legacy", "Disaggregated", "Financial". The default is "Legacy".
mode (series string) : Optional. Specifies the information the function extracts from a symbol. Possible modes are:
- "Root": The function extracts the futures symbol's root prefix information (e.g., "ES" for "ESH2020").
- "Base currency": The function extracts the first currency from a currency pair (e.g., "EUR" for "EURUSD").
- "Currency": The function extracts the currency of the symbol's quoted values (e.g., "JPY" for "TSE:9984" or "USDJPY").
- "Auto": The function tries the first three modes (Root -> Base currency -> Currency) until it finds a match.
The default is "Auto". If the specified mode is not available for the symbol, it causes a runtime error.
metricType (series string) : Optional. The metric type. Possible values are: "All", "Old", "Other". The default is "All".
Returns: (float) The specified Commitment of Traders data series. If no data is available, it causes a runtime error.
Sentimentalanalysis
JJ Psychological Levels (125 Increments)Psychological Levels Indicator
Description:
The Psychological Levels Indicator is a versatile tool designed for traders to identify key price levels that often act as support or resistance zones in the market. These levels are plotted at regular intervals, customizable by the user, starting from a base price level. This is particularly useful for spotting psychological price points that traders and investors frequently monitor.
Key Features:
1.Dynamic Psychological Levels:
- The script calculates and displays horizontal lines at price levels separated by customizable increments (default: 125 points).
- These levels are dynamically adjusted to the visible range of the chart.
2. Customizable Inputs:
- Starting Level: Set the base level from which increments are calculated (e.g., 0 or 1000).
- Step Size: Define the interval between levels (e.g., 125 for indices like Bank NIFTY).
3. Visual Representation:
- Horizontal lines are drawn at each psychological level, helping traders quickly identify key zones.
- Labels are placed next to each level, displaying the corresponding price for easy reference.
4. Application Across Instruments:
- This indicator works seamlessly with various asset classes, including stocks, indices, forex, and cryptocurrencies.
How to Use:
1.Identify Key Price Zones:
- Use the plotted psychological levels to spot areas where price action is likely to react.
- Levels such as 1125, 1250, and 1375 (for a step size of 125) are visually highlighted.
2. Plan Trades Around Key Levels:
- These levels can act as support/resistance or breakout points, providing opportunities for entry, exit, and stop-loss placement.
3. Customizable Settings:
- Adjust the starting level and step size to tailor the indicator to your trading instrument or strategy.
Why Psychological Levels Matter:
Psychological levels are widely followed by traders and often coincide with key market turning points due to their significance in human behavior and market psychology. They are frequently used by institutional traders, making them valuable reference points for intraday and swing trading.
Custom Settings:
- **Starting Level:** Default: `0`
- **Step Size:** Default: `125`
Disclaimer:
This indicator is a technical analysis tool and is not intended to provide financial advice. Always combine it with other indicators and perform your due diligence before making trading decisions.
CDI(Cryptomarket Dominance Index)Cryptomarket Dominance Index
This indicator analyzes the crypto market sentiment by utilizing the dominance data of Bitcoin, Ethereum, stablecoins, and altcoins.
Inputs: Define overbought/oversold thresholds and the lookback period for historical analysis.
Data Fetching: Retrieve dominance data for Bitcoin, Ethereum and stablecoins(usdt+usdc).
Calculations: Compute key metrics such as stablecoin and altcoin dominance, and generate standardized oscillators (BTC, stablecoin, altcoin) for analysis.
Output: The oscillators are scaled between 0–100, where 50 represents the average, 70+ indicates overbought, and 30- indicates oversold conditions.
**market sentiment analysis example.
- stablecoin(usdt+usdc) dominance(green line) is above the overbought level and the btc dominance(blue line) is below the oversold level : the market may have been gone down enough and it can be opportunity to start long.
- the btc dominance(blue line) is above the overbought level and stablecoin(usdt+usdc) dominance(green line) is below the oversold level : the market may have been gone up enough and it can be opportunity to start short.
이 지표는 비트코인, 이더리움, 스테이블코인, 알트코인의 점유율 데이터를 기반으로 시장의 투자 심리를 확인하는 데 활용됩니다.
입력값: 과매수/과매도 기준값과 과거 데이터를 분석할 기간을 설정합니다.
데이터 수집: 비트코인, 이더리움, 스테이블코인(USDT + USDC)의 점유율 데이터를 가져옵니다.
계산: 스테이블코인 및 알트코인 점유율과 같은 주요 지표를 계산하고, 이를 기반으로 표준화된 오실레이터(BTC, 스테이블코인, 알트코인)를 생성합니다.
결과: 오실레이터는 0~100 범위로 나타나며, 50은 평균을 의미하고 70 이상은 과매수, 30 이하는 과매도를 나타냅니다.
시장 심리 분석 예시
스테이블코인(USDT + USDC) 점유율(녹색 선)이 과매수 수준 위에 있고, 비트코인 점유율(파란 선)이 과매도 수준 아래에 있다면: 시장이 충분히 하락했을 가능성이 있으며, 롱 포지션을 시작할 기회일 수 있습니다.
비트코인 점유율(파란 선)이 과매수 수준 위에 있고, 스테이블코인 점유율(녹색 선)이 과매도 수준 아래에 있다면: 시장이 충분히 상승했을 가능성이 있으며, 숏 포지션을 시작할 기회일 수 있습니다.
XLimitless - Commitments of Traders (COT)XLimitless - Commitment of Traders (COT)
Unlock unparalleled market insights with the
XLimitless - COT Indicator, designed to give traders a competitive edge by visualizing the weekly Commitment of Traders (COT) data in an interactive and customizable table.
This advanced tool provides a comprehensive breakdown of market participants' positions, including Commercials, Non-Commercials (Large Speculators), and Non-Reportables (Small Speculators).
Key Features:
Customizable Data Display:
Choose from Commercial , Non-Commercial , or Non-Reportable positions.
Set the number of weeks to display (up to 52) for a tailored view.
Heatmap highlighting for quick identification of historical extremes.
Detailed Metrics:
Weekly Long, Short, and Net Positions data.
Open Interest and weekly changes for granular analysis.
Max/Min rows to spot historical highs and lows at a glance.
Interactive Table Positioning:
Flexible table placement options (e.g., Top Right, Bottom Left) to suit your chart layout.
Dynamic date adjustments with time-zone support for accurate alignment.
Enhanced Visual Feedback:
Heatmap-based color gradients for easy trend and extreme position identification.
Integrated tooltips for intuitive data understanding.
Global Asset Coverage:
Supports major asset classes, including Currencies, Commodities, Indices, and more.
Auto-detects base and quote currencies, ensuring accurate data mapping.
Historical Lookback Settings:
Analyze trends over 6 months to 5 years with configurable lookback periods.
Market Participants:
Commercial: Users & Producers
Non Commercial: Bank, Institutions & Large Traders
Non Reportable: Small Traders, Retail
--
Disclaimer:
By using or publishing the XLimitless - Commitment of Traders (COT) indicator, you warrant that:
The information displayed and interpreted through this tool complies with applicable laws and regulations.
The indicator does not constitute investment advice or financial recommendations.
The content generated is not intended solely for qualified or professional investors.
Always ensure compliance with TradingView’s policies and applicable legal standards. Use this indicator responsibly and at your own discretion.
SuperTrend Volume [BigBeluga]SuperTrend Volume is an advanced trend-following indicator that combines the traditional SuperTrend method with a normalized volume visualization inside trend bands, offering enhanced insight into market dynamics and volume activity.
🔵 Key Features:
Dynamic Trend Bands: The indicator uses the SuperTrend methodology to plot upper and lower trend bands, which adapt dynamically to price movements. Green bands indicate an uptrend, while purple bands indicate a downtrend.
Normalized Volume Visualization:
Inside the trend bands, normalized volume is displayed to highlight the intensity of market participation during trends.
Users can choose between two visualization types:
Bars: Displays volume as vertical bars within the bands.
Area: Represents volume as a shaded area for a smoother look.
Color-Coded Trends: Trend direction is color-coded:
Green for bullish trends.
Purple for bearish trends.
Volume Labels: Each bar or area has a label showing the normalized volume value 0-4 for easier interpretation.
Trend Change Detection: Automatically identifies trend reversals by recalculating the SuperTrend levels and adjusting volume visualization accordingly.
🔵 Usage:
Trend Identification: Use the color-coded trend bands to confirm the current market direction and identify potential reversals.
Volume Confirmation: Assess the strength of trends using normalized volume inside the bands. Higher normalized volume indicates stronger market conviction.
Peak Volume can be a signal of the mean reversion of price
Customization: Adjust the visualization type (bars or area) based on personal preference or analysis needs.
Dynamic Updates: Use volume labels and trend bands to stay updated on market shifts and trading opportunities in real time.
SuperTrend Volume is a versatile tool suitable for traders who want to combine trend analysis with volume dynamics for a more comprehensive view of the market. It is ideal for identifying trend strength, detecting reversals, and gauging the participation of market players during directional moves.
Cryptocurrency SentimentOverview
This script focuses on calculating and visualizing the sentiment difference between LONG positions and SHORT positions for a selected cryptocurrency pair on the Bitfinex exchange. It provides a clean and clear visual representation of the sentiment, helping traders analyze market behavior.
Key Features
Dynamic Symbol Selection:
The script automatically detects the cryptocurrency symbol from the chart (syminfo.basecurrency) and dynamically constructs the LONGS and SHORTS ticker symbols.
Works seamlessly for pairs like BTCUSD, ETHUSD, and others available on Bitfinex.
Sentiment Calculation:
The sentiment difference is calculated as:
Sentiment Difference=−1×(100− SHORTS/LONGS ×100)
LONGS : The total number of long positions.
SHORTS : The total number of short positions.
If SHORTS is 0, the value is safely skipped to avoid division errors.
Color Coding:
The script visually highlights the sentiment difference:
Green Line: Indicates that LONG positions are dominant (bullish sentiment).
Red Line: Indicates that SHORT positions are dominant (bearish sentiment).
Zero Reference Line:
A gray horizontal line at 0 helps users quickly identify the transition between bullish (above zero) and bearish (below zero) sentiment.
How It Works
Fetching Data:
The script uses request.security to fetch LONGS and SHORTS data at the current chart timeframe (timeframe.period) for the dynamically generated Bitfinex tickers.
Handling Data:
Missing or invalid data (NaN) is filtered out to prevent errors.
Extreme spikes or irregular values are safely avoided.
Visualization:
The sentiment difference is plotted with dynamic color coding:
Green when LONGS > SHORTS (bullish sentiment).
Red when SHORTS > LONGS (bearish sentiment).
Benefits
Market Sentiment Insight: Helps traders quickly identify if the market is leaning towards bullish or bearish sentiment based on actual LONG and SHORT position data.
Dynamic and Adaptive: Automatically adjusts to the selected cryptocurrency symbol on the chart.
Clean Visualization: Focuses solely on sentiment difference with color-coded signals, making it easy to interpret.
Best Use Cases
Trend Confirmation: Use the sentiment difference to confirm trends during bullish or bearish moves.
Market Reversals: Identify potential reversals when sentiment shifts from positive (green) to negative (red) or vice versa.
Sentiment Monitoring: Monitor the overall market bias for cryptocurrencies like BTC, ETH, XRP, etc., in real-time.
Sample Chart Output
Above Zero → Green Line: Bullish sentiment dominates.
Below Zero → Red Line: Bearish sentiment dominates.
Zero Line → Transition point for shifts in sentiment.
Moving Average Pullback Signals [UAlgo]The "Moving Average Pullback Signals " indicator is designed to identify potential trend continuation or reversal points based on moving average (MA) pullback patterns. This tool combines multiple types of moving averages, customized trend validation parameters, and candlestick wick patterns to provide reliable buy and sell signals. By leveraging several advanced MA methods (such as TEMA, DEMA, ZLSMA, and McGinley-D), this script can adapt to different market conditions, providing traders with flexibility and more precise trend-based entries and exits. The addition of a gradient color-coded moving average line and wick validation logic enables traders to visualize market sentiment and trend strength dynamically.
🔶 Key Features
Multiple Moving Average (MA) Calculation Methods: This indicator offers various MA calculation types, including SMA, EMA, DEMA, TEMA, ZLSMA, and McGinley-D, allowing traders to select the MA that best fits their strategy.
Trend Validation and Pattern Recognition: The indicator includes a customizable trend validation length, ensuring that the trend is consistent before buy/sell signals are generated. The "Trend Pattern Mode" setting provides flexibility between "No Trend in Progress," "Trend Continuation," and "Both," tailoring signals to the trader’s preferred style.
Wick Validation Logic: To enhance the accuracy of entries, this indicator identifies specific wick patterns for bullish or bearish pullbacks, which signal potential trend continuation or reversal. Wick length and validation factor are adjustable to suit various market conditions and timeframes.
Gradient Color-coded MA Line: This feature provides a quick visual cue for trend strength, with color changes reflecting relative highs and lows of the MA, enhancing market sentiment interpretation.
Alerts for Buy and Sell Signals: Alerts are triggered when either a bullish or bearish pullback is detected, allowing traders to receive instant notifications without continuously monitoring the chart.
Visual Labels for Reversal Points: The indicator plots labels ("R") at potential reversal points, with color-coded labels for bullish (green) and bearish (red) pullbacks, highlighting pullback opportunities that align with the trend or reversal potential.
🔶 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.
Volumetric Volatility Breaker Blocks [UAlgo]The "Volumetric Volatility Breaker Blocks " indicator is designed for traders who want a comprehensive understanding of market volatility combined with volume analysis. This indicator provides a clear visualization of significant volatility areas (or blocks), characterized by price movements that exceed a specific volatility threshold, as calculated using the ATR (Average True Range). The concept is enhanced by integrating volume-based insights, offering a view of market activity that helps users to recognize when significant price changes are being supported by an appropriate level of market participation.
The indicator calculates breaker blocks for both bullish and bearish market conditions, providing distinct visual elements that identify periods of high volatility and substantial volume divergence. The focus on both volume and volatility makes this tool versatile, allowing traders to assess the strength of price movements as well as areas where price might break above or below previously established levels.
It supports adjustable parameters, such as volatility length, smoothness factor, and volume display, allowing traders to fine-tune the indicator according to their trading strategy and market environment. The highlighted breaker blocks assist in identifying zones of potential price reversal or continuation, which can be critical for making informed trading decisions.
🔶 Key Features
Volatility-Based Block Identification: The indicator uses the Average True Range (ATR) to determine the volatility of the market. When the ATR exceeds a specified threshold (smooth ATR multiplied by a user-defined multiplier), it highlights these areas as volatility blocks. The idea is to mark periods where price activity is significantly divergent from normal conditions, which often signals market opportunities.
Volume Integrated Analysis: In addition to tracking volatility, the indicator incorporates volume data, allowing traders to see the amount of activity that occurs during these high-volatility periods. This helps in identifying whether a price movement is likely sustainable or whether it lacks market support.
User Adjustable Parameters: The indicator offers customization options for the volatility length (using ATR), smooth length, and multiplier for sensitivity adjustment. These settings enable users to modify the indicator’s responsiveness to market conditions.
The option to display the last few volatility blocks allows traders to manage clutter on their charts and focus only on the most recent significant data.
Mitigation Method: Users can select between different mitigation methods ("Close" or "Wick") to determine how blocks are broken. This adds an extra layer of adaptability, allowing traders to modify the indicator's response based on different price action strategies.
Dynamic Visual Representation: The indicator dynamically draws boxes for volatility blocks and shades them according to market direction, with split areas showing the bullish and bearish strength contributions. It also provides percentage volume for each block, helping traders understand the relative market participation during these moves.
🔶 Interpreting the Indicator
Identifying High Volatility Areas: When a new volatility block appears, it signifies that the market is experiencing higher-than-usual volatility, driven by increased ATR values. Traders should pay attention to these blocks, as they often indicate that a significant price move is occurring. Bullish blocks suggest upward pressure, whereas bearish blocks indicate downward pressure.
Volume Insights: The volume associated with each volatility block provides an insight into how much market participation accompanies these moves. Higher volume within a block implies that the market is actively supporting the price change, which may be a sign of continuation. Low volume suggests that the movement may lack the strength to persist.
Bullish vs. Bearish Strength Analysis: Each block is split into bullish and bearish strength, giving a clearer picture of what’s happening within the volatility period. If the bullish portion dominates, it indicates strong upward sentiment during that period. Conversely, if the bearish side is more prominent, there is more selling pressure. This breakdown helps in understanding intra-block market dynamics.
Volume Percentage Display: The indicator also displays the volume percentage in each block, which provides context for the strength of the move relative to recent market activity. Higher percentages mean more market engagement, which could confirm the legitimacy of a trend or a significant breakout.
🔶 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.
Dynamic Sentiment RSI [UAlgo]The Dynamic Sentiment RSI is a technical analysis tool that combines the classic RSI (Relative Strength Index) concept with dynamic sentiment analysis, offering traders enhanced insights into market conditions. Unlike the traditional RSI, this indicator integrates volume weighting, sentiment factors, and smoothing features to provide a more nuanced view of momentum and potential market reversals. It is designed to assist traders in detecting overbought/oversold conditions, momentum shifts, and to generate potential buy or sell signals using crossover and crossunder techniques. By dynamically adjusting based on sentiment and volume factors, this RSI offers better adaptability to varying market conditions, making it suitable for different trading styles and timeframes.
This tool is particularly helpful for traders who wish to explore not only price movement but also the underlying market sentiment, offering a more comprehensive approach to momentum analysis. The sentiment factor amplifies the RSI's sensitivity to price shifts, making it easier to detect early signals of market reversals or the continuation of a trend.
🔶 Key Features
Dynamic Sentiment Calculation: The indicator incorporates a "Sentiment Factor" that adjusts the RSI length dynamically based on a multiplier, helping traders better understand market sentiment at different time intervals.
Volume Weighting: When enabled, the RSI calculations are weighted by volume, allowing traders to give more importance to price movements with higher trading volume, which may provide more accurate signals.
Smoothing Feature: A customizable smoothing period is applied to the RSI to help filter out noise and make the signal smoother. This feature is particularly useful for traders who prefer to focus on long-term trends while minimizing false signals.
Step Size Customization: A "Step Size" input allows users to round the sentiment RSI to predefined intervals, making the results easier to interpret and act upon. This feature allows you to focus on significant sentiment changes and ignore minor fluctuations.
Crossover/Crossunder Alerts: The indicator includes crossover and crossunder signals on the zero-line, helping traders identify potential buy and sell opportunities as the smoothed RSI crosses these levels.
The indicator offers a clear visual display with multiple color-coded lines and areas:
Sentiment RSI: Plotted as an area chart, color-coded based on sentiment strength.
Raw RSI: A purple line representing the raw adjusted RSI.
Smoothed RSI: A dynamic line, color-coded aqua or orange based on its position relative to the zero line.
Buy/Sell Signals: Triangle shapes are plotted at crossovers and crossunders, providing clear entry and exit points.
🔶 Interpreting the Indicator
Sentiment RSI
-This line represents the sentiment-adjusted RSI, where the higher the value, the stronger the bullish sentiment, and the lower the value, the stronger the bearish sentiment. It is rounded to step intervals, making it easier to detect significant shifts in sentiment.
- A positive sentiment RSI (above 0) suggests bullish market conditions, while a negative sentiment RSI (below 0) suggests bearish conditions.
Smoothed RSI
The smoothed RSI helps reduce noise and shows the trend more clearly.
Crossovers of the zero line are significant:
- Crossover above zero: Indicates that bullish momentum is building, potentially signaling a buying opportunity.
- Crossunder below zero: Signals a shift towards bearish momentum, potentially indicating a sell signal.
Traders should look for these crossovers in conjunction with other signals for more accurate entry/exit points.
Raw RSI (Adjusted)
The raw adjusted RSI offers a less smoothed, more responsive version of the RSI. While it may be noisier, it provides early signals of market reversals and trends.
Crossover/Crossunder Signals
- When the smoothed RSI crosses above the zero line, a "Signal Up" triangle appears, indicating a potential buying opportunity.
- When the smoothed RSI crosses below the zero line, a "Signal Down" triangle appears, signaling a potential sell opportunity.
These signals help traders time their entries and exits by identifying momentum shifts.
Volume Weighting (Optional)
- If volume weighting is enabled, the RSI will give more weight to periods of higher trading volume, making the signals more reliable when the market is highly active.
Strong Up/Down Levels (40/-40)
- These dotted lines represent extreme sentiment levels. When the sentiment RSI reaches 40 or -40, the market may be nearing an overbought or oversold condition, respectively. This could be a signal for traders to prepare for potential reversals or shifts in momentum.
By combining the various components of this indicator, traders can gain a comprehensive view of market sentiment and price action, helping them make more informed trading decisions. The combination of sentiment factors, volume weighting, and smoothing makes this indicator highly flexible and suitable for a variety of trading strategies.
🔶 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.
Bullish/Bearish Sentiment Cycle Indicator Sentiment Cycle Indicator: Understanding Market Psychology Through Technical Analysis
Overview:
The Sentiment Cycle Indicator is a unique blend of multiple technical analysis tools designed to help traders visualize and capitalize on market sentiment shifts. This indicator combines RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), volume analysis, and sentiment cycle detection to provide actionable buy and sell signals. By monitoring the emotional stages that market participants go through—such as optimism, excitement, euphoria, anxiety, denial, panic, and depression—this indicator helps traders identify turning points in the market cycle.
Key Components and How They Work Together:
1. RSI (Relative Strength Index):
• The RSI is a momentum oscillator that measures the speed and change of price movements. In this indicator, the RSI is used to determine overbought or oversold conditions, which are then translated into signals for potential market sentiment shifts.
• Integration: The RSI provides the foundational layer to assess whether the market is generally bullish or bearish. When combined with MACD and volume analysis, it helps confirm the strength of a sentiment cycle phase.
2. MACD (Moving Average Convergence Divergence):
• MACD is a trend-following indicator that shows the relationship between two moving averages of a security’s price. It is used in this script to identify trend direction and momentum changes.
• Integration: MACD crossovers are aligned with RSI conditions to detect the shift between bullish and bearish market sentiments. The MACD’s ability to capture trend changes strengthens the identification of sentiment phases, such as “optimism” or “panic.”
3. Volume Analysis:
• Volume analysis is a critical component in understanding market sentiment. The indicator uses a moving average of volume to detect volume spikes, which often coincide with significant market moves or reversals.
• Integration: Volume spikes are used to gauge the intensity of sentiment changes. For example, high volume during a bullish or bearish sentiment phase is a strong confirmation of a market sentiment shift. This integration enhances the reliability of the buy and sell signals generated by the sentiment cycle logic.
4. Sentiment Cycles:
• The indicator identifies four main sentiment phases—Optimism, Excitement, Panic, and Depression—based on combinations of RSI, MACD, and volume data. These phases are visually represented on the chart through background color zones, allowing traders to see the prevailing market sentiment at a glance.
• Integration: The sentiment phases are determined by a combination of the RSI trend, MACD crossovers, and volume analysis. For example, a transition from “Panic” to “Optimism” is detected when the RSI recovers from oversold levels, MACD turns bullish, and volume spikes decrease. This comprehensive approach ensures that all signals are well-founded and based on multiple dimensions of market data.
5. Buy and Sell Signals:
• The buy and sell signals are generated based on crossovers and crossunders between sentiment phases. For example, a buy signal is triggered when the market moves from a “Depression” (oversold) phase to an “Optimism” phase. A sell signal is triggered when the market transitions from “Excitement” to “Panic.”
• Integration: These signals are refined by adding a minimum distance between consecutive signals to avoid noise and enhance the clarity of trading opportunities. This further ensures that signals are not generated too frequently, reducing the chance of false positives.
Justification for Combining These Components:
The combination of RSI, MACD, volume analysis, and sentiment detection into a single indicator offers a holistic approach to understanding market psychology. Here’s why this mashup is particularly effective:
• Comprehensive Sentiment Analysis: The integration of RSI and MACD provides a well-rounded view of both momentum and trend, while volume analysis adds a layer of intensity to confirm sentiment shifts.
• Reduced Noise and Enhanced Signal Quality: By using multiple indicators to filter signals, the indicator minimizes noise and reduces the likelihood of false signals. This is particularly beneficial for traders looking to capitalize on meaningful market turns rather than being whipsawed by minor fluctuations.
• Visual Clarity: The background color zones corresponding to different sentiment phases offer a clear, at-a-glance view of the market’s current state, allowing traders to make more informed decisions quickly.
• Unique Combination for Market Sentiment Detection: While many indicators focus on either trend, momentum, or volume independently, this mashup uniquely combines these elements to detect the market’s underlying emotional state, providing a more nuanced understanding of market behavior.
How to Use This Indicator:
• Buy Signal: Look for the green “Buy” label when the market transitions from a bearish sentiment (grey or red zones) to a bullish sentiment (green zone).
• Sell Signal: Look for the red “Sell” label when the market transitions from a bullish sentiment (blue zone) to a bearish sentiment (red or gray zones).
• Dynamic Background Zones: Use the background color zones to visually track the prevailing market sentiment phase and anticipate potential buy or sell signals.
Originality and Practical Application:
This indicator’s originality lies in its ability to seamlessly integrate multiple widely-used technical analysis tools (RSI, MACD, and Volume) into a single, comprehensive tool for detecting market sentiment shifts. By doing so, it provides traders with a practical, easy-to-use tool that adapts to various market conditions, making it suitable for both day trading and longer-term strategies.
Conclusion:
The “Sentiment Cycle Indicator” is designed to offer traders a powerful, unified approach to identifying market sentiment shifts. By combining momentum, trend, and volume analysis, it delivers a unique and efficient way to navigate the complexities of market psychology, ultimately providing traders with an edge in understanding and predicting market movements.
Market Flow with Convergence🟪 Overview
The "Market Flow with Convergence" indicator leverages advanced volume metrics to accurately measure the underlying market pressure by analyzing the cumulative buying and selling volumes with the TICK index. This unique combination helps identify potential market reversals and trends, providing a comprehensive view of market flow. The indicator is particularly useful for those looking to capture convergence and divergence signals, crucial for making informed trading decisions.
🟪 Features
Volume-Based Convergence: Calculates the buying and selling pressures based on volume data, to produce color coded convergence. Visually represents areas where buying or selling pressures align.
Divergence Detection: Identifies and visually represents areas where buying and selling pressures diverge from each other, which can indicate key market turning points.
TICK Index: Incorporates data from the TICK index, normalizing and smoothing the cumulative data to highlight potential market reversals and trends.
Cumulative Flow Crossovers: Identifies and visually represents areas where buying and selling pressures crossover and become the dominant market flow.
Customizable Visualization: Uses conditional coloring and shapes to provide a clear, easy-to-interpret visual representation of the market state, making it easier to spot critical signals at a glance.
🟪 How it Works
Leveraging a combination of volume analysis and market breadth data, particularly the TICK index, to assess the underlying market pressure. By normalizing key market metrics, the indicator provides a clear view of buying and selling activity over time. The flow is standard across all charts, but convergence will change based on the charts ticker.
The indicator tracks and aggregates movements in the TICK index, allowing for an assessment of the market's cumulative momentum. This cumulative measure, combined with volume-based analysis, helps traders identify potential shifts in market trends, whether they be continuations or reversals.
The visual output of the indicator is designed to be intuitive and actionable. Key market conditions are highlighted through color-coded histograms and plot shapes, making it easy to interpret the data and apply it in real-time trading scenarios.
Understanding the Convergence Color Codes
Gray: represent periods of the markets lack of convergence, where neither buyers nor sellers have a decisive advantage. These conditions may indicate market indecision or a potential reversal point. The gray bars can also suggest a period of consolidation before a significant move.
Green: this indicates that buying pressure is greater than selling pressure, suggesting a bullish market condition. This is typically seen when the market may be trending upwards or when buyers are gaining control.
Red: signifies that selling pressure exceeds buying pressure, indicating a bearish market condition. This can be a signal that the market is trending downwards or that sellers are dominating the market.
Understanding Flow Crossovers
Green Dots: correspond to crossovers where the buying pressure (from the TICK) crosses above the selling pressure. This crossover often signals a potential upward move or a bullish market opportunity.
Red Dots: indicate a crossover where the selling pressure (from the TICK) crosses above the buying pressure. This crossover typically suggests a potential downward move or a bearish market signal.
🟪 Usage Examples
If the selling flow is consistently over buying and convergence is red, it indicates a strong and sustained bearish trend. This points to a potential downward move, with sellers predominantly in control.
When the buying flow is consistently over selling and convergence is green, it indicates a strong and sustained bullish trend. This can lead to a potential upward move, with buyers predominantly in control.
No convergence can mean it's time to be cautious. This could be a sign of market indecision, and it's often wise to wait for confirmation. This can lead to sideways market conditions or inverse of the current dominant flow.
🟪 Settings
This indicator does not require any user inputs as it automatically calculates the necessary data based on the ticker's price and volume information. It’s ready to use immediately upon application to any chart.
🟪 Limitations
This indicator is only works during the New York session of trading. It's flow values will not function outside of that trading session.
🟪 Conclusion
We believe in providing user-friendly tools to help speed up traders technical analysis and implement easy trading strategies. The "Market Flow with Convergence" offers a unique way to gauge prevailing market conditions, with simple visual cues for identifying trends.
🟪 Risk Disclaimer
All content, tools, scripts & education provided, are for informational & educational purposes only. Trading is risk and most lose their money, past performance does not guarantee future results.
Multi-Step FlexiSuperTrend - Strategy [presentTrading]At the heart of this endeavor is a passion for continuous improvement in the art of trading
█ Introduction and How it is Different
The "Multi-Step FlexiSuperTrend - Strategy " is an advanced trading strategy that integrates the well-known SuperTrend indicator with a nuanced and dynamic approach to market trend analysis. Unlike conventional SuperTrend strategies that rely on static thresholds and fixed parameters, this strategy introduces multi-step take profit mechanisms that allow traders to capitalize on varying market conditions in a more controlled and systematic manner.
What sets this strategy apart is its ability to dynamically adjust to market volatility through the use of an incremental factor applied to the SuperTrend calculation. This adjustment ensures that the strategy remains responsive to both minor and major market shifts, providing a more accurate signal for entries and exits. Additionally, the integration of multi-step take profit levels offers traders the flexibility to scale out of positions, locking in profits progressively as the market moves in their favor.
BTC 6hr Long/Short Performance
█ Strategy, How it Works: Detailed Explanation
The Multi-Step FlexiSuperTrend strategy operates on the foundation of the SuperTrend indicator, but with several enhancements that make it more adaptable to varying market conditions. The key components of this strategy include the SuperTrend Polyfactor Oscillator, a dynamic normalization process, and multi-step take profit levels.
🔶 SuperTrend Polyfactor Oscillator
The SuperTrend Polyfactor Oscillator is the heart of this strategy. It is calculated by applying a series of SuperTrend calculations with varying factors, starting from a defined "Starting Factor" and incrementing by a specified "Increment Factor." The indicator length and the chosen price source (e.g., HLC3, HL2) are inputs to the oscillator.
The SuperTrend formula typically calculates an upper and lower band based on the average true range (ATR) and a multiplier (the factor). These bands determine the trend direction. In the FlexiSuperTrend strategy, the oscillator is enhanced by iteratively applying the SuperTrend calculation across different factors. The iterative process allows the strategy to capture both minor and significant trend changes.
For each iteration (indexed by `i`), the following calculations are performed:
1. ATR Calculation: The Average True Range (ATR) is calculated over the specified `indicatorLength`:
ATR_i = ATR(indicatorLength)
2. Upper and Lower Bands Calculation: The upper and lower bands are calculated using the ATR and the current factor:
Upper Band_i = hl2 + (ATR_i * Factor_i)
Lower Band_i = hl2 - (ATR_i * Factor_i)
Here, `Factor_i` starts from `startingFactor` and is incremented by `incrementFactor` in each iteration.
3. Trend Determination: The trend is determined by comparing the indicator source with the upper and lower bands:
Trend_i = 1 (uptrend) if IndicatorSource > Upper Band_i
Trend_i = 0 (downtrend) if IndicatorSource < Lower Band_i
Otherwise, the trend remains unchanged from the previous value.
4. Output Calculation: The output of each iteration is determined based on the trend:
Output_i = Lower Band_i if Trend_i = 1
Output_i = Upper Band_i if Trend_i = 0
This process is repeated for each iteration (from 0 to 19), creating a series of outputs that reflect different levels of trend sensitivity.
Local
🔶 Normalization Process
To make the oscillator values comparable across different market conditions, the deviations between the indicator source and the SuperTrend outputs are normalized. The normalization method can be one of the following:
1. Max-Min Normalization: The deviations are normalized based on the range of the deviations:
Normalized Value_i = (Deviation_i - Min Deviation) / (Max Deviation - Min Deviation)
2. Absolute Sum Normalization: The deviations are normalized based on the sum of absolute deviations:
Normalized Value_i = Deviation_i / Sum of Absolute Deviations
This normalization ensures that the oscillator values are within a consistent range, facilitating more reliable trend analysis.
For more details:
🔶 Multi-Step Take Profit Mechanism
One of the unique features of this strategy is the multi-step take profit mechanism. This allows traders to lock in profits at multiple levels as the market moves in their favor. The strategy uses three take profit levels, each defined as a percentage increase (for long trades) or decrease (for short trades) from the entry price.
1. First Take Profit Level: Calculated as a percentage increase/decrease from the entry price:
TP_Level1 = Entry Price * (1 + tp_level1 / 100) for long trades
TP_Level1 = Entry Price * (1 - tp_level1 / 100) for short trades
The strategy exits a portion of the position (defined by `tp_percent1`) when this level is reached.
2. Second Take Profit Level: Similar to the first level, but with a higher percentage:
TP_Level2 = Entry Price * (1 + tp_level2 / 100) for long trades
TP_Level2 = Entry Price * (1 - tp_level2 / 100) for short trades
The strategy exits another portion of the position (`tp_percent2`) at this level.
3. Third Take Profit Level: The final take profit level:
TP_Level3 = Entry Price * (1 + tp_level3 / 100) for long trades
TP_Level3 = Entry Price * (1 - tp_level3 / 100) for short trades
The remaining portion of the position (`tp_percent3`) is exited at this level.
This multi-step approach provides a balance between securing profits and allowing the remaining position to benefit from continued favorable market movement.
█ Trade Direction
The strategy allows traders to specify the trade direction through the `tradeDirection` input. The options are:
1. Both: The strategy will take both long and short positions based on the entry signals.
2. Long: The strategy will only take long positions.
3. Short: The strategy will only take short positions.
This flexibility enables traders to tailor the strategy to their market outlook or current trend analysis.
█ Usage
To use the Multi-Step FlexiSuperTrend strategy, traders need to set the input parameters according to their trading style and market conditions. The strategy is designed for versatility, allowing for various market environments, including trending and ranging markets.
Traders can also adjust the multi-step take profit levels and percentages to match their risk management and profit-taking preferences. For example, in highly volatile markets, traders might set wider take profit levels with smaller percentages at each level to capture larger price movements.
The normalization method and the incremental factor can be fine-tuned to adjust the sensitivity of the SuperTrend Polyfactor Oscillator, making the strategy more responsive to minor market shifts or more focused on significant trends.
█ Default Settings
The default settings of the strategy are carefully chosen to provide a balanced approach between risk management and profit potential. Here is a breakdown of the default settings and their effects on performance:
1. Indicator Length (10): This parameter controls the lookback period for the ATR calculation. A shorter length makes the strategy more sensitive to recent price movements, potentially generating more signals. A longer length smooths out the ATR, reducing sensitivity but filtering out noise.
2. Starting Factor (0.618): This is the initial multiplier used in the SuperTrend calculation. A lower starting factor makes the SuperTrend bands closer to the price, generating more frequent trend changes. A higher starting factor places the bands further away, filtering out minor fluctuations.
3. Increment Factor (0.382): This parameter controls how much the factor increases with each iteration of the SuperTrend calculation. A smaller increment factor results in more gradual changes in sensitivity, while a larger increment factor creates a wider range of sensitivity across the iterations.
4. Normalization Method (None): The default is no normalization, meaning the raw deviations are used. Normalization methods like Max-Min or Absolute Sum can make the deviations more consistent across different market conditions, improving the reliability of the oscillator.
5. Take Profit Levels (2%, 8%, 18%): These levels define the thresholds for exiting portions of the position. Lower levels (e.g., 2%) capture smaller profits quickly, while higher levels (e.g., 18%) allow positions to run longer for more significant gains.
6. Take Profit Percentages (30%, 20%, 15%): These percentages determine how much of the position is exited at each take profit level. A higher percentage at the first level locks in more profit early, reducing exposure to market reversals. Lower percentages at higher levels allow for a portion of the position to benefit from extended trends.
Volumetric Volatility Blocks [UAlgo]The Volumetric Volatility Blocks indicator is designed to identify significant volatility blocks based on price and volume data. It utilizes a combination of the Average True Range (ATR) and Simple Moving Average (SMA) to determine the volatility level and identify periods of heightened market activity. The indicator highlights these volatility blocks, providing traders with visual cues for potential trading opportunities. It differentiates between bullish and bearish volatility by analyzing price movement and volume, offering a nuanced view of market sentiment. This tool is particularly useful for traders looking to capitalize on periods of high volatility and momentum shifts.
🔶 Key Features
Volatility Measurement Length: Controls the period used to calculate the ATR.
Smooth Length of Volatility: Defines the period for the SMA used to smooth the ATR.
Multiplier of SMA: Sets the minimum threshold for the ATR to be considered a "high volatility" block.
Show Last X Volatility Blocks: Determines how many of the most recent volatility blocks are displayed on the chart.
Mitigation Method: Choose between "Close" or "Wick" price to filter volatility blocks based on price action. This helps avoid highlighting blocks broken by the chosen price level.
Volume Info: Displaying the volume associated with each block.
Up/Down Block Color: Sets the color for bullish and bearish volatility blocks.
🔶 Usage
The Volumetric Volatility Blocks indicator visually represents periods of high volatility with blocks on the chart. Green blocks indicate bullish volatility, while red blocks indicate bearish volatility.
Bullish Volatility Blocks: When the ATR surpasses the smoothed ATR multiplied by the set multiplier, and the price closes higher than it opened, a bullish block is formed. These blocks are generally used to identify potential buying opportunities as they indicate upward momentum.
Bearish Volatility Blocks: Conversely, bearish blocks form under the same conditions, but when the price closes lower than it opened. These blocks can signal potential selling opportunities as they highlight downward momentum.
Volume Information: Each block can display volume data, providing insight into the strength of the market movement. The percentage shown on the block indicates the relative volume contribution of that block, helping traders assess the significance of the volatility.
The volume percentages in the Volumetric Volatility Blocks indicator are calculated based on the total volume of the most recent volatility blocks. For each of the most recent volatility blocks, the percentage of the total volume is calculated by dividing the block's volume by the total volume:
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Market Sentiment Fear and Greed [AlgoAlpha]Unleash the power of sentiment analysis with the Market Sentiment Fear and Greed Indicator! 📈💡 This tool provides insights into market sentiment, helping you make informed trading decisions. Let's dive into its key features and how it works. 🚀✨
Key Features 🎯
🧠 Sentiment Analysis : Calculates market sentiment using volume and price data. 📊
📅 Customizable Lookback Window : Adjust the lookback period to fine-tune sensitivity. 🔧
🎨 Bullish and Bearish Colors : Visualize trends with customizable colors. 🟢🔴
🚀 Impulse Detection : Identifies bullish and bearish impulses for trend confirmation. 🔍
📉 Normalized Sentiment Index : Offers a normalized view of market sentiment. 📊
🔔 Alerts : Set alerts for key sentiment changes and trend impulses. 🚨
🟢🔴 Table Visualization : Displays sentiment strength using a gradient color table. 🗂️
How to Use 📖
Maximize your trading potential with this indicator by following these steps:
🔍 Add the Indicator : Search for "Market Sentiment Fear and Greed " in TradingView's Indicators & Strategies. Customize settings like the lookback window and trend breakout threshold to suit your trading strategy.
📊 Monitor Sentiment : Watch the sentiment gauge and plot changes to detect market sentiment shifts. Use the Normalized Sentiment Index for a more balanced view.
🚨 Set Alerts : Enable alerts for sentiment flips and trend impulses to stay ahead of market movements.
How It Works ⚙️
The indicator calculates market sentiment by averaging the volume and closing prices over a user-defined lookback period, creating a sentiment score. It differentiates between bullish and bearish sentiment by evaluating whether the closing price is higher or lower than the opening price, summing the respective volumes. The true sentiment is determined by comparing these summed values, with a positive score indicating bullish sentiment and a negative score indicating bearish sentiment. The indicator further normalizes this sentiment score by dividing it by the EMA of the highest high minus the lowest low over double the lookback period, ensuring values are constrained between -1 and 1. Bullish and bearish impulses are identified using Hull Moving Averages (HMA) of the positive and negative sentiments, respectively. When these impulses exceed a calculated threshold based on the standard deviation of the sentiment, it indicates a significant trend change. The script also includes a gradient color table to visually represent the strength of sentiment, and customizable alerts to notify users of key sentiment changes and trend impulses.
Unlock deeper insights into market sentiment and elevate your trading strategy with the Market Sentiment Fear and Greed Indicator! 📈✨
Macro Risk On/Off SentimentOverview
As an Ichimoku trader, I've always found it crucial to understand the broader market sentiment before entering trades. That's why I developed this Macro Risk On/Off Sentiment Indicator. It's designed to provide a comprehensive view of global market risk sentiment by analysing multiple factors across different asset classes. By combining nine key market indicators, it produces an overall risk sentiment score, giving me a clearer picture of the market's mood before I apply my Ichimoku strategy.
Rationale
While Ichimoku is powerful for identifying trends and potential entry points, I realised it doesn't always capture the broader market context. Markets don't exist in isolation—they're influenced by a myriad of factors including volatility, economic indicators, and cross-asset relationships. By creating this indicator, I aimed to fill that gap, providing myself with a macro view that complements my Ichimoku analysis.
How It Works
The indicator analyses nine different market factors:
VIX (Volatility Index): Measures market expectations of near-term volatility.
S&P 500 Performance: Represents the overall US stock market performance.
US 10-Year Treasury Yield: Indicates bond market sentiment and economic outlook.
Gold Price Movement: Often seen as a safe-haven asset.
US Dollar Index: Measures the strength of the USD against a basket of currencies.
Emerging Markets Performance: Represents risk appetite for higher-risk markets.
High Yield Bond Spreads: Indicates credit market risk sentiment.
Copper/Gold Ratio: An economic growth indicator.
Put/Call Ratio: Measures overall market sentiment based on options trading.
Each factor is assigned a score based on its z-score relative to its recent history, then weighted according to its perceived importance. The overall risk score is a weighted average of these individual scores.
How I Use It
Before applying my Ichimoku strategy, I first check this indicator to gauge the overall market sentiment:
I look at the blue line plotted on the chart, which represents the overall risk score.
I note the background colour: green for risk-on (positive score) and red for risk-off (negative score).
I check the label in the lower-left corner, which provides specific FX pair recommendations and market expectations.
In a risk-on environment (positive score):
I focus on long positions in AUD/JPY, NZD/JPY, EUR/USD, etc.
I look for short opportunities in USD/CAD, USD/NOK, etc.
I expect commodities and yields to rise
In a risk-off environment (negative score):
I focus on long positions in USD/JPY, USD/CHF, USD/CAD
I look for short opportunities in AUD/USD, NZD/USD, EUR/USD
I expect increased volatility and falling yields
The strength of the sentiment is reflected in how close the score is to either 1 (strong risk-on) or -1 (strong risk-off). This helps me gauge how aggressive or conservative I should be with my Ichimoku trades.
Customisation
I've designed this indicator to be flexible. You can modify it to:
Adjust the lookback period and moving average length (both default to 30)
Change the weighting of different factors in the final score calculation
Include or exclude specific factors based on your analysis needs
By combining this Macro Risk On/Off Sentiment Indicator with my Ichimoku analysis, I've found I can make more informed trading decisions, taking into account both the technical setups I see on the chart and the broader market context.
Analyst Table (Zeiierman)█ Overview
The Analyst Table (Zeiierman) provides a comprehensive visual representation of analyst estimates and recommendations for any stock. This indicator displays crucial analyst data, including the highest, average, and lowest price targets, directly on the price chart. Additionally, it features a well-organized table summarizing various types of analyst recommendations, offering traders valuable insights into market sentiment and expectations. This tool is ideal for traders seeking a quick overview of analyst opinions and recommendations on specific stocks.
█ How It Works
The indicator works by retrieving analyst data such as price targets and recommendations from the TradingView data feed. It visually represents these estimates on the chart and creates a structured table for easy reference, consolidating all the information in an organized format.
Key Components:
High Estimate Line: A dotted line representing the highest price target.
Low Estimate Line: A dotted line representing the lowest price target.
Target Estimate Box: A box representing the range between the average and median price targets.
Analyst Table: A table displaying detailed information about various analyst recommendations and price targets.
█ How to Use
Traders can use this indicator to gain insights into the expectations of financial analysts regarding the future performance of an asset. By observing the highest, lowest, and average price targets, traders can assess the range of possible future prices as predicted by analysts. The recommendation table helps in understanding the general sentiment among analysts, whether it's bullish, bearish, or neutral.
Visual Analysis: Use the visual indicators to quickly gauge where the current price stands relative to analyst targets.
Sentiment Assessment: Refer to the table to understand the distribution of buy, hold, and sell recommendations.
█ Settings
The indicator settings allow users to enable or disable different target lines, select colors for the lines and table cells, and choose the position and size of the analyst table on the chart.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Auto Anchored Volume ProfileAuto Anchored Volume profile indicator to identify potential support and resistance zones, along with weak and strong Point of Control (POC) levels.
Understanding the Concepts:
Volume Profile: This chart depicts trading activity at various price levels over a chosen timeframe. Higher volume areas represent price levels where most buying and selling happened.
Point of Control (POC): The price level with the highest volume traded within the timeframe. It represents the price where most agreement existed between buyers and sellers.
High Volume Nodes (HVN): Areas on the volume profile with significantly higher volume compared to surrounding areas. These can indicate potential support or resistance.
Delta (Sentimental): This volume profile type shows the difference between buying and selling volume at each price level. Positive delta indicates buying dominance, while negative delta suggests selling pressure.
Strategy Breakdown:
Identify Volume Shelves:
Look for areas with concentrated volume on the profile. These areas, called shelves, can act as support (high volume at lower prices) or resistance (high volume at higher prices).
Analyze POC Strength (POC Volume Percentage):
Calculate the Volume Percentage: (Volume at Price Level / Maximum HVN Volume over the Period) * 100
This ratio indicates the significance of the POC relative to the strongest volume area.
A high percentage suggests a strong POC, potentially indicating a more reliable support or resistance level.
A low percentage suggests a weak POC, with a higher chance of price breaking through that level.
Leverage Previous Session Data:
The strategy incorporates data from the previous session's POC and Highest Delta Node. These are displayed on the right side of the chart, extending the volume profile for reference.
Identify if the current price is trading above or below the previous session's POC. This can provide context for potential price direction.
The Highest Delta Node from the previous session indicates areas of strong buying or selling sentiment that might carry over to the current session.
Additional Anchor Point Types:
Pivot Points and Fixed Range Volume Profile can be added for further confirmation of support and resistance zones.
Pivot points are calculated automatically based on the price changes direction
Fixed Range Volume Profile focuses on a specific price range, allowing detailed analysis within that zone.
Timeframe Considerations(AUTO):
The resolution for calculating pivot points is determined automatically:
- For intraday resolutions up to and including 15 minutes, the daily (1D) timeframe is used.
- For intraday resolutions more than 15 minutes, the weekly (1W) timeframe is used.
- For daily resolutions, the monthly (1M) timeframe is used.
- For weekly and monthly resolutions, the 12-month (12M) timeframe is used.
Trading with the Strategy:
Look for price approaching a volume shelf identified on the profile.
Analyze the POC Volume Percentage to gauge the strength of the POC as potential support or resistance.
Consider the previous session's POC and Highest Delta Node for additional context.
Combine volume profile insights with other technical indicators and price action confirmation for entry and exit signals.
Remember, strong POCs with high volume shelves suggest more reliable support/resistance, while weak POCs indicate a higher chance of price movement beyond that level.
Important Notes:
Volume profile is a tool to identify potential trading zones, not a guaranteed predictor of future price movements.
Always practice proper risk management techniques, including stop-loss orders.
Backtest this strategy on historical data to understand its effectiveness before risking real capital.
By understanding volume distribution and POC strength, this strategy can help you make informed trading decisions based on where most buying and selling activity has occurred. Remember, a comprehensive trading approach that considers multiple factors is crucial for success.
Heat Map SeasonsHeat Map Seasons indicator
Indicator offers traders a unique perspective on market dynamics by visualizing seasonal trends and deviations from typical price behavior. By blending regression analysis with a color-coded heat map, this indicator highlights periods of heightened volatility and helps identify potential shifts in market sentiment.
Summer:
In the context of the indicator, "summer" represents a period of heightened volatility and upward price momentum in the market. This is analogous to the warmer months of the year when activities are typically more vibrant and energetic. During the "summer" phase indicated by the indicator, traders may observe strong bullish trends, increased trading volumes, and larger price movements. It suggests a favorable environment for bullish strategies, such as trend following or momentum trading. However, traders should exercise caution as heightened volatility can also lead to increased risk and potential drawdowns.
Winter:
Conversely, "winter" signifies a period of decreased volatility and potentially sideways or bearish price action in the market. Similar to the colder months of the year when activities tend to slow down, the "winter" phase in the indicator suggests a quieter market environment with subdued price movements and lower trading volumes. During this phase, traders may encounter choppy price action, consolidation patterns, or even downtrends. It indicates a challenging environment for trend-following strategies and may require a more cautious approach, such as range-bound or mean-reversion trading strategies.
In summary, the "summer" and "winter" phases in the "Heat Map Seasons" indicator provide traders with valuable insights into the prevailing market sentiment and can help inform their trading decisions based on the observed levels of volatility and price momentum.
How to Use:
Watch for price bars that deviate significantly from the regression line , as these may signal potential trading opportunities.
Use the seasonal gauge to gauge the current market sentiment and adjust trading strategies accordingly.
Experiment with different settings for Length and Heat Sensitivity to customize the indicator to your trading style and preferences.
The "Heat Map Seasons" indicator can potentially identify overheated market tops and bottoms on a weekly timeframe by detecting significant deviations from the regression line and observing extreme color gradients in the heat map. Here's how it can be used for this purpose:
Observing Extreme Color Gradients:
When the market is overheated and reaches a potential top, you may observe extremely warm colors (e.g., deep red) in the heat map section of the indicator.
Traders can interpret this as a warning sign of a potential market top, indicating that bullish momentum may be reaching unsustainable levels.
Conversely, when prices deviate too far below the regression line, it may indicate oversold conditions and a potential bottom.
Potential Tops and Bottoms:
User Inputs:
Length: Determines the length of the regression analysis period.
Heat Sensitivity: Controls the sensitivity of the heat map to deviations from the regression line.
Show Regression Line: Option to display or hide the regression line on the chart
Note: This indicator is best used in conjunction with other technical analysis tools and should not be relied upon as the sole basis for trading decisions.
Money Flow Profile [LuxAlgo]The Money Flow Profile is a charting tool that measures the traded volume or the money flow at all price levels on the market over a specified time period and highlights the relationship between the price of a given asset and the willingness of traders to either buy or sell it, allowing traders to reveal dominant and/or significant price levels and to analyze the trading activity of a particular user-selected range.
This tool combines a volume/money flow profile, a sentiment profile, and price levels, where the right side of the profile highlights the distribution of the traded activity/money flow at different price levels, the left side of the profile highlights the market sentiment at those price levels, and in the middle the price levels.
🔶 USAGE
A volume/money flow profile is an advanced charting tool that displays the traded volume/money flow at different price levels over a specific period. It helps traders visualize where the majority of trading activity/money flow has occurred.
A sentiment profile is a difference between buy and sell volume/money flow aiming to highlight the sentiment/dominance at specific price levels.
Each row of the profile presents figures on volume and money flow specific to price levels.
High volume/money flow nodes indicate areas of high activity and are likely to act as support or resistance in the future. They attract price and try to hold it there. Conversely, low-volume nodes are areas with low trading activity, that are less subject to get revisited by the price. The market often bounces right over these levels, not staying for long. The "Profile Heatmap" option of the script helps to better emphasize the trading activity within each areas.
By measuring the traded activity at each price level the script presents an ability to highlight the consolidation zones, in other words, highlights accumulation and distribution zones. When the price moves toward one end of the consolidation and volume pick up, it can foreshadow a potential breakout.
Level of Significance, Point of Control, Highest Sentiment Zone, and Profile Price levels are some of the other profile-related options available with the script.
🔶 SETTINGS
The script takes into account user-defined parameters and plots the profiles, where detailed usage for each user-defined input parameter in indicator settings is provided with the related input's tooltip.
🔹 Profile Generic Settings
Lookback Length / Fixed Range: Sets the lookback length.
Profile Source: Sets the profile source, Volume, or Money Flow.
🔹 Profile Presentation Settings
Volume/Money Flow Profile: Toggles the visibility of the Volume/Money Flow Profile.
High Traded Nodes: Threshold and Color option for high traded nodes.
Average Traded Nodes: Color option for average traded nodes.
Low Traded Nodes: Threshold and Color option for low traded nodes.
🔹 Sentiment Profile Settings
Sentiment Profile: Toggles the visibility of the Sentiment Profile.
Sentiment Polarity Method: Sets the method used to calculate the up/down volume/money flow.
Bullish Nodes: Color option for Bullish Nodes.
Bearish Nodes: Color option for Bearish Nodes.
🔹 Profile Heatmap Settings
Profile Heatmap: Toggles the visibility of the profile heatmap.
Heatmap Source: Sets the source of the profile heatmap, Volume/Money Flow Profile, or Sentiment Profile.
Heatmap Transparency: Control the transparency of the profile heatmap.
🔹 Other Presentation Settings
Level of Significance: Toggles the visibility of the level of significance line/zone.
Consolidation Zones: Toggles the visibility of the consolidation zones.
Consolidation Threshold, Color: Sets the threshold value and zone color.
Highest Sentiment Zone: Toggles the visibility of the highest bullish or bearish sentiment zone.
Profile Price Levels, Color, Size: Toggles the visibility of the profile price levels, and sets the color and the size of the level labels.
Profile Range Background Fill: Toggles the visibility of the profiles range.
🔹 Other Settings
Number of Rows: Specify how many rows each profile histogram will have.
Profile Width %: Alters the width of the rows in the histogram, relative to the profile length
Profile Text Size: Alters the size of the text. Setting to Auto will keep the text within the box limits.
Profile Horizontal Offset: Enables to move profile in the horizontal axis.
🔶 RELATED SCRIPTS
Liquidity-Sentiment-Profile
Swing-Volume-Profiles
For more and other conceptual scripts you are kindly invited to visit LuxAlgo-Scripts .
STIC bullish and bearish hunter with FVGSmart Trading and Investment Companion (STIC) is a sophisticated tool designed to identify and visualize inducement, market structure, market trends, track liquidity, and project and forecast price action for all applicable assets. it has been tested to work on all timeframes and has been traded on stock, forex, and crypto assets.
This script is an upgraded version of previous STIC indicator, which you can use in addition to it or separately as you deem fit
Traders/ investor that are familiar with market structure, inducement, candlestick psychology, trend-following indicatorsand Fair Value Gap FVG will find it easy to adopt this trading and investment companion. As stated below, this is how it works.
Features and how to use
1st of all, after adding the indicator to yoursuperchart, you want to endusre to set your to so as to enable you see the text labeling clearly. to do that, after adding the indicator to your chart, right click it on the list, you will se the Visual order option.
Special Extreme Alert!
By analyzing the trends and dimensions, we are able to predict market extremes conditions, especially in pump and dump scenarios. (the bullish or bearish P/D extreme alerts).
Market flip arrow
The arrows trigger to indicate when the market flips to bullish (green) or bearish (red) conditions. note that this arrow is just a market flip confirmation and it it triggered by market trends, it does not come one time and sometimes later after market trigger conditions had been met.
circled in white.
Buy or sell potential {The tiny yelow(sell) and blue(buy) triangle}
By analyzing market extreme conditions, market sentiment, and liquidity, the buy/sell potential alert trigger is able to determine the state of the market, This can and should be used in combination with the market flip line (MFL) [the yellow line from , market flip trigger (MFT) (purple line), and market support/resistance line (MSR)(blue line) .
Market flip Line (Blue line) (MFL): the MFL is useful to also understand the market phase; a candle close above the MFL is bullish, while a candle close Below, the MFL is bearish. You are, however, expected to experience market retests and rejections coupled with support and resistance to follow through with the predicted direction. Patience is a valuable virtue in trading.
Extended sell or buy hunt (Red and Green Triangle)
this is real-time triangles indicator just like every other indicator on theis chart that indicates the market direction labeled with buy and sell. Note that the market-extended extreme can occur multiple times in the same direction. Hence, we'll advise having multiple trade entries.
The flip support line
Market Flip Trigger Line (MFTL) (Magenta): When the market crosses and closes below or above the Market Flip Trigger Line, you should wait for a confirmation. a confirmation is usually a retest or rejection of the line. A candle close and reject indicates the market as flip direction and it is going for a correction or major reversal. it is applicable on all timeframe.
As mentioned earlier, if you understand market structure and sentiment, using the uFVG, iFVG, upLQTY, downLQTY and BOS will be easy. however, this is how it works, you may need tohave and expanded readbout market structure for additional knowledge.
upLQTY (Bullish liquidity inducement)
The indicator appear at the close and confirmation on the 3rd candle and it is extended to only appear on 200 bars applicable on all timeframes.
This is a bullish sentiment and liquidty inducement order block that occurs, leading to the break of trend structure and change of character. Meaning the market sentiment as change which is backed up by liquidity in that region, which mostly gets filled, especially on lower timeframes before the price action continues. If price revese breaks and hold above this region, it invalidates the order block. This will always appear when there is a confirmed change of character CHoCH to the bullish side.
downLQTY (Bearish liquidity inducement) The indicator appear at the close and confirmation on the 3rd candle and it is extended to only appear on 200 bars applicable on all timeframes. It is and inverse of the upLQTY.
like order block, these are supply and demand zones that has the potential to change the direction of a trade. This is a bearish order block that occurs, leading to the break of structure and change of character. Meaning there is bearish liquidity yet to be accounted for in the region, which mostly gets filled, especially on lower timeframes before the price action continues. If broken, it invalidates the order block. This will always appear when there is a confirmed change of character from CHoCH to the bearish side.
Fair Value Gap
From general knowledge, FVG also know as Fair value gaps are inbalnace created by a 3 candlestick pattern where the top of the bottom candles doesn't cross the bottom of the top candle. like order block, these are supply and demand zones that has the potential to change the direction of a trade. This mostly indicate the presense of big plays in the market. for STIC indicator, FVG are labeled as listed below;
UFVG, also FVGup, {Colour green box} = bullish imbalance fair value gap
IFVG, aka FVGdown, {Red box} = bearish imbalance fair value gap
OIFVG, {Yellow box, no label} = other imbalances fair value gab
You should not that FG has upper, lower and middle band, any of the this area can be induced and filled by price.
Alert Conditions!
Buy alert conditions
- Any bullish buy alert
- Bullish hunt
- Re-entry Buy
- Sharp Market Sell rejection
- Buy potential
- upLQTY
Long position Exit conditions
- ExtremeB
- Profit
- Sell hunt
The Entry, exit and trail profit alert trigger should be used as position exit conditions either for a Long (Buy) or Short (Sell) situation and should be set as OPB (Once Per Bar). Using it as entry for exit or vice versa as shown not to be very profitable. hence the need to combine with other order entry alerts like the Any bullish or Bearish alerts
Sell alert conditions ( NOTE: All Sell alert are not yet included in this current version as this is targeted towards bullrun.)
- Sell potential
- Sell triangle (Sell hunt)
- downLQTY
and any trail profit alert, this alert put into consideration all the conditions required to trail profit.
Risk management advice
Patience and a good risk management strategy are required to be profitable trader using this tool. You need to ensure not to overleverage, and you should have multiple entries in case the buy coditions/alert shows again below the previous buy alert before a sell condition/alert occurs.
Oster's Vola Sentiment (OVS)Overview:
Oster's Vola Sentiment (OVS) is an indicator that reflects market sentiment dynamics based on volatility , employing Oster's Volatility Method for calculation. Inspired by traditional volatility analysis, this indicator provides a versatile tool for traders to interpret market sentiments and identify potential trading opportunities, including potential reversal points . By adjusting the period length in the settings, users can fine-tune OVS sensitivity to capture buy or sell signals, achieving different signal qualities.
Sophisticated Calculation Methodology:
The OVS derives insights from Oster's Volatility Method, utilizing metrics related to price range and movement to assess market dynamics. It calculates the relative movement index, providing traders with a quantifiable measure of market sentiment. Additionally, OVS incorporates the Average True Range (ATR) to further refine its analysis, ensuring comprehensive insights into market volatility dynamics.
Interpretation:
Oster's Vola Sentiment (OVS) , represented on the chart, offers traders insights into market sentiment dynamics and potential reversal points . Values above 0 indicate a buy tendency, suggesting favorable conditions for buying opportunities, while values below 0 suggest a sell tendency, signaling potential selling pressure. The probability of a significant market move increases as OVS values approach the predefined buy or sell thresholds. Values exceeding the buy threshold indicate stronger buying signals, while values below the sell threshold signify stronger selling signals. By aligning these interpretations with the trader's investment strategy, OVS aids in decision-making processes, offering nuanced perspectives on market movements.
Dynamic Color Coding for Visual Clarity:
To enhance user experience and facilitate quick decision-making, OVS incorporates dynamic color coding . Market conditions favoring selling are denoted by red hues, while those conducive to buying are highlighted in green. Neutral conditions, indicative of balanced market sentiment, are represented in neutral colors. This intuitive visual feedback enables traders to swiftly identify market opportunities and risks, empowering them to make informed trading decisions.
Customizable Parameters for Tailored Analysis:
Acknowledging the diverse trading preferences and strategies of its users, OVS offers customizable parameters. Traders can adjust the period length to fine-tune the indicator's sensitivity to their desired level, balancing the frequency and quality of signals according to their trading objectives. Additionally, OVSs alert functionalities allow traders to set personalized thresholds, aligning with their risk tolerance and market outlook.
Conclusion:
In conclusion, Oster's Vola Sentiment (OVS) emerges as a valuable addition to the trader's toolkit, offering a versatile and accessible approach to market analysis. Built upon Oster's Volatility Method and sophisticated calculation methodologies, OVS provides traders with actionable insights into market sentiment across various timeframes and asset classes , including potential reversal points. Its intuitive visualizations, coupled with customizable parameters and alert functionalities, empower traders to navigate dynamic market conditions with confidence. Whether you're a seasoned investor or a novice trader, OVS equips you with the tools needed to stay ahead in today's competitive markets.
Rotation Factor for TPO and OHLC (Plot)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as a plot, which, unlike its classic variation, shows you how the rotation factor is developing. It also includes lines indicating the Top Rotation Factor and the Bottom Rotation Factor individually, the better to observe the developing auction.
Link to the Classic Variation:
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels and Lines : The colour and sizes used by the labels and lines are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
4. Individual Top Rotation Factor and Bottom Rotation Factor plots : These two parts which becomes of the Rotation Factor are also presented individually, on their own plots, the better to observe the developing auction.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.
Rotation Factor for TPO and OHLC (Classic)The Rotation Factor objectively measures attempted market direction(or market sentiment) for a given period. It records the cumulative directional attempts of auction rotations within a given period, thus, helping traders determine which way the market is trying to go and which market participant is exerting greater control or influence.
Theory
The premise is that a greater number of bars auctioning higher contrasted to bars auctioning lower indicates that buyers are exerting greater control over price within the given period(usually daily). In this case, the market is attempting to go higher (Market is Bullish). The same is true for a greater number of bars auctioning lower than higher, which, in this case, indicates that the sellers are exerting greater control over price within the given period and that the market is attempting to go lower (Market is Bearish).
Calculation
Each bar is individually measured in relation to the immediate previous bar, and calculations are reset at the beginning of each period.
For every bar, two variables are utilised: One for the highs and another for the lows. During bar start, these variables are initiated at 0.
As the period progresses, these variables are set accordingly: If the high of the current bar is higher than that of the previous bar, then the bar's highs variable is assigned a "+1". If the opposite is true, it is given a "-1". Finally, if both bar highs are equal, it is, instead, assigned a "0". The same is true for the lows: if the low of the current bar is higher than that of the previous low, then the bar's lows variable is assigned a "+1". Similarly, the opposite is given a "-1", while equal lows causes it to be assigned a "0". All highs and lows are then summed together resulting to a total, which becomes the Rotational Factor.
Presentation
Furthermore, this Rotation Factor Indicator is presented as it is calculated, which is the presentation utilised by classic sources (hence the name classic).
Features
1. Customisable Tick Size/Granularity : The calculation tick size/ granularity is customisable which can be accessed through the indicator settings.
2. Customisable Labels : The colour and sizes used by the labels are customisable the better for accessibility.
3. Period Separator : A separator is rendered to represent period borders (start and end). If separators are already present on your chart, you can remove them from the indicator settings.
Works for both split Market Profile(TPO) charts and regular OHLC bars/candle charts
The Rotation Factor is usually used with a Split Market Profile (TPO). However, if no such tool is available, you will still be able to benefit from the Rotation Factor as the price ranges of Split Market Profiles and OHLC bars/candles are one and the same. In such cases, it is recommended that you set your chart to use a 30 minute timeframe and the indicator's period to "daily" to simulate a Split Market Profile.
Note :
The Rotation Factor is, to quote, "by no means not an all-conclusive indication of future market direction.". It only helps determine which way the market is trying to go by objectively measuring the market's directional attempts.