Range Based Signals and AlertsThis script produces a compiled version of rule based signals that is meant to be used mainly on 5 Min timeframe based on daily(as default) Highs and Lows on average and the main purpose is to give user settings to change and adapt based on their needs and make it as adjustable as possible. This entry strategy idea does not belong to me but for TV's in-house rule reasons i can't disclose whose idea it is but i think people that will use this indicator will know who the original idea belongs to.
Rules used for signal production:
- Daily(As default) High-Low points
- Moving Average for detecting reversing of price
- MTF MACD (Daily as default) for detecting overall trend
Signals produced based on extensions of price out of daily zones and when they drop or rise back into moving average. A conditional checker is used for reducing repeated unnecessary signals and alerts.
Happy trading.
Biến động
DBMA - Dual Bollinger Moving AverageThe Dual Bollinger moving average (DBMA) consists of a moving average (MA) & two Bollinger Bands (BB), with the color of the bands representing the level of price compression. In its default settings, it is a 20-day simple moving average with 2 upper Bollinger Bands, having the standard deviation (SD) settings of 0.5 & 1, respectively.
How close the price is to the moving average?
For a pullback trader, the entry point should be close to the moving average, preferably with price compression. How close should it be, is where the bands serve as a guide. The low of the pullback candle should be within the bands, that is, at least within the far band (1 SD of the MA), or even better if it's within the near band (0.5 SD). When the price is outside the bands, it should not be considered favourable for a pullback entry.
For how long has the price been closer to the moving average?
John Carter’s TTM Squeeze indicator looked at the relationship between Bollinger Bands and Keltner's Channels to help identify period of volatility contractions. Bollinger Bands being completely enclosed within the Keltner Channels is indicative of a very low volatility. This is a state of volatility contraction known as squeeze. Using different ATR lengths (1.0, 1.5 and 2.0) for Keltner Channels, we can differentiate between levels of squeeze (High, Mid & Low compression, respectively). Greater the compression, higher the potential for explosive moves.
The squeeze portion of the script is based on LazyBear's script ( Squeeze Momentum Indicator )
The High, Mid & Low compression squeezes are depicted via the color of the bands being red, orange, or yellow, respectively. With the low of the pullback candle within the bands, & the squeeze color changing to red, it should be considered favourable for a pullback entry.
Trailing the price with the lower bands
The lower bands can be used for trailing with the moving average. While trailing, once the price closes below the moving average, the trailing stoploss (TSL) is said to be triggered, & the trade is exited. Here we use the bands to give it some cushion. Let the price close below the 1SD band for labelling the TSL as being triggered to exit the trade. If the price closes below the MA but is still within the bands, the signal is to keep holding the trade.
Reversal Squeeze (Expo)█ Overview
The Reverse Squeeze indicator aims to identify situations where market participants (either short-sellers or long buyers) are under significant pressure due to unexpected price movements, which may lead to forced actions to mitigate their losses. These pressured situations, often termed as 'squeezes,' can lead to overreactions in the market that could subsequently result in price corrections or reversals.
█ What is a squeeze?
A squeeze occurs when a significant change in price forces market participants to take drastic action to mitigate their losses. There are two types of squeezes: short squeezes and long squeezes.
Short-Sellers Squeeze: This occurs when a stock's price unexpectedly rises, pressurizing short-sellers who had bet on the stock price going down. The increased price forces these short-sellers to buy back the stocks they had borrowed and sold (to close their positions), which can create even more demand for the stock, further driving the price up. This situation is often referred to as a "short squeeze."
Long Buyers Squeeze: This is the opposite situation, occurring when a stock's price unexpectedly falls, putting long buyers under pressure. These buyers had hoped for a price increase. The decline forces these long buyers to sell off their holdings to minimize further losses, adding more supply to the market, which can push the price down even further. This situation is like a "long squeeze."
The Reverse Squeeze indicator identifies these situations, assuming that the short-sellers or long buyers' forced actions will lead to overreactions in the market, resulting in a correction or a reversal. As a trader, you might use the Reverse Squeeze indicator to identify these potential overreactions and trade on the anticipated correction or reversal.
█ How are squeezes calculated?
Calculating a squeeze involves multiple factors, primarily revolving around price movements, trading volumes, and market sentiment. While the actual positions, like the number of shorted shares or long positions, provide direct insights, there are several other indicators that traders can use to estimate potential squeezes, especially when direct data isn't readily available.
Price Action: This is an essential aspect of calculating potential squeezes. Rapid and significant increases or decreases in a stock's price can hint at potential short and long squeezes, respectively. Traders monitor these drastic price movements to anticipate possible squeezes.
Volume: Volume, or the number of shares traded within a specific period, is another crucial factor. High trading volumes usually accompany squeezes. A sudden spike in volume along with a rapid price increase can indicate a short squeeze, while a rapid volume increase along with a quick price decrease could signal a long squeeze.
Volatility: Increased volatility is often associated with squeezes. A rapid increase in volatility might suggest that a squeeze is happening or about to happen.
█ How to use the Reversal Squeeze Indicator
The Reverse Squeeze indicator can be a valuable tool in a trader's arsenal. It has the potential to give traders an 'alpha,' or an edge over other market participants, for the following reasons:
Detection of Overreactions: The indicator helps to identify market overreactions, where stocks become overbought or oversold due to forced buying or selling. These overreactions often lead to price corrections or reversals, providing potential trading opportunities.
Anticipating Price Reversals: By identifying instances where short sellers or long buyers are "squeezed" and might need to take drastic action, the indicator can help traders anticipate potential overreactions in the market that might lead to price corrections or reversals.
Risk Management: By identifying potential squeezes, traders can manage their risk more effectively. They can avoid going short on a stock if a short squeeze seems likely or avoid going long if a long squeeze is anticipated.
█ Why is the Reversal squeeze indicator Needed?
The Reverse Squeeze Indicator can provide crucial insights into market dynamics that may not be apparent with other indicators. It allows traders to spot potential trading opportunities arising from market overreactions. Moreover, by identifying potential squeezes, traders can manage their risk more effectively, avoiding positions that might put them on the wrong side of a squeeze.
█ Here's how institutions might influence market conditions that can lead to a squeeze:
Institutions can actually contribute to creating squeezes because of their size. For instance, an institution that starts covering a large short position can trigger a short squeeze.
Conversely, an institution that begins to sell a large long position can trigger a long squeeze.
Or if an institution or a group of institutions decide to buy a large number of shares in a company that has a significant number of short positions, this increased demand can cause the stock price to rise. This upward movement can put pressure on short-sellers to cover their positions, further increasing demand and driving the price even higher, creating a short squeeze.
These activities are part of the market dynamics where larger players naturally have more influence. However, it's crucial to note that deliberately creating conditions to cause harm to other market participants can cross into market manipulation, which is illegal. So while it's theoretically possible for institutions to "squeeze" the market, it's generally not their primary strategy due to the legal, ethical, and reputation risks associated. They are, however, very adept at recognizing and capitalizing on these situations when they arise naturally in the course of market dynamics.
-----------------
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!
Extreme Reversal SignalThe Extreme Reversal Signal is designed to signal potential pivot points when the price of an asset becomes extremely overbought or oversold. Extreme conditions typically signal a brief or extensive price reversal, offering valuable entry or exit points. It's important to note that this indicator may produce multiple signals, making it essential to corroborate these signals with other forms of analysis to determine their validity. While the default settings provide valuable insights, it might be beneficial to experiment with different configurations to ensure the indicator's efficacy.
Two primary conditions define extremely overbought and oversold states. The first condition is that the price must deviate by two standard deviations from the 20-day Simple Moving Average (SMA). The second condition is that the 3-day SMA of the 14-day Stochastic Oscillator (STO) derived from the 14-day Relative Strength Index (RSI) is above or below the upper or lower limit.
Oversold states arise when the first condition is met and the 3-day SMA of the 14-day Stochastic RSI falls below the lower limit, suggesting a buy signal. These are visually represented by green triangles below the price bars. Overbought states arise when the first condition is met and the 3-day SMA of the 14-day Stochastic RSI rises above the upper limit, suggesting a sell signal. These are visually represented by red triangles above the price bars. It's also possible to set up automated alerts to get notifications when either of these two conditions is met to avoid missing out.
While this indicator has traditionally identified overbought and oversold conditions in various different assets, past performance does not guarantee future results. Therefore, it is advisable to supplement this indicator with other technical tools. For instance, trend indicators can greatly improve the decision-making process when planning for entries and exit points.
Day of Month - Volatility Report█ OVERVIEW
The indicator analyses the volatility and reports the statistics by the days of the month.
█ CONCEPTS
The markets move every day. But how does a market move during a month?
Here are some ideas to explore:
Does the volatility kick in with the start of a new month?
Do the markets slow down at the end of the month?
Which period of the month is the most volatile?
How does this relate to your best and worst trades?
When should you take a break?
DAX
EURGBP
Binance Coin
█ FEATURES
Comparison modes
Compare how each day moves relative to the monthly volatility or the average daily volatility.
Configurable outputs
Output the report statistics as mean or median.
Range filter
Select the period to report from.
█ HOW TO USE
Plot the indicator and visit the 1D, 24H, or 1440 minutes timeframe.
█ NOTES
Gaps
The indicator includes the volatility from gaps.
Trading session
The indicator analyses each day from the daily chart, defined by the exchange trading session (see Symbol Info).
Extended trading session
The indicator can include the extended hours when activated on the chart, using the 24H or 1440 minutes timeframe.
Overnight session
The indicator supports overnight sessions (open and close on different calendar days). For example, EURUSD will report Monday’s volatility from Sunday open at 17:00 to Monday close at 17:00.
This is a PREMIUM indicator. In complement, you might find useful my free Time of Day - Volatility Report .
Speed RailsCentered around a Variable Moving Average (Rail Line). The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility. Adjusted the settings of the VMA to move closer to price(quicker). This gives the user the ability to catch moves at support/resistance levels for added confluence.
In addition to the Rail Line or VMA, the indicator makes use of Bollinger Bands in two ways. First, it displays when the Bollinger Bands are in a squeeze and the potential direction of the breakout. The "squeeze" is the central concept of Bollinger Bands. When the bands come close together, constricting the moving average, it is called a squeeze. A squeeze signals a period of low volatility and is considered by traders to be a potential sign of future increased volatility and possible trading opportunities. The Bollinger Bands are also utilized to highlight when price action might reverse. This signals when price closes outside of the bands, quickly reverts and closes within the bands
Dots = Short Term Trend
Rails Bar Color = Medium Term Trend
Rail Line (VMA) = Long Term Trend
Squeeze = Shaded Orange Cloud
Combined with traditional support/resistance levels:
Variety Volatility Supertrend w/ Bands [Loxx]Variety Volatility Supertrend w/ Bands indicator is a powerful and highly customizable tool for traders. Building upon the foundational concept of the classic Supertrend indicator, this variant adds a plethora of user-driven options and features that can cater to diverse trading styles and market scenarios.
The Supertrend indicator is traditionally used to identify market trends by overlaying a line on the price chart, which changes color and position in relation to the price based on the trend direction. The Variety Volatility Supertrend w/ Bands takes this a step further by offering various volatility calculations, visual enhancements, explicit trading signals, and alert conditions.
It provides five options for volatility calculations, enabling users to select the most suitable measure for their strategy. This indicator also allows users to control the display of the upper, lower, and mid bands, which can serve as dynamic support and resistance levels. Further, it can display explicit trading signals when the trend changes direction and set up alerts for these signals.
█ User Inputs
Source: Defines the source of the price data, typically the closing price.
Period: Defines the lookback period for the chosen volatility calculation.
Mid Price Period: Defines the number of periods for calculating the mid-price.
Multiplier: The factor by which the volatility measure (e.g., ATR) is multiplied.
Volatility Type: The user can choose one of five different calculations for the volatility measure: ATR, Standard Error, Standard Deviation, Custom Standard Deviation with Sample Correction, and Custom Standard Deviation without Sample Correction.
Classic Supertrend: Enables the classic version of the Supertrend indicator if set to true.
Show Upper Band, Show Lower Band, Show Mid: Determines whether the upper, lower, and middle bands of the Supertrend indicator are displayed.
Outer Line Width, Mid Line Width: Controls the line widths of the outer and middle lines.
Color Bars: Colors the price bars based on the direction of the trend if enabled.
Show signals: Displays trading signals on the chart if enabled.
Bull Color, Bear Color: Controls the colors of the Supertrend indicator during bullish and bearish market conditions.
█ Computations
The script begins by calculating the chosen volatility measure (ATR, Standard Error, Standard Deviation, etc.) and the mid-price, which is the average of the highest and lowest prices over the specified Mid Price Period. It then calculates the upper and lower bands by adding and subtracting the product of the Multiplier and the volatility measure from the mid-price.
The script then compares the current price with the previous upper and lower bands to determine the trend direction. If the current price is greater than the previous upper band, the trend is considered bullish. If it's less than the previous lower band, the trend is bearish.
█ Visualizations
The script plots the upper, lower, and mid bands on the chart based on the user's settings. If Color Bars is enabled, the script colors the price bars based on the trend direction. If Show signals is enabled, the script displays shapes on the chart to represent trading signals when the trend changes direction.
█ Alerts
Finally, the script sets up alert conditions for long and short trading signals. When these conditions are met, TradingView sends an alert to the user with a message indicating the indicator's name, the type of signal (long or short), and the symbol and closing price of the asset.
█ Visualization Modes
Classic Supertrend
The Classic Supertrend mode essentially transforms the "Variety Volatility Supertrend w/ Bands " indicator to behave more like the traditional Supertrend indicator.
In the traditional Supertrend indicator, there is a single line that shifts positions based on the trend direction. When the market is in an uptrend, the Supertrend line is plotted below the price, acting as a dynamic support level. Conversely, when the market is in a downtrend, the Supertrend line moves above the price, acting as a dynamic resistance level.
When you set Classic Supertrend to True in this script, it mimics this behavior. It will only display one line (the Supertrend line) instead of the upper and lower bands. The Supertrend line will switch between the calculated upper band and lower band based on the trend direction:
In an uptrend, it plots the lower band as the Supertrend line (acting as a dynamic support level).
In a downtrend, it plots the upper band as the Supertrend line (acting as a dynamic resistance level).
Thus, when Classic Supertrend is True, the display is similar to the regular Supertrend indicator, offering a more simplified, less cluttered view of the price trend.
See here for the Classic Supertrend
Supertrend Moving Average with Bands
When the Classic Supertrend option is turned off in the "Variety Volatility Supertrend w/ Bands " indicator, the indicator displays upper and lower bands along with the midline, depending on the user's settings. These bands can serve as dynamic support and resistance levels, and they move and adjust based on the market's volatility.
Support and resistance are key concepts in technical analysis. Support is a price level where the price tends to find a floor as it falls, indicating a greater amount of demand or buying interest that can prop up the prices. Resistance, on the other hand, is a price level where rising prices tend to stop rising, indicating a greater amount of supply or selling interest.
In the context of the "Variety Volatility Supertrend w/ Bands " indicator:
Upper Band: This can act as a dynamic resistance level in a downtrend. When prices are falling, they might struggle to rise above this band. If prices do break above the upper band, it could be a sign that the downtrend is reversing, and a new uptrend may be beginning.
Lower Band: Conversely, this can act as a dynamic support level in an uptrend. When prices are rising, they might bounce off this band and continue to rise. If prices break below the lower band, it could indicate that the uptrend is reversing, and a new downtrend may be beginning.
The benefit of these dynamic support and resistance levels is that they adjust automatically as market conditions change, potentially offering more relevant insights into price behavior compared to static support and resistance levels.
See here for the Supertrend Moving Average with Bands
█ Volatility Types
The "Variety Volatility Supertrend w/ Bands " indicator provides five options for the volatility calculation. Volatility is a statistical measure of the dispersion of returns for a given security or market index. In most cases, the higher the volatility, the riskier the security. Here's a quick summary of each option:
Average True Range (ATR): This is a common volatility measure in the world of trading, particularly for commodities and forex markets. It measures the average of true price ranges over a specified period. The true range considers the most recent period's high-low range, the previous close to the most recent high, and the previous close to the most recent low, taking the highest value.
Standard Error: This is a measure of the accuracy of predictions made with statistical techniques. In the context of trading, the standard error can give traders an idea of the quality of their volatility or price level estimates. It's calculated using the standard deviation of the price data, the square root of the number of data points.
Standard Deviation: This is a measure of the dispersion of a set of data from its mean. It's a commonly used volatility measure in finance. In trading, a higher standard deviation suggests greater price volatility.
Custom Standard Deviation - with Sample Correction: This is a variation of the standard deviation calculation, but it applies a correction for small sample sizes. It's calculated similarly to the standard deviation, but the sum of the squares is divided by (n-1) instead of n to provide a more accurate estimate when working with a small number of data points.
Custom Standard Deviation - without Sample Correction: This is another variation of the standard deviation calculation, but without the sample correction. This might be used when the number of data points is sufficiently large that the correction is not necessary.
The choice of volatility measure can have a significant impact on the sensitivity of the Supertrend indicator. Some measures may result in wider bands and fewer trend changes, while others may produce narrower bands and more frequent trend changes. The choice of volatility measure should align with the trader's strategy and risk tolerance.
█ Multiple Timeframe options
The "Variety Volatility Supertrend w/ Bands " indicator, like most indicators on the TradingView platform, can be applied to various timeframes, regardless of the chart's current timeframe. The timeframe of an indicator is determined by the timeframe of the price data it processes.
This indicator's flexibility with timeframes allows it to be used in different trading strategies. Day traders might use shorter timeframes like 1-minute or 15-minute charts, swing traders might use 1-hour or 4-hour charts, and long-term investors might use daily or weekly charts.
See here for the Supertrend Moving Average with Bands on 4-hour chart using Daily data
ATR Extension [QuantVue]The Moving Average ATR Extension Indicator offers a powerful blend of two key market elements: the Average True Range (ATR) and Moving Averages (MA), capturing the dynamics of market momentum and trend direction.
This indicator is used to measure market extension from a user-selected moving average based on multiples of the Average True Range (ATR). By doing this, it becomes remarkably straightforward to spot strength at breakout points or exhaustion near the end of a run.
As a market breaks out the extension indicates a surge in buying pressure, while an extension after a sizeable move can often be an indication of market exhaustion. This extended position essentially reflects over-enthusiastic buying and could be an early warning sign of a potential trend reversal.
Breakout Strength:
Exhaustion:
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers.
ATR Stop Loss v4This indicator plots the current ATR value, and the Long and Short stop losses. Watch the indicator and move your stop loss to the Long or Short as necessary.
Unlike other ATR indicators this one allows the user to customize the table placement of the ATR calculations, and the colors of each row on the table, and the text. The ATR factors can also be edited.
SMT @joshuuuSmart Money Tool / Smart Money Technique is a concept taught by ICT (The InnerCircleTrader).
It compares correlated assets and if the correlation gets disrupted, we call it a smt divergence.
Correlated assets are for example the nasdaq, the sp500 and the dow.
A bullish scenario would be if one of those three makes a lower low and the other two make a higher low. In this case, that would form a divergence.
Another example would be the dxy (dollar-index), the eurusd and gbpusd. what's special about dxy compared to eurusd or gbpusd, is that dxy is inversely correlated to eurusd and gbpusd.
For inversely correlated assets the script has the option to inverse symbols.
Besides the option to inverse symbols, the script is also able to track smts between the two other symbols, that are not on the current chart and it's possible to filter smts only for certain time periods.
Options for those time periods are
ICT Killzones (all mentioned times are in ny time)
London Killzone : 0200-0500
forex:
NewYork Killzone : 0700-1000
indices:
NYAM Killzone : 0830-1100
NYPM Killzone : 1330-1600
ICTs Index SMT Times
AM - 0500-0930
PM - 1200-1500
To detect smts, the script compares swing highs with previous swing highs and swing lows with previous swing lows on all three symbols. To determine swing points, the user is able to input the amount of
candles to detect swing points, usually 1-3 is enough.
Volume Bollinger BandsThis code draws a custom indicator named "Volume Bollinger Bands" on the price chart with the following visual elements:
1. **Basis Line (Blue)**: This line represents the moving average value (ma_value) of the volume data calculated based on the user-selected moving average type (SMA, EMA, or WMA) and length.
2. **Upper Bands (Green)**: The upper bands are calculated by adding a certain multiple of the standard deviation (dev1 to dev11) to the basis line. These bands represent a certain level of volume volatility above the moving average.
3. **Lower Bands (Red)**: The lower bands are calculated by subtracting a certain multiple of the standard deviation (dev1 to dev11) from the basis line. These bands represent a certain level of volume volatility below the moving average.
4. **Volume Line (Yellow)**: This line represents the volume data for the selected timeframe, plotted over the price chart.
The user can customize the following parameters:
- Average Length: The length of the moving average.
- Moving Average Type: The type of moving average to be used (SMA, EMA, or WMA).
- Timeframe: The timeframe used to calculate the volume data.
- Deviation 1 to Deviation 11: Multipliers for calculating the upper and lower bands.
The purpose of this indicator is to visually represent the relationship between volume volatility, moving average, and price movements. Traders can use it to analyze changes in volume trends and potential price breakouts or reversals when the volume moves beyond certain levels of standard deviations from the moving average.
Smoothed Vortex IndicatorThe Smoothed Vortex Indicator (SVI) is an enhanced version of the original Vortex Indicator (VI), designed to provide traders with a more refined and smoother representation of trend strength and potential reversals in financial markets. While both indicators share the same concept of measuring directional movement and true range, the SVI incorporates the Hull Moving Average (HMA) to achieve additional smoothing , differentiating it from the standard Vortex Indicator.
The original Vortex Indicator (VI) consists of two lines, VI+ and VI-, which represent the positive and negative directional movements, respectively. It calculates the True Range (TR), Plus Directional Movement (PDM), and Minus Directional Movement (MDM) over a specified period, usually 14 periods, and then calculate the Simple Moving Averages (SMAs) of VI+ and VI- based on these values.
On the other hand, the Smoothed Vortex Indicator (SVI) utilizes the HMA to improve precision and reduce lag in trend identification. The HMA is itself a weighted moving average of two WMAs and is known for its smoothing characteristics. The SVI first calculates the VI+ and VI- values as in the original VI and then applies the HMA formula to each of these values separately.
To add further flexibility to the SVI, it introduces a user-defined Weighting Factor. This factor allows traders to fine-tune the smoothing effect applied to VI+ and VI-. By multiplying the weighted VI values with the HMA, the SVI ensures a smoother representation of trend strength, making it easier for traders to identify trends and potential reversal points in the market.
In summary, the Smoothed Vortex Indicator (SVI) enhances the original Vortex Indicator by incorporating the Hull Moving Average (HMA) for additional smoothing and introducing a customizable Weighting Factor. This improved version provides traders with a more refined and visually smoother indicator, aiding them in making better-informed trading decisions based on trend strength and possible market reversals.
Price Change RatePrice Change Rate (PCR)
Description:
The "Price Change Rate" (PCR) indicator is a customized tool designed to visualize the rate of price change over different periods. The PCR indicator plots three separate lines, each representing a distinct length of time. Each line represents the percentage change in price from the start of its designated period.
Usage:
Setting up the indicator:
To use the PCR indicator, simply add it to your TradingView chart. In the settings panel, you will find three different lengths to input: Length 1, Length 2, Length 3. These lengths represent the periods (in days) over which the price change is calculated. Input your desired lengths for each.
Understanding the output:
The Price Change Rate 1 line (colored in red) represents the rate of price change over the period defined in Length 1.
The Price Change Rate 2 line (colored in green) represents the rate of price change over the period defined in Length 2.
The Price Change Rate 3 line (colored in blue) represents the rate of price change over the period defined in Length 3.
The lines move in accordance with the rate of price change. For example, if the Price Change Rate 1 line is above 0, it means the price has increased in the period defined in Length 1.
Purpose:
The purpose of the PCR indicator is to give a visual representation of how the price of an asset is changing over multiple periods. By comparing the three lines, you can get a sense of the momentum of the price change and potentially identify trends or shifts in market sentiment.
Limitations:
Like all indicators, the PCR should not be used in isolation. Consider combining it with other indicators and tools to improve the accuracy of your analysis.
Remember, historical performance is not indicative of future results. Always use proper risk management and ensure your strategies align with your investment goals.
RSI Supreme Multi-Method [MyTradingCoder]Introducing the "RSI Supreme Multi-Method" indicator, a powerful tool that combines the Relative Strength Index (RSI) with selectable manipulation methods to identify overbought and oversold conditions in the market, along with the ability to detect divergences for enhanced trading insights.
The indicator features four distinct manipulation methods for the RSI, each providing valuable insights into market conditions:
1. Standard RSI Method: The indicator uses the traditional RSI calculation to identify overbought and oversold areas.
2. Volatility Weighted RSI Method: This method applies a volatility formula to the RSI calculation, allowing for a more responsive indication of market conditions during periods of heightened volatility. Users can adjust the length of the volatility formula to fine-tune this method.
3. Smoothed RSI Method: The smoothed RSI method utilizes a smoothing algorithm to reduce noise in the RSI values, presenting a clearer representation of overbought and oversold conditions. The length of the smoothing can be adjusted to match your trading preferences.
4. Session Weighted RSI Method: With this innovative method, users can specify multipliers for different time sessions throughout the day to manipulate the base RSI. Each session can be customized with start and end times, enabling or disabling specific sessions, and specifying the multiplier for each session. This feature allows traders to adapt the RSI to different market sessions dynamically.
Additionally, the "RSI Supreme Multi-Method" indicator draws divergences on the oscillator, providing an extra layer of analysis for traders. Divergences occur when the direction of the RSI differs from the direction of the price movement, potentially signaling trend reversals.
Key Settings:
RSI Length: Adjust the length of the base RSI before applying any manipulation.
RSI Source: Determine the data source for the base RSI calculation.
Overbought Value: Set the RSI value at which overbought conditions are indicated.
Oversold Value: Set the RSI value at which oversold conditions are indicated.
RSI Type: Choose from four options: Standard, Smoothed, Volatility Manipulated, or Session Manipulated.
Volatility Manipulated Settings: Adjust the length of the volatility formula (applicable to Volatility Manipulated method).
Smoothed Settings: Adjust the length of the smoothing (applicable to Smoothed method).
Session Manipulated Settings: Customize six different time sessions with start and end times, enable or disable specific sessions, and specify multipliers for each session.
Divergence Color: Adjust the color of the drawn divergences to suit your chart's aesthetics.
Divergence Tuning: Fine-tune the sensitivity of the divergence detection for more accurate signals.
The "RSI Supreme Multi-Method" indicator is a versatile and comprehensive tool that can be used to identify overbought and oversold areas, as well as to spot potential trend reversals through divergences. However, like all technical analysis tools, it should be used in conjunction with other indicators and analysis methods to make well-informed trading decisions.
Enhance your trading insights with the "RSI Supreme Multi-Method" indicator and gain an edge in identifying critical market conditions and divergences with precision.
Average True Range Trailing Mean [Alifer]Upgrade of the Average True Range default indicator by TradingView. It adds and plots a trailing mean to show periods of increased volatility more clearly.
ATR TRAILING MEAN
A trailing mean, also known as a moving average, is a statistical calculation used to smooth out data over time and identify trends or patterns in a time series.
In our indicator, it clearly shows when the ATR value spikes outside of it's average range, making it easier to identify periods of increased volatility.
Here's how the ATR Trailing Mean (atr_mean) is calculated:
atr_mean = ta.cum(atr) / (bar_index + 1) * atr_mult
The ta.cum() function calculates the cumulative sum of the ATR over all bars up to the current bar.
(bar_index + 1) represents the number of bars processed up to the current bar, including the current one.
By dividing the cumulative ATR ta.cum(atr) by (bar_index + 1) and then multiplying it by atr_mult (Multiplier), we obtain the ATR Trailing Mean value.
If atr_mult is set to 1.0, the ATR Trailing Mean will be equal to the simple average of the ATR values, and it will follow the ATR's general trend.
However, if atr_mult is increased, the ATR Trailing Mean will react more strongly to the ATR's recent changes, making it more sensitive to short-term fluctuations.
On the other hand, reducing atr_mult will make the ATR Trailing Mean less responsive to recent changes in ATR, making it smoother and less prone to reacting to short-term volatility.
In summary, adjusting the atr_mult input allows traders to fine-tune the ATR Trailing Mean's responsiveness based on their preferred level of sensitivity to recent changes in market volatility.
IMPLEMENTATION IN A STRATEGY
You can easily implement this indicator in an existing strategy, to only enter positions when the ATR is above the ATR Trailing Mean (with Multiplier-adjusted sensitivity). To do so, add the following lines of codes.
Under Inputs:
length = input.int(title="Length", defval=20, minval=1)
atr_mult = input.float(defval=1.0, step = 0.1, title = "Multiplier", tooltip = "Adjust the sensitivity of the ATR Trailing Mean line.")
smoothing = input.string(title="Smoothing", defval="RMA", options= )
ma_function(source, length) =>
switch smoothing
"RMA" => ta.rma(source, length)
"SMA" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
=> ta.wma(source, length)
This will allow you to define the Length of the ATR (lookback length over which the ATR is calculated), the Multiplier to adjust the Trailing Mean's sensitivity and the type of Smoothing to be used for the ATR.
Under Calculations:
atr= ma_function(ta.tr(true), length)
atr_mean = ta.cum(atr) / (bar_index+1) * atr_mult
This will calculate the ATR based on Length and Smoothing, and the resulting ATR Trailing Mean.
Under Entry Conditions, add the following to your existing conditions:
and atr > atr_mean
This will make it so that entries are only triggered when the ATR is above the ATR Trailing Mean (adjusted by the Multiplier value you defined earlier).
ATR - DEFINITION AND HISTORY
The Average True Range (ATR) is a technical indicator used to measure market volatility, regardless of the direction of the price. It was developed by J. Welles Wilder and introduced in his book "New Concepts in Technical Trading Systems" in 1978. ATR provides valuable insights into the degree of price movement or volatility experienced by a financial asset, such as a stock, currency pair, commodity, or cryptocurrency, over a specific period.
ATR - CALCULATION AND USAGE
The ATR calculation involves three components:
1 — True Range (TR): The True Range is a measure of the asset's price movement for a given period. It takes into account the following factors:
The difference between the high and low prices of the current period.
The absolute value of the difference between the high price of the current period and the closing price of the previous period.
The absolute value of the difference between the low price of the current period and the closing price of the previous period.
Mathematically, the True Range (TR) for the current period is calculated as follows:
TR = max(high - low, abs(high - previous_close), abs(low - previous_close))
2 — ATR Calculation: The ATR is calculated as a Moving Average (MA) of the True Range over a specified period.
The ATR is calculated as follows:
ATR = MA(TR, length)
3 — ATR Interpretation: The ATR value represents the average volatility of the asset over the chosen period. Higher ATR values indicate higher volatility, while lower ATR values suggest lower volatility.
Traders and investors can use ATR in various ways:
Setting Stop Loss and Take Profit Levels: ATR can help determine appropriate stop-loss and take-profit levels in trading strategies. A larger ATR value might require wider stop-loss levels to allow for the asset's natural price fluctuations, while a smaller ATR value might allow for tighter stop-loss levels.
Identifying Market Volatility: A sharp increase in ATR might indicate heightened market uncertainty or the potential for significant price movements. Conversely, a decreasing ATR might suggest a period of low volatility and possible consolidation.
Comparing Volatility Between Assets: Since ATR uses absolute values, it shouldn't be used to compare volatility between different assets, as assets with higher prices will consistently have higher ATR values, while assets with lower prices will consistently have lower ATR values. However, the addition of a trailing mean makes such a comparison possible. An asset whose ATR is consistently close to its ATR Trailing Mean will have a lower volatility than an asset whose ATR continuously moves far above and below its ATR Trailing Mean. This can help traders and investors decide which markets to trade based on their risk tolerance and trading strategies.
Determining Position Size: ATR can be used to adjust position sizes, taking into account the asset's volatility. Smaller position sizes might be appropriate for more volatile assets to manage risk effectively.
Consolidation Finder Expo [serkany88]It's relatively easy to create a repainting system where you can detect consolidation but it can be pretty hard to detect breakouts while the consolidation is happening live. This experimental approach came to my mind after brainstorming a bit.
What it does
This indicator DOES NOT REPAINT and try to show consolidation zones by coloring the bars or background to a selected color(default white)
How it works
In this approach we use weighted standard deviation of Vidya (Variable Index Dynamic Average created by Tushar Chande). The reason we use vidya is it's length is actually being adapted to volatility and lookback is dynamically adjusted. After getting vidya of base we also create same length vidya of high's and low's and get weighted standard deviation of those. After this we add and subtract those with base vidya and and get their average with our multiplier weight starting from the first bar. If our current value is higher than the average it means we are not in consolidation, else we are thus the bar and background will be painted.
How to use
Consolidation Finder can be used with your existing bot strategy as an additional filter or can be used with your manual trading system as an additional filter or detect breakouts. But be aware that you might need to tinker with length and multipliers in the settings depending on your timeframe to get best results possible before using it reliably. You can also enable the plots of vidya's from the style tab which is disabled by default to see how the deviations actually move if you are interested in it.
Volatility FilterThe "Volatility Filter" script is designed to measure market volatility across two different timeframes and determine whether the market is flat or trending.
It uses custom-tuned versions of four different indicators to measure volatility and distinguish between trending and ranging conditions.
The selected indicators are:
1 - Average Directional Index (ADX) Volatility
2 - Damiani Volameter
3 - Trader Pressure Index (TPI)
4 - Williams Alligator Indicator
The script calculates a filter score for both the current timeframe and a user-specified higher timeframe. It offers two types of filter scores, controlled by the 'FilterType' parameter. The filter score is then visualized on the chart as the main oscillator for the current timeframe and a filled bar for the higher timeframe.
The script utilizes a custom moving average function that provides 17 different ways to calculate a moving average, giving the user extensive flexibility in tailoring the script to their needs.
By using custom indicators and unique score calculation methods across two timeframes, this script provides a comprehensive measure of market volatility, aiding traders in identifying trending and ranging market conditions.
This script also provides two additional parameters for tuning its calculations and output, allowing to adjust the script to any trading style and the characteristics of the market being traded.
1 - Threshold: This parameter sets a threshold that the oscillator needs to surpass for the current market move to be considered as a trend. By adjusting the threshold, traders can control how much volatility is required to register a move as trending. A higher threshold will require more volatility for a trend to be recognized, meaning that the market needs to be moving more strongly for a trend to be identified.
2 - Length: This parameter is used to smooth the oscillator. It determines the number of periods used in the calculation of the moving average of the volatility filter score. A longer length will consider more data points and therefore provide a smoother line, which can be useful in accounting for the fading of trends. When trends start to lose their strength but are still present, a longer length can help in maintaining the recognition of the trend, aiding in making accurate trading decisions.
By adjusting these parameters, traders can fine-tune the script's sensitivity to market volatility and its recognition of trends, providing valuable flexibility in adapting to different market conditions and trading strategies.
Sector Spaghetti [CE]Sector Spaghetti
An overlay indicator for multiple sectors that is configurable for multi asset configuration to track the returns of sectors in the market.
The tool provides three different viewing modes for returns; a rolling bar lookback, a specific data and time anchor, and a visible range.
Included is a pre built list of sectors created by none other than DaanCryptoTrades, the list includes a large range of sectors to cover the depth of the market as a whole.
Additionally a pre configured custom sectors list has been provided, we have included Daan's custom list within the custom sectors but provided the use of an additional feature "weight".
The weight feature is an intuitive method of applying importance to assets in there relevant sectors, we have used this as an opportunity to show the ability of creating market cap weighted sectors to balance the assets accordingly. This can provide useful in sectors where a low market cap + high beta asset could typically skew the results in one direction even if the remainder of the sector may be performing differently.
Non Market Cap:
Meme and Dex seem to be performing similarly
Market Cap:
Assets weighted via market cap shows relatively Meme sector is out performing
We have also added an optional table to the right of the screen so that the trader can clearly see outperforming assets. This table is toggleable using radio buttons within the Style menu. Updating the code we have provided users the ability to customize the table to further improve readability of the Text and reduce screen noise where needed.
To improve asset visibility, the script also calculates the 'long tail' of the list distribution and automatically lowers the visibility of clustered assets in the centre.
To Do
Alerts for sector performance
EMA Buy/Sell Alerts with ATR-based TP/SLI wanted to fill a void in the Tradingview FREE indicators. I have searched far and wide on a moving average alert with ATR based take profits and stop loss. I have attempted a rudimentary version of what I hope to improve upon in the future. Will try and add different moving average options such as simple, hull, RMA, JMA, SSL, WMA, etc. For now, a basic EMA with 3 TP and a SL based on the current ATR should suffice.
I grow tired of the ATR take profits being hidden behind a paywall. Please use the script and add to your favorite indicators as you please.
Please leave feedback for future development.
Adaptive Moving Average with ATR bandsThis is script is essentially "AMA" and was originally developed by Alex Everget , I just added half ATR as a band to AMA to reduce the false breakouts and
use it to confirm hidden divergence with it.
Crunchster's Real PriceThis is a simple transformation of any price series (best suited to daily timeframe) that filters out random price fluctuations and revealing the "real" price action. It allows comparison between different assets easily and is a useful confirmation of support and resistance levels, or can be used with other technical analysis.
In the default settings based on a daily chart, the daily returns are first calculated, then volatility normalised by dividing by the standard deviation of daily returns over the defined lookback period (14 periods by default).
These normalised returns are then added together over the entire price series period, to create a new "Real price" - the volatility adjusted price. This is the default presentation.
In addition, a second signal ("Normalised price series over rolling period") is available which, instead of summing the normalised returns over the entire price series, allows a user configurable, rolling lookback window over which the normalised returns are summed up. The default setting is 365 periods (ie 1 year on the daily timeframe for tickers with 24hr markets such as crypto. This can be set to 252 periods if analysing equities, which only trade 5 days per week, or any other user defined period of interest).
Buyers & Sellers / RangeBuyers & Sellers / Range
Volatility oscillator that measures the relationship of Buying & Selling Pressure to True Range.
In other words, how much % Buyers and Sellers separately occupy the Bar
BSP is a part of Bar Range. Entire bar metrics will always have bigger value than its composite elements (body and wicks).
Since there will be NO chance of BP or SP being more than ATR, their ratio would serve crucial Volatility details.
Hence, we can relate each of them to the overall range.
As a result we have simultaneous measurements of proportions buyers and sellers to the bar.
Default mode shows BP/ATR and SP/ATR mirrored. When one rises, the other falls to compensate.
Buying Pressure / True Range ⬆️🟢 ⬇️🔵
Selling Pressure / True Range ⬆️🔴 ⬇️🟠
They are being averaged in 2 different ways:
Pre-average first, then relate as ratio
Related first, then Averaged
Enable "Preaveraged" to use already averaged BSP and Ranges in ratio instead of averaging the ratio of BSP to individual bar. For example, we're looking BP/ATR, in calculation of buyers / Range it will use "MA(Buying Pressure) / MA(True Range)" instead of "MA(Buying Pressure / True Range)".
Due such calculation, it is going to be more lagging than in off mode. Nevertheless, it reduces noise from the impact of individual bar change.
Second way of noise reduction is enabling "Body / Range"
BSP Body / Range where Bullish & Bearish Body = Buying & Selling Pressure - Relevant Wick
Buying Body = Buying Pressure - Lower Wick
Selling Body = Selling Pressure - Upper Wick
And only then it is divided to ATR.
Note that Balance line differs because body is less than it used to be with wicks. So change in wicks won't play any role in computing the ratio anymore. Thus, signals of their crossings will be more reliable than in default mode.
ATRLevels 1.0.0The indicator shows the average daily ATR for the past N days from the beginning of the current session. The range is displayed using levels. If the price has approached the level of 100% or -100% it means that the price has passed its average distance and it is possible to consider points for price reversal. This can be confirmed by daily or weekly horizontal resistance/support levels.
If the price has approached the levels of 25%, 50% or 75% and there are hourly or daily extrema at these levels, then we can consider situations on a false stabbing of these levels and a price pullback in the opposite direction.
*The best confirmation of a bounce/reversal is the density in the scalper's stack.
Settings:
ATR Daily length - number of periods to calculate the daily ATR
100% lines - visual design of 100% and -100% levels
50% lines - visual design of the 50% level
25% and 75% lines - visual design of 25% and 75% levels