@tk · spectral█ OVERVIEW
This script is an indicator that helps traders to identify the price difference between spot and futures of the current crypto plotted into the chart. It works in both types of markets, when the chart is plotting the crypto in spot market, it will compare with its respective futures ticker and vice-versa. If the current asset isn't a crypt ticker, the indicator will not be plotted into the chart.
█ MOTIVATION
Since crypto's derivative market is based on spot market asset's price, to calculate the arbitrage mechanisms that attempts to balance the asset price, this indicator can help traders to identify some spot and futures price divergence that can create an anomaly of funding rate and can push it to an extreme negative — or positive — rate. So, easing to track the price difference between both markets will bring more evidences to identify an artificial price move, specially in crypto assets with low market cap.
█ CONCEPT
The trading concept to use this indicator is the concept of the arbitrage machamism created by exchanges that calculates the funding rate based on spot and futures price difference that will vary from exchange to exchange. This strategy don't works alone. It needs to be aligned together with others indicators like Exponential Moving Averages, Chart Patterns, Support and Resistance, and so on... Even more confluences that you have, bigger are your chances to increase the probability for a successful trade. So, don't use this indicator alone. Compose a trading strategy and use it to improve your analysis.
█ CUSTOMIZATION
This indicator allows the trader to customize the following settings:
GENERAL
Text size
Changes the font size of price difference table to improve accessibility.
Type: string
Options: `tiny`, `small`, `normal`, `large`.
Default: `small`
Position
Changes the position of price difference table.
Type: string
Options: `top_left`, `top_center`, `top_right`, `middle_left`, `middle_center`, `middle_right`, `bottom_left`, `bottom_center`, `bottom_right`.
Default: `bottom_right`
Pair Quote
The ticker quote symbol that will be used to base the ticker comparison from spot to futures (e.g. BTCUSDT which `USDT` is the quote. ETHBTC which `BTC` is the quote).
Type: string
Default: USDT
Spectrum Color
The color of the spectrum candles. Spectrum candles are the candles of the opposite market. If the current ticker is in the spot market, the spectrum candles will be the price of the futures market.
Type: color
Default: #434651
█ FUNCTIONS
The indicator contains the following functions:
stripStarts(src, str)
Strips a defined pattern from a string.
Parameters:
src: (string) Source string
str: (string) String pattern to be stripped from start of source string.
Returns: (string) Stripped string with matched regex pattern.
תנודתיות
Noa: Z-distance from VWAP with Kalman Smoother
Title: Noa: Z-distance from VWAP with Kalman Smoother
Description:
The "Z-distance from VWAP with Kalman Smoother" is a tool constructed on the premise that price evolves in distinct stages: normal or extreme trends (upward or downward) and transitional periods, termed as 'flips'. The Volume Weighted Average Price (VWAP) serves as a benchmark, representing the market's expectation of a fair value over a given time frame. However, since each stock trades on its unique price scale, direct comparisons are not feasible. This script introduces a standardized method, using the Z-score from the VWAP, to understand and compare these relationships across diverse scales.
Core Principles:
Stages of Price Movement:
- Prices don't move purely randomly; while they contain a random element, they oscillate in discernible patterns or stages—either maintaining a trend (normal or extreme) or undergoing transition (flip).
- VWAP as Fair Value: VWAP offers a dynamic representation of what the market perceives as fair value for a stock over a specific period.
- Standardizing Price Relations: Given the varied scales at which different stocks trade, a model was imperative to standardize these relations. The Z-score from the VWAP fulfills this role, offering a normalized measure of how far the price deviates from its perceived fair value.
Features:
Z-score Levels:
The indicator demarcates various stages of price movements, offering clarity on potential overbought or oversold conditions.
- Extreme Up Trend: Indicated when the Z-score surpasses the upper limit.
- Normal Up Trend: Represented when the Z-score lies between the flip upper and the upper limit.
- Transition (Flip): Recognized when the Z-score oscillates within the flip range.
- Normal Down Trend: Denoted when the Z-score is between the flip lower and the lower limit.
- Extreme Down Trend: Marked when the Z-score falls below the lower limit.
Visual Aids:
- Color-coded regions between specific Z-score levels and the Z-score plot itself elucidate the current market state.
- Kalman Filter: By incorporating a Kalman filter, the indicator offers a less noisy and smoother representation of the Z-score, enhancing its interpretability.
Usage:
Trend Analysis:
- The Z-score states and the color-coded plot facilitate a nuanced understanding of the prevailing market trend.
- Potential Reversal Points: Extremely positive or negative Z-scores might hint at impending reversals.
- Buy/Sell Signals: Z-score's interactions with the flip level can be interpreted as potential trading signals.
Example (for illustration purposes only):
AAPL since April 2022: The stock exited from a normal uptrend and transitioned potentially towards a downtrend. By the end of April, AAPL flipped twice before transitioning to a normal downtrend. By early May, the stock moved into an aggressive downtrend. Market buyers were able to counter this downtrend by June, but selling pressure persisted, pushing the stock back into an aggressive downtrend. By the end of June, buyers halted the aggressive selling and transitioned the stock from an aggressive to normal downtrend, then to a flip, and finally to a normal uptrend by the end of August. AAPL briefly peaked into an aggressive uptrend before being pressured back to a normal downtrend. The rest of 2022 saw AAPL attempting several short-lived uptrend flips. However, 2023 brought a change, with AAPL flipping into a normal uptrend by the end of January, maintaining it until August of that year.
Credits:
This script, inspired by Z distance from VWAP by LazyBear and Kalman Smoother by alexgrover, was revamped and enriched by nord-ouestadvisors to embed these core principles and heighten its usability. A special acknowledgment to ChatGPT by OpenAI for the guidance.
Intraday Volatility Bands [Honestcowboy]The Intraday Volatility Bands aims to provide a better alternative to ATR in the calculation of targets or reversal points.
How are they different from ATR based bands?
While ATR and other measures of volatility base their calculations on the previous bars on the chart (for example bars 1954 to 1968). The volatility used in these bands measure expected volatility during that time of the day.
Why would you take this approach?
Markets behave different during certain times of the day, also called sessions.
Here are a couple examples.
Asian Session (generally low volatility)
London Session (bigger volatility starts)
New York Session (overlap of New York with London creates huge volatility)
Generally when using bands or channel type indicators intraday they do not account for the upcoming sessions. On London open price will quickly spike through a bollinger band and it will take some time for the bands to adjust to new volatility.
This script will show expected volatility targets at the start of each new bar and will not adjust during the bar. It already knows what price is expected to do at this time of day.
Script also plots arrows when price breaches either the top or bottom of the bands. You can also set alerts for when this occurs. These are non repainting as the script knows the level at start of the bar and does not change.
🔷 CALCULATION
Think of this script like an ATR but instead it uses past days data instead of previous bars data. Charts below should visualise this more clearly:
The scripts measure of volatility is based on a simple high-low.
The script also counts the number of bars that exist in a day on your current timeframe chart. After knowing that number it creates the matrix used in it's calculations and data storage.
See how it works perfectly on a lower timeframe chart below:
Getting this right was the hardest part, check the coding if you are interested in this type of stuff. I commented every step in the coding process.
🔷 SETTINGS
Every setting of the script has a tooltip but I provided a breakdown here:
Some more examples of different charts:
RSI Box Strategy (pseudo- Grid Bot)This is a strategy intended primarily for algorithmic traders. It's a pseudo-grid bot that uses a dynamic, volume-weighted grid that only updates when the RSI meets certain conditions. It's also a breakout strategy, whereas normal grid bots are not (typical grid bots sell when a higher grid is reached, whereas this strategy sells when a lower grid is breached under specific conditions). This strategy also sells 100% of pyramiding orders on close.
In a nutshell, the strategy updates its grid to the volume-weighted highest/lowest values of your given source ("src" in the settings) each time that there is a RSI crossunder/crossover. From this range it produces an evenly-spaced grid of five lines, and uses the current source to determine which grid line is closest to the source. Then, if the source crosses over the line directly above the current line, it enters a buy order. If the source crosses under the line directly below the current line, it enters a sell order.
You can configure shorts, source, RSI length, and overbought/oversold levels in the settings.
For the strategy results below: fees are at 0.1% per trade, with order size 1% of equity and a max pyramiding value of 33. For a greater R/R profile, you can increase the order size, which will increase drawdown but potentially yield better results.
Supertrend with RSI OB/OS Arrows @ClearTradingMindt.me
Supertrend with RSI OB/OS Arrows
Credit: KingForex2022 (ClearTradingMind)
Overview:
This indicator combines the power of Supertrend and RSI to help traders identify potential trend reversals and overbought/oversold conditions in the market. The Supertrend component highlights the prevailing trend direction, while RSI (Relative Strength Index) signals potential reversal points based on overbought and oversold levels.
Parameters:
- Supertrend Settings:
- ATR Length: 50
- Factor: 10.0
- RSI Settings:
- Period: 14
- Oversold Level: 30
- Overbought Level: 70
How to Use:
- Supertrend: The colored line indicates the current trend direction. Green for an uptrend and red for a downtrend.
- RSI Arrows:
- Buy Arrow: Plots when the Supertrend is in a downtrend ( red ) and RSI crosses below the oversold level (30).
- Sell Arrow: Plots when the Supertrend is in an uptrend ( green ) and RSI crosses above the overbought level (70).
Note: This indicator is best used in conjunction with other analysis tools for comprehensive trade decision-making. Always consider risk management principles when trading.
* Disclaimer: Trading involves risk, and past performance is not indicative of future results. Use this indicator responsibly and perform your own analysis before making trading decisions.*
---
LBR-Volatility Breakout BarsThe originator of this script is Linda Raschke of LBR Group.
This Pine Script code is the version 5 of LBR Paintbars for TradingView, called "LBR-Bars." It was originally coded for TradingView in version 3 by LazyBear. It is a complex indicator that combines various features such as coloring bars based on different conditions, displaying Keltner channels, and showing volatility lines.
Let me break down the key components and explain how it works:
1. Inputs Section: This section defines various input parameters that users can adjust when adding the indicator to their charts. These parameters allow users to customize the behavior and appearance of the indicator. Here are some of the key input parameters:
- Users can control whether to color bars under different conditions. For example,
they can choose to color LBR bars, color bars above/below Kelts, or color non-LBR
bars.
- Users can choose whether to show volatility lines or shade Keltner channels' area
with the Mid being the moving average on the chart.
- In the calculation of Keltner channels, users can set the length of the moving
average that the Keltner channels use as the mid and then set the Keltner multiplier.
If users want to use "True Range" to determine calculations, they can turn it on or
off; it defaults to off.
- Users can change the calculation of volatility lines and set the length for finding the
lowest and highest prices. The user sets the ATR length and multiplier for the ATR.
2. Calculation Section: This section defines the calculation of the upper and lower standard deviation bands based on the input parameters. It uses Exponential Moving Averages (EMAs) and optionally True Range to calculate these bands if turned on. These bands are used in the Keltner channel calculation.
3. Keltner Channel Section: This section calculates the upper, middle, and lower lines of the Keltner channels. It also plots these lines on the chart. The colors and visibility of these lines are controlled by user inputs.
4. Volatility Lines Section: This section calculates the upper and lower volatility lines based on the lowest and highest prices over a specified period and the ATR. It also checks whether the current close price is above or below these lines accordingly. The colors and visibility of these lines are controlled by user inputs.
5. Bar Colors Section: This section determines the color of the bars on the chart based on various conditions. It checks whether the current bar meets conditions like being an LBR bar, being above or below volatility lines, or being in "No Man's Land." The color of the bars is set accordingly based on user inputs.
This Pine Script creates an indicator that provides visual cues on the chart based on Keltner channels, volatility lines, and other customizable conditions. Users can adjust the input parameters to tailor the indicator's behavior and appearance to their trading preferences.
SOLANA Performance & Volatility Analysis BB%Overview:
The script provides an in-depth analysis of Solana's performance and volatility. It showcases Solana's price, its inverse relationship, its own volatility, and even juxtaposes it against Bitcoin's 24-hour historical volatility. All of these are presented using the Bollinger Bands Percentage (BB%) methodology to normalise the price and volatility values between 0 and 1.
Key Components:
Inputs:
SOLANA PRICE (SOLUSD): The price of Solana.
SOLANA INVERSE (SOLUSDT.3S): The inverse of Solana's price.
SOLANA VOLATILITY (SOLUSDSHORTS): Volatility for Solana.
BITCOIN 24 HOUR HISTORICAL VOLATILITY (BVOL24H): Bitcoin's volatility over the past 24 hours.
BB Calculations:
The script uses the Bollinger Bands methodology to calculate the mean (SMA) and the standard deviation of the prices and volatilities over a certain period (default is 20 periods). The calculated upper and lower bands help in normalising the values to the range of 0 to 1.
Normalised Metrics Plotting:
For better visualisation and comparative analysis, the normalised values for:
Solana Price
Solana Inverse
Solana Volatility
Bitcoin 24hr Volatility
are plotted with steplines.
Band Plotting:
Bands are plotted at 20%, 40%, 60%, and 80% levels to serve as reference points. The area between the 40% and 60% bands is shaded to highlight the median region.
Colour Coding:
Different colours are used for easy differentiation:
Solana Price: Blue
Solana Inverse: Red
Solana Volatility: Green
Bitcoin 24hr Volatility: White
Licence & Creator:
The script adheres to the Mozilla Public Licence 2.0 and is credited to the author, "Volatility_Vibes".
Works well with Breaks and Retests with Volatility Stop
TrendSphere (Zeiierman)█ Overview
TrendSphere is designed to capture and visualize market trends and volatility effectively. It combines various volatility measures and trend analysis techniques, producing dynamic bands and a central trend line on the price chart. Its essence is to offer a real-time, reliable estimate of the underlying linear trend in the price.
█ How It Works
Real-Time Trend Estimation
At its core, TrendSphere is designed to offer instantaneous and accurate insights into the inherent linear trend of asset prices. By continually updating its estimations, it ensures traders are equipped with the most current data. This allows the construction of support and resistance bands around the estimated trend, providing trading opportunities.
Dynamic Bands and Trend Line
TrendSphere plots a central trend line and dynamic bands around it on the price chart. Influenced by volatility, the distance between these elements offers a clear view of market conditions and the strength or weakness of trends. These bands not only depict potential turning points but also offer traders valuable opportunities to trade within the confines of the overarching trend.
Volatility Measures
Traders can select their preferred volatility measure and adjust settings to best fit their analysis needs. The bands and trend line dynamically respond to these selections, offering a tailored view of market conditions.
ATR (Average True Range): Reflects market volatility by evaluating the range between high and low prices.
Historical Volatility: Computes price variability using the standard deviation of log returns.
Bollinger Band Width: Measures the distance between Bollinger Bands, providing another angle on market volatility.
Eliminating Common Complications
One of the standout features of TrendSphere is its ability to determine linear price trends without falling prey to challenges like backpainting or repainting. In layman's terms, this means traders get a more trustworthy and unaltered view of price movements, leading to enhanced decision-making in line with the genuine trajectory of price trends.
█ How to Use
Trend Analysis
Observe the central trend line; its direction indicates the prevailing trend. When the price is above the trend line, it suggests an upward trend, and when it's below, it indicates a downward trend.
Volatility Analysis
Wider bands imply higher market volatility, suggesting larger price swings, while narrower bands indicate lower volatility. Traders can use the bands to identify potential reversal points and overbought/oversold conditions.
Potential Trading Signals (Using Bollinger bandwidth as volatility measure)
Consider buying when the price is above the trend line with narrowing bands, suggesting a strong upward trend.
Consider selling when the price is below the trend line with narrowing bands, indicating a strong downward trend.
█ Settings
Select Volatility Measure
Choose the desired volatility measure: ATR, Historical Volatility, or Bollinger Band Width.
Volatility Scaling Factor
Adjusts the scale of the volatility measure, influencing the width of the bands.
Volatility Strength
Modifies the influence of volatility on the bands, adjusting their responsiveness to volatility changes.
Length
Defines the number of periods used in calculating the selected volatility measure, impacting the stability and responsiveness of the bands.
Trend Sensitivity
Adjusts the sensitivity of the trend component, affecting how quickly it reacts to price changes.
█ Related scripts with the same calculation philosophy
TrendCylinder
Predictive Trend and Structure
-----------------
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!
Better RSIThis script is an enhancement of the original RSI (Relative Strength Index) indicator for TradingView. While the core RSI functionality remains intact, several powerful features have been added to make it a "Better RSI" tool for traders and investors.
Key Features:
1. Divergence Detection: The script now includes both Bullish and Hidden Divergence detection. Bullish Divergence helps identify potential trend reversals when the price makes lower lows, but the RSI makes higher lows. Conversely, Hidden Divergence highlights instances where the RSI and price move in opposite directions, signaling potential trend continuation or reversal.
2. Bollinger Band Breakout Highlight: Users have the option to select "Bollinger Bands" as the Moving Average (MA) type in the settings. When enabled, this feature highlights RSI-Bollinger Band breakouts. It's a valuable tool for traders looking to capitalize on RSI movements in conjunction with Bollinger Bands.
3. Customizable Settings: The script provides a range of customizable settings, allowing you to adjust parameters like RSI length, MA type, Bollinger Bands standard deviation, and more to suit your trading strategy.
4. Clear Visuals: The script offers clear visual cues, with colored backgrounds indicating RSI overbought and oversold levels, as well as extreme breakouts. Bullish and bearish divergence points are also marked with distinct crosses, making it easy to spot potential trading opportunities.
Whether you're a seasoned trader or just starting, the "Better RSI" script empowers you with advanced tools to make more informed trading decisions. Use it to identify potential trend reversals, continuation patterns, and RSI-Bollinger Band breakouts in the market.
3GBH - ICT NY SessionThis indicator is meant to help those using ICT's methodology.
This script simply highlights the NY session with green and red zones.
The red zone can help to indicate periods you do not want to trade, for example, NY lunch session.
Timings and colors and customizable with an easy user interface.
Breaks and Retests with Volatility Stop [HG]The "Breaks and Retests with Volatility Stop " indicator is a powerful tool designed to assist traders in identifying key support and resistance levels, breakouts, retests, and potential trend reversals. This indicator combines two essential components: support and resistance detection, and a Volatility Stop indicator for improved risk management. Below are the key features of this indicator:
**Support and Resistance Detection:**
- **Lookback Range:** Users can customize the lookback range, determining how many bars are considered when identifying support and resistance levels. This allows for flexibility in capturing short-term or longer-term levels.
- **Bars Since Breakout:** The indicator helps traders spot retests by allowing them to specify the number of bars that should occur since a breakout before considering it a potential retest.
- **Retest Detection Limiter:** Traders can set a limit on how many bars should be actively checked during a potential retest event. This feature prevents retest alerts from occurring too late, ensuring more accurate results.
- **Breakouts and Retests:** Users can choose to display or hide breakout and retest events separately, tailoring the indicator to their specific trading strategy.
- **Repainting Options:** The indicator offers three repainting options: "On," "Off: Candle Confirmation," and "Off: High & Low." This provides flexibility in choosing the repainting behavior that suits your trading style.
**Styling Options:**
- **Outline and Extend:** Traders can customize the appearance of support and resistance boxes by selecting outline styles and extension preferences.
- **Label Types and Sizes:** The indicator offers two label types, "Full" and "Simple," allowing traders to choose the level of detail displayed on the chart. Additionally, users can adjust the label size for better visibility.
- **Customizable Colors:** Support and resistance levels can be color-coded to match your preferred charting style, enhancing visibility and clarity.
- **Override Text Color:** If desired, traders can override the text color for labels, providing further customization of the indicator's appearance.
**Alerts and Notifications:**
- The indicator generates various alerts and notifications to keep traders informed about critical market events, including:
- New Support and Resistance Levels
- Support and Resistance Breakouts
- Support and Resistance Retests
- Potential Support and Resistance Retests
**Volatility Stop Indicator:**
- The "Breaks and Retests with Volatility Stop " indicator also includes a Volatility Stop component, which helps traders manage risk by indicating potential stop-loss levels based on market volatility. The Volatility Stop is color-coded to reflect the current trend direction, making it easy to identify potential trend reversals.
In summary, this TradingView indicator is a comprehensive tool designed to enhance your technical analysis and trading decisions. It provides support and resistance levels, breakout and retest alerts, and incorporates a Volatility Stop indicator for risk management, making it a valuable addition to any trader's toolkit.
IU Average move How The Script Works :
1. This script calculate the average movement of the price in a user defined custom session and plot the data in a table from on top left corner of the chart.
2. The script takes highest and lowest value of that custom session and store their difference into an array.
3. Then the script average the array thus gets the average price.
4. Addition to that the script converter the price pip change into percentage in order to calculate the value in percentage form.
5. This script is pure price action based the script only take price value and doesn't take any indicator for calculation.
6. The script works on every type of market.
7. If the session is invalid it returns nothing
8. The background color, text color and transparency is changeable.
How User Can Benefit From This Script:
1. User can understand the volatility of any session that he/she wish to trade.
2. It can be helpful for understanding the average price moment of any tradeble asset.
3. It will give the average price movement both in percentage and points bases.
4. By understanding the volatility user can adjust his stop loss or take profit with respect his risk management.
[blackcat] L2 Range Action Verification Index (RAVI) with 3 SMAThe Range Action Verification Index (RAVI) is a technical indicator used in trading to measure the strength of a trend. It compares two simple moving averages (SMAs) to determine the market's momentum.
To calculate RAVI, we subtract the shorter SMA from the longer SMA, and then divide the result by the longer SMA. This value is then multiplied by 100 to express it as a percentage.
The RAVI indicator helps traders identify whether the market is in a trending or range-bound phase. When the RAVI value is positive, it indicates a bullish trend, suggesting that the market is in an uptrend. Conversely, a negative RAVI value indicates a bearish trend or a downtrend.
Traders can use the RAVI indicator in several ways. Here are a few common strategies:
1. **Trend confirmation**: Traders can use RAVI to confirm the strength of a trend identified by other indicators or price patterns. If the RAVI value aligns with the direction of the trend, it provides additional confirmation.
2. **Overbought and oversold conditions**: Traders can use extreme RAVI values to identify overbought or oversold conditions in the market. When the RAVI value reaches high positive or negative levels, it suggests that the market may be due for a reversal or a retracement.
3. **Divergence**: Traders can look for divergences between the RAVI indicator and the price action. For example, if the price makes a higher high, but the RAVI value makes a lower high, it could indicate a weakening trend and a potential reversal.
As with any technical indicator, it is essential to use RAVI in conjunction with other tools and analysis techniques to make informed trading decisions. Traders should also consider factors such as market conditions, risk management, and other supporting indicators to validate their trading strategies.
In this indicator, an additional simple moving average (SMA) is introduced to consider long-term bias. This modification allows the Range Action Verification Index (RAVI) to be used as a volatility filter. By comparing the shorter SMA with this longer SMA, traders can gain insights into the market's volatility and adjust their trading strategies accordingly. This longer SMA helps provide a broader perspective on the market's trend and can be particularly useful for identifying and filtering out periods of high volatility. It is called "L2 Range Action Verification Index (RAVI) with 3 SMA". It calculates the RAVI value based on three simple moving averages (SMA). The code also includes calculations for the upper and lower bands, as well as color gradient settings. Finally, it plots the RAVI values and a midline.
It calculates the Range Action Verification Index (RAVI) using three Simple Moving Averages (SMA). The RAVI measures the difference between two SMAs divided by a third SMA, and then multiplied by 100.
The code starts with defining input parameters such as length, multiplier, and lengths for the three SMAs. Then it assigns the closing price to a variable called "price".
Next, it calculates the three SMAs using the "ta.sma" function from TradingView's built-in technical analysis library. The first SMA uses "sma1Length", the second SMA uses "sma2Length", and the third SMA uses "sma3Length".
After that, it calculates the RAVI by subtracting sma2 from sma1, dividing it by sma3, and multiplying it by 100.
Then it calculates additional values like basis (using another SMA), deviation (using standard deviation), upper band (basis + dev), and lower band (basis - dev).
Finally, it plots these values on a chart using different colors for each line. It also creates an array of gradient colors based on RSI values calculated from another indicator called ALMA. This gradient color is used to colorize the RAVI line.
Overall, this script helps visualize and analyze market trends based on moving averages and their relationship with price movements.
ATR Multiples PlottedInspired by @jeffsuntrading and @Fred6724 's ATR% multiple from 50-MA .
There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.
The essence is the difference between price and the selected moving average, measured in ATRs.
Predictive Trend and Structure (Expo)█ Overview
The Predictive Trend and Structure indicator is designed for traders seeking to identify future trend directions and interruptions in trend continuation. This indicator is unique because it employs standard deviation to predict upcoming trend directions and potential trend continuation levels. This enables traders to stay ahead of the market.
█ How It Works
This indicator primarily functions based on the calculated standard deviation of the trend over a specified period. It evaluates the trend direction by comparing the current trend value to its previous one and scales the standard deviation, allowing for adjustments in sensitivity to price fluctuations.
█ How to Use
Trend
You can easily identify when a future trend begins by observing where the trend level is displayed. If the price breaks above and remains above the trend, it indicates a bullish trend. Conversely, if the price breaks below and stays below, it signifies a bearish trend.
Support and Resistance
With the Predictive Structure enabled, the indicator aids in identifying potential support and resistance levels.
Trend Continuation Break
Trend continuation breaks occur when prices breaks support or resistance, indicating the existing trend may persist. The indicator plots these levels in advance, allowing traders to quickly identify where trend continuation might occur.
█ Settings
Period for Std Dev: Determines the number of periods used for the standard deviation calculation, impacting the indicator's sensitivity to price changes.
Standard Deviation Scaler: Scales the computed standard deviation, affecting the deviations needed to confirm trends and the indicator's focus on significant trend changes.
Predictive Structure: Enables or disables the prediction of market structures like potential levels of structure breaks/trend continuation breaks.
-----------------
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!
Weighted Momentum Forecast
The Weighted Momentum Forecast (EWMF) is a predictive indicator designed to forecast the potential direction and magnitude of the next candle's close. It combines the principles of momentum, trend confirmation, and volatility adjustment to make its predictions.
**Components:**
1. **Rate of Change (ROC)**: Measures the momentum of the market.
2. **Average True Range (ATR)**: Represents the market's recent volatility.
3. **Moving Average Convergence Divergence (MACD)**: Used to confirm the momentum's direction.
4. **Trend Moving Average**: A longer-term moving average to confirm the general trend.
5. **Bollinger Bands**: Adjusts the forecast to account for extreme predictions.
**Logic:**
1. **Momentum Bias**: The crossover and crossunder of the MACD line and its signal line are used to determine the momentum's bias. A crossover indicates a bullish bias, while a crossunder indicates a bearish bias.
2. **Trend Confirmation**: If the current close is above the trend moving average, the indicator has a bullish bias, and vice versa.
3. **Forecast Calculation**: The forecast for the next candle's close is calculated based on the current close, the rate of change, the momentum's bias, and the trend's bias. This value is then adjusted for volatility using the ATR.
4. **Volatility Adjustment**: If the forecasted value is beyond the Bollinger Bands, it's adjusted to be within the bands to account for extreme predictions.
**Usage:**
The EWMF plots a purple line representing the forecasted value of the next candle's close. This forecasted value provides traders with a visual representation of where the price might head in the next period, based on recent momentum, trend, and volatility.
**Note**: This is a heuristic approach and is not guaranteed to be accurate. It's essential to use this indicator in conjunction with other tools, backtest on historical data, and use proper risk management techniques. Always be aware of the inherent risks involved in trading and never risk more than you're willing to lose.
[blackcat] L1 Volatility Quality Index (VQI)The Volatility Quality Index (VQI) is an indicator used to measure the quality of market volatility. Volatility refers to the extent of price changes in the market. VQI helps traders assess market stability and risk levels by analyzing price volatility. This introduction may be a bit abstract, so let me help you understand it with a comparative metaphor if you're not immersed in various technical indicators.
Imagine you are playing a jump rope game, and you notice that sometimes the rope moves fast and other times it moves slowly. This is volatility, which describes the speed of the rope. VQI is like an instrument specifically designed to measure rope speed. It observes the movement of the rope and provides a numerical value indicating how fast or slow it is moving. This value can help you determine both the stability of the rope and your difficulty level in jumping over it. With this information, you know when to start jumping and when to wait while skipping rope.
In trading, VQI works similarly. It observes market price volatility and provides a numerical value indicating market stability and risk levels for traders. If VQI has a high value, it means there is significant market volatility with relatively higher risks involved. Conversely, if VQI has a low value, it indicates lower market volatility with relatively lower risks involved as well. The calculation involves dividing the range by values obtained from calculating Average True Range (ATR) multiplied by a factor/multiple.
The purpose of VQI is to assist traders in evaluating the quality of market volatility so they can develop better trading strategies accordingly.
Therefore, VQI helps traders understand the quality of market volatility for better strategy formulation and risk management—just like adjusting your jumping style based on rope speed during jump-rope games; traders can adjust their trading decisions based on VQI values.
The calculation of VQI indicator depends on given period length and multiple factors: Period length is used to calculate Average True Range (ATR), while the multiple factor adjusts the range of volatility. By dividing the range by values and multiplying it with a multiple, VQI numerical value can be obtained.
VQI indicator is typically presented in the form of a histogram on price charts. Higher VQI values indicate better quality of market volatility, while lower values suggest poorer quality of volatility. Traders can use VQI values to assess the strength and reliability of market volatility, enabling them to make wiser trading decisions.
It should be noted that VQI is just an auxiliary indicator; traders should consider other technical indicators and market conditions comprehensively when making decisions. Additionally, parameter settings for VQI can also be adjusted and optimized based on individual trading preferences and market characteristics.
Price Variation Percent (PVP)This indicator shows the percentage of price variation, depending on the length of bars that the user chooses.
At a glance you can see if the price jumps in volatility and how often it does so. Very useful for scalping.
The upper and lower bands are limits of price variation in percentage, therefore when there is a crossing above or below you can immediately see how volatile the asset is and between what percentages of change it is moving.
[blackcat] L3 Inverted VixFix Indicator with RSI ScalingThis pine script that creates a custom indicator called the Inverted VixFix Indicator with RSI Scaling. This indicator combines two well-known technical indicators - the VixFix and the RSI - to create a more comprehensive view of market conditions.
The VixFix is a technical indicator that helps identify market trends and volatility. It is based on the highest close of the past 22 bars and the lowest low of the same period. The VixFix is calculated as 100 times the difference between the highest close and the current low divided by the highest close. The indicator is inverted, meaning that high values indicate low volatility and low values indicate high volatility.
The RSI (Relative Strength Index) is a momentum indicator that measures the strength of price action in a given period. It is calculated based on the closing prices of the selected asset. The RSI is scaled to a range between 0 and 100, with values above 70 indicating overbought conditions and values below 30 indicating oversold conditions.
The Inverted VixFix Indicator with RSI Scaling combines these two indicators to give a more comprehensive view of market conditions. The RSI is first scaled to a range between 0 and 100 using the RSI Length, RSI Overbought, and RSI Oversold inputs. The Inverted VixFix is then scaled to the same range as the RSI using the RSI Overbought and RSI Oversold inputs. The two indicators are then combined to create the Inverted VixFix Indicator with RSI Scaling.
To smooth out the RSI, the script also uses the ALMA (Arnaud Legoux Moving Average) function. This function is a type of moving average that uses a variable smoothing factor to give more weight to recent price action. In this script, the ALMA is applied to the scaled RSI with a length of 3, a offset of 0.58, and a sigma of 6.
To help visualize the indicator, the script also creates visual elements such as threshold lines and fills. The Bull Threshold line is drawn at the RSI Overbought level and the Bear Threshold line is drawn at the RSI Oversold level. A fill is then created between these two lines using the color purple and opacity set to 70%.
Overall, the Inverted VixFix Indicator with RSI Scaling is a useful tool for traders looking for a more comprehensive view of market conditions. By combining the VixFix and RSI indicators, this script provides a more nuanced view of market trends and volatility.
DIY Custom Strategy Builder [ZP] - v1DISCLAIMER:
This indicator as my first ever Tradingview indicator, has been developed for my personal trading analysis, consolidating various powerful indicators that I frequently use. A number of the embedded indicators within this tool are the creations of esteemed Pine Script developers from the TradingView community. In recognition of their contributions, the names of these developers will be prominently displayed alongside the respective indicator names. My selection of these indicators is rooted in my own experience and reflects those that have proven most effective for me. Please note that the past performance of any trading system or methodology is not necessarily indicative of future results. Always conduct your own research and due diligence before using any indicator or tool.
===========================================================================
Introducing the ultimate all-in-one DIY strategy builder indicator, With over 30+ famous indicators (some with custom configuration/settings) indicators included, you now have the power to mix and match to create your own custom strategy for shorter time or longer time frames depending on your trading style. Say goodbye to cluttered charts and manual/visual confirmation of multiple indicators and hello to endless possibilities with this indicator.
What it does
==================
This indicator basically help users to do 2 things:
1) Strategy Builder
With more than 30 indicators available, you can select any combination you prefer and the indicator will generate buy and sell signals accordingly. Alternative to the time-consuming process of manually confirming signals from multiple indicators! This indicator streamlines the process by automatically printing buy and sell signals based on your chosen combination of indicators. No more staring at the screen for hours on end, simply set up alerts and let the indicator do the work for you.
Available indicators that you can choose to build your strategy, are coded to seamlessly print the BUY and SELL signal upon confirmation of all selected indicators:
EMA Filter
2 EMA Cross
3 EMA Cross
Range Filter (Guikroth)
SuperTrend
Ichimoku Cloud
SuperIchi (LuxAlgo)
B-Xtrender (QuantTherapy)
Bull Bear Power Trend (Dreadblitz)
VWAP
BB Oscillator (Veryfid)
Trend Meter (Lij_MC)
Chandelier Exit (Everget)
CCI
Awesome Oscillator
DMI ( Adx )
Parabolic SAR
Waddah Attar Explosion (Shayankm)
Volatility Oscillator (Veryfid)
Damiani Volatility ( DV ) (RichardoSantos)
Stochastic
RSI
MACD
SSL Channel (ErwinBeckers)
Schaff Trend Cycle ( STC ) (LazyBear)
Chaikin Money Flow
Volume
Wolfpack Id (Darrellfischer1)
QQE Mod (Mihkhel00)
Hull Suite (Insilico)
Vortex Indicator
2) Overlay Indicators
Access the full potential of this indicator using the SWITCH BOARD section! Here, you have the ability to turn on and plot up to 14 of the included indicators on your chart. Simply select from the following options:
EMA
Support/Resistance (HeWhoMustNotBeNamed)
Supply/ Demand Zone ( SMC ) (Pmgjiv)
Parabolic SAR
Ichimoku Cloud
Superichi (LuxAlgo)
SuperTrend
Range Filter (Guikroth)
Average True Range (ATR)
VWAP
Schaff Trend Cycle ( STC ) (LazyBear)
PVSRA (TradersReality)
Liquidity Zone/Vector Candle Zone (TradersReality)
Market Sessions (Aurocks_AIF)
How it does it
==================
To explain how this indictor generate signal or does what it does, its best to put in points.
I have coded the strategy for each of the indicator, for some of the indicator you will see the option to choose strategy variation, these variants are either famous among the traders or its the ones I found more accurate based on my usage. By coding the strategy I will have the BUY and SELL signal generated by each indicator in the backend.
Next, the indicator will identify your selected LEADING INDICATOR and the CONFIRMATION INDICATOR(s).
On each candle close, the indicator will check if the selected LEADING INDICATOR generates signal (long or short).
Once the leading indicator generates the signal, then the indicator will scan each of the selected CONFIRMATION INDICATORS on candle close to check if any of the CONFIRMATION INDICATOR generated signal (long or short).
Until this point, all the process is happening in the backend, the indicator will print LONG or SHORT signal on the chart ONLY if LEADING INDICATOR and all the selected CONFIRMATION INDICATORS generates signal on candle close. example for long signal, the LEADING INDICATOR and all selected CONFIRMATION INDICATORS must print long signal.
The dashboard table will show your selected LEADING and CONFIRMATION INDICATORS and if LEADING or the CONFIRMATION INDICATORS have generated signal. Signal generated by LEADING and CONFIRMATION indicator whether long or short, is indicated by tick icon ✔. and if any of the selected CONFIRMATION or LEADING indicator does not generate signal on candle close, it will be indicated with cross symbol ✖.
how to use this indicator
==============================
Using the indicator is pretty simple, but it depends on your goal, whether you want to use it for overlaying the available indicators or using it to build your strategy or for both.
To use for Building your strategy: Select your LEADING INDICATOR, and then select your CONFIRMATION INDICATOR(s). if on candle close all the indicators generate signal, then this indicator will print SHORT or LONG signal on the chart for your entry. There are plenty of indicators you can use to build your strategy, some indicators are best for longer time frame setups while others are responsive indicators that are best for short time frame.
To use for overlaying the indicators: Open the setting of this indicator and scroll to the SWITCHBOARD section, from there you can select which indicator you want to plot on the chart.
For each of the listed indicators, you have the flexibility to customize the settings and configurations to suit your preferences. simply open indicator setting and scroll down, you will find configuration for each of the indicators used.
I will also release the Strategy Backtester for this indicator soon.
Supertrend Targets [ChartPrime]The Supertrend Targets indicator combines the concepts of trend-following with dynamic volatility-based target levels. It takes core simple and classical concepts and provides actionable insights. The core of this indicator revolves around the "Supertrend" algorithm, which essentially uses the Average True Range (ATR) and a multiplier to determine if the price of a financial instrument is in an uptrend or downtrend. The indicator generates various plot points on the trading chart, which traders can use to make informed trading decisions.
Users can set several input parameters such as the source price, custom levels, multiplier scale, length of the average true range, and the window length. Traders can also opt to enable a table that shows numeric target data by percentiles, risk ratio, take profit and stop loss points.
The generated plots and fills on the chart represent various levels of potential gains and drawdowns, acting as potential targets for taking profit or stopping losses. These include the 25th, 50th, 75th, 90th, and 100th percentiles, which are adjustable by scale. There are also plots for average gain and drawdown levels, enhanced by standard deviation curves if enabled.
The Supertrend line indicators are color-coded for ease of understanding: blue for bullish performance and orange for bearish performance. The "Center Line" represents the point at which traders might consider entering a position.
Lastly, the script presents a summary table (when enabled) at the right side of the chart displaying numeric data of the plotted targets. This data provides additional insights on the risk-reward balance for each percentile, helping traders to execute their strategies more effectively.
Here's a comprehensive breakdown of its functionalities and features:
Inputs:
Source: Determines the price series type (e.g., Close, Open, High, Low, etc.).
Show Trailing Stop: Option to display the trailing stop on the chart.
Levels: Sets the number of target levels you want to display. Can range from -5 to 5.
Scale: A scaling factor for adjusting targets, can be between 1 to 100.
Window Length: Length for the target computation, determines how many bars will be considered.
Unique: Ensures every data point used in calculations is unique.
Multiplier: Multiplier for the ATR (Average True Range) to compute the SuperTrend.
ATR Length: Period for the ATR computation.
Custom Level: Allows users to set their own levels using various statistics like Average, Average + STDEV, Percentile, or can be disabled.
Percent Rank: Determines the percentile rank for targeting.
Enable Table: Enables or disables a table display.
Methods:
Flag: Identifies bullish and bearish trend reversals.
Target Percent: Determines the expected price movement (both gains and drawdowns) based on historical trend reversals.
Value Percent: Computes the percentage difference between the current price and the entry price during trend reversals.
Plots:
Multiple target lines are plotted on the chart to visualize potential gain and drawdown levels. These levels are adjusted based on user settings. Additionally, the main Supertrend line is plotted to indicate the prevailing trend direction.
Gain Levels: Target levels which show potential upside from the current price.
Drawdown Levels: Target levels which represent potential downside from the current price.
SuperTrend Line: A line that adjusts based on price volatility and trend direction, acting as a dynamic support or resistance.
In conclusion, the "Supertrend Targets " indicator is a powerful tool that combines the principle of trend-following with dynamic targets, providing traders with insights into potential future price movements. The range of customization options allows traders to adapt the indicator to different trading strategies and market conditions.
RSI Trend Detector PSAR BasedRSI Trend Detector is based on the Direction of PSAR. This indicator helps the easy detection of Trend Direction and Sideways Movement of Price. It was difficult to determine the RSI Trend Direction in a basic RSI indicator. one cannot decide the exact entry point where to enter.
RSI Trend Detector helps with the direction of trend using PSAR direction which is almost instant direction changing indicator with Zero Lag. The color of the RSI changes immediately based on PSAR direction. One can determine the trend whether its in UP / Down or Sideways.
One can easily detect Pullback and entry points using this indicator.
The basic working can be interpreted with a normal default RSI, The only additional feature is the direction of trend using a SAR signal.
Oversold Zone is below 30
Overbought Zone is above 70
how ever RSI above 50 is treated a UP trend and Below 50 as Down Trend.
when RSI is between 40 and 60 price must be considered as Sideways. One can easily interpret the TREND.
Yellow Line = RSI Moving Average
RED and Green Line= RSI
Grey Zone = Sideways
Horizontal line = RSI level 50
Settings can be changed as required.
RSI Line:
RSI Above 50 up trend and Entry when color is green
RSI Below 50 down trend and Entry when color is Red
RSI in Grey Zone is sideways, wait for a breakout
RSI above 50 and color is red then its a pullback in uptrend
RSI below 50 and color is green then its a pullback in downtrend
ALERTS:
Up signal and Down Signal are provided when ever RSI crosses RSIMA
Up Signal: RSI crosses RSI Moving Average upwards
Down Signal: RSI crosses RSI Moving Average Downwards
Hope the Tradingview community likes this.
Momentum ChannelbandsThe "Momentum Channelbands" is indicator that measures and displays an asset's momentum. It includes options to calculate Bollinger Bands and Donchian Channels around the momentum. Users can customize settings for a comprehensive view of momentum-related insights. This tool helps assess trend strength, identify overbought/oversold conditions, and pinpoint highs/lows. It should be used alongside other indicators due to potential lag and false signals.