SPY SECTOR MONEY FLOW ANALYTICSSPY AND DJI SECTOR VOLUME ADVANCE AND DECLINE
THIS CONTAINS THE KEY CONSTITUENTS OF SPY AND DJI TO HELP TRADERS TO PROVIDE HOW UNDERLYING VOLUME AFFECTS THE REVERSAL
Komut dosyalarını "spy" için ara
SPY Trend-Based Buy Signals🔹 Overview
This indicator identifies potential buy signals on any asset by combining MACD and Stochastic Oscillator crossovers, while using the SPY’s trend (via exponential moving averages) as a broader market filter.
It helps traders stay aligned with macro momentum and avoid counter-trend entries.
🔍 How it works
SPY Trend Filter (Daily Timeframe):
Pulls SPY (S&P 500 ETF) data using EMAs (5, 20, 80)
Categorizes SPY market trend with color codes:
🟢 Green: Strong uptrend (EMA5 > EMA20 > EMA80)
🟡 Yellow: Potential uptrend / early momentum (EMA5 < EMA20 > EMA80)
🔴 Red: Downtrend (EMA5 < EMA20 < EMA80)
🔵 Blue: Possible trend reversal or mixed trend (EMA5 > EMA20 < EMA80)
Buy Signal Conditions (Combined Logic):
A signal is only triggered when:
- SPY trend is either yellow or blue (indicating a neutral-to-bullish or early recovery environment)
-The Stochastic Oscillator's %D line is below 50, showing possible upside
- A bullish MACD crossover occurs on the current symbol
🟢 Green signal: MACD crossover occurs below 0 (early reversal)
🟠 Orange signal: MACD crossover occurs above 0 (momentum continuation)
📈 Visual Output
🟢 Green label below the bar when an early reversal setup occurs
🟠 Orange label above the bar when a trend continuation signal appears
✅ Best Use Case
Ideal for:
Swing traders and position traders
LEAPS (long-term options) traders aligning entries with SPY trend
Anyone seeking clean, contextual entries filtered by market momentum
⚠️ Note: This indicator is most effective when used on fundamentally strong stocks that are sector leaders with solid earnings growth and market presence. Use technical signals as a complement to quality fundamentals.
ℹ️ Clarification: The moving averages displayed on the chart (e.g., on QQQ) are for visual reference only, to help users understand the color logic of the SPY trend filter. The actual logic and signals are based on SPY’s moving averages, regardless of the charted symbol.
SPY Volume Weighted CloseHey everyone!
Deciding to make this indicator public and open access.
This is a volume weighted close indicator for SPY. It is a statistics based indicator.
How it works:
It uses volume data mixed with some price action data to prospectively predict where SPY's price will close within a 30 minute interval.
As such, its different from other indicators in the sense that its not reactive, it proactive and actively predicts the price that SPY will see within the next 30 minutes and where SPY will most likely close at.
It has 3 bands. The main centre band (blue, but colour can be changed) is the most likely price that SPY will close at within the next 30 minutes.
The Upper Level Confidence and Lower Level Confidence bands are the expected range that the analysis thinks SPY will remain confined in based on current volume and price action.
How to Use it:
I personally use this in place of VWAP, but the applications are infinite. Take a look at the chart below:
Applications:
This is specifically programmed for SPY but I have used it with other stocks such as QQQ, UPRO and DIA. However, using it with those stocks, the upper and lower confidence bands are not helpful. But YMMV with other stocks. This is specifically designed for SPY.
Let me know your questions and thoughts!
Thanks for reading and checking this out!
SPY Checker v2Using this indicator allows you to check the SPY for large gaps and candles (e.g. >1%) directly in your stock chart at first glance. The algorithm of the * SPY Checker v2* indicator was optimized in this new indicator as well as it using the new pine script version v4. For backwards compatibility reasons this indicator is published as v2.
It is now also possible to use this indicator for all stock charts and to get the SPY indication on them visible without opening the SPY chart explicitly. Additionally added a several days trading stop feature, which is visible on the chart through the green and red background color. This configuration is available in the indicator settings.
Hope this helps many of you to be more efficient in your SPY indication - have fun!
SPY VXX RSI crisscross// Shows mean of SPY and VXX RSI's. While SPY and VXX often play "tag",
//crisscrossing each other, the game of tag is either 'down' or 'up'
LIME= SPY RSI
AQUA=VXX RSI
BLUE= Average of both
Gray= change of blue
The indicator: is the average above or below 50 (are we going up or down).
Reminder - its an RSI 0-100
// Useful in taking hedged positions in Volatility
//Ex. Short VXX and Long SDS
//Ex. Short XIV and Long SSO
SPY Monthly EMA % Alert/TrackerThis simple FREE indicator is used on the SPY chart to alert/notify when the Monthly 10 EMA moves above the alert threshold.
TP suggest that when setting up Credit Spreads the Trader should be careful when the SPY moves too far from the 10 EMA.
This indicator provides a visual indication of the current % away and also the ability to create alerts on preferred thresholds.
This indicator is provided as is without warranty.
SPY DXY VIX MonitorIf you like to monitor DXY and VIX while trading SPY this tool is for you. It gives you the price of all three and the direction they are going based on a smoothed derivative. This should help you make trading decisions based on this strategy of monitoring the three much easier as you get a small box on your chart. You can change the location of this on your chart to! I know its a small release but I hope you can find great use with this!
SPY OffsetShow SPY with a 7 day offset (lag)
I dont know if there is a setting on the chart to draw a symbol/line with a lead/lag of 'n' days. This script plots a time series (symbol) with offset
SPY Option returns calculations This script allows you to calculate returns on double butterfly options, specifically for 0 DTE and 1 DTE(days to expiration) for options that have expiration on Monday, Tuesday and Friday(Mostly SPY). The script is bi-directional, meaning it will calculate the returns on a put and call butterfly simultaneously, not just a put or just a call butterfly. The script was developed to calculate how much return could be made on opening a double butterfly option by opening a position right at the open of the day on a 0 DTE option. The script rounds the price up or down to the nearest strike price at open. From there you would need to chose how far to select your options from the opening strike price. You would also need to select how many contracts you would like to open, negative - is selling an option positive + is buying an option. As an example the script is defaulted to a 0,2,4 strike position with buying 1 contract at the 0, selling 3 contracts at the +/- 2 strike and selling 2 contracts at the +/- strike. The default is set to an unbalanced double butterfly as it allows a better credit collection than a standard butterfly. To change to a standard butterfly change the # of contracts to 1 -2 and 1 respectively.
The script defaults a return of 0 on Tuesdays and Thursdays as there are no 0 DTE options available on those days.
If you have questions about script ask ... if you have questions about options ... the answers will likely take too much time to answer.
SPY Weekly Trading Strategy - ARK IndicatorDisclaimer: This is not financial advise, please consult with your licensed Financial Advisor for investment advise
Hello everyone,
This Script is designed to spot trends and provide you with an entry and exit points.
Rules of Trading with this Indicator:
1- The best risk/reward ratio of this indicator is that you buy at the very first buy Signal "B" and Sell at the very first Sell Signal "S"
2- and Repeat ....as simple as that
Few notes:
1- The repeats of the buy/sell signal are just confirmation of the the trend so to maximize the chances of being profitable, always start when the trend flips (From Sell to buy and vice versa).
2- No signal indicates that you maybe on an up/down trend depending on what the last signal was but the trend is starting to get weak
3- Once a trend is spotted by the algorithm, it will plot a line to establish, entry and exit depending on the direction of the trend (green for buying and red for selling)
4- you will notice that during up trend since the indicator recommends buying only entry points will be suggested with the help of a green line to give you an exact entry point, it is important that the price reaches that entry point for you to pull the trigger, however once the trend gets exhausted it will start to plot a red line so you are mentally prepared that a counter trend might be just around the corner (this is a pretty useful feature)
5- Recommended Settings: The most important setting that you need to be mindful of is "Signal Frequency", based on my observation so far, 2 works best with Weekly & monthly Charts, 8 with Daily Charts , and 10 with hourly charts or lower. As you know the price of a security depends on countless variables, including but not limited to general market condition, success/failure of the underlying security, and the psychology of the market participants of the security, so you can play around with the signal frequency to see what gives you the optimal/profitable signal in the historical candles.
6- the indicator comes with 3 moving averages since some traders/investors like to use moving averages, if you don't need them feel free to turn them off in the settings. they aren't part of any thing used behind the scene.
any questions feel free to contact me by commenting below.
Note: if you have any useful ideas on how to enhance the indicator, please don't be shy!
Warm regards & best of luck!
Ahmad
SPY FRACTAL S-R LEVELS (FIXED ANN MACD)
This is a fractal version of my deep learning script for SPY
In addition, buy and sell conditions may appear in bar colors in green and red.
You can choose from the menu if you wish.
Fractal codes do not belong to me.
So I didn't put any license.
You can use it as you want, you can change and modify.
Regards.Noldo
Jerry J8 30-123 Spy Dashboard ProPlease watch the J8 Scalping Tutorial Video below for a walkthrough on how these indicators work.
This script is used in conjunction with Jerry J8 30-123 SPY Scalping PRO” Indicator(which creates the buy and sell orders as a strategy). The Dashboard shows the 4 main criteria statuses from the strategy. I find the dashboard makes scalping the SPY much easier.
This study project is designed for scalping options that expire daily with bull put and bear call credit spreads on a 3 minute chart. The name 30_123 is a reference to 4 main criteria being met to give a green light for a potential trade. The criteria:
* 30 = 30 minute trend
* 1 = 3 minute trend
* 2 = Moving average criteria
* 3 = RSI criteria
4 = Secondary trend. Bonus if in sync but not a requirement.
* The strategy also utilizes momentum as a criteria but this is not shown on the dashboard.
This indicator is designed to trade options that expire daily including the SPY, IWM, QQQ, and NDX. However, it can be used with multiple symbols on a 3 minute chart.
When the 30_123 conditions are all green with all criteria are met a bull signal is created.
When the 30_123 conditions are all red with all criteria are met a bear signal is created.
This study is the dashboard that is designed to show how the main J8 strategy indicator is working and it shows which criteria have been met. Additionally there are multiple user INPUTS that you can adjust for the 4 main criteria plus inputs to help you with your credit spread criteria.
For example, if the SPY is at 400 we could have an order to sell a BULL PUT CREDIT SPREAD and I would likely sell the 398p and buy the 397p; The 398p delta would be approximately -.2. The spread position profits with any close over 398 and/or can be closed early with a bullish price move. IMPORTANT: If the SPY closed the day at $399 on the chart it would look like a loss based on the buy and sell orders but the spread would be a full profit since the close was above 398.
---- IRON CONDOR
For the SPY ticker only an iron condor label is generated when the SPY is trading sideways and meets specified criteria. When the criteria is met the Iron Condor label appears and it provides a recommendation for what option to buy and sell. The iron condor recommendations can be adjusted with user inputs.
This Indicator dashboard shows the criteria labels and colors the criteria as green if bullish and red if bearish. When the criteria are not met the dashboard shows “NO CLEAR SIGNAL”. There is also a label that shows whether you are looking for bullish or bearish positions based on the 30 minute trend.
The chart shown on the indicator is the RSI and for this indicator an RSI over 50 is bullish and under 50 is bearish. The line color shows the RSI trend. RSI OB (overbought) and OS (oversold) areas are shaded. The RSI can remain in an OB or OS state for a prolonged period and while some people use OB and OS as a reversal signal I use it as a strong trend indication and recognize it will not last forever. You can SET the OB and OS levels with inputs.
---- USER INPUTS
Paint Bars: Turns on/off the candle coloring. Default is OFF.
Iron Condor Settings: Defaults are what I use and can be used as a guide.
Criteria: Trend, moving averages, and RSI settings can all be adjusted.
---- SETUP & HINTS
Add "Jerry J8 30-123 SPY Scalping PRO” indicator to show bull and bear signals
Add "Jerry J8 MACD Optimal Entry Zone” indicator to show best MACD range for entry
I also like to add "Jerry Momentum Dream" indicator to see the momentum
With this indicator we’re looking for the 30, 1, 2, and 3 criteria to be met which increases our likelihood of success. IMPORTANT. Never automatically enter a position without reviewing the other indicators and drawing your own conclusions. You want to choose the entries that are the most appealing to you that take into account volume, time of day, and risk/reward. Positions should be closed based on your risk/reward goals.
Indicators are not a magic pill and should be used to support trading decisions, not to make them for you. Past performance is not a guarantee of future returns. The results of individual stocks/indexes with any strategy do not constitute proof they will repeat in the future.
DISCLAIMER: The information contained in our scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. Trading and investing in the stock market and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. I’m NOT a financial adviser. All trading strategies are used at your own risk.
Please Use the AUTHOR’s INSTRUCTIONS link below for more information.
NOTE: The PERFORMANCE SUMMARY below does not accurately reflect the trading strategy because the entry orders generated in the strategy are based on the stock price and our actual order is a credit spread that is profitable even if the price moves against us a little bit. What could show as a loss in the strategy could be a profit in the credit spread.
Relative Strength (Volatility Adjusted)The volatility adjusted relative strength indicator offers a more precise approach to traditional RS indicators by incorporating volatility adjustments into its calculations. This will provide traders with a more nuanced view of relative performance between a selected instrument and a comparison index.
Identifying Relative Strength (RS) and Weakness (RW) against a benchmark like the SPY is crucial for traders, as it highlights institutional activity in an equity, which retail traders rarely achieve on their own. However, the traditional method of simply comparing the rate of change of a stock to the rate of change for the SPY can be flawed. This method often fails to account for the inherent volatility of each stock, leading to misleading RS/RW readings.
Consider two stocks that both move in response to SPY's movements. If SPY moves significantly more than its average (measured by its ATR), and the stock does the same, traditional RS calculations might show strength when, in fact, the stock is just mirroring SPY's increased volatility. For instance, if SPY typically moves $0.25 an hour but suddenly moves $1, and a stock typically moves $0.50 but moves $2, the stock's apparent RS might be overstated, when in reality there is no relative strength for the stock.
By adjusting for volatility using the ATR (Average True Range), we normalize these movements and get a clearer picture of true RS/RW. For example, if SPY moves 5 times its average rate and a stock moves the same multiple of its own ATR, the RS should be considered neutral rather than strong. Similarly if a stock in absolute terms moves $1 while the SPY also moves $1 but the stock usually moves at twice the rate of the SPY, the stock should be considered relatively weak - not neutral.
Usage
Use this to identify stocks with actual strength or weakness compared to the market.
When the RS line is above 0 and above the moving average it indicates a stock with relative strength that is still gaining more strength.
When the RS line is above 0 but above the moving average it indicates a stock with relative strength that is currently losing strength.
When the RS line is below 0 and below the moving average it indicates a stock with relative weakness that is still losing strength.
When the RS line is below 0 but above the moving average it indicates a stock with relative weakness that is starting to gain back some strength.
ES/SPX/SPY conversion indicatorOverview:
This indicator helps with giving a conversion from ES, SPX and SPY to each other. Will help with setting levels on the chart based on the one of the 3 securities. For example, if you have a level from ES (futures) and want to correlate that level in the SPY, then you can put the ES option and the level you want to watch and will put the line in the corresponding level of the SPY.
How it works/Calculations:
It will use a mathematical equation to calculate the ratio between ES/SPY/SPX. Using this ratio equation, if ES price point A is wanted, then it will be correlated to the SPY and will help with knowing what levels correspond to the futures and vice versa. One thing to be aware is that Tradingview has a 15 min delayed on futures so you will not have updated pricing unless you pay for it, but for this indicator main purpose is for the people that want to correlate certain levels from futures to SPY based on technical analysis. On the settings you can choses the ticker that you want to put the levels, whether is ES, SPX or SPY and then you have multiple areas to put those levels as active or inactive. If the line is below the price point it will color red and if the line is above the price, then will be green.
Potential Pitfalls:
No potential pitfalls except as mentioned above, the delay in futures unless you pay for it.
How to use:
You should not be using this indicator for entries or stop. This indicator will help correlate levels from ES, SPX and SPY among themselves.
Who will benefit from this indicator? Whoever likes to do technical analysis on the futures and want to watch those levels into the spy and correlate them.
Settings:
-Very simple settings, first you chose the one that you want to compare with. You will have 3 choices, ES, SPX, SPY. If you have the SPY chart and want to compare with ES, then chose ES and then put the levels from ES that you want to mark on the SPY.
Disclaimer:
This is still an indicator that is being tested and in no way should be used alone. Currently will be in closed beta to find bugs and to work on accuracy.
The information contained in this script does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts are only for educational purposes!
Stock vs SPY % ChangeStock vs SPY % Change Indicator
This Pine Script indicator helps you compare a stock's price performance to the S&P 500 (using SPY ETF) over a user-defined period. It calculates the percentage price change of the stock and SPY, then displays the difference as a relative performance metric. A positive value (plotted in green) indicates the stock is outperforming SPY (e.g., dropping only 3% while SPY drops 10%), while a negative value (plotted in red) shows underperformance.
Features:
Adjustable lookback period (default: 20 days) to analyze recent performance.
Visual plot with green/red coloring for quick interpretation.
Zero line to clearly separate outperformance from underperformance.
How to Use:
Apply the indicator to your stock's chart.
Set the "Lookback Period" in the settings (e.g., 20 for ~1 month).
Check the plot:
Green (above 0) = Stock's % change is better than SPY's.
Red (below 0) = Stock's % change is worse than SPY's.
Use on daily or weekly charts for best results.
Ideal for identifying stocks that hold up better during market downturns or outperform in uptrends. Perfect for relative strength analysis and to spot accumulation.
Rolling Beta against SPY📈 Pine Script Showcase: Rolling Beta Against SPY
Understanding how your favorite stock or ETF moves in relation to a benchmark like the S&P 500 can offer powerful insights into risk and exposure. This script calculates and visualizes the rolling beta of any asset versus the SPY ETF (which tracks the S&P 500).
🧠 What Is Beta?
Beta measures the sensitivity of an asset's returns to movements in the broader market. A beta of:
- 1.0 means the asset moves in lockstep with SPY,
- >1.0 indicates higher volatility than the market,
- <1.0 implies lower volatility or possible defensive behavior,
- <0 suggests inverse correlation (e.g., hedging instruments).
🧮 How It Works
This script computes rolling beta over a user-defined window (default = 60 periods) using classic linear regression math:
- Calculates daily returns for both the asset and SPY.
- Computes covariance between the two return streams.
- Divides by the variance of SPY returns to get beta.
⚙️ Customization
You can adjust the window size to control the smoothing:
- Shorter windows capture recent volatility changes,
- Longer windows give more stable, long-term estimates.
📊 Visual Output
The script plots the beta series dynamically, allowing you to observe how your asset’s correlation to SPY evolves over time. This is especially useful in regime-change environments or during major macroeconomic shifts.
💡 Use Cases
- Portfolio construction: Understand how your assets co-move with the market.
- Risk management: Detect when beta spikes—potentially signaling higher market sensitivity.
- Market timing: Use beta shifts to infer changing investor sentiment or market structure.
📌 Pro Tip: Combine this rolling beta with volatility, Sharpe ratio, or correlation tracking for a more robust factor-based analysis.
Ready to add a layer of quantitative insight to your chart? Add the script to your watchlist and start analyzing your favorite tickers against SPY today!
Average sector correlations to SPYHello Traders!
This is our latest addition to MFR TradingView account: Average sector correlations to SPY.
The Average Sector Correlation indicator is a powerful tool designed to give insights into the interconnectedness of different SPY sectors in relation to the SPY itself. As an introduction, know that this indicator presents the average correlation of all SPY sectors, serving as a barometer for overall market cohesion and relative performance.
At Myfractalrange, we monitor correlations extensively as we know they serve as warning for reversals, bullish rallies, bear market allies, etc.
Before going into how subscribers can use this script, let't have a look at the different data points:
In this script, we are calculating the average sector correlations to the SPY (S&P 500 ETF).
The following data points are used for the calculation:
- XLK: Technology Select Sector SPDR Fund
- XLE: Energy Select Sector SPDR Fund
- XLF: Financial Select Sector SPDR Fund
- XLU: Utilities Select Sector SPDR Fund
- XLV: Health Care Select Sector SPDR Fund
- XLP: Consumer Staples Select Sector SPDR Fund
- XLI: Industrial Select Sector SPDR Fund
- XLY: Consumer Discretionary Select Sector SPDR Fund
- XLC: Communication Services Select Sector SPDR Fund
- XLRE: Real Estate Select Sector SPDR Fund
- XLB: Materials Select Sector SPDR Fund
These data points represent different sectors of the stock market.
The user can modify the "period" variable to specify the lookback period for calculating the correlation.
By changing the value of "Period," the user can adjust the number of historical data points used in the correlation calculation. Default value is 10 days.
How does the script work?
The script uses the ta.correlation function from TradingView's Pine Script to calculate the correlation between the daily returns of each sector ETF and the SPY. The daily return is calculated as the percentage change in price from the previous day.
The correlation calculation is performed for each sector ETF and the SPY, using the specified lookback period. The correlations are then averaged to obtain the average sector correlation to the SPY.
The resulting average sector correlation is plotted on the chart using a blue line.
How to use correlations when trading?
This script can be used to assess the overall market sentiment by measuring the average sector correlation to the SPY. When the average sector correlation is positive, it indicates that the sectors are generally moving in the same direction as the broader market (SPY). This suggests a strong market trend.
Traders can use this information to make informed trading decisions. For example, if the average sector correlation is strongly positive, it may be a signal to consider bullish positions in individual stocks or ETFs from sectors with high positive correlations. Conversely, if the average sector correlation is negative or weak, it may indicate a lack of market direction or potential sector rotation, requiring caution in trading decisions.
Furthermore, when correlation values are high and growing, it may signify a build-up of risk, suggesting that the sectors are moving in tandem due to widespread market forces. This can often be a signal of broader market participants chasing trends or reacting to panic. Therefore, this indicator can serve as a valuable tool for traders and investors who want to understand market sentiment and systemic risk at a glance.
The Average Sector Correlation indicator also provides the capability to monitor average correlations across multiple timeframes concurrently. This feature allows users to track the fluctuations of sector correlations over short, medium, and long-term periods, all simultaneously.
This function offers a more comprehensive view of the market dynamics and can alert users to changes in correlation patterns over various time horizons. Thus, users can gain insights into the immediate temperament of the market while also maintaining awareness of larger trends that may be forming or diminishing over extended periods. It presents a holistic image of market behaviour, enhancing the user's decision-making process.
Why use Correlations in combination with other indicators?
To enhance trading strategies, this script can be used in combination with other technical indicators or signals. By incorporating additional indicators such as moving averages, trend lines, or oscillators, traders can build a comprehensive trading system.
For example, traders can use the average sector correlation as a confirmation signal for other technical analysis tools. If a bullish signal is generated by another indicator, such as a moving average crossover or a breakout, the positive average sector correlation can provide additional confidence to enter or hold a long position.
Conversely, if a bearish signal is generated by another indicator, a negative average sector correlation can act as a confirmation signal to consider short positions or reduce exposure to sectors with low or negative correlations.
By combining multiple signals and indicators, traders can develop a well-rounded trading strategy that incorporates market breadth (sector correlations) along with other technical factors to increase the probability of successful trades.
It's important to note that while Correlations are a useful tool, it should not be relied upon solely for making trading decisions. It's recommended to use it in conjunction with other technical analysis tools and consider other factors such as Trend, market conditions, risk management, and fundamental analysis.
We hope that you will find these explanations useful.
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.
Economic Crises by @zeusbottradingEconomic Crises Indicator by @zeusbottrading
Description and Use Case
Overview
The Economic Crises Highlight Indicator is designed to visually mark major economic crises on a TradingView chart by shading these periods in red. It provides a historical context for financial analysis by indicating when major recessions occurred, helping traders and analysts assess the performance of assets before, during, and after these crises.
What This Indicator Shows
This indicator highlights the following major economic crises (from 1953 to 2020), which significantly impacted global markets:
• 1953 Korean War Recession
• 1957 Monetary Tightening Recession
• 1960 Investment Decline Recession
• 1969 Employment Crisis
• 1973 Oil Crisis
• 1980 Inflation Crisis
• 1981 Fed Monetary Policy Recession
• 1990 Oil Crisis and Gulf War Recession
• 2001 Dot-Com Bubble Crash
• 2008 Global Financial Crisis (Great Recession)
• 2020 COVID-19 Recession
Each of these periods is shaded in red with 80% transparency, allowing you to clearly see the impact of economic downturns on various financial assets.
How This Indicator is Useful
This indicator is particularly valuable for:
✅ Comparative Performance Analysis – It allows traders and investors to compare how different assets (e.g., Gold, Silver, S&P 500, Bitcoin) performed before, during, and after major economic crises.
✅ Identifying Market Trends – Helps recognize recurring patterns in asset price movements during times of financial distress.
✅ Risk Management & Strategy Development – Understanding how markets reacted in the past can assist in making better-informed investment decisions for future downturns.
✅ Gold, Silver & Bitcoin as Safe Havens – Comparing precious metals and cryptocurrencies against traditional stocks (e.g., SPY) to analyze their performance as hedges during economic turmoil.
How to Use It in Your Analysis
By overlaying this indicator on your Gold, Silver, SPY, and Bitcoin chart (for example), you can quickly spot historical market reactions and use that insight to predict possible behaviors in future downturns.
⸻
How to Apply This in TradingView?
1. Click on Use on chart under the image.
2. Overlay it with Gold ( OANDA:XAUUSD ), Silver ( OANDA:XAGUSD ), SPY ( AMEX:SPY ), and Bitcoin ( COINBASE:BTCUSD ) for comparative analysis.
⸻
Conclusion
This indicator serves as a powerful historical reference for traders analyzing asset performance during economic downturns. By studying past crises, you can develop a data-driven investment strategy and improve your market insights. 🚀📈
Let me know if you need any modifications or enhancements!
Daily SPY PlanThe Daily SPY Plan indicator is a technical analysis tool designed to provide traders with a visual representation of price levels and take profit points for the SPY (S&P 500 ETF) on a daily timeframe. This indicator utilizes the Average True Range (ATR) to calculate projected price levels and take profit points, aiding traders in identifying potential breakout and profit-taking opportunities.
Indicator Description:
The indicator is written in Pine Script, specifically for use on the TradingView platform. It plots several levels on the price chart, each representing a potential breakout or take profit point. The levels are determined based on a fraction of the ATR added or subtracted from the closing price. The fractions used are 0.25, 0.5, 0.75, 1.0, 1.25, and 1.5 times the ATR.
The indicator distinguishes between breakout levels and take profit levels using different colors. Breakout levels, which indicate potential entry or exit points, are displayed in green, while take profit levels are shown in gray.
Key Features and Use:
ATR Calculation: The indicator calculates the Average True Range (ATR) using a specified length (default value of 14). ATR is a measure of market volatility and represents the average range between the high and low prices over a specific period.
Projected Price Levels: The indicator plots several projected price levels above and below the closing price. These levels are calculated by adding or subtracting a fraction of the ATR from the closing price. Traders can use these levels as potential breakout points or areas to set stop-loss orders.
Take Profit Points: The indicator also plots take profit points at specific levels above and below the closing price. These levels are designed to help traders identify potential areas to secure profits or partially exit their positions.
Visual Representation: The indicator utilizes step-like lines to plot the projected price levels and take profit points, providing a clear visual representation on the price chart. Traders can easily identify the relevant levels and incorporate them into their trading strategies.
Customizability: The indicator allows traders to customize the ATR length and choose whether to display Fibonacci levels (although there are no Fibonacci calculations in the provided code). These customization options enable traders to adapt the indicator to their preferred trading style and timeframe.
Limitations and Considerations:
Complementary Analysis: The Daily SPY Plan indicator should be used as a complementary tool alongside other technical analysis techniques and indicators. It provides price levels and take profit points based on ATR calculations, but it doesn't incorporate additional market factors or trading strategies.
Timeframe Suitability: The indicator is specifically designed for the daily timeframe of the SPY. Traders should consider adjusting the parameters and adapting the indicator if using it on different timeframes or instruments.
Risk Management: While the indicator suggests potential breakout and take profit points, it does not provide explicit stop-loss levels or risk management parameters. Traders should incorporate appropriate risk management techniques to protect their capital.
Conclusion:
The Daily SPY Plan indicator is a valuable technical analysis tool for traders focusing on the SPY ETF and the daily timeframe. By utilizing the ATR, it helps traders identify potential breakout levels and take profit points. However, traders should remember that this indicator is just one piece of the puzzle and should be used in conjunction with other technical analysis tools and risk management strategies to make informed trading decisions.
S&P 500 E-Mini TrackerThis script generates a reference price for the S&P 500 ETF - SPY based on the current price of the ES contract, which is an E-Mini Futures contract representing the S&P 500 index. The indicator plots this reference price on the chart, providing a unique view of the relationship between these two popular markets.
Advantages:
Identifies divergence between the ES and SPY prices, indicating potential trading opportunities or shifts in market sentiment.
Confirms trends by showing the correlation between the ES and SPY prices.
Eliminates the need for multiple charts, allowing traders to focus on a single screen and make more informed decisions.
Customizable Parameters:
Color Scheme: Choose from various color options to customize the appearance of the indicator.
Line Style: Select from different line styles to change the visual representation of the reference price.
Divisor: Set the dividing factor to adjust the ratio at which the reference price is calculated. (Default value: 10). It is recommended to keep it at 10 for SPY.
To use it with other Stocks/ ETFs, use simple ratio math to calculate the divisor and you can customize the indicator to scale accordingly.
By using this indicator, traders can gain a deeper understanding of the relationship between the E-Mini and SPY markets, making it easier to identify trading opportunities and confirm trends.
VIX/VOLI RatioWe all know TVC:VIX . But what is NASDAQ:VOLI ?
VOLI is basically a measure of expectations for market volatility over the next 30 calendar days as expressed by ATM options on AMEX:SPY
nations.com
So why is this VIX /VOLI ratio important? It's because it can give an important measure of options skew.
It can show the premium of OTM options (particularly puts) over ATM.
It can show if traders are interested in owning wings in AMEX:SPY
Not a lot of info can be taken by just looking at the ratio as a standalone nominal value. Plus, the ratio is noisy and spotting a clear trend can be hard.
For these reasons, I decided to code this indicator (which is best used on the Daily chart).
I added two EMA clouds, 7 and 12 and color code them with respect to their positions. If 7 > 12, cloud will be green. If 7 < 12, cloud will be red. This will give a better view of how the ratio is trending.
I then added a lookback period that can be changed from the indicator's setting (along with the fast and slow EMAs).
The lookback period will be used to get the following parameters:
- highest value
- lowest value
- 10th, 30th, 50th, 70th and 90th percentiles
- Percentile Rank
- Average, Median and Mode
Having all these values in a table will give a better idea of where the current ratio sits.
Stock float, avg volume, pre-market info and indexes atrp, trendNASDAQ:AAPL
This indicator shows the most usefull informations about the current symbol and the two common indexes (SPY and QQQ) in a table, in the upper right corner of the graph.
The informations are:
Symbol
Float
Daily average volume
Average True Range
Pre-market volume
Pre-market change %
Indexes
SPY ATRP
SPY trend (this value indicates how much the symbol is changing from the last X bars of Y minues. Higher values means a stronger trend)
QQQ ATRP
QQQ trend (same as SPY trend)
The indicator is highly customizable. Here are some of the settings:
Compact view
Text size
Every information is hidable
Most of the informations have customizable warning
Background color with thresholds
Period/lenght of the indicators
Intraday Trend LinesTradingView Indicator Description: Options-Based Swing Range Forecast
Core Mechanism
This indicator calculates expected price swing ranges for key assets using daily post-market options block trade data, projecting high (resistance) and low (support) levels for:
Next Trading Day (T+1)
Two Days Ahead (T+2)
End of Current Week (Friday)
End of Next Week (Next Friday)
Dual horizontal lines connect the prediction start time (16:00 EST) to the target date's close time (16:00 EST), marking the forecasted range.
Supported Assets
Direct Calculation Indirect Derivation*
SPY SPX (via SPY data)
IWM NDX (via QQQ data)
QQQ IXIC (via QQQ data)
DIA RUT (via IWM data)
TLT SOX
*Indices derived from ETF options data using volatility conversion.
Key Features
Dynamic Updates:
New ranges calculated daily after market close.
Click the 🌀 Refresh button next to the indicator name to load latest data.
Visual Clarity:
Resistance (blue) and support (purple) lines with semi-transparent labels.
Hover labels show date range and swing metrics (e.g., Swing: 36.1 (2.5%)).
Algorithm Basis
Options Gamma Exposure: Identifies high gamma strike clusters.
Volatility Surface Fitting: Derives expected move boundaries.
ETF-to-Index Conversion: SPX/NDX/IXIC ranges scaled from SPY/QQQ data.
Usage Notes
⚠️ Critical Reminders:
SPX/NDX/IXIC: Ranges inferred from ETF liquidity (not direct options data).
Intraday Expiry: Lines auto-expire at 16:00 EST on target dates.
Market Risks: Ranges reflect options trader consensus, not guarantees. Combine with volume/trend analysis.
Compliance Statement
Closed-source logic compliant with TradingView rules.
Core methodology reviewed by moderators (gamma/volatility analysis).