Advanced Economic Indicator by USCG_VetAdvanced Economic Indicator by USCG_Vet
tldr:
This comprehensive TradingView indicator combines multiple economic and financial metrics into a single, customizable composite index. By integrating key indicators such as the yield spread, commodity ratios, stock indices, and the Federal Reserve's QE/QT activities, it provides a holistic view of the economic landscape. Users can adjust the components and their weights to tailor the indicator to their analysis, aiding in forecasting economic conditions and market trends.
Detailed Description
Overview
The Advanced Economic Indicator is designed to provide traders and investors with a powerful tool to assess the overall economic environment. By aggregating a diverse set of economic indicators and financial market data into a single composite index, it helps identify potential turning points in the economy and financial markets.
Key Features:
Comprehensive Coverage: Includes 14 critical economic and financial indicators.
Customizable Components: Users can select which indicators to include.
Adjustable Weights: Assign weights to each component based on perceived significance.
Visual Signals: Clear plotting with threshold lines and background highlights.
Alerts: Set up alerts for when the composite index crosses user-defined thresholds.
Included Indicators
Yield Spread (10-Year Treasury Yield minus 3-Month Treasury Yield)
Copper/Gold Ratio
High Yield Spread (HYG/IEF Ratio)
Stock Market Performance (S&P 500 Index - SPX)
Bitcoin Performance (BLX)
Crude Oil Prices (CL1!)
Volatility Index (VIX)
U.S. Dollar Index (DXY)
Inflation Expectations (TIP ETF)
Consumer Confidence (XLY ETF)
Housing Market Index (XHB)
Manufacturing PMI (XLI ETF)
Unemployment Rate (Inverse SPY as Proxy)
Federal Reserve QE/QT Activities (Fed Balance Sheet - WALCL)
How to Use the Indicator
Configuring the Indicator:
Open Settings: Click on the gear icon (⚙️) next to the indicator's name.
Inputs Tab: You'll find a list of all components with checkboxes and weight inputs.
Including/Excluding Components
Checkboxes: Check or uncheck the box next to each component to include or exclude it from the composite index.
Default State: By default, all components are included.
Adjusting Component Weights:
Weight Inputs: Next to each component's checkbox is a weight input field.
Default Weights: Pre-assigned based on economic significance but fully adjustable.
Custom Weights: Enter your desired weight for each component to reflect your analysis.
Threshold Settings:
Bearish Threshold: Default is -1.0. Adjust to set the level below which the indicator signals potential economic downturns.
Bullish Threshold: Default is 1.0. Adjust to set the level above which the indicator signals potential economic upswings.
Setting the Timeframe:
Weekly Timeframe Recommended: Due to the inclusion of the Fed's balance sheet data (updated weekly), it's best to use this indicator on a weekly chart.
Changing Timeframe: Select 1W (weekly) from the timeframe options at the top of the chart.
Interpreting the Indicator:
Composite Index Line
Plot: The blue line represents the composite economic indicator.
Movement: Observe how the line moves relative to the threshold lines.
Threshold Lines
Zero Line (Gray Dotted): Indicates the neutral point.
Bearish Threshold (Red Dashed): Crossing below suggests potential economic weakness.
Bullish Threshold (Green Dashed): Crossing above suggests potential economic strength.
Background Highlights
Red Background: When the composite index is below the bearish threshold.
Green Background: When the composite index is above the bullish threshold.
No Color: When the composite index is between the thresholds.
Understanding the Components
1. Yield Spread
Description: The difference between the 10-year and 3-month U.S. Treasury yields.
Economic Significance: An inverted yield curve (negative spread) has historically preceded recessions.
2. Copper/Gold Ratio
Description: The price ratio of copper to gold.
Economic Significance: Copper is tied to industrial demand; gold is a safe-haven asset. The ratio indicates risk sentiment.
3. High Yield Spread (HYG/IEF Ratio)
Description: Ratio of high-yield corporate bonds (HYG) to intermediate-term Treasury bonds (IEF).
Economic Significance: Reflects investor appetite for risk; widening spreads can signal credit stress.
4. Stock Market Performance (SPX)
Description: S&P 500 Index levels.
Economic Significance: Broad measure of U.S. equity market performance.
5. Bitcoin Performance (BLX)
Description: Bitcoin Liquid Index price.
Economic Significance: Represents risk appetite in speculative assets.
6. Crude Oil Prices (CL1!)
Description: Front-month crude oil futures price.
Economic Significance: Influences inflation and consumer spending.
7. Volatility Index (VIX)
Description: Market's expectation of volatility (fear gauge).
Economic Significance: High VIX indicates market uncertainty; inverted in the indicator to align directionally.
8. U.S. Dollar Index (DXY)
Description: Value of the U.S. dollar relative to a basket of foreign currencies.
Economic Significance: Affects international trade and commodity prices; inverted in the indicator.
9. Inflation Expectations (TIP ETF)
Description: iShares TIPS Bond ETF prices.
Economic Significance: Reflects market expectations of inflation.
10. Consumer Confidence (XLY ETF)
Description: Consumer Discretionary Select Sector SPDR Fund prices.
Economic Significance: Proxy for consumer confidence and spending.
11. Housing Market Index (XHB)
Description: SPDR S&P Homebuilders ETF prices.
Economic Significance: Indicator of the housing market's health.
12. Manufacturing PMI (XLI ETF)
Description: Industrial Select Sector SPDR Fund prices.
Economic Significance: Proxy for manufacturing activity.
13. Unemployment Rate (Inverse SPY as Proxy)
Description: Inverse of the SPY ETF price.
Economic Significance: Represents unemployment trends; higher inverse SPY suggests higher unemployment.
14. Federal Reserve QE/QT Activities (Fed Balance Sheet - WALCL)
Description: Total assets held by the Federal Reserve.
Economic Significance: Indicates liquidity injections (QE) or withdrawals (QT); impacts interest rates and asset prices.
Customization and Advanced Usage
Adjusting Weights:
Purpose: Emphasize components you believe are more predictive or relevant.
Method: Increase or decrease the weight value next to each component.
Example: If you think the yield spread is particularly important, you might assign it a higher weight.
Disclaimer
This indicator is for educational and informational purposes only. It is not financial advice. Trading and investing involve risks, including possible loss of principal. Always conduct your own analysis and consult with a professional financial advisor before making investment decisions.
Komut dosyalarını "spy" için ara
BetaBeta , also known as the Beta coefficient, is a measure that compares the volatility of an individual underlying or portfolio to the volatility of the entire market, typically represented by a market index like the S&P 500 or an investible product such as the SPY ETF (SPDR S&P 500 ETF Trust). A Beta value provides insight into how an asset's returns are expected to respond to market swings.
Interpretation of Beta Values
Beta = 1: The asset's volatility is in line with the market. If the market rises or falls, the asset is expected to move correspondingly.
Beta > 1: The asset is more volatile than the market. If the market rises or falls, the asset's price is expected to rise or fall more significantly.
Beta < 1 but > 0: The asset is less volatile than the market. It still moves in the same direction as the market but with less magnitude.
Beta = 0: The asset's returns are not correlated with the market's returns.
Beta < 0: The asset moves in the opposite direction to the market.
Example
A beta of 1.20 relative to the S&P 500 Index or SPY implies that if the S&P's return increases by 1%, the portfolio is expected to increase by 12.0%.
A beta of -0.10 relative to the S&P 500 Index or SPY implies that if the S&P's return increases by 1%, the portfolio is expected to decrease by 0.1%. In practical terms, this implies that the portfolio is expected to be predominantly 'market neutral' .
Calculation & Default Values
The Beta of an asset is calculated by dividing the covariance of the asset's returns with the market's returns by the variance of the market's returns over a certain period (standard period: 1 years, 250 trading days). Hint: It's noteworthy to mention that Beta can also be derived through linear regression analysis, although this technique is not employed in this Beta Indicator.
Formula: Beta = Covariance(Asset Returns, Market Returns) / Variance(Market Returns)
Reference Market: Essentially any reference market index or product can be used. The default reference is the SPY (SPDR S&P 500 ETF Trust), primarily due to its investable nature and broad representation of the market. However, it's crucial to note that Beta can also be calculated by comparing specific underlyings, such as two different stocks or commodities, instead of comparing an asset to the broader market. This flexibility allows for a more tailored analysis of volatility and correlation, depending on the user's specific trading or investment focus.
Look-back Period: The standard look-back period is typically 1-5 years (250-1250 trading days), but this can be adjusted based on the user's preference and the specifics of the trading strategy. For robust estimations, use at least 250 trading days.
Option Delta: An optional feature in the Beta Indicator is the ability to select a specific Delta value if options are written on the underlying asset with Deltas less than 1, providing an estimation of the beta-weighted delta of the position. It involves multiplying the beta of the underlying asset by the delta of the option. This addition allows for a more precise assessment of the underlying asset's correspondence with the overall market in case you are an options trader. The default Delta value is set to 1, representing scenarios where no options on the underlying asset are being analyzed. This default setting aligns with analyzing the direct relationship between the asset itself and the market, without the layer of complexity introduced by options.
Calculation: Simple or Log Returns: In the calculation of Beta, users have the option to choose between using simple returns or log returns for both the asset and the market. The default setting is 'Simple Returns'.
Advantages of Using Beta
Risk Management: Beta provides a clear metric for understanding and managing the risk of a portfolio in relation to market movements.
Portfolio Diversification: By knowing the beta of various assets, investors can create a balanced portfolio that aligns with their risk tolerance and investment goals.
Performance Benchmarking: Beta allows investors to compare an asset's risk-adjusted performance against the market or other benchmarks.
Beta-Weighted Deltas for Options Traders
For options traders, understanding the beta-weighted delta is crucial. It involves multiplying the beta of the underlying asset by the delta of the option. This provides a more nuanced view of the option's risk relative to the overall market. However, it's important to note that the delta of an option is dynamic, changing with the asset's price, time to expiration, and other factors.
RedK Relative Strength Ribbon: RS Ribbon and RS ChartsRedK Relative Strength Ribbon (RedK RS_Ribbon) is TA tool that plots the Relative Strength of the current chart symbol against another symbol, or an index of choice. It enables us to see when a stock is gaining strength (or weakness) relative to (an index that represents) the market, and when it hits new highs or lows of that relative strength, which may lead to better trading decisions.
I searched TV for existing RS indicators but didn't find what I really wanted, so I put this together and added some additional features for my own use. It started as a simple RS line with new x-weeks Hi/Lo markers, then evolved into what you see here in v1.0 with the ability to plot a full RS chart in regular or HA candle types. Hope this will be useful to some other growth traders here on TV.
What is Relative Strength (RS)
------------------------------------
(RS is a comprehensive concept in TA, below is a quick summary - please research further if it's not already a familiar topic)
Relative Strength (RS) is a technical concept / indicator used mainly by growth / swing / momentum traders to compare the performance of one security or asset against another. RS measures the price performance of a specific security relative to a benchmark, such as an index or another asset. It's not to be confused with the famous Relative Strength Index (RSI) technical indicator
For example, In the context of comparing a stock's relative strength to the SPY (S&P 500) index, the relative strength calculation involves dividing the stock's price or price-related value (e.g., close price) by the corresponding value of the SPY index. The resulting ratio (and its trend over time) indicates the relative performance of the stock compared to the index.
Traders and investors use relative strength analysis to identify securities that have been showing relative strength or weakness compared to a benchmark, which can help in making investment decisions or identifying the "market leaders" and potential trading opportunities.
There are so many books and documentation about the RS concept and its importance to identify market leaders, especially when recovering from a bear market - if you're interested in the concept, please search more about it and review some of that literature. There's also a more detailed definition of Relative Strength in this article on Invstopedia
RedK RS_Ribbon features and options
---------------------------------------------------
The indicator settings provide many options and features - see the settings box below
- Change / choose base symbol
The default is to use SPY as the base symbol - so we're comparing the chart's symbol to a proxy of the S&P 500 - Some traders may prefer to use the QQQ - or other index or ETF that acts as a proxy for the industry / sector / market they are trading
- RS Calculation / RS line
we use the simple form of the RS calculation,
RS = closing price of current chart symbol / closing price of the base symbol (default is SPY) * 100
some RS documentation will use the Rate of Change (RoC) - but that's not what we're using here.
- The RS_Ribbon
* Once the RS line is plotted, it made sense to add couple of moving averages to it, to make it easier to observe the trend of the RS and the changes in that trend as you can see in the sample chart on top.
* The RS_Ribbon is made up of a fast and slow moving averages and will change color (green / red) based on detected trend RS direction - the 2 MA types and lengths can be changed until you get the setup that provides the best view for you of the RS trend over time. My preferred settings are used as defaults here.
- Identifying New (x)Week Hi/Lo RS Values
* Most traders would be interested when the calculated RS hits a new 52-week high or low value.
* There are cases where we may want to see when a new RS Hi/Lo has been hit for a different period - for example, a quarter (13 weeks)
* the number of weeks can be changed as well as adjusting the numbers of trading days per week (if needed for certain symbols/exchanges)
- Working with Different Timeframes
* Now these "markers" will only be available in the daily and weekly timeframes and there is a good reason for that, it's not the fact that i'm lazy :) and that enabling this in timeframes lower than 1D would have been some heavy lifting, but the reality is that with RS, we're really interested if a "day's close" hits a new RS high or low value against the moving window of x weeks (and the weeks close also) - if you think of this more, at lower TF, RS can hit a lower value that never end up registering on the daily closing and that causes a lot of visual confusion. So i took the "cleaner way out" of that issue.
* note that you can choose a different timeframe for the RS_Ribbon than the chart - if you do, please make sure the chart is at a lower timeframe than the indicator's - (and in that case remember to hide the candles because they won't make much sense)
i wanted to leverage TV's built-in multi-Timeframe (MTF) support with the caveat that using the indicator at lower TF with a chart at a higher TF (example chart at 1Wk and indicator at 1D) will show inaccurate results. If this sounds confusing, keep the indicator TF same as the chart.
the example here shows a 2-Hr chart against 1D RS_Ribbon
- Using RS Charts and RS Candles
* Beside the ability to plot the RS "closing" value with the RS line, the indicator provides the ability to show a "full" RS Chart with candles that represent the relative values of open, high, low. and close against the base symbol.
* the RS Charts can be used for regular chart analysis, for example, we can identify common chart patterns like Cup & Handle, VCP, Head & Shoulder..etc using these charts .. which can provide some edge over the price charts
* for the Heikin Ashi fans, I added the ability to choose classic or HA candles for the chart. note you have to enable the option to show the RS candles first before you choose the option to switch to HA.
The chart below shows a side-by-side comparison on the 2 RS chart types
Closing remarks
-----------------------
* RS is a good way to identify market/sector leaders (who will usually recover from a bear market before others) - and enable us to see the strength that comes from the broader makrket versus the one that comes from the stock's own performance and identify good trading opportunities
* I'll continue to update this work and alerts will come in next version - but wanted to check initial reaction and value
* as usual, if you decide to use this in your chart analysis, it's necessary to combine with other momentum, trend, ...etc indicators and do not make trading decision only based on the signales from a single indicator
Modern Portfolio Management IndicatorAfter weeks of grueling over this indicator, I am excited to be releasing it!
Intro:
This is not a sexy, technical or math based indicator that will give you buy and sell signals or anything fancy, but it is an indicator that I created in hopes to bridge a gap I have noticed. That gap is the lack of indicators and technical resources for those who also like to plan their investments. This indicator is tailored to those who are either established investors and to those who are looking to get into investing but don't really know where to start.
The premise of this indicator is based on Modern Portfolio Theory (MPT). Before we get into the indicator itself, I think its important to provide a quick synopsis of MPT.
About MPT:
Modern Portfolio Theory (MPT) is an investment framework that was developed by Harry Markowitz in the 1950s. It is based on the idea that an investor can optimize their investment portfolio by considering the trade-off between risk and return. MPT emphasizes diversification and holds that the risk of an individual asset should be assessed in the context of its contribution to the overall portfolio's risk. The theory suggests that by diversifying investments across different asset classes with varying levels of risk, an investor can achieve a more efficient portfolio that maximizes returns for a given level of risk or minimizes risk for a desired level of return. MPT also introduced the concept of the efficient frontier, which represents the set of portfolios that offer the highest expected return for a given level of risk. MPT has been widely adopted and used by investors, financial advisors, and portfolio managers to construct and manage portfolios.
So how does this indicator help with MPT?
The thinking and theory that went behind this indicator was this: I wanted an indicator, or really just a "way" to test and back-test ticker performance over time and under various circumstances and help manage risk.
Over the last 3 years we have seen a massive bull market, followed by a pretty huge bear market, followed by a very unexpected bull market. We have been and continue to be plagued with economic and political uncertainty that seems to constantly be looming over everyone with each waking day. Some people have liquidated their retirement investments, while others are fomoing in to catch this current bull run. But which tickers are sound and how tickers and funds have compared amongst each other remains somewhat difficult to ascertain, absent manually reviewing and calculating each ticker individually.
That is where this indicator comes in. This indicator permits the user to define up to 5 equities that they are potentially interested in investing in, or are already invested in. The user can then select a specific period in time, say from the beginning of 2022 till now. The user can then define how much they want to invest in each company by number of shares, so if they want to buy 1 share a week, or 2 shares a month, they can input these variables into the indicator to draw conclusions. As many brokers are also now permitting fractional share trading, this ability is also integrated into the indicator. So for shares, you can put in, say, 0.25 shares of SPY and the indicator will accept this and account for this fractional share.
The indicator will then show you a portfolio summary of what your earnings and returns would be for the defined period. It will provide a percent return as well as the projected P&L based on your desired investment amount and frequency.
But it goes beyond just that, you can also have the indicator display a simple forecasting projection of the portfolio. It will show the projected P&L and % Return over various periods in time on each of the ticker (see image below):
The indicator will also break down your portfolio allocation, it will show where the majority of your holdings are and where the majority of your P&L in coming from (best performers will show a green fill and worst will show a red fill, see image below):
This colour coding also extends to the portfolio breakdown itself.
Dollar cost averaging (DCA) is incorporated into the indicator itself, by assuming ongoing contributions. If you want to stop contributions at a certain point, you just select your end time for contributions at the point in which you would stop contributing.
The indicator also provides some basic fundamental information about the company tickers (if applicable). Simply select the "Fundamental" chart and it will display a breakdown of the fundamentals, including dividends paid, market cap and earnings yield:
The indicator also provides a correlation assessment of each holding against each other holding. This emphasizes the profound role of diversification on portfolios. The less correlation you have in your portfolio among your holdings, the better diversified you are. As well, if you have holdings that are perfectly inverse other holdings, you have a pseudo hedge against the downturn of one of your holdings. This is even more helpful if the inverse is a company with solid fundamentals.
In the below example you will see NASDAQ:IRDM in the portfolio. You will be able to see that NASDAQ:IRDM has a slight inverse relationship to SPY:
Yet IRDM has solid fundamentals and is performing well fundamentally. Thus, this makes IRDIM a solid addition to your portfolio as it can potentially hedge against a downturn for SPY and is less risky than simply holding an inverse leveraged share on SPY which is most likely just going to cost you money than make you money.
Concluding remarks:
There are many fun and interesting things you can do with this indicator and I encourage you to try it out and have fun with it! The overall objective with the indicator is to help you plan for your portfolio and not necessarily to manage your portfolio. If you have a few stocks you are looking at and contemplating investing in, this will help you run some theoretical scenarios with this stock based on historical performance and also help give you a feel of how it will perform in the future based on past behaviour.
It is important to remember that past behaviour does not indicate future behaviour, but the indicator provides you with tools to get a feel for how a stock has performed under various circumstances and get a general feel of the fundamentals of the company you could potentially be investing in.
Please note, this indicator is not meant to replace full, fundamental analyses of individual companies. It is simply meant to give you a "gist" of how companies are fundamentally and how they have performed historically.
I hope you enjoy it!
Safe trades everyone!
Trend Correlation HeatmapHello everyone!
I am excited to release my trend correlation heatmap, or trend heatmap for short.
Per usual, I think its important to explain the theory before we get into the use of the indicator, so let's get into the theory!
The theory:
So what is a correlation?
Correlation is the relationship one variable has to another. Correlations are the basis of everything I do as a quantitative trader. From the correlation between the same variables (i.e. autocorrelation), the correlation between other variables (i.e. VIX and SPY, SPY High and SPY Low, DXY and ES1! close, etc.) and, as well, the correlation between price and time (time series correlation).
This may sound very familiar to you, especially if you are a user, observer or follower of my ideas and/or indicators. Ninety-five percent of my indicators are a function of one of those three things. Whether it be a time series based indicator (i.e.my time series indicator), whether it be autocorrelation (my autoregressive cloud indicator or my autocorrelation oscillator) or whether it be regressive in nature (i.e. my SPY Volume weighted close, or even my expected move which uses averages in lieu of regressive approaches but is foundational in regression principles. Or even my VIX oscillator which relies on the premise of correlations between tickers.) So correlation is extremely important to me and while its true I am more of a regression trader than anything, I would argue that I am more of a correlation trader, because correlations are the backbone of how I develop math models of stocks.
What I am trying to stress here is the importance of correlations. They really truly are foundational to any type of quantitative analysis for stocks. And as such, understanding the current relationship a stock has to time is pivotal for any meaningful analysis to be conducted.
So what is correlation to time and what does it tell us?
Correlation to time, otherwise known and commonly referred to as "Time Series", is the relationship a ticker's price has to the passing of time. It is displayed in the traditional Pearson Correlation Coefficient or R value and can be any value from -1 (strong negative relationship, i.e. a strong downtrend) to + 1 (i.e. a strong positive relationship, i.e. a strong uptrend). The higher or lower the value the stronger the up or downtrend is.
As such, correlation to time tells us two very important things. These are:
a) The direction of the stock; and
b) The strength of the trend.
Let's take a look at an example:
Above we have a chart of QQQ. We can see a trendline that seems to fit well. The questions we ask as traders are:
1. What is the likelihood QQQ breaks down from this trendline?
2. What is the likelihood QQQ continues up?
3. What is the likelihood QQQ does a false breakdown?
There are numerous mathematical approaches we can take to answer these questions. For example, 1 and 2 can be answered by use of a Cumulative Distribution Density analysis (CDDA) or even a linear or loglinear regression analysis and 3 can be answered, more or less, with a linear regression analysis and standard error ascertainment, or even just a general comparison using a data science approach (such as cosine similarity or Manhattan distance).
But, the reality is, all 3 of these questions can be visualized, at least in some way, by simply looking at the correlation to time. Let's look at this chart again, this time with the correlation heatmap applied:
If we look at the indicator we can see some pivotal things. These are:
1. We have 4, very strong uptrends that span both higher AND lower timeframes. We have a strong uptrend of 0.96 on the 5 minute, 50 candle period. We have a strong uptrend at the 300 candle lookback period on the 1 minute, we have a strong uptrend on the 100 day lookback on the daily timeframe period and we have a strong uptrend on the 5 minute on the 500 candle lookback period.
2. By comparison, we have 3 downtrends, all of which have correlations less than the 4 uptrends. All of the downtrends have a correlation above -0.8 (which we would want lower than -0.8 to be very strong), and all of the uptrends are greater than + 0.80.
3. We can also see that the uptrends are not confined to the smaller timeframes. We have multiple uptrends on multiple timeframes and both short term (50 to 100 candles) and long term (up to 500 candles).
4. The overall trend is strengthening to the upside manifested by a positive Max Change and a Positive Min change (to be discussed later more in-depth).
With this, we can see that QQQ is actually very strong and likely will continue at least some upside. If we let this play out:
We continued up, had one test and then bounced.
Now, I want to specify, this indicator is not a panacea for all trading. And in relation to the 3 questions posed, they are best answered, at least quantitatively, not only by correlation but also by the aforementioned methods (CDDA, etc.) but correlation will help you get a feel for the strength or weakness present with a stock.
What are some tangible applications of the indicator?
For me, this indicator is used in many ways. Let me outline some ways I generally apply this indicator in my day and swing trading:
1. Gauging the strength of the stock: The indictor tells you the most prevalent behavior of the stock. Are there more downtrends than uptrends present? Are the downtrends present on the larger timeframes vs uptrends on the shorter indicating a possible bullish reversal? or vice versa? Are the trends strengthening or weakening? All of these things can be visualized with the indicator.
2. Setting parameters for other indicators: If you trade EMAs or SMAs, you may have a "one size fits all" approach. However, its actually better to adjust your EMA or SMA length to the actual trend itself. Take a look at this:
This is QQQ on the 1 hour with the 200 EMA with 200 standard deviation bands added. If we look at the heatmap, we can see, yes indeed 200 has a fairly strong uptrend correlation of 0.70. But the strongest hourly uptrend is actually at 400 candles, with a correlation of 0.91. So what happens if we change the EMA length and standard deviation to 400? This:
The exact areas are circled and colour coded. You can see, the 400 offers more of a better reference point of supports and resistances as well as a better overall trend fit. And this is why I never advocate for getting married to a specific EMA. If you are an EMA 200 lover or 21 or 51, know that these are not always the best depending on the trend and situation.
Components of the indicator:
Ah okay, now for the boring stuff. Let's go over the functionality of the indicator. I tried to keep it simple, so it is pretty straight forward. If we open the menu here are our options:
We have the ability to toggle whichever timeframes we want. We also have the ability to toggle on or off the legend that displays the colour codes and the Max and Min highest change.
Max and Min highest change: The max and min highest change simply display the change in correlation over the previous 14 candles. An increasing Max change means that the Max trend is strengthening. If we see an increasing Max change and an increasing Min change (the Min correlation is moving up), this means the stock is bullish. Why? Because the min (i.e. ideally a big negative number) is going up closer to the positives. Therefore, the downtrend is weakening.
If we see both the Max and Min declining (red), that means the uptrend is weakening and downtrend is strengthening. Here are some examples:
Final Thoughts:
And that is the indicator and the theory behind the indicator.
In a nutshell, to summarize, the indicator simply tracks the correlation of a ticker to time on multiple timeframes. This will allow you to make judgements about strength, sentiment and also help you adjust which tools and timeframes you are using to perform your analyses.
As well, to make the indicator more user friendly, I tried to make the colours distinctively different. I was going to do different shades but it was a little difficult to visualize. As such, I have included a toggle-able legend with a breakdown of the colour codes!
That's it my friends, I hope you find it useful!
Safe trades and leave your questions, comments and feedback below!
Vola2vola Volatility indicatorHello everyone!
For those who remember vola2vola volatility script, we are excited to bring it back within the Myfractalrange Tradingview account!
As you know, Volatility is very important to assets and many people use it to trade. This tool automate the calculation of the volatility of every asset as well as provide an estimated value of its "Trend" and "Trade".
The idea in this script is to allow users to have an idea of the current volatility regime of the asset he is monitoring: Is its volatility Bullish or Bearish Trend, Bearish or Bullish Trade? Is its volatility compressed to a previous minimum value? Is it about to experience a spike in volatility? Let's dig together into how this tool works and how you could integrate it into your trading shall we?
What are the data provided by the script, let see one by one:
- Volatility: The value of what vola2vola calls the "synthetic" volatility of the asset is calculated using a custom formula based on the VIXFIX formula. Default colour is blue
- Trade : Trade is generated using an arbitrary and fixed look back period, it acts as a short-term trend. It will give the user the possibility to know if the volatility of the asset is still trending short-term or not. Default colour is black
- Trend: Trend is also generated using an arbitrary and fixed look back period (20 times the one used for Trade), it acts as a longer-term trend. It works the same way as Trade and will give the user the possibility to know if the volatility of the asset is trending a longer-term basis or not. Default colours are: red when the Trend of the volatility of the asset is Bearish and green when the Trend of the volatility of the asset is Bullish
- 52-weeks high & low: Based on the highest and lowest value of Volatility in the past 52 weeks, a 52-weeks high and a 52-weeks low will be marked. These values usually acts as Resistance and Support for volatility. Default colour is black and they are in dotted lines
Here are some of the questions you need to know the answer to before using this script:
- How do you define a "Bullish/Bearish volatility Trade"? Volatility is Bullish Trade is when Volatility is above Trade and it is Bearish Trade when volatility is below Trade
- How do you define a "Bullish/Bearish volatility Trend"? Volatility is Bullish Trend is when Volatility is above Trend and it is Bearish Trend when volatility is below Trend
- On which time frame should i use this script? You want to use the Daily time frame. Although, for short term moves in the volatility space, users could monitor the Hourly timeframe
Understanding the volatility of an asset, along with the bullish or bearish nature of its Trade and Trend, is crucial for investors. Assets with decreasing volatility tend to appreciate in value, while those with increasing volatility tend to depreciate. Therefore, we recommend investors be aware of the volatility situation of the asset they are holding in their portfolio.
Here are the different scenarios that you will encounter on a Daily timeframe and how to interpret them:
- Volatility is below Trade & Trend and Volatility is Bearish Trade and Trend: It is the most Bullish set up for the price of an asset
- Volatility is above Trade & Trend and Volatility is Bullish Trade and Trend: It is the most Bearish set up for the price of an asset
- Any other set up suggests uncertainty, caution is therefore recommended
These are some cases that you could experience while using this script:
1) Bearish Volatility set up on a daily timeframe:
In this example using SPY, when its Volatility is Bearish Trend on a daily timeframe, the price of SPY tends to appreciate
2) Bullish Volatility set up on a daily timeframe:
In this example using SPY, when its Volatility is Bullish Trend on a daily timeframe, the price of SPY tends to depreciate
We hope that you will find these explanations useful, please contact us by private message for access.
Enjoy!
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorised. This script is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. Myfractalrange is not responsible for any losses you may incur. Please invest wisely.
Accelerating Dual Momentum ScoreThis is a score metric used by the Accelerating Dual Momentum strategy.
According to the website you referenced when you created, the strategy is as follows:
Strategy Rules
This strategy allocates 100% of of the portfolio to one asset each month.
1. On the last trading day of each month, calculate the “momentum score” for the S&P 500 ( SPY ) and the international small cap equities (SCZ). The momentum score is the average of the 1, 3, and 6-month total return for each asset.
2. If the momentum score of SCZ > SPY and is greater than 0, invest in SCZ.
3. If the momentum score of SPY > SCZ and is greater than 0, invest in SPY .
4. If neither momentum score is greater than 0, calculate the 1-month total return for long-term US Treasuries ( TLT ) and US TIPS (TIP). Invest in whichever has the higher return.
Source: portfoliodb.co
Volatility/Volume ImpactWe often hear statements such as follow the big volume to project possible price movements. Or low volatility is good for trend. How much of it is statistically right for different markets. I wrote this small script to study the impact of Volatility and Volume on price movements.
Concept is as below:
Compare volume with a reference median value. You can also use moving average or other types for this comparison.
If volume is higher than median, increment positive value impact with change in close price. If volume is less than median, then increment negative value impact with change in close price.
With this we derive pvd and nvd which are measure of price change when volume is higher and lower respectively. pvd measures the price change when volume is higher than median whereas nvd measures price change when volume is lower than median.
Calculate correlation of pvd and nvd with close price to see what is impacting the price by higher extent.
Colors are applied to plots which have higher correlation to price movement. For example, if pvd has higher correlation to price movement, then pvd is coloured green whereas nvd is coloured silver. Similarly if nvd has higher correlation to price then nvd is coloured in red whereas pvd is coloured in silver.
Similar calculation also applied for volatility.
With this, you can observe how price change is correlated to high/low volume and volatility.
Let us see some examples on different markets.
Example 1: AMEX:SPY
From the chart snapshot below, it looks evident that SPY always thrive when there is low volatility and LOW VOLUME!!
Example 2: NASDAQ:TSLA
The picture will be different if you look at individual stocks. For Tesla, the price movement is more correlated to high volume (unlike SPY where low volume days define the trend)
Example 3: KUCOIN:BTCUSDT
Unlike stocks and indices, high volatility defined the trend for BTC for long time. It thrived when volatility is more. We can see that high volume is still major influencer in BTC price movements.
Settings are very simple and self explanatory.
Hint: You can also move the indicator to chart overlay for better visualisation of comparison with close price.
Linear Regression Relative Strength[image/x/iZvwDWEY/
Relative Strength indicator comparing the current symbol to SPY (or any other benchmark). It may help to pick the right assets to complement the portfolio build around core ETFs such as SPY.
The general idea is to show if the current symbol outperforms or underperforms the benchmark (SPY by default) when bought some certain time ago. Relative performance is displayed as percent and is calculated for three different time ranges - short (1 mo by default), mid (1 quarter), and long (half a year). To smooth the volatility, the script uses linear regression to estimate the trend and takes the start and the end points of the linear regression line to compute the relative strength.
It is important to remember that the script shows the gain relative to SPY (or other selected benchmark), not the asset's gain. Therefore, it may indicate that the asset is profitable, but it still may lose value if SPY is in downtrend.
Therefore, it is crucial to check other indicators before making a decision. In the example above, standard linear regression for one quarter is used to indicate the direction of the trend.
Drawdown RangeHello death eaters, presenting a unique script which can be used for fundamental analysis or mean reversion based trades.
Process of deriving this table is as below:
Find out ATH for given day
Calculate the drawdown from ATH for the day and drawdown percentage
Based on the drawdown percentage, increment the count of basket which is based on input iNumber of ranges . For example, if number of ranges is 5, then there will be 5 baskets. First basket will fit drawdown percentage 0-20% and each subsequent ones will accommodate next 20% range.
Repeat the process from start to last bar. Once done, table will plot how much percentage of days belong to which basket.
For example, from the below chart of NASDAQ:AAPL
We can deduce following,
Historically stock has traded within 1% drawdown from ATH for 6.59% of time. This is the max amount of time stock has stayed in specific range of drawdown from ATH.
Stock has traded at the drawdown range of 82-83% from ATH for 0.17% of time. This is the least amount of time the stock has stayed in specific range of drawdown from ATH.
At present, stock is trading 2-3% below ATH and this has happened for about 2.46% of total days in trade
Maximum drawdown the stock has suffered is 83%
Lets take another example of NASDAQ:TSLA
Stock is trading at 21-22% below ATH. But, historically the max drawdown range where stock has traded is within 0-1%. Now, if we make this range to show 20 divisions instead of 100, it will look something like this:
Table suggests that stock is trading about 20-25% below ATH - which is right. But, table also suggests that stock has spent most number of days within this drawdown range when we divide it by 20 baskets instad of 100. I would probably wait for price to break out of this range before going long or short. At present, it seems a stage ranging stage. I might think about selling PUTs or covered CALLs outside this range.
Similarly, if you look at AMEX:SPY , 36% of the time, price has stayed within 5% from ATH - makes it a compelling bull case!!
NYSE:BABA is trading at 50-55% below ATH - which is the most it has retraced so far. In general, it is used to be within 15-20% from ATH
NOW, Bit of explanation on input options.
Number of Ranges : Says how many baskets the drawdown map needs to be divided into.
Reference : You can take ATH as reference or chose a time window between which the highest need to be considered for drawdown. This can be useful for megacaps which has gone beyond initial phase of uncertainity. There is no point looking at 80% drawdown AAPL had during 1990s. More approriate to look at it post 2000s where it started making higher impact and growth.
Cumulative Percentage : When this is unchecked, percentage division shows 0-nth percentage instad of percentage ranges. For example this is how it looks on SPY:
We can see that SPY has remained within 6% from ATH for more than 50% of the time.
Hope this is helpful. Happy trading :)
PS: this can be used in conjunction with Drawdown-Price-vs-Fundamentals to pick value stocks at discounted price while also keeping an eye on range tendencies of it.
Thanks to @mattX5 for the ideas and discussion today :)
Altered True Strength Indicator (TSI) Reupload-
Altered TSI provides a slightly more volatile signal that demonstrates extremities in price action with greater success than standard TSI. In addition, I added bull/bear cross indicators (green/red) to make it easier to notice the crosses to save time when the market is moving fast (I couldn't find a regular TSI script with this addition). Finally, the signal also has overextension parameters (red and green lines)
I think this is best used on Intraday time frames as the signals respond to volatility very well and using Heikin Ashi candles, trend is more visual. In this particular example, I am showing SPY on the 3m time chart (my favorite short time frame) and the signal alone provided many opportunities for trades when using simple divergences and countering overextension direction when short term (blue) signal crosses either
In the first example (purple lines), SPY ramps but it was a dull signal given the signal strength flatlining- we would be looking for a short entry. When the signal fires, it provides a clean $1.50 move down in spy.
In the second example (orange), the blue signal provides a nice V shape (rebound signal) in which we are looking for a long entry. 390.50 is a strong SPY support in confluence with 2nd std dev VWAP extension, but disregarding that bull signal fires resulting in a 2 dollar move upwards. Exit is provided when blue line crosses green overextension.
In the third example (white), we are searching for a short entry at 392.5 resistance in confluence with divergently higher highs. Bear cross signal when fired and a significant cross is visible provides a $2.50 move to the downside with a potential exit provided when blue line crosses red overextension line in confluence with previous LOD area.
In the fourth example (green), we watch as the blue line provides a V pattern, we are searching for a long entry. If you didn't take a riskier long at 2nd std dev VWAP overextension with V recovery on blue line at red overextension for a ride to vwap, then you are looking for a secondary entry long as you wouldn't take the trade at resistance (vwap). Bullishly divergent lows provide this entry and the signal does not bear cross at all (but looking for significant crosses is more important even if the signal were to make a minor bear cross). Bullishly divergent double bottom provides a long entry to end of day with a nice clean signal for a $5.00 move until eod or when signal crosses overextension range.
Ideally, close to the money options or SPY/SPXS/SPXL are best used in the intraday time frame.
Again, this is not a standalone indicator but it's best used in conjunction with other indicators/trading strategies
Any questions feel free to comment
Candlestick RSThis is a candlestick charted Relative Strength indicator. It compares the chosen stock's progress compared to that of the SPY ETF ... ( SPY is used so it should hopefully update intraday). I use this indicator to see which stocks are outperforming the market.
Input Variable Descriptions:
Ratio: this variable is a float (0 to 1) that is basically how close the Candlestick RS is to the actual price action of the chart. (1.0 being right on top of it, 0.0 being as far away as possible from it)
Ballpark SPY price: this variable has to be constant, and due to the way pinescript works, you have to manually put in a ballpark of what SPY is at.
Neither of these variables influences the actual data of the indicator, but rather how it is shown on screen. It's difficult to describe, so I recommend you messing around with the variables and see what changes.
Hope this helps, I find this useful, so I figured I'd publish this... This is my first pine script so forgive me for any errors, just want to help :)
Capitulation Volume Detector by @RhinoTradezOverview
Hey traders, want to catch the market when it’s totally losing it? The Capitulation Volume Detector is your go-to buddy for spotting those wild moments when panic selling takes over. Picture this: prices plummet, volume explodes, and everyone’s bailing out—that’s capitulation, and it might just signal a turning point. This script throws a bright marker on your chart whenever the chaos hits, so you can decide if it’s time to jump in or sit tight. Built fresh in Pine Script v6, it’s sleek, customizable, and packs an alert to keep you posted—perfect for stocks, indices like SPY, or even crypto chaos.
Inspired by epic sell-offs like March 2020’s COVID crash, this tool’s here to help you navigate the storm with a smile (and maybe a profit).
What It Does
Capitulation volume is that “everyone’s out!” moment: a steep price drop meets a massive volume surge, hinting that sellers are tapped out. It’s not a guaranteed reversal—sometimes the bleeding continues—but it’s a loud clue that fear’s peaked. Here’s the magic:
Volume Check : Measures current volume against a customizable average (default: 20 bars).
Price Plunge : Tracks the percentage drop from the last close.
Capitulation Cal l: When volume rockets past your threshold (e.g., 2x average) and price tanks (e.g., -5%), you get a red triangle above the bar.
Stay Alert : Fires off a detailed message (e.g., “Volume 300M > 200M, Drop -10%”) so you’re never caught off guard.
Think of it as your market meltdown radar—simple, effective, and ready to roll.
Functionality Breakdown
Volume Surge Spotter :
Uses a 20-bar Simple Moving Average (SMA) of volume as your baseline.
Flags any bar where volume exceeds this average by your chosen multiplier (default: 2x).
Price Drop Detector :
Calculates the percentage change from the prior close.
Triggers when the drop’s bigger than your set limit (default: -5%).
Capitulation Marker:
Combines both signals: high volume + sharp drop = capitulation.
Slaps a red triangle above the bar for instant “whoa, there it is!” vibes.
Real-Time Alerts :
Sends a custom alert with volume and drop details, keeping you in the loop without babysitting the chart.
Customization Options
Tune it to your trading style with these easy settings:
Volume Multiplier (x Avg): Starts at 2.0 (2x average volume). Bump it to 3.0 for only the wildest spikes or dial it to 1.5 for more frequent catches. Range: 1.0-10.0, step 0.1.
Price Drop Threshold (%): Default 5.0 (a -5% drop). Go big with 10.0 for crash-level falls or ease to 3.0 for lighter dips. Range: 1.0-20.0, step 0.1.
Average Volume Period: Default 20 bars. Stretch it to 50 for a broader view or shrink to 10 for quick reactions. Range: 1-100.
Capitulation Marker Color: Red by default—because panic’s loud! Switch it to blue, green, or pink to match your chart’s personality.
How to Use It
Drop It On : Add it to any chart with volume data—SPY daily for market moves, /ES 15-minute for intraday action, or your go-to stock.
Play with Settings : Hit the indicator’s config gear and tweak the multiplier, drop threshold, period, or marker color to fit your vibe.
Set an Alert : Right-click the indicator, add an alert with “Any alert() function call,” and get pinged when capitulation strikes.
Watch the Action : Look for those red triangles on big drop days—pair with your favorite reversal signals for extra oomph.
Pro Tips
Daily Charts : Catch market-wide capitulations like March 23, 2020 (SPY: -10%, 3x volume).
Intraday : Spot flash crashes or sector sell-offs on 15-minute or 5-minute bars.
Context Matters : High volume alone isn’t enough—check the VIX or candlestick patterns (e.g., hammers) to confirm a bottom.
BKLevelsThis displays levels from a text input, levels from certain times on the previous day, and high/low/close from previous day. The levels are drawn for the date in the first line of the text input. Newlines are required between each level
Example text input:
2024-12-17
SPY,606,5,1,Lower Hvol Range,FIRM
SPY,611,1,1,Last 20K CBlock,FIRM
SPY,600,2,1,Last 20K PBlock,FIRM
SPX,6085,1,1,HvolC,FIRM
SPX,6080,2,1,HvolP,FIRM
SPX,6095,3,1,Upper PDVR,FIRM
SPX,6060,3,1,Lower PDVR,FIRM
For each line, the format is ,,,,,
For color, there are 9 possible user- configurable colors- so you can input numbers 1 through 9
For line style, the possible inputs are:
"FIRM" -> solid line
"SHORT_DASH" -> dotted line
"MEDIUM_DASH" -> dashed line
"LONG_DASH" -> dashed line
Correlation Coefficient [Giang]### **Introduction to the "Correlation Coefficient" Indicator**
#### **Idea behind the Indicator**
The "Correlation Coefficient" indicator was developed to analyze the linear relationship between Bitcoin (**BTCUSD**) and other important economic indices or financial assets, such as:
- **SPX** (S&P 500 Index): Represents the U.S. stock market.
- **DXY** (Dollar Index): Reflects the strength of the USD against major currencies.
- **SPY** (ETF representing the S&P 500): A popular trading instrument.
- **GOLD** (Gold price): A traditional safe-haven asset.
The correlation between these assets can help traders understand how Bitcoin reacts to market movements of traditional financial instruments, providing opportunities for more effective trading decisions.
Additionally, the indicator allows users to **customize asset symbols for comparison**, not limited to the default indices (SPX, DXY, SPY, GOLD). This flexibility enables traders to tailor their analysis to specific goals and portfolios.
---
#### **Significance and Use of Correlation in Trading**
**Correlation** is a measure of the linear relationship between two data series. In the context of this indicator:
- **The correlation coefficient ranges from -1 to 1**:
- **1**: Perfect positive relationship (both increase or decrease together).
- **0**: No linear relationship.
- **-1**: Perfect negative relationship (one increases while the other decreases).
- **Use in trading**:
- Identify **strong relationships or unusual divergences** between Bitcoin and other assets.
- Help determine **market sentiment**: For example, if Bitcoin has a negative correlation with DXY, traders might expect Bitcoin to rise when the USD weakens.
- Provide a foundation for hedging strategies or investments based on inter-asset relationships.
---
#### **Components of the Indicator**
The "Correlation Coefficient" indicator consists of the following key components:
1. **Main Data (BTCUSD)**:
- The closing price of Bitcoin is used as the central asset for calculations.
2. **Comparison Data**:
- Users can select different asset symbols for comparison. By default, the indicator supports:
- **SPX**: Stock market index.
- **DXY**: Dollar Index.
- **SPY**: Popular ETF.
- **GOLD**: Gold price.
3. **Correlation Coefficients**:
- Calculated between BTC and each comparison index, based on a Weighted Moving Average (WMA) over a user-defined period.
4. **Graphical Representation**:
- Displays individual correlation coefficients with each comparison index, making it easier for traders to track and analyze.
---
#### **How to Analyze and Use the Indicator**
**1. Identify Key Correlations:**
- Observe the correlation lines between BTC and the indices to determine positive or negative relationships.
- Example:
- If the **Correlation Coefficient (BTC-DXY)** sharply declines to -1, this indicates that when USD strengthens, Bitcoin tends to weaken.
**2. Analyze the Strength of Correlations:**
- **Strong Correlations**: If the coefficient is close to 1 or -1, the relationship between the two assets is very clear.
- **Weak Correlations**: If the coefficient is near 0, Bitcoin may be influenced by other factors outside the compared index.
**3. Develop Trading Strategies:**
- Use correlations to predict Bitcoin's price movements:
- If BTC has an inverse relationship with **DXY**, traders might consider selling BTC when the USD strengthens.
- If BTC and **SPX** are strongly correlated, traders can monitor the stock market to predict Bitcoin's trend.
**4. Evaluate Changes Over Time:**
- Use different timeframes (daily, weekly) to track the correlation's fluctuations.
- Look for unusual signals, such as a breakdown or shift from positive to negative relationships.
---
#### **Conclusion**
The "Correlation Coefficient" indicator is a powerful tool that helps traders analyze the relationship between Bitcoin and major financial indices. The ability to customize asset symbols for comparison makes the indicator flexible and suitable for various trading strategies. When used correctly, this indicator not only provides insights into market sentiment but also supports the development of intelligent trading strategies and optimized profits.
Daily MAs on Intraday ChartsThis is a very simple, yet powerful indicator, for intraday and swing traders.
The indicator plots price levels of key daily moving averages as horizontal lines onto intraday charts.
The key daily moving averages being:
5-day EMA
10-day EMA
21-day EMA
50-day SMA
100-day SMA
200-day SMA
The moving averages above can be toggled on and off to the users liking and different colours selected to show the locations of daily moving average price levels on intraday charts.
Below is a chart of the SPY on the 30-minute timeframe. The black line represents the price level of the SPY's 10-day EMA, and the blue line represents the price level of the SPY's 21-day EMA.
Key daily moving averages like those mentioned above can be areas of support or resistance for major indexes, ETFs, and individual stocks. Therefore, when using multiple timeframe analysis combining daily charts and intraday charts, it's useful to be aware of these key daily moving average levels for potential reversals.
This indicator clearly shows where the key daily moving average price levels are on intraday charts for the chosen ticker symbol, thus helping traders to identify potential points of interest for trading ideas - i.e., going long or pullbacks into key daily moving averages, or short on rallies into key daily moving averages subject to the trader's thoughts at the time.
By using the 'Daily MAs on Intraday Charts' the trader can now have a multi-chart layout and be easily aware of key price levels from daily moving averages when looking at various intraday timeframe charts such as the 1-minute, 5-minute, 15-minute, 30-minute, 1-hour etc. This can be essential information for opening long and short trading ideas.
GEX Profile [PRO] Real Auto-Updated Gamma Exposure Levels𝗥𝗲𝗮𝗹 𝗚𝗘𝗫 𝗟𝗲𝘃𝗲𝗹𝘀 𝘄𝗶𝘁𝗵 𝗦𝗲𝗮𝗺𝗹𝗲𝘀𝘀 𝗔𝘂𝘁𝗼-𝗨𝗽𝗱𝗮𝘁𝗲𝘀 𝗳𝗼𝗿 𝗼𝘃𝗲𝗿 𝟭𝟲𝟱+ 𝗼𝗳 𝘁𝗵𝗲 𝗠𝗼𝘀𝘁 𝗟𝗶𝗾𝘂𝗶𝗱 𝗨.𝗦. 𝗠𝗮𝗿𝗸𝗲𝘁 𝗦𝘆𝗺𝗯𝗼𝗹𝘀 (including 𝟬𝗗𝗧𝗘 𝗳𝗼𝗿 𝗦𝗣𝗫, SPY, QQQ, TLT, IWM, etc...)
🔃 Dynamic Updates : Receive precise GEX levels with auto-updating metrics up to 5 times a day throughout the trading session—no manual refresh needed!
🍒 Strategically Developed : Built by experienced options traders to meet the needs of serious options market participants.
🕒 0DTE? No Problem! : Designed with 0DTE traders in mind, our indicator keeps you updated with GEX levels and seamless auto-refresh to capture every crucial market shift.
📈 Optimized for Option Traders : See accurate GEX and NETGEX profiles for multiple expirations to maximize strategic potential.
🔶 Comprehensive GEX Levels
This indicator provides unparalleled insight into market dynamics with levels like Call/Put Support, Resistance, HVL (High Volatility Level), and Call/Put Walls. These levels are auto-updated based on live market movements and reflect gamma shifts and volatility signals essential for options traders.
🔶 Ideal for 0DTE and Multi-Leg Strategies
Track essential GEX levels across expirations with our unique Cumulative (⅀) and Selected Alone (⊙) calculation models. Customize your view to reveal high-impact levels across multiple expirations or focus on a specific expiration for a targeted strategy.
🔶 Coverage of 165+ Highly Liquid U.S. Symbols
Compatible with over 165 U.S. market symbols, including SP:SPX , AMEX:SPY , NASDAQ:QQQ , NASDAQ:TLT , AMEX:GLD , NASDAQ:NVDA , and more. The watchlist is expanding continuously to meet the needs of active traders. List of Compatible Symbols Available Here: www.tradingview.com
🔶How does the indicator work and why is it unique?
This is not just another GEX indicator. It incorporates 15min delayed option chain data from ORATS as data provider, processes and refines the delayed data package using pineseed, and sends it to TradingView, visualizing the key GEX levels using specific formulas (see detailed below). This method of incorporating options data into a visualization framework is unique and entirely innovative on TradingView.
Unlike other providers that only set GEX levels at market open, this indicator adjusts dynamically throughout the day, providing updated insights across the trading day and capturing gamma shifts as the market moves.
_________________________________
-----------------------------------------------
🌑 𝗗 𝗢 𝗖 𝗨 𝗠 𝗘 𝗡 𝗧 𝗔 𝗧 𝗜 𝗢 𝗡 🌑
-----------------------------------------------
_________________________________
🔶 Understanding GEX (Gamma Exposure) and Gamma Profiling
Gamma Exposure (GEX) is a crucial concept in options trading because it reveals how options market positions can influence the dynamics of asset prices. In essence, GEX measures the collective gamma exposure of options market participants, impacting overall market stability and price movements.
🔹 What is GEX?
At its core, GEX captures the aggregate impact of gamma, a key options Greek, which tells us how an option's delta changes in response to price movements in the underlying asset. Positive or negative GEX levels can reflect the collective bullish or bearish stance of the market:
Positive GEX (far above HVL) : Indicates a net bullish positioning by options holders. When GEX is strongly positive, it suggests that as the asset price increases, market participants might need to buy more of the asset to maintain their hedges. This behavior can fuel further upward momentum.
Negative GEX (far below HVL) : Implies a net bearish positioning. In a strongly negative GEX environment, declines in the asset's price might prompt participants to sell, potentially exacerbating the downward movement.
🔹 The Influence of GEX on Strike Prices and Expiration
A unique feature of GEX is its impact near expiration dates. As options approach expiration, GEX levels can “pin” the price to specific strike levels, where options positions are concentrated. This pinning effect arises as market makers adjust their hedging strategies, often causing the asset price to gravitate towards certain strike prices, where a large volume of options contracts sits.
🟨 Overview of our GEX Calculation Models for Options Traders 🟨
Our GEX indicator models were developed with serious options traders in mind, providing flexibility beyond typical GEX providers. We know that using GEX levels for multi-leg strategies, where the underlying doesn't need a strong trend to be profitable , calls for a nuanced approach that aligns with different trading horizons. Here’s a detailed breakdown of our GEX calculation models and how they support strategic trading across varying timeframes.
Thus, the HVL an orher CALL/PUT WALLS depends on the indicator's selected calculation mode and expiration. The NETGEX profile of the chosen expiration appears on the HVL line , which automatically updates five times during trading hours , except for 0DTE, which reflects the value set at market open.
🔶 Cumulative Expiration (⅀) Calculation Method
This method aggregates GEX data for all expirations up to the selected date , giving you a more comprehensive view of market dynamics. We recommend using this method, as it allows you to see how combined expirations impact GEX levels, which can be critical when setting up trades with a longer time horizon.
🔶 Selected Alone (⊙) Calculation Method
This option displays the GEX profile specific to only the chosen expiration , providing a unique, time-bound view. This approach is ideal for those seeking precise insight into how an individual expiration is performing without the broader context of other expirations.
🔶 Example of using calculation methods:
With options trading, especially for multi-leg strategies, choosing the right expiration and calculation model is crucial. Let’s break down an example:
Suppose you’re considering a Friday (4DTE) front-leg diagonal on the SPX at the start of the week. In this case, the focus isn’t strictly on any single expiration (like 0DTE or 4DTE individually), but rather on what might happen cumulatively by Friday across all expirations . Here, the Cumulative Expiration (⅀) model comes into play, as it shows you an aggregated view of the GEX profile, factoring in all strikes and legs for all expirations leading up to the selected date.
For most use cases, we recommend setting your indicator to the Cumulative (⅀) model , which provides a broad and insightful look at GEX levels across multiple expirations. However, you can always switch to Selected Alone (⊙) for targeted analysis of an individual expiration. Remember, 0DTE defaults to “Selected Alone”, and Every Expiry always shows a cumulative value by default.
_________________________________
-----------------------------------------------
🟦 HVL (High Volatility Level) 🟦
Also known as the Gamma FLIP level or Zero Gamma , it represents the price level at which the gamma environment transitions from positive to negative or vice versa. The High Volatility Level (HVL) is a critical point for understanding gamma shifts and anticipating volatility. This shift influences how market makers hedge their positions, potentially increasing or dampening market volatility.
🔷 Understanding the Gamma Flip and HVL
At its core, the gamma flip represents the point where market makers may transition from a net positive to a net negative gamma position, or the reverse. When prices move above HVL, gamma is positive, often leading to lower volatility due to the stabilizing effects of market makers’ hedging. Conversely, when prices drop below HVL, gamma flips negative, and hedging by market makers can amplify volatility as they trade with the direction of price movements.
The HVL (High Volatility Level) is particularly important as it signals a shift in the impact of price movements on the GEX profile. Using the cumulative calculation mode, GEX values are aggregated across all strikes and expirations up to the selected expiration, helping to pinpoint the point where the GEX curve's slope changes from negative to positive.
🔷 Implications for Traders and Market Makers
For market makers, crossing below HVL into a negative gamma zone means that they hedge in the same direction as price movements, potentially amplifying volatility. For traders, understanding HVL's role is essential to choosing strategies that align with the prevailing volatility regime:
Positive GEX 🟢:
Above HVL, where GEX is positive, market makers hedge by buying stocks as prices fall and selling as prices rise. This has a stabilizing effect, creating a lower-volatility environment.
Negative GEX 🔴:
Below HVL, where GEX is negative, market makers' hedging aligns with price movements, increasing volatility. Here, they buy as prices rise and sell as they fall, reinforcing price direction.
🔷 HVL as a Momentum and Volatility Indicator
The HVL offers traders insight into potential shifts in market momentum. For example, above HVL, if the price increases, Net GEX also rises, which stabilizes prices as market makers hedge in opposition to price direction. Below HVL, however, a price rise decreases Net GEX, creating conditions where market makers’ hedging amplifies price movements, resulting in a more volatile environment.
HVL also acts as a significant support level, often preceding put supports. If the price falls below this level, traders may expect heightened volatility and increased bearish sentiment.
Knowing the location of HVL is vital for positioning yourself on the right side of volatility. By monitoring the HVL, traders can better anticipate shifts in sentiment and align strategies with prevailing market dynamics.
_________________________________
-----------------------------------------------
🟩 Call Resistance and Call Wall Levels 🟩
In options trading, understanding GEX levels like Call Resistance and Call Wall levels is crucial for navigating potential price inflection points. Our indicator provides these levels directly on your chart, allowing you to customize and optimize your trading approach. Here’s a detailed guide to help you understand and use Call Resistance and additional Call Wall levels effectively.
🟢 Call Resistance Level
The Call Resistance Level is a key point where our model indicates heightened Call GEX concentration. This level serves as a potential resistance area where price movement may face a barrier, slowing or even reversing before a breakout. Here’s how the Call Resistance Level can influence market behavior:
Resistance and Price Reversal ⬇️ : Similar to the Put Support level, the Call Resistance acts as a "sticky" price level, where upward movement encounters resistance. When the price approaches this level, it’s common for market makers to begin shorting to maintain delta neutrality. This shorting activity, combined with the potential monetization of calls, introduces a technical bearish force in the short term, often causing the price to bounce downward.
Upside Acceleration Point ⬆️ : If investors reposition calls to higher strikes as the price reaches Call Resistance, this level can roll up, allowing the price to push upward and potentially accelerating the rally. This effect can drive the market to higher levels as market makers adjust their positions accordingly.
🟢 Additional Call Wall Levels
Our model identifies the second and third-highest Call GEX levels, known as additional Call Walls. These levels are often secondary resistance points but hold significance as they add layers of possible resistance or breakout points. They offer similar potential as the primary Call Resistance level, acting as either:
Resistance Zones: Slowing the price momentum as it approaches these levels.
Inflection Points for Upside Momentum: Allowing for a possible continuation of upward movement if prices break through.
🟢 How to Trade the Call Resistance Level
To use the Call Resistance level effectively, look for possible price rejections or consolidations as the price approaches this zone. Here are the main scenarios:
Bounce to Downside: As the price nears the Call Resistance level, market makers’ delta-hedging activity (through shorting) can turn this level into a short-term bearish force, leading to price pullbacks.
Rolling the Position: For bulls, a key objective at the Call Resistance level is to see investors roll their call positions higher, effectively moving the resistance up. This repositioning may lead to incremental price gains as the Call Resistance level rises with each roll.
_________________________________
-----------------------------------------------
🟥 Put Support and Put Wall Levels 🟥
In options trading, understanding GEX levels like Put Support and secondary Put Wall levels is essential for managing potential price support points and gauging downside risk. Our indicator places these levels directly on your chart, allowing for customization to enhance your trading strategy. Here’s a detailed guide to help you leverage the Put Support and additional Put Wall levels effectively.
🔴 Put Support Level
The Put Support Level is a key zone where our model shows the highest concentration of negative GEX, representing an area with substantial put option interest. This level functions as a potential support zone, where price may stabilize or bounce upward, or as an inflection point, signaling increased downside momentum. Here’s how the Put Support Level can affect market behavior:
Support and Price Reversal🔺 : Similar to how Call Resistance operates on the upside, the Put Support Level often acts as a "sticky" level on the downside, where price finds support. As the asset price moves closer to this level, market makers begin adjusting their positions, frequently buying to maintain delta neutrality. This activity can create a temporary short squeeze, pushing prices back up.
Downside Acceleration Point 🔻 : If the asset continues moving lower, triggering more hedging activity, this level can become a tipping point for accelerated downside momentum.
🔴 Additional Put Wall Levels
Our model also identifies the second and third-highest negative GEX levels, known as secondary Put Walls. These levels are often seen as secondary support points and hold significance by adding layers of support or potential downside inflection points. Like the primary Put Support Level, they can act in two ways:
Support Zones: Helping slow price declines as they approach these levels.
Downside Inflection Points: Allowing further price decline if the support fails.
🔴 How Investors Hedge with Put Options
Investors commonly use put options to hedge long positions and protect portfolios, especially during times of market stress when implied volatility rises. This demand for puts increases the Put Skew, as market makers short to remain delta hedged.
As prices approach the Put Support Level, the hedging activity often intensifies because more puts become At the Money (ATM) or In the Money (ITM). To realize the value of their hedges, investors typically monetize these puts at this level, triggering the closing of short positions by market makers and resulting in a price bounce.
🔴 The Role of Implied Volatility
Implied Volatility (IV) is also a critical factor since it directly influences market flows. If IV driving put flows decreases, market makers may buy back shorts, which contributes to the bounce at the Put Support Level. Additionally, another Greek, Vanna—representing changes in delta due to IV shifts—plays a vital role here. As IV changes, Vanna affects delta-hedging adjustments, adding a layer of complexity to understanding market makers' actions around these support levels.
🔴 Possible Price Scenarios at the Put Support Level
When the price reaches the Put Support Level, there are generally two scenarios:
Bounce to Upside🔺 : The Put Support Level is where substantial put hedging activity happens. As prices approach, market makers adjust their delta by buying, which can push prices back up.
Roll Positions🔻 : After monetizing puts, investors have two options: roll hedges to higher strikes if they expect a bullish move, or open new out-of-the-money puts at lower strikes. If new hedges are set at lower levels, the Put Support level may also shift lower, creating a new bearish force as market makers begin hedging these new positions.
🟨 Customizing Put Support/Call Resistance and Put/Call Wall Levels on Your Chart
Our indicator settings provide extensive customization options for displaying Put Support, Call Resistance, and Put/Call Wall levels.
You can:
adjust the depth to highlight the highest positive or negative NETGEX levels
choose to display relative data, show only the colored strike line
adjust the offset for enhanced visibility.
This flexibility helps you focus on the critical details that best align with your trading strategy, ensuring a clearer and more tailored view of the GEX levels on your chart.
Currently, we examine the top three levels with the highest positive and negative NETGEX values, allowing you to view seven key GEX levels on your chart (3 Call + 1 HVL + 3 Put). However, in the near future, we plan to expand this to seven levels per side, resulting in a total of up to 15 significant GEX levels on the chart instead of the current 7. This enhancement will cater to all needs, especially benefiting 0DTE traders.
_________________________________
-----------------------------------------------
🔶 ADDITIONAL IMPORTANT COMMENTS
🔹- Why is there a slight difference between the displayed data and other GEX provider's data like MenthorQ, GammaEdge, SpotGamma, GEXBot, etc?
There are two reasons for this, and one is beyond our control:
🔹 (1) Option-data update frequency:
According to TradingView's regulations and guidelines, we can update external data a maximum of 5 times per day. We strive to use these updates in the most optimal way:
(1st update) 15 minutes after U.S. market open
(2nd, 3rd, 4th updates) 1.5–3 hours during U.S. market open hours
(5th update) 10 minutes before U.S. market close.
You don’t need to refresh your window; our latest refreshed data pack is always automatically applied to your indicator. You can see the time elapsed since the last update by hovering over the HVL.
🔹 (2) GEX Levels with Intraday Updates Based on Price Movements
The TanukiTrade Options GEX Indicator for TradingView provides open interest data with a 15-minute delay after the market opens. Using this data, we calculate and update the relevant levels throughout the trading day, reflecting almost real-time price changes and gamma values. Unlike other GEX providers, who set their GEX levels solely at market open without further updates, we dynamically adjust our levels intraday to capture significant price shifts.
🔹 Automatic & Seamless Intraday Updates and Special Cases
For our indicator, the HVL (High Volatility Level) reflects the selected calculation mode and expiration. We update these NETGEX profiles five times throughout the trading day, with one exception: 0DTE data, which is set at market open and does not update intraday due to the rapid narrowing of gamma levels . Note that similar to other GEX providers, our 0DTE remains fixed at open, while cumulative values update during the day based on almost real-time market movements.
🔹Consistent SPX 0DTE GEX Levels with Morning Open Interest Updates Only
For SPX, the 0DTE (Zero Days to Expiration) options and GEX levels are calculated based on openinterest data provided by the clearinghouse at market open. Due to the exponential narrowing of gamma levels throughout the day, we do not update these levels intraday, unlike other expirations. Therefore, if you select the expiring contract on that day, you’ll see the exact morning level, as it was calculated at market open. This status is also published the previous evening, based on the data available then, so you can already view the levels for the following day’s 1DTE (next day’s 0DTE) before market close. After market open, around 15 minutes later, this level is updated with the latest open interest data and remains unchanged for the rest of the day. Other providers take a similar approach. We do not support intraday volume-based GEX calculations, as our benchmarks show this can produce misleading results.
Disclaimer:
Our option indicator uses approximately 15min-3 hour delayed option market snapshot data to calculate the main option metrics. Exact realtime option contract prices are never displayed; only derived GEX metrics are shown to ensure accurate and consistent visualization. Due to the above, this indicator can only be used for decision support; exclusive decisions cannot be made based on this indicator. We reserve the right to make errors.This indicator is designed for options traders who understand what they are doing. It assumes that they are familiar with options and can make well-informed, independent decisions. We work with paid delayed data and we are not a data provider; therefore, we do not bear any financial or other liability.
Options Oscillator [Lite] IVRank, IVx, Call/Put Volatility Skew The first TradingView indicator that provides REAL IVRank, IVx, and CALL/PUT skew data based on REAL option chain for 5 U.S. market symbols.
🔃 Auto-Updating Option Metrics without refresh!
🍒 Developed and maintained by option traders for option traders.
📈 Specifically designed for TradingView users who trade options.
🔶 Ticker Information:
This 'Lite' indicator is currently only available for 5 liquid U.S. market smbols : NASDAQ:TSLA AMEX:DIA NASDAQ:AAPL NASDAQ:AMZN and NYSE:ORCL
🔶 How does the indicator work and why is it unique?
This Pine Script indicator is a complex tool designed to provide various option metrics and visualization tools for options market traders. The indicator extracts raw options data from an external data provider (ORATS), processes and refines the delayed data package using pineseed, and sends it to TradingView, visualizing the data using specific formulas (see detailed below) or interpolated values (e.g., delta distances). This method of incorporating options data into a visualization framework is unique and entirely innovative on TradingView.
The indicator aims to offer a comprehensive view of the current state of options for the implemented instruments, including implied volatility (IV), IV rank (IVR), options skew, and expected market movements, which are objectively measured as detailed below.
The options metrics we display may be familiar to options traders from various major brokerage platforms such as TastyTrade, IBKR, TOS, Tradier, TD Ameritrade, Schwab, etc.
🟨 The following data is displayed in the oscillator 🟨
We use Tastytrade formulas, so our numbers mostly align with theirs!
🔶 𝗜𝗩𝗥𝗮𝗻𝗸
The Implied Volatility Rank (IVR) helps options traders assess the current level of implied volatility (IV) in comparison to the past 52 weeks. IVR is a useful metric to determine whether options are relatively cheap or expensive. This can guide traders on whether to buy or sell options.
IV Rank formula = (current IV - 52 week IV low) / (52 week IV high - 52 week IV low)
IVRank is default blue and you can adjust their settings:
🔶 𝗜𝗩𝘅 𝗮𝘃𝗴
The implied volatility (IVx) shown in the option chain is calculated like the VIX. The Cboe uses standard and weekly SPX options to measure expected S&P 500 volatility. A similar method is used for calculating IVx for each expiration cycle.
We aggregate the IVx values for the 35-70 day monthly expiration cycle, and use that value in the oscillator and info panel.
We always display which expiration the IVx values are averaged for when you hover over the IVx cell.
IVx main color is purple, but you can change the settings:
🔹IVx 5 days change %
We are also displaying the five-day change of the IV Index (IVx value). The IV Index 5-Day Change column provides quick insight into recent expansions or decreases in implied volatility over the last five trading days.
Traders who expect the value of options to decrease might view a decrease in IVX as a positive signal. Strategies such as Strangle and Ratio Spread can benefit from this decrease.
On the other hand, traders anticipating further increases in IVX will focus on the rising IVX values. Strategies like Calendar Spread or Diagonal Spread can take advantage of increasing implied volatility.
This indicator helps traders quickly assess changes in implied volatility, enabling them to make informed decisions based on their trading strategies and market expectations.
Important Note:
The IVx value alone does not provide sufficient context. There are stocks that inherently exhibit high IVx values. Therefore, it is crucial to consider IVx in conjunction with the Implied Volatility Rank (IVR), which measures the IVx relative to its own historical values. This combined view helps in accurately assessing the significance of the IVx in relation to the specific stock's typical volatility behavior.
This indicator offers traders a comprehensive view of implied volatility, assisting them in making informed decisions by highlighting both the absolute and relative volatility measures.
🔶 𝗖𝗔𝗟𝗟/𝗣𝗨𝗧 𝗣𝗿𝗶𝗰𝗶𝗻𝗴 𝗦𝗸𝗲𝘄 𝗵𝗶𝘀𝘁𝗼𝗴𝗿𝗮𝗺
At TanukiTrade, Vertical Pricing Skew refers to the difference in pricing between put and call options with the same expiration date at the same distance (at tastytrade binary expected move). We analyze this skew to understand market sentiment. This is the same formula used by TastyTrade for calculations.
We calculate the interpolated strike price based on the expected move, taking into account the neighboring option prices and their distances. This allows us to accurately determine whether the CALL or PUT options are more expensive.
🔹 What Causes Pricing Skew? The Theory Behind It
The asymmetric pricing of PUT and CALL options is driven by the natural dynamics of the market. The theory is that when CALL options are more expensive than PUT options at the same distance from the current spot price, market participants are buying CALLs and selling PUTs, expecting a faster upward movement compared to a downward one .
In the case of PUT skew, it's the opposite: participants are buying PUTs and selling CALLs , as they expect a potential downward move to happen more quickly than an upward one.
An options trader can take advantage of this phenomenon by leveraging PUT pricing skew. For example, if they have a bullish outlook and both IVR and IVx are high and IV started decreasing, they can capitalize on this PUT skew with strategies like a jade lizard, broken wing butterfly, or short put.
🔴 PUT Skew 🔴
Put options are more expensive than call options, indicating the market expects a faster downward move (▽). This alone doesn't indicate which way the market will move (because nobody knows that), but the options chain pricing suggests that if the market moves downward, it could do so faster in velocity compared to a potential upward movement.
🔹 SPY PUT SKEW example:
If AMEX:SPY PUT option prices are 46% higher than CALLs at the same distance for the optimal next monthly expiry (DTE). This alone doesn't indicate which way the market will move (because nobody knows that), but the options chain pricing suggests that if the market moves downward, it could do so 46% faster in velocity compared to a potential upward movement
🟢 CALL Skew 🟢
Call options are more expensive than put options, indicating the market expects a faster upward move (△). This alone doesn't indicate which way the market will move (because nobody knows that), but the options chain pricing suggests that if the market moves upward, it could do so faster in velocity compared to a potential downward movement.
🔹 INTC CALL SKEW example:
If NASDAQ:INTC CALL option prices are 49% higher than PUTs at the same distance for the optimal next monthly expiry (DTE). This alone doesn't indicate which way the market will move (because nobody knows that), but the options chain pricing suggests that if the market moves upward, it could do so 49% faster in velocity compared to a potential downward movement .
🔶 USAGE example:
The script is compatible with our other options indicators.
For example: Since the main metrics are already available in this Options Oscillator, you can hide the main IVR panel of our Options Overlay indicator, freeing up more space on the chart. The following image shows this:
🔶 ADDITIONAL IMPORTANT COMMENTS
🔹 Historical Data:
Yes, we only using historical internal metrics dating back to 2024-07-01, when the TanukiTrade options brand launched. For now, we're using these, but we may expand the historical data in the future.
🔹 What distance does the indicator use to measure the call/put pricing skew?:
It is important to highlight that this oscillator displays the call/put pricing skew changes for the next optimal monthly expiration on a histogram.
The Binary Expected Move distance is calculated using the TastyTrade method for the next optimal monthly expiration: Formula = (ATM straddle price x 0.6) + (1st OTM strangle price x 0.3) + (2nd OTM strangle price x 0.1)
We interpolate the exact difference based on the neighboring strikes at the binary expected move distance using the TastyTrade method, and compare the interpolated call and put prices at this specific point.
🔹 - Why is there a slight difference between the displayed data and my live brokerage data?
There are two reasons for this, and one is beyond our control.
◎ Option-data update frequency:
According to TradingView's regulations and guidelines, we can update external data a maximum of 5 times per day. We strive to use these updates in the most optimal way:
(1st update) 15 minutes after U.S. market open
(2nd, 3rd, 4th updates) 1.5–3 hours during U.S. market open hours
(5th update) 10 minutes before U.S. market close.
You don’t need to refresh your window, our last refreshed data-pack is always automatically applied to your indicator, and you can see the time elapsed since the last update at the bottom of the corner on daily TF.
◎ Brokerage Calculation Differences:
Every brokerage has slight differences in how they calculate metrics like IV and IVx. If you open three windows for TOS, TastyTrade, and IBKR side by side, you will notice that the values are minimally different. We had to choose a standard, so we use the formulas and mathematical models described by TastyTrade when analyzing the options chain and drawing conclusions.
🔹 - EOD data:
The indicator always displays end-of-day (EOD) data for IVR, IV, and CALL/PUT pricing skew. During trading hours, it shows the current values for the ongoing day with each update, and at market close, these values become final. From that point on, the data is considered EOD, provided the day confirms as a closed daily candle.
🔹 - U.S. market only:
Since we only deal with liquid option chains: this option indicator only works for the USA options market and do not include future contracts; we have implemented each selected symbol individually.
Disclaimer:
Our option indicator uses approximately 15min-3 hour delayed option market snapshot data to calculate the main option metrics. Exact realtime option contract prices are never displayed; only derived metrics and interpolated delta are shown to ensure accurate and consistent visualization. Due to the above, this indicator can only be used for decision support; exclusive decisions cannot be made based on this indicator. We reserve the right to make errors.This indicator is designed for options traders who understand what they are doing. It assumes that they are familiar with options and can make well-informed, independent decisions. We work with public data and are not a data provider; therefore, we do not bear any financial or other liability.
Simultaneous INSIDE Bar Break IndicatorSimultaneous Inside Bar Break Indicator (SIBBI) for The Strat Community
Overview:
The Simultaneous Inside Bar Break Indicator (SIBBI) is designed to help traders using The Strat methodology identify one of the most powerful breakout patterns: the Simultaneous Inside Bar Break across multiple symbols. This indicator detects when all four user-selected symbols form inside bars on the previous candle and then break those inside bars in the same direction (either bullish or bearish) on the current candle.
Inside bars represent consolidation periods where price action does not break the high or low of the previous candle. When a simultaneous break occurs across multiple symbols, this often signals a strong move in the market, making this a key actionable signal in The Strat trading strategy.
Key Features:
Multi-Symbol Analysis: You can track up to four different symbols simultaneously. By default, the indicator comes with SPY, QQQ, IWM, and DIA, but you can modify these to track any other assets or symbols.
Inside Bar Detection: The indicator checks whether all four symbols have inside bars on the previous candle. It only triggers when all symbols meet this condition, making it a highly specific and reliable signal.
Simultaneous Break Detection: Once all symbols have inside bars, the indicator waits for a breakout in the same direction across all four symbols. A simultaneous bullish break (prices breaking above the previous candle’s high) triggers a green label, while a simultaneous bearish break (prices breaking below the previous candle’s low) triggers a red label.
Dynamic Label Timeframe: The indicator dynamically adjusts the timeframe in the label based on the user’s selected timeframe. This allows traders to know precisely which timeframe the break is occurring on. If the user selects "Chart Timeframe," the indicator will evolve with the current chart's timeframe, making it more versatile.
Timeframe Flexibility: The indicator can be set to analyze any timeframe—15-minute, 30-minute, 60-minute, daily, weekly, and so on. It only works for the specific timeframe you set it to in the settings. If set to "Chart Timeframe," the label will adapt dynamically based on the timeframe you are currently viewing.
Customizable Labels: The user can choose the size of the labels (tiny, small, or normal), ensuring that the visual output is tailored to individual preferences and chart layouts.
Best Use Case:
The Simultaneous Inside Bar Break Indicator is particularly powerful when applied to multiple timeframes. Here’s how to use it for maximum impact:
Multi-Timeframe Setup: Set the indicator on various timeframes (e.g., 15-minute, 30-minute, 60-minute, and daily) across multiple charts. This allows you to monitor different timeframes and identify when lower timeframe breaks trigger potential moves on higher timeframes.
Anticipating Strong Moves: When a simultaneous inside bar break occurs on one timeframe (e.g., 30-minute), keep an eye on the higher timeframes (e.g., 60-minute or daily) to see if those timeframes also break. This stacking of inside bar breaks can signal powerful market moves.
Higher Conviction Signals: The indicator is designed to provide high-conviction signals. Since it requires all four symbols to break in the same direction simultaneously, it reduces false signals and focuses on higher probability setups, which is crucial for traders using The Strat to time their trades effectively.
How the Indicator Works:
Inside Bar Formation: The indicator first checks that all four selected symbols had inside bars in the previous bar (i.e., the current high and low are contained within the previous bar’s high and low).
Simultaneous Break Detection: After detecting inside bars, the indicator checks if all four symbols break out in the same direction—bullish (breaking above the previous bar’s high) or bearish (breaking below the previous bar’s low).
Label Display: When a simultaneous inside bar break occurs, a label is plotted on the chart—either green for a bullish break (below the candle) or red for a bearish break (above the candle). The label will display the timeframe you set in the settings (e.g., "IBSB 60" for a 60-minute break).
Chart Timeframe Option: If you prefer, you can set the indicator to evolve with the chart’s current timeframe. In this mode, the label will not show a specific timeframe but will still display the simultaneous inside bar break when it occurs.
Recommendations for Usage:
Focus on Multiple Timeframes: The Strat methodology is all about understanding the relationship between different timeframes. Use this indicator on multiple timeframes to get a better picture of potential moves.
Pair with Other Strat Techniques: This indicator is most powerful when combined with other Strat tools, such as broadening formations, timeframe continuity, and actionable signals (e.g., 2-2 reversals). The simultaneous inside bar break can help confirm or invalidate other signals.
Customize Symbols and Timeframes: Although the default symbols are SPY, QQQ, IWM, and DIA, feel free to replace them with symbols more relevant to your trading. This indicator works well across equities, indices, futures, and forex pairs.
How to Set It Up:
Select Symbols: Choose four symbols that you want to track. These can be index ETFs (like SPY and QQQ), individual stocks, or any other tradable instruments.
Set Timeframe: In the indicator’s settings, choose a specific timeframe (e.g., 15-minute, 30-minute, daily). The label will reflect the selected timeframe, making it clear which time-based break you are seeing.
Optional - Chart Timeframe Mode: If you want the indicator to adapt to the chart’s current timeframe, select the "Chart Timeframe" option in the settings. The indicator will plot the breaks without showing a specific timeframe in the label.
Customize Label Size: Depending on your chart layout and personal preference, you can adjust the size of the labels (tiny, small, or normal) in the settings.
Conclusion:
The Simultaneous Inside Bar Break Indicator is a powerful tool for traders using The Strat methodology, offering a highly specific and reliable signal that can indicate potential large market moves. By monitoring multiple symbols and timeframes, you can gain deeper insight into the market's behavior and act with greater confidence. This indicator is ideal for traders looking to catch high-conviction moves and align their trades with broader market continuity.
Note: The indicator works best when paired with multi-timeframe analysis, allowing you to see how breaks on lower timeframes might influence larger trends. For traders who prefer simplicity, setting it to the "Chart Timeframe" mode offers flexibility while maintaining the core benefits of this indicator.
Leveraged Share Decay Tracker [SS]Releasing this utility tool for leveraged share traders and investors.
It is very difficult to track the amount of decay and efficiency that is associated with leveraged shares and since not all leveraged shares are created equally, I developed this tool to help investors/traders ascertain:
1. The general risk, in $$, per share associated with investing in a particular leveraged ETF
2. The ability of a leveraged share to match what it purports to do (i.e. if it is a 3X Bull share, is it actually returning consistently 3X the underlying or is there a large variance?)
3. The general decay at various timepoints expressed in $$$
How to use:
You need to be opened on the chart of the underlying. In the example above, the chart is on DIA, the leveraged share being tracked is UDOW (3X bull share of the DOW).
Once you are on the chart of the underlying, you then put in the leveraged share of interest. The indicator will perform two major assessments:
1. An analysis of the standard error between the underlying and the leveraged share. This is accomplished through linear regression, but instead of creating a linreg equation, it simply uses the results to ascertain the degree of error associated at various time points (the time points are 10, 20, 30, 40, 50, 100, 252).
2. An analysis of the variance of returns. The indicator requires you to put in the leverage amount. So if the leverage amount is 3% (i.e. SPXL or UPRO is 3 X SPY), be sure that you are putting that factor in the settings. It will then modify the underlying to match the leverage amount, and perform an assessment of variance over 10, 20, 30, 40, 50, 100, 252 days to ensure stability. This will verify whether the leveraged ETF is actually consistently performing how it purports to perform.
Here are some examples, and some tales of caution so you can see, for yourself, how not all leveraged shares are created equal.
SPY and SPXL:
SPY and UPRO:
XBI and LABU (3 x bull share):
XBI and LABD (3 x bear share):
SOX and SOXL:
AAPL and AAPU:
It is VERY pivotal you remember to check and adjust the Leveraged % factor.
For example, AAPU is leveraged 1.5%. You can see above it tracks this well. However, if you accidently leave it at 3%, you will get an erroneous result:
You can also see how some can fail to track the quoted leveraged amount, but still produce relatively lower risk decay.
And, as a final example, let's take a look at the worst leveraged share of life, BOIL:
Trainwreck that one. Stay far away from it!
The chart:
The chart will show you the drift (money value over time) and the variance (% variance between the expected and actual returns) over time. From here, you can ascertain the general length you feel comfortable holding a leveraged share. In general, for most stable shares, <= 50 trading days tends to be the sweet spot, but always check the chart.
There are also options to plot the variances and the drifts so you can see them visually.
And that is the indicator! Kind of boring, but there are absolutely 0 resources out there for doing this job, so hopefully you see the use for it!
Safe trades everyone!
Gorb WallIntroduction:
Gorb Wall is a trading tool that offers a unique approach to market trend analysis. It extends the capabilities of the Gorb Algo indicator by presenting a multi-ticker, multi-timeframe dashboard, enabling traders to capture crucial market movements across various financial instruments without flipping through charts.
Overview:
Multi-Ticker Analysis: Monitor and analyze multiple financial instruments simultaneously.
Customizable Timeframes: Tailor the script to various timeframes to suit your trading strategy.
Gorb Algo Market Trend: An algorithm that adapts to market conditions, providing insights into trend changes.
User-Friendly Dashboard: Easily configure and customize the dashboard placement on your chart.
Color-Coded Trend Indicators: Visual cues to quickly assess bullish or bearish trends.
Optimized for Performance: Efficiently coded to ensure smooth running on TradingView without overloading resources.
How Gorb Wall Works:
The script utilizes Gorb Algo's market trend algorithm to process price and volume data across selected tickers and timeframes.
It applies a complex calculation to identify trends, using a combination of volatility analysis, momentum measurements, and trend strength indicators.
The output is a simplified visual representation on the dashboard, where colored circles indicate the trend direction, providing an at-a-glance market overview.
Unique Features:
Proprietary Algorithm: The heart of Gorb Wall lies in its unique Gorb Algo Market Trend algorithm. Unlike standard trend-following indicators, this proprietary algorithm integrates multiple technical analysis concepts (e.g., moving averages, volume data, price action, and oscillators) to provide a more comprehensive market trend analysis.
Multi-Dimensional Analysis: The script analyzes market trends by simultaneously processing data across multiple tickers and timeframes, offering a broader view of market movements than traditional single-ticker indicators.
We recommend exploring & choosing which tickers/timeframes best suits your needs and style of trading, and use that to combine with our suite of indicators.
Settings:
All skill-level friendly presets, easy to enable features with one-click
Dashboard Placement: Choose from top/bottom left/right for dashboard positioning.
Trend Speed Mode: Select the algorithm speed - Fast, Medium, Slow, Slowest.
Bullish/Bearish Trend Colors: Customize colors for trend indicators.
Additional Tickers: Input options for monitoring multiple financial instruments.
Timeframe Selection: Choose from a range of timeframes for each ticker.
How to Use
In the image below, we can see a basic example of how this indicator functions.
The dashboard displays up to three different tickers per the user's choice, with 4 different timeframes the user can choose. It that runs the algorithm line on the specified ticker & timeframe and plots a colored circle that identifies that tickers trend on the specified timeframes.
There are two colors, white for bullish trend and purple for bearish trend. These are the two consistent colors across our suit of indicators to help simplify trading by using simple color matching for confluence. Below is a continued breakdown on using this indicator:
Dynamic Trend Visualization in Real-Time Updates
The dashboard dynamically updates trend colors (white for bullish, purple for bearish) based on real-time market data, offering immediate insights into market sentiment. The next three images below these the live change in data as price action begins developing over multiple timeframes.
In the image above, we are on the 5min AAPL chart, we have SPY, QQQ, and VIX as our tickers on the dashboard with 1min, 2min, 3min, and 10min timeframes chosen. We begin to see VIX flip bullish, which can usually mean down side for indices.
We then see as AAPL's price begins to slow and reverse, we see SPY's trend following on the smaller timeframes first with VIX still leading the way indicating possible bearish change.
In the image above, we can see that price dips down and SPY & QQQ market trends have flipped bearish on all timeframes, while VIX continues to be bullish(validating the downwards price action)
Customizable Settings
Users can adjust settings such as dashboard placement, trend speed mode, and color themes to suit individual trading styles.
In the image below, we can see the dashboard placement setting offers four different locations the user can move the dashboard. Just like in Gorb Algo , the user can choose which trendline speed they want to use to best fit their trading strategy.
In the image below, we can see the "bullish trend" & "bearish trend" colors setting. These colors by default match the rest of our suite of indicators, white is bullish and purple is bearish. Users can change these color settings to meet their preferences.
In the image below, we can see there are three market ticker options that the user can change. This allows users to monitor their favorite tickers across or easily flip through multiple tickers in order to gauge their current market trends without having to change their chart
In the image below, we can see the 4 timeframes that are on the dashboard. The user has the ability to change each of those four, to whatever timeframe best suits their trading needs. There are 12 different timeframe options to choose from.
Quick Dashboard Review
Using color-coded trend detection, this quickly gauges market trends and provides a visual to easily identify these changes in real-time across multiple timeframes. When a circle changes color, this means that price has flipped that direction, causing a change in the Gorb Algo market trendline. As stated above, white is for bullish trend and purple is for bearish trend, but these colors can be changed to fit the users trading strategy and style. Each timeframe the user chooses will be updated in real-time, including the higher time frames like the daily & weekly. They have been modified to pull data a same speed the lower timeframes are.
This helps provide quick visual identification of real market trend changes as price action develops. It is best used in conjunction with other forms of technical analysis for a holistic trading approach.
Conclusion:
This indicator is designed to streamline market trend analysis, offering traders an innovative, efficient, and easy-to-use tool for making informed trading decisions. This tool complements our suite of indicators, providing unique market insights that are not typically available in traditional open-source scripts.
How to get access:
You can see the Author's instructions to get access to this indicator
RISK DISCLAIMER
All content, tools, scripts & education provided by Gorb Algo are for informational & educational purposes only. Trading is risky and most lose their money, past performance does not guarantee future results.
SMA Cross with a Price FilterA moving average strategy generates an entry (buy) signal when the price goes above the moving average, and an exit (sell) signal when the price goes below the moving average. But it gives lots of whipsaws and noise depends on the moving average we use. A fast moving average gives more whipsaws and a slow moving average gives less whipsaws. To reduce the noise/whipsaws, we can add a filter on a fast/slow moving average. It will improve entry/exit performance significantly specially for those who don't want to watch the market actively.
I created this indicator with a price filter. This means the price of an underlying asset must be at least a specific percentage above its moving average to generate a buy signal and a specific percentage below its moving average to generate a sell signal. This price filter can also be a confirmation after the price crosses above/below its SMA. I couldn't find any indicator yet based on this idea. So I wrote this indicator and publishing it so it helps those who are interested.
I use 200 SMA and 3% price filter as default and using SPY as an example. So,
ENTRY signal when the closing price of SPY is 3% above its 200 SMA.
EXIT signal when the closing price of SPY is 3% below its 200 SMA.
Enjoy and let me know if it works.
** This chart only generates entry (buy) and exit (sell) signals. Please, do your own diligence to make any investment or trading decisions.
Spot-Vol CorrelationSpot-Vol Correlation Script Guide
Purpose:
This TradingView script measures the correlation between percentage changes in the spot price (e.g., for SPY, an ETF that tracks the S&P 500 index) and the changes in volatility (e.g., as indicated by the VIX, the Volatility Index). Its primary objective is to discern whether the relationship between spot price and volatility behaves as expected ("normal" condition) or diverges from the expected pattern ("abnormal" condition).
Normal vs. Abnormal Correlation:
Normal Correlation: Historically, the VIX (or volatility) and the spot price of major indices like the S&P 500 have an inverse relationship. When the spot price of the index goes up, the VIX tends to go down, indicating lower volatility. Conversely, when the index drops, the VIX generally rises, signaling increased volatility.
Abnormal Correlation: There are instances when this inverse relationship doesn't hold, and both the spot price and the VIX move in the same direction. This is considered an "abnormal" condition and might indicate unusual market dynamics, potential uncertainty, or impending shifts in market sentiment.
Using the Script:
Inputs:
First Symbol: This is set by default to VIX, representing volatility. However, users can input any other volatility metric they prefer.
Second Symbol: This is set to SPY by default, representing the spot price of the S&P 500 index. Like the first symbol, users can substitute SPY with any other asset or index of their choice.
Length of Calculation Period: Users can define the lookback period for the correlation calculation. By default, it's set to 10 periods (e.g., days for a daily chart).
Upper & Lower Bounds of Normal Zone: These parameters define the range of correlation values that are considered "normal" or expected. By default, this is set between -0.60 and -1.00.
Visuals:
Correlation Line: The main line plot shows the correlation coefficient between the two input symbols. When this line is within the "normal zone", it indicates that the spot price and volatility are inversely correlated. If it's outside this zone, the correlation is considered "abnormal".
Green Color: Indicates a period when the spot price and VIX are behaving as traditionally expected (i.e., one rises while the other falls).
Red Color: Denotes a period when the spot price and VIX are both moving in the same direction, which is an abnormal condition.
Shaded Area (Normal Zone): The area between the user-defined upper and lower bounds is shaded in green, highlighting the range of "normal" correlation values.
Interpretation:
Monitor the color and position of the correlation line relative to the shaded area:
If the line is green and within the shaded area, the market dynamics are as traditionally expected.
If the line is red or outside the shaded area, users should exercise caution as this indicates a divergence from typical behavior, which can precede significant market moves or heightened uncertainty.