E9 PLRRThe E9 PLRR (Power Law Residual Ratio) is a custom-built indicator designed to evaluate the overvaluation or undervaluation of an asset, specifically by utilizing logarithmic price data and a power law-based model. It leverages a dynamic regression technique to assess the deviation of the current price from its expected value, giving insights into how much the price deviates from its long-term trend.
This indicator is primarily used to detect market extremes and cycles, often used in the analysis of long-term price movements in assets like Bitcoin, where cyclical behavior and significant price deviations are common.
This chart is back from 2019 and shows (From left to right) 2018 Bear market bottom at $3.5k (Dark Blue) , following a peak at 12k (dark red) before the Covid crash back down to EUROTLX:4K (Dark blue)
Key Components
Logarithmic Price Data:
The indicator works with logarithmic price data (ohlc4), which represents the average of open, high, low, and close prices. The logarithmic transformation is crucial in financial modeling, especially when analyzing long-term price data, as it normalizes exponential price growth patterns.
Dynamic Exponent 𝑘:
The model calculates a dynamic exponent k using regression, which defines the power law relationship between time and price. This exponent is essential in determining the expected power law price return and how far the current price deviates from that expected trend.
Power Law Price Return:
The power law price return is computed using the dynamic exponent
k over a defined period, such as 365 days (1 year). It represents the theoretical price return based on a power law relationship, which is used to compare against the actual logarithmic price data.
Risk-Free Rate:
The indicator incorporates an adjustable risk-free rate, allowing users to model the opportunity cost of holding an asset compared to risk-free alternatives. By default, the risk-free rate is set to 0%, but this can be modified depending on the user's requirements.
Volatility Adjustment:
A key feature of the PLRR is its ability to adjust for price volatility. The indicator smooths out short-term price fluctuations using a moving average, helping to detect longer-term cycles and trends.
PLRR Calculation:
The core of the indicator is the calculation of the Power Law Residual Ratio (PLRR). This is derived by subtracting the expected power law price return and risk-free rate from the logarithmic price return, then multiplying the result by a user-defined multiplier.
Color Gradient:
The PLRR values are represented visually using a color gradient. This gradient helps the user quickly identify whether the asset is in an undervalued, fair value, or overvalued state:
Dark Blue to Light Blue: Indicates undervaluation, with increasing blue tones representing a higher degree of undervaluation.
Green to Yellow: Represents fair value, where the price is aligned with the expected power law return.
Orange to Dark Red: Indicates overvaluation, with increasing red tones representing a higher degree of overvaluation.
Zero Line:
A zero line is plotted on the indicator chart, serving as a reference point. Values above the zero line suggest potential overvaluation, while values below indicate potential undervaluation.
Dots Visualization:
The PLRR is plotted using dots, with each dot color-coded based on the PLRR value. This dot-based visualization makes it easier to spot significant changes or reversals in market sentiment without overwhelming the user with continuous lines.
Bar Coloring:
The chart’s bars are colored in accordance with the PLRR value at each point in time, making it visually clear when an asset is potentially overvalued or undervalued.
Indicator Functionality
Cycle Identification : The E9 PLRR is especially useful for identifying cyclical market behavior. In assets like Bitcoin, which are known for their boom-bust cycles, the PLRR can help pinpoint when the market is likely entering a peak (overvaluation) or a trough (undervaluation).
Overvaluation and Undervaluation Detection: By comparing the current price to its expected power law return, the PLRR helps traders assess whether an asset is trading above or below its fair value. This is critical for long-term investors seeking to enter the market at undervalued levels and exit during periods of overvaluation.
Trend Following: The indicator helps users identify the broader trend by smoothing out short-term volatility. This makes it useful for both momentum traders looking to ride trends and contrarian traders seeking to capitalize on market extremes.
Customization
The E9 PLRR allows users to fine-tune several parameters based on their preferences or specific market conditions:
Lookback Period:
The user can adjust the lookback period (default: 100) to modify how the moving average and regression are calculated.
Risk-Free Rate:
Adjusting the risk-free rate allows for more realistic modeling of the opportunity cost of holding the asset.
Multiplier:
The multiplier (default: 5.688) amplifies the sensitivity of the PLRR, allowing users to adjust how aggressively the indicator responds to price movements.
This indicator was inspired by the works of Ashwin & PlanG and their work around powerLaw. Thank you. I hall be working on the calculation of this indicator moving forward to make improvements and optomisations.
指标和策略
Price Iterations with Pips*Script Name:* Price Iterations with Pips
*Description:* This script plots horizontal lines above and below a user-defined initial price, representing price iterations based on a specified number of pips.
*Functionality:*
1. Asks for user input:
- Initial Price
- Pips per Iteration
- Number of Iterations
2. Calculates the price change per pip.
3. Plots horizontal lines:
- Above the initial price (green)
- Below the initial price (red)
4. Extends lines dynamically to both sides.
*Use Cases:*
1. *Support and Resistance Levels:* Use the script to visualize potential support and resistance levels based on price iterations.
2. *Price Targets:* Set the initial price as a target and use the iterations to estimate potential profit/loss levels.
3. *Risk Management:* Utilize the script to visualize risk levels based on pip iterations.
4. *Technical Analysis:* Combine the script with other technical indicators to identify potential trading opportunities.
*Trading Platforms:* This script is designed for TradingView.
*How to Use:*
1. Add the script to your TradingView chart.
2. Set the initial price, pips per iteration, and number of iterations.
3. Adjust the colors and line styles as needed.
4. Zoom in/out and pan to see the lines adjust.
*Benefits:*
1. Visualize price iterations and potential support/resistance levels.
2. Simplify risk management and price target estimation.
3. Enhance technical analysis with customizable price levels.
NIFTY - Heatmap [DRK]Nifty 50 Heatmap by Percentage Change
This Pine Script generates a dynamic heatmap for the top 40 weighted stocks in the Nifty 50 index, ordered by their percentage change. The heatmap visually represents the performance of these stocks, with green indicating positive changes and red indicating negative changes.
Features :
Real-time Updates : The heatmap updates in real-time, providing an up-to-date snapshot of market performance.
Color Coding : Stocks are color-coded based on their percentage change, making it easy to identify gainers and losers at a glance.
Future Enhancements:
Indicator : Planned updates include popups or descriptions that provide additional insights, such as key indicators and their positive or negative signals.
Detailed Analysis : Future versions will offer more detailed analysis and insights to help traders make informed decisions.
Stay tuned for these exciting updates!
MCDX+RSI+SMA[THANHCONG]### Detailed Analysis of the MCDX+RSI+SMA Indicator
The MCDX+RSI+SMA indicator is designed to help investors conduct a deeper analysis of market trends by combining multiple technical factors into a single chart. This integration of popular indicators such as RSI, SMA, and Stochastic RSI provides investors with a comprehensive view of market movements, particularly in distinguishing between "Banker" and "Hot Money"—representing large and small capital flows.
#### Key Components of the Indicator:
1. **RSI for Banker and Hot Money:**
- **RSI (Relative Strength Index)** is a momentum oscillator that measures the speed and change of price movements, indicating overbought or oversold conditions. In this indicator, there are two distinct RSI lines configured for Banker (large capital) and Hot Money (small capital).
- Investors can adjust parameters like the RSI calculation period, baseline levels, and sensitivity for each type of capital flow, providing flexibility to adapt to varying market conditions.
2. **Moving Average (MA) of RSI:**
- The indicator employs two common types of Moving Averages: **SMA (Simple Moving Average)** and **EMA (Exponential Moving Average)**. These help smooth the RSI signals for Banker, offering a clearer view of the long-term trend of large capital in the market.
- Investors can select the type and period of the MA, allowing them to optimize the indicator for their trading style.
3. **Stochastic RSI:**
- The **Stochastic RSI** is incorporated to monitor overbought and oversold conditions over a specified timeframe. Parameters related to %K and %D of the Stochastic can also be adjusted to refine the accuracy of market signal analysis.
- A notable feature is the normalization of %K and %D on a 0-20 scale, making these lines compatible with other RSI charts, thus providing consistency in evaluating market strength.
4. **Overbought and Oversold Levels:**
- The indicator includes reference lines for overbought and oversold levels, aiding investors in identifying potential reversal zones in the market. This helps to avoid buying at excessively high prices or selling at excessively low prices.
#### Benefits for Investors:
- **Comprehensive View:** The indicator combines insights from both large (Banker) and small (Hot Money) capital flows, enabling investors to analyze not just trends but also the participation of each type of capital in the market.
- **Enhanced Technical Analysis:** By integrating multiple technical indicators within a single chart, investors can track important factors such as market momentum, overbought/oversold conditions, and capital flow shifts without needing to switch between various charts.
- **Flexibility and Customization:** The indicator allows adjustment of key parameters like the RSI period, sensitivity, type of MA, and Stochastic RSI settings, enabling investors to tailor the indicator to their trading strategy and timeframe.
- **Higher Reliability:** The combination of indicators like RSI, Stochastic RSI, and MA helps investors confirm trading signals more confidently. For instance, when both RSI and Stochastic RSI indicate overbought conditions, the likelihood of a reversal may be higher, reducing risk for investors.
#### Unique Features of the Indicator:
The MCDX+RSI+SMA indicator is a unique tool that integrates various market analysis factors into a single framework. This not only provides investors with a complete view of capital flows but also aids in optimizing decision-making based on multiple market aspects. Furthermore, its customizable parameters make it suitable for various trading strategies, from short-term to long-term.
Risk Contract Table by Soothing TradesDescription:
Risk Contract Table by Soothing Trades
This script provides an intuitive table that displays the calculated risk in dollars for various contract sizes based on the size of the last closed candle.
It is designed to help traders quickly assess their risk exposure based on the most recent price movement.
Key Features:
Automatic and Manual Tick Value Calculation: Automatically fetches the tick value for your instrument.
You can also override it with a manual input using a convenient checkbox.
Customizable Contract Sizes: Easily input your preferred contract sizes.
The script dynamically adjusts the table headers and risk calculations based on your inputs.
Real-Time Updates:
The table updates with each new candle close, ensuring that your risk calculations are always based on the latest candle size.
User-Friendly Display: The table is displayed directly on your chart with customizable colors for both text and background, making it easy to match your chart’s theme.
How to Use:
Tick Value: By default, the script uses the automatic tick value.
To manually set the tick value, check the "Use Manual Tick Value" box and enter your desired value.
Contract Sizes: You can input the number of contracts for each category (5ct, 10ct, 15ct, 17ct). The script calculates and displays the risk for each contract size based on the tick movement of the last closed candle only.
Real-Time Calculations: Risk calculations are updated only after the candle is closed, so there are no misleading values during live market activity.
Customization Options:
Manual Tick Value Override: Use a custom tick value by enabling the "Use Manual Tick Value" option.
Custom Contract Sizes: Input your desired contract sizes, and the table headers and risk calculations will update accordingly.
Color Customization: Customize the text and background colors to fit your chart’s aesthetic.
How It Works:
The script calculates the tick movement from the last closed candle and multiplies it by the specified tick value and the number of contracts.
You can choose to use the default automatic tick value or manually input your own.
A table appears on the chart showing the risk for different contract sizes based solely on the size of the last candle, providing a quick snapshot of potential exposure from the most recent price movement.
This script is ideal for traders who want to keep a quick and accurate overview of their potential risk exposure based on the size of the most recent price action.
Whether you are scalping, day trading, or holding positions overnight, this tool by Soothing Trades will help you stay informed and make better trading decisions.
Happy Trading!
- use at own risk, for education and test purpose only.
Developed by Soothing Trades
KLNI RSI MTFDescription of the RSI Multi-Timeframe Indicator
The RSI Multi-Timeframe Indicator allows you to track and compare the Relative Strength Index (RSI) across three different timeframes on the same chart. This is particularly useful for traders who want to gauge the momentum of an asset over multiple time periods simultaneously, helping to make more informed trading decisions.
Key Features
Multi-Timeframe RSI:
You can select up to three timeframes to plot RSI on the same chart.
Available timeframe options include:
Current: Displays RSI for the current chart timeframe.
60 minutes (1 hour)
Daily
Weekly
Monthly
Custom RSI Settings:
Adjust the RSI length and source (e.g., close price) through user inputs, allowing you to tailor the indicator to your strategy.
Divergence Detection (Optional):
The indicator can optionally detect and display bullish and bearish divergences between price and RSI for the first selected timeframe.
Bullish divergence is shown when price makes a lower low, but RSI makes a higher low.
Bearish divergence is shown when price makes a higher high, but RSI makes a lower high.
Visual Aids:
Overbought and oversold RSI levels are highlighted with background colors for clarity.
Horizontal lines at 70 (overbought), 50 (neutral), and 30 (oversold) help quickly identify RSI conditions.
How to Use This Indicator
Inputs & Settings
Timeframe Settings:
First Timeframe: Choose the primary timeframe (e.g., 60 minutes, Daily, Weekly).
Second Timeframe: Select the second timeframe to plot on the chart.
Third Timeframe: Select the third timeframe for additional RSI analysis.
RSI Settings:
RSI Length: Set the period for RSI calculation (default: 14).
Source: Select the price data for RSI calculation (default: close price).
Show Divergence: Enable or disable the detection of divergence between price and RSI.
Plotting on Chart
The indicator will display three distinct RSI plots for the selected timeframes:
RSI TF1 (blue line) for the first timeframe.
RSI TF2 (green line) for the second timeframe.
RSI TF3 (red line) for the third timeframe.
Each RSI line corresponds to its chosen timeframe, allowing you to see how RSI behaves across different time periods.
Reading the RSI Values
Overbought: When RSI is above 70, the asset is considered overbought, potentially signaling a sell or short entry.
Oversold: When RSI is below 30, the asset is considered oversold, possibly indicating a buying opportunity.
Neutral: RSI around 50 is neutral and may suggest a lack of clear momentum.
Divergence Detection
If enabled, the indicator will highlight points of divergence:
Bullish Divergence: A green label will appear below the chart where price is making lower lows, but RSI is making higher lows, suggesting potential bullish momentum.
Bearish Divergence: A red label will appear when price is making higher highs, but RSI is making lower highs, indicating potential bearish pressure.
Practical Applications
Momentum Confirmation: Use this indicator to confirm the strength of a trend by comparing RSI across multiple timeframes. For example, if RSI is above 50 on all three timeframes, it may confirm strong upward momentum.
Overbought/Oversold Signals: When RSI is overbought on multiple timeframes, it could signal an impending reversal or correction. Conversely, oversold conditions across timeframes might indicate a buy opportunity.
Divergence Detection: Spot divergence between price and RSI to identify potential trend reversals early. Divergence can provide early signals of changing market momentum.
Summary
This indicator is a powerful tool for multi-timeframe RSI analysis, helping traders understand momentum shifts across different timeframes. It offers customizability, divergence detection, and visual aids to streamline your technical analysis and decision-making process.
MM Relative Volume (RVOL)What this script does:
This script shows you the "Relative Volume" (RVOL) value up to the current minute. RVOL is the volume from market open up to the current minute today, compared to the average of the same over the last n (30 by default) days.
How this script works:
There are a lot of indicators out there for RVOL, but they all take shortcuts that result in sub-par data. This indicator goes the distance to store data for every minute for the last n days for the current chart, then in sums the volume up to the current minute today along with the average of the same up-to-the-minute data from the prior n days to calculate the relative volume of the stock. It's super important to get this data up to the current minute, because most traders use this information primarily during the first 90 minutes of trading, and need to know if this value is going up or down.
How to use this script:
Relative volume can be used to gauge how "In Play" a stock is. If RVOL is less than 1 it is not "In Play" on this trading day and you might not want to trade it. If RVOL is above 2, it is "In Play" and you may want to trade it. When stocks are very "In Play", you can see an RVOL of 5 and above. The higher the RVOL the more "In Play" the stock is. You can also used RVOL for position sizing. If RVOL is <1 you may decide not to take a large position in the name. If RVOL is >3, this may give you more confidence to take a larger position as more reward and more liquidity should be present.
What makes this script original:
This particular implementation of RVOL has never been done before on TradingView to my knowledge. Most other indicators use a rolling average of the prior 30 days which is much easier to do, but this doesn't actually work properly because instead of getting large volume spikes from prior days filtered out correctly, it takes a LOT longer for those to even out as the rolling average eventually smooths down. Instead, with this indicator, any large/small volume days will truly drop off after the moving average length and the calculated average daily volume (ADV) will be accurate up to the minute. For more details on the original concept behind this indicator, check out the blog linked on my profile.
Price Action Volumetric Breaker Blocks [UAlgo]The Price Action Volumetric Breaker Blocks indicator is designed to identify and visualize significant price levels in the market. It combines concepts of price action, volume analysis, and market structure to provide traders with a comprehensive view of potential support and resistance areas. This indicator identifies "breaker blocks," which are price zones where the market has shown significant interest in the past.
These blocks are created based on swing highs and lows, and are further analyzed using volume data to determine their strength. The indicator also tracks market structure shifts, providing additional context to price movements.
By visualizing these key levels and market structure changes, traders can gain insights into potential areas of price reversal or continuation, helping them make more informed trading decisions.
🔶 Key Features
Dynamic Breaker Block Identification: The indicator automatically detects and draws breaker blocks based on swing highs and lows. These blocks represent areas of potential support and resistance.
Volume-Weighted Strength Analysis: Each breaker block is analyzed using volume data to determine its bullish and bearish strength. This is visually represented by the proportion of green (bullish) and red (bearish) coloring within each block.
Market Structure Break (MSB) and Break of Structure (BOS): The indicator identifies and labels Market Structure Breaks (MSB) and Break of Structure (BOS) events, providing context to larger market trends.
Customizable Settings:
- Adjustable swing length for identifying pivot points
- Option to show a specific number of recent breaker blocks
- Choice between wick or close price for violation checks
- Toggle to hide overlapping blocks for cleaner analysis
Violation Detection: Automatically detects when a breaker block has been violated (broken through), either by wick or close price, depending on user settings.
Overlap Control: Provides an option to hide overlapping order blocks, ensuring that the chart remains clean and easy to read when multiple blocks are detected in close proximity.
🔶 Interpreting Indicator
Breaker Blocks:
Breaker blocks are key areas where the price moves through and invalidates a previously identified order block. The indicator detects a breaker block when the price violates an order block by exceeding its high or low (depending on whether it's a bullish or bearish block). This violation is determined by either the wick or the close of a candle, depending on the user's selection in the "Violation Check" setting. When a breaker block is detected, the indicator removes the violated order block from the chart, signaling that the zone is no longer relevant for future price action.
Bullish Breaker Block: This occurs when a bearish order block (red) is violated by the price closing above the block’s top boundary or when the wick surpasses this level. It signals that a prior bearish structure has been invalidated, and the market may shift to a bullish trend.
Bearish Breaker Block: This occurs when a bullish order block (teal) is violated by the price closing below the block’s bottom boundary or when the wick drops below it. It suggests that a previous bullish structure has been broken, indicating potential bearish momentum.
Market Structure Labels:
"MSB" (Market Structure Break) labels indicate a potential change in trend direction.
"BOS" (Break of Structure) labels confirm the continuation of the current trend after breaking a significant level.
Block Strength:
A block with more green indicates stronger bullish interest.
A block with more red indicates stronger bearish interest.
The relative sizes of the green and red portions show the balance of power between buyers and sellers at that level.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
S&R Precision Cloud by Dr. Abiram Sivprasad -4 directional biasDescription of the Script
**Script Name:** S&R Precision Cloud by Dr. Abhiram Sivprasad
**Overview:**
This script is designed to identify key support and resistance levels using the Central Pivot Range (CPR) methodology along with daily, weekly, and monthly pivots. It incorporates the Lagging Span from the Ichimoku Cloud to enhance decision-making in trading strategies for intraday, swing, and long-term positions mainly for directional bias.
---
### Key Components:
1. **Central Pivot Range (CPR):**
- **Central Pivot (CP):** Calculated as the average of the high, low, and close prices. This serves as a reference point for price action.
- **Below Central Pivot (BC) and Top Central Pivot (TC):** Derived to create a range that aids in identifying support and resistance levels.
2. **Support and Resistance Levels:**
- The script computes three support (S1, S2, S3) and resistance (R1, R2, R3) levels based on the Central Pivot.
- These levels are plotted for daily, weekly, and monthly time frames, providing traders with multiple reference points.
3. **Lagging Span:**
- The Lagging Span is plotted as the closing price shifted backward by 26 periods (as per Ichimoku settings).
- This serves as a filter for trade entries, where positions should only be taken in the direction opposite to where the price is relative to this line.
4. **User Inputs:**
- The script allows customization through checkboxes to plot daily, weekly, and monthly support and resistance levels as needed.
- Users can choose whether to display CPR and various support/resistance levels for better visual clarity.
5. **Color Coding:**
- The support and resistance lines are color-coded to distinguish between different levels (green for support, red for resistance, and blue for pivots).
---
### Trading Strategies:
- **Intraday Trading:**
- Utilize price movements around the Lagging Span and support/resistance levels for quick trades.
- **Swing Trading:**
- Identify potential reversal points at S2 and R2 levels, confirmed by divergences in price movement.
- **Long-Term Trading:**
- Monitor price behavior against the Lagging Span and significant pivot levels to capture longer trends.
---
### Summary:
This script equips traders with essential tools for technical analysis by clearly defining critical price levels and incorporating the Lagging Span for directional bias. It is suitable for various trading styles, including intraday, swing, and long-term strategies, making it a versatile addition to any trader’s toolkit.
BinaryInsertionSortLibrary "BinaryInsertionSort"
Library containing functions which can help create sorted array based on binary insertion sort.
This sorting will be quicker than array.sort function if the sorting needs to be done on every bar and the size of the array is comparatively big.
method binary_search_basic(sortedArray, item, order)
binary_search_basic - finds the closest index of the value
Namespace types: array
Parameters:
sortedArray (array) : array which is assumed to be sorted in the requested order
item (float) : float item which needs to be searched in the sorted array
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns: int index at which the item can be inserted into sorted array
method binary_search_basic(sortedArray, item, order)
binary_search_basic - finds the closest index of the value
Namespace types: array
Parameters:
sortedArray (array) : array which is assumed to be sorted in the requested order
item (int) : int item which needs to be searched in the sorted array
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns: int index at which the item can be inserted into sorted array
method binary_insertion_sort(sortedArray, item, order)
binary insertion sort - inserts item into sorted array while maintaining sort order
Namespace types: array
Parameters:
sortedArray (array) : array which is assumed to be sorted in the requested order
item (float) : float item which needs to be inserted into sorted array
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns: int index at which the item is inserted into sorted array
method binary_insertion_sort(sortedArray, item, order)
binary insertion sort - inserts item into sorted array while maintaining sort order
Namespace types: array
Parameters:
sortedArray (array) : array which is assumed to be sorted in the requested order
item (int) : int item which needs to be inserted into sorted array
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns: int index at which the item is inserted into sorted array
update_sort_indices(sortIndices, newItemIndex)
adds the sort index of new item added to sorted array and also updates existing sort indices.
Parameters:
sortIndices (array) : array containing sort indices of an array.
newItemIndex (int) : sort index of new item added to sorted array
Returns: void
get_array_of_series(item, order)
Converts series into array and sorted array.
Parameters:
item (float) : float series
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns:
get_array_of_series(item, order)
Converts series into array and sorted array.
Parameters:
item (int) : int series
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns:
get_sorted_arrays(item, order)
Converts series into array and sorted array. Also calculates the sort order of the value array
Parameters:
item (float) : float|int series
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns:
get_sorted_arrays(item, order)
Converts series into array and sorted array. Also calculates the sort order of the value array
Parameters:
item (int) : int series
order (int) : Sort order - positive number means ascending order whereas negative number represents descending order
Returns:
Outlier changes alertAn indicator that calculates click (price change), percentage change, and Z-score changes while displaying outliers based on defined ranges.
Outlier Detection:
Mark outliers (for price, percentage, Z-score) based on user-defined thresholds. For example, any price movement exceeding a certain Z-score or percentage change could be marked as an outlier and displayed on chart.
Indicator Overview:
1. Click (Price Change):
Calculate the absolute price change from one period to another (e.g., from the current closing price to the previous closing price).
2. Percentage Change:
Calculate the percentage price change over a specific period, showing how much the price has changed in relative terms compared to the previous price.
3. Z-Score:
Compute the Z-score to standardize the price change relative to its historical average and standard deviation. The Z-score helps in detecting whether a price movement is an outlier or falls within a normal range of volatility.
Hourly Separator + Opening LineThis indicator shows the vertical and horizontal opening lines for the hourly timeframe.
Also has options to choose a different opening time:
- 1 Hour
- 30 Min
- 15 Min
- 10 Min
- 5 Min
China's stock market Limit up / Limit downThe price limit system in China’s stock market is a regulatory measure implemented by the Chinese securities authorities to curb excessive speculation. It refers to the maximum allowable daily price fluctuation of a stock, which cannot exceed a certain percentage of the previous trading day's closing price. For regular stocks, the daily price movement limit is 10%. For stocks under special treatment (ST stocks), the maximum daily price movement is restricted to 5%. There is no price limit on the listing day of newly issued stocks or stocks undergoing a rights issue. This indicator highlights the K-lines (candlesticks) of stocks that have hit the upper or lower price limits with different background colors and lists the recent number of instances of limit-up and limit-down occurrences in a table format.
Custom Time Range HighlighterCustom Time Range Highlighter
This versatile indicator allows traders to highlight specific time ranges on their charts, accommodating users worldwide by supporting customizable UTC offsets. Traders can define two distinct time ranges, setting start and end hours in their local time zone.
A toggle option enables the display of highlights for today only , ensuring focus on current trading conditions.
Ideal for day traders and those following specific market sessions, this tool enhances visibility of active trading periods and aids in effective trade management.
Liquidity Zones [BigBeluga]This indicator is designed to detect liquidity zones on the chart by identifying significant pivot highs and lows filtered by volume strength. It plots these zones as boxes, highlighting areas where liquidity is likely to accumulate. The indicator also draws lines extending from these boxes, marking the levels where price may "grab" this liquidity. The size of these boxes can be dynamic, adjusting based on the volume size, offering a visual representation of market areas where traders might expect significant price reactions.
🔵 IDEA
The idea behind the Liquidity Zones indicator is to help traders identify key market levels where liquidity accumulates. Liquidity zones are areas where there are enough buy or sell orders that can potentially lead to significant price movements. By focusing on pivot points filtered by volume strength, the indicator aims to provide a clearer picture of where large players may have positioned their orders. This insight allows traders to anticipate potential market reactions, such as reversals or breakouts, when the price reaches these zones. The option for dynamic box height further refines the visualization, showing the extent of liquidity based on the volume's intensity.
🔵 KEY FEATURES & USAGE
◉ Volume-Filtered Pivot Highs and Lows:
The indicator scans for pivot highs and lows on the chart, filtering these points based on the volume strength setting (Low, Mid, High). This ensures that only the most significant liquidity zones, backed by notable trading volume, are highlighted. Traders can adjust the filter to focus on different levels of market activity, from small fluctuations to major volume spikes.
Low:
Mid:
High:
◉ Dynamic and Static Liquidity Zones:
Liquidity zones are plotted as boxes around pivot points, with an optional dynamic mode that adjusts the box height based on the normalized volume. This dynamic adjustment reflects the liquidity carried by the volume, making it easier to gauge the significance of each zone. In static mode, the boxes have a fixed height, providing a consistent visual reference for the zones.
◉ Color Intensity Based on Volume:
The indicator adjusts the color intensity of the liquidity zones based on the volume strength. Higher volume zones will be displayed with more intense colors, giving a visual cue to the strength of the liquidity present in that area. This makes it easier to differentiate between zones of varying importance at a glance, allowing traders to quickly identify where the market has the highest concentration of liquidity.
◉ Liquidity Grab Detection and Red Circles:
When the price interacts with a liquidity zone, the indicator detects whether liquidity has been "grabbed" at these levels. If the price moves into a zone and crosses a level, the box label changes to "Liquidity Grabbed," and the line marking the level becomes dashed.
Reversal Points:
The beginning of a trend:
Additionally marks these "liquidity grabs" with red circles, indicating both recent and past liquidity grabs. This feature helps traders identify areas where liquidity has been absorbed by the market, which may signal potential reversals or shifts in market direction.
◉ Dashboard Display:
A dashboard in the upper right corner of the chart provides an overview of the indicator's settings and status. It shows the number of plotted zones, as set in the input settings, and whether the dynamic mode is active. This quick reference helps traders stay informed about the indicator's configuration without needing to open the settings panel.
🔵 CUSTOMIZATION
Length & Zones Amount: Set the length for pivot detection and the maximum number of zones to be displayed on the chart. This allows you to control how many liquidity zones you want to monitor at any given time.
Volume Strength Filter: Adjust the filter to Low, Mid, or High to control the strength of volume required for a pivot to be considered a significant liquidity zone. Higher settings focus on zones with greater volume, indicating stronger liquidity.
Dynamic Distance Mode: Enable or disable the dynamic mode, which adjusts the box height based on the volume size. When dynamic mode is off, the boxes have a fixed height based on the ATR, offering a consistent visualization regardless of the volume size.
The Liquidity Zones indicator is a versatile tool for identifying areas of significant market activity, offering a clear view of where liquidity is likely to reside. By filtering these zones through volume strength and providing dynamic or static visualization options, it equips traders with insights into potential market reaction points, enhancing their ability to anticipate and respond to market movements. The varying color intensity based on volume further aids in quickly recognizing the most critical liquidity zones on the chart.
Info DisplayThis indicator can display the code, time period and current date of the selected commodity in real time in the upper right corner of the screen.
The display size of the 3 display fonts can be adjusted in the options.