QQQ and SPY Price Levels [MW]Introduction:
Don’t let SPY and QQQ resistance levels hurt your futures trading anymore. The QQQ and SPY Price Levels indicator automagically provides easily accessible QQQ price levels for NASDAQ-related charts such as QQQ, /NQ and /MNQ futures, and leveraged ETFs such as TQQQ and SQQQ as well as for SPY price levels for S&P 500-related charts such as SPY, /ES and /MES futures, SPX, and leveraged ETFs such as UPRO and SPXU. If you’ve ever traded futures, or anything QQQ- or SPY-related and wanted to know at what price would the corresponding asset reach a key whole number level of QQQ or SPY, like 400, 440, 445, or even 447.50, this tool is for you. Key 10x, 5x, and even 2.5x multiples of QQQ and SPY can act as support or resistance for other related-assets. Until now, there hasn’t been an indicator that can serve as an easy visual cue to know exactly when that is about to happen across assets.
This indicator is a fork of the original SPY Price Levels indicator, which only considered SPY-related assets.
Settings:
QQQ/SPY 2.5x: Show closest levels above and below that are multiples of 2.5 on QQQ
QQQ/SPY 5x: Show closest levels above and below that are multiples of 5 on QQQ
QQQ/SPY 10x: Show closest levels above and below that are multiples of 10 on QQQ
Show QQQ/SPY Price Label: Show the current QQQ/SPY price
Extend lines to the left: Extend label lines for each price level to the beginning of the chart
Calculations:
This indicator defines the ratio between the price of QQQ/SPY and another NASDAQ/S&P-related asset and uses that multiplier once the user-defined price increments are defined. For example, if /MNQ is at 19000 and QQQ is at 465, then the ratio would be 40.8.
The incremental QQQ levels that are above and below the QQQ price are calculated using the following equations:
qqqLevelUp = _multiplier * math.ceil(_qqqClose / _multiplier)
qqqLevelDown = _multiplier * math.floor(_qqqClose / _multiplier)
The conversion ratio is then multiplied by that amount to get the final estimated corresponding price using the calculation:
levelUp := _conversion * qqqLevelUp
levelDown := _conversion * qqqLevelDown
For leveraged assets, the conversion must be used on the difference between the current QQQ price and the incremental upper and lower levels.
For example, the calculation for the next level up looks like the following:
levelUpDelta := math.abs(_qqqClose - qqqLevelUp)
levelUp := close + _conversion * (levelUpDelta * _leverage)
This logic is identical for SPY-related assets.
How to Use:
The QQQ and SPY Price Levels indicator aims to be as unobtrusive as possible. The default view shows 3 labels and 2 lines that are all aligned to the right of the main chart, so that it interferes as little as possible with any other indicators. It can be added to any /NQ or /MNQ futures chart, SQQQ, TQQQ, and, of course, QQQ as well as any /ES /MES futures chart, SPXU, UPRO, SPX, and of course SPY. The most immediate price levels for each multiplier appears above and below the current price along with the price of QQQ/SPY.
For example, MNQU2024 is currently at 19594. By looking at the indicator the next QQQ increment below is at 475, or 19556 on the MNQU2024 chart. This potential support is marked with a green label that shows both prices. The next increment above is at QQQ 477.50, or 19659 on the MESU2024 chart. And the QQQ price itself, is also shown (and can be removed) at 475.92.
QQQ and SPY price increments of 2.5, 5, and 10 tend to consistently act at the very least as emotional support and resistance levels. Weak, or weakening volume and/or momentum when these levels are hit can trigger a strong rejection, and can sometimes precipitate lengthy consolidation periods at those levels. Watching an NASDAQ- and S&P 500-related asset come to a halt, fall off a cliff, or react in some other unintuitive way could very well be the result of a QQQ/SPY level being reached. Even though many of us know that this relationship exists, it’s easy to forget. So, this indicator helps to ensure that its users keep that relationship front and center.
By extending the lines into the past on QQQ/SPY and their related assets, you can see what reactions happened at these key levels.
Other Usage Notes and Limitations:
The calculations used only provide an estimated relationship or a close approximation, and are not exact.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
Es!
High/Low of week: Stats & Day of Week tendencies// Purpose:
-To show High of Week (HoW) day and Low of week (LoW) day frequencies/percentages for an asset.
-To further analyze Day of Week (DoW) tendencies based on averaged data from all various custom weeks. Giving a more reliable measure of DoW tendencies ('Meta Averages').
-To backtest day-of-week tendencies: across all asset history or across custom user input periods (i.e. consolidation vs trending periods).
-Education: to see how how data from a 'hard-defined-week' may be misleading when seeking statistical evidence of DoW tendencies.
// Notes & Tips:
-Only designed for use on DAILY timeframe.
-Verification table is to make sure HoW / LoW DAY (referencing previous finished week) is printing correctly and therefore the stats table is populating correctly.
-Generally, leaving Timezone input set to "America/New_York" is best, regardless of your asset or your chart timezone. But if misaligned by 1 day =>> tweak this timezone input to correct
-If you want to use manual backtesting period (e.g. for testing consolidation periods vs trending periods): toggle these settings on, then click the indicator display line three dots >> 'Reset Points' to quickly set start & end dates.
// On custom week start days:
-For assets like BTC which trade 7 days a week, this is quite simple. Pick custom start day, use verification table to check all is well. See the start week day & time in said verification table.
-For traditional assets like S&P which trade only 5 days a week and suffer from occasional Holidays, this is a bit more complicated. If the custom start day input is a bank holiday, its custom 'week' will be discounted from the data set. E.g.1: if you choose 'use custom start day' and set it to Monday, then bank holiday Monday weeks will be discounted from the data set. E.g.2: If you choose 'use custom start day' and set it to Thursday, then the Holiday Thursday custom week (e.g Thanksgiving Thursday >> following Weds) would be discounted from the data set.
// On 'Meta Averages':
-The idea is to try and mitigate out the 'continuation bias' that comes from having a fixed week start/end time: i.e. sometimes a market is trending through the week start/end time, so the start/end day stats are over-weighted if one is trying to tease out typical weekly profile tendencies or typical DoW tendencies. You'll notice this if you compare the stats with various custom start days ('bookend' start/end days are always more heavily weighted). I wanted to try to mitigate out this 'bias' by cycling through all the possible new week start/end days and taking an average of the results. i.e. on BTC/USD the 'meta average' for Tuesday would be the average of the Tuesday HoW frequencies from the set of all 7 possible custom weeks(Mon-Sun, Tues-Mon, Weds-Tues, etc etc).
// User Inputs:
~Week Start:
-use custom week start day (default toggled OFF); Choose custom week start day
-show Meta Averages (default toggled ON)
~Verification Table:
-show table, show new week lines, number of new week lines to show
-table formatting options (position, color, size)
-timezone (only for tweaking if printed DoW is misaligned by 1 day)
~Statistics Table:
-show table, table formatting options (position, color, size)
~Manual Backtesting:
-Use start date (default toggled OFF), choose start date, choose vline color
-Use end date (defautl toggled OFF), choose end date, choose vline color
// Demo charts:
NQ1! (Nasdaq), Full History, Traditional week (Mon>>Friday) stats. And Meta Averages. Annotations in purple:
NQ1! (Nasdaq), Full History, Custom week (custom start day = Wednesday). And Meta Averages. Annotations in purple:
SPY SPX ES Price Converter [Pt]A must have tool for SPY SPX ES traders~!!!
Description
The SPY SPX ES Price Converter is a powerful and easy-to-use tool that allows traders to view corresponding price levels for linked instruments in real-time. This includes SPY, SPX, ES, and SPX500USD. Although these instruments often move in sync, differences in price movements, volume, and trading hours can create unique key levels and support/resistance areas for each. By mapping these levels on the same chart, traders can more easily spot trading opportunities and improve their chances of success.
Customizable features
- multiplier from the closest whole number price level
- line color
- line style
- label position / size
- # of levels to display
- toggle current price display table
Pre-market Highs & Lows on regular trading hours (RTH) chartShows pre-market highs and lows on RTH or ETH chart
-Pre-market duration user input (default is 16 'bar hours'; covering the time from S&P RTH close at 4pm >> 9:30am RTH open next day
-Displays on both RTH and ETH charts
-Written for ES (ES1! or e.g ESM2023), but tested and working on SPY, SPX
-Works across timeframes
Example usage on Electronic trading hours (ETH) chart; showing the 'bar hours' user input lookback duration visually
Session LiquidityThe “Session Liquidity” TradingView indicator by Infinity Trading creates dynamic horizontal lines at the high and low points of a specified time span within the trading day. This indicator gives the user control of three separate time spans so the user can dynamically see the highs and lows of their favorite daily time spans.
Purpose
This indicator is similar to my TradingView indicator “Futures Exchange Sessions 3.0”. In that indicator the user gets control of dynamic price boxes. For me, these boxes made it difficult to spot ICT’s Orderblocks. So instead of boxes I made independently controllable lines and now I can spot ICT Orderblocks and easily identify Liquidity Pools.
Inputs and Style
Everything about the three dynamic lines can but independently configured. Start & End Times, Line Color, Line Style, Line Width, Text Characters, Text Size, Text Color can all be adjusted. The high and low lines as well as their text labels can be individually toggled on or off for maximum control.
Timezone
All of the start and end times are in EST. Additionally, each time span line needs a specific start of each day. This is controlled by a setting called “Line Start Day Timezone” where the user sets a timezone that corresponds with the start time. In general if a timespan resides within a particular Session pick the corresponding timezone. If the users line fits in the Asian Session then choose Asia/Shanghai. If the line is within the London Session then choose Europe/London. And the same goes for the New York Session.
Special Notes
If the Line Start Time is within one candle of the Start Day Timezone in the Settings, then the line/box won’t display. So choose the previous timezone
Lines only display when the timeframe is <= 30 minute
Gallery
RTH Levels Initial Balance Overnight 12-1 Opening types (IB)(ON)Made for ES/NQ.
CME_MINI:ES1!
CME_MINI:NQ1!
But it will most likely work for all USA futures. Default clock settings are set according to CST.
This Indicator automatically draws RTH levels, yesterday’s RTH levels, initial balance, overnight and 12-1 (lunch) levels.
In additionally, at RTH open, it shows opening type.
Also shows/alert works for 12-1 stat.
You may need to change the clock range settings for stocks.
Definitions of opening types.
If price opens the day above the previous day session high, it is considered Higher Outside Range. (HOR)
If price opens the day between the previous close and the previous high, it is considered Higher Inside Range. (HIR)
If price opens between the previous close and previous low, it is Lower Inside Range. (LIR)
If price opens below previous day session low, it is Lower Outside Range. (LOR)
Acronyms:
RTH : Regular Trading Hours
ON : Overnight
IBH : Initial Balance High
IBL : Initial Balance Low
IBMid: Initial Balance Mid
ONH : Overnight High
ONL : Overnight Low
ONMid : Overnight Session Midpoint Price
yRthO : Yesterday's rth open
yRthH : Yesterday's rth high
yRthL : Yesterday's rth low
yRthC : Yesterday's rth close
yRthMid : Yesterday's rth mid
12-1 : Lunch time for Chicago (12pm to 1pm) (CST)
rthmid (for rth session) : (high + low) / 2
Convert ETF to Futures/IndexThis indicator is used to automatically map an ETF's VWAP and 10 levels above and below the strike of your choice, to the futures or index instrument currently being viewed/traded. This works very well when using both SPY to ES/MES/SPX or QQQ to NQ/MNQ/NDX to plot the ETF strikes and can lead to some incredible trades, especially when trading level to level. Since SPY, QQQ, IWM, and DIA have the same price action as their futures iteration, there seems to be a direct correlation between their levels and VWAP . This indicator is made to easily map these key levels to the appropriate futures instrument. If you have a way to measure GEX centered around a certain level, I recommend color coding the lines to help indicate whether the level will have strong positive or negative gamma hedging associated with it.
Seasonality DOW - Day Of the Week - Tabular FormUse this indicator on Daily Timeframe
This indicator displays the seasonality data for any instrument (index/stock/ futures /currency) in a tabular data by day of the week - DOW ( Sun - Mon - Tue - Wed - Thu - Fri - Sat ).
User can change the start of the year for analysis from the inputs.
Year is represented in rows and Day of the week (DOW) is represented in cols.
This indicator uses Daily Data feed to calculate the % change
Summary data for DOW displayed as the last row
SPY to ES or QQQ to NQThis indicator is used to automatically map SPY VWAP and 10 levels of your choice to ES / MES or map QQQ VWAP and 10 levels of your choice to NQ / MNQ . Since SPY and QQQ have the same price action as their futures iteration, there seems to a direct correlation between their levels and VWAP. This indicator is made to easily map the key levels of your choice to the appropriate futures instrument.
Futures Exchange Sessions 3.0Description
The ultimate conclusion to the Futures Exchange Sessions 2.0 indicator. In version 3.0 the user gets full control of the start and end times of three separate dynamic boxes and one horizontal line. If the user wants to visually keep track of killzones, lunches, or any other time span in a trading day, version 3.0 will dynamically expand and keep track of price within the time specified by the user.
Inputs and Style
Everything about the three dynamic boxes and one horizontal line can but independently configured. Color, style, border, width can all be adjusted. In the Settings each box has a text box so the user can give each one a unique name.
Timezone
All of the start and end times are in EST. Additionally, each box and line need a dependent start of each day. This is controlled by a setting where the user can specify a timezone called Start Day Timezone which would be midnight of the respective timezone. In general if a box or line resides within a particular Session pick the corresponding timezone. If the users box/line fits in the Asian Session then choose Asia/Shanghai. If the box/line is within the London Session then choose Europe/London. And the same goes for the New York Session.
Special Notes
If start time is within one period of the Start Day Timezone in the Settings, then the line/box won't display
Boxes and time lines only display when timeframe is <= 30 minute
To turn off box text label set opacity to 0%
Futures Exchange Sessions 2.0Description
Successor to Futures Exchange Sessions indicator. Completely rebuilt code from the ground up. Every feature has been redesigned and refactored to be the most beneficial while allowing for complete configuration by the user.
This indicator displays Futures Sessions as live boxes that expand dynamically as price moves over the time interval. These boxes make liquidity levels extremely easy to spot and visualize. It helps the user identify market structure and develop their own bias of price action. Everything about the Session boxes can be configured. Box color, border color, border style, and border width are all individually controllable. Each Future Session can be turned on or off at any time. Also, each box has their own text label (Asian Session, London Session, New York Session) and this text can be moved around the box, change color, and change size.
Previous days highs and lows (major liquidity levels) are always important to the futures trader. This indicator now allows the user to individually display the three previous days highs and low levels as lines with optional label. Each line can be independently toggled on or off and like always, every conceivable customization option is available to the user. And the labels can be moved to the right (via the Input Settings) to allow unobstructed views of candles.
The midnight EST open and 8:30 AM EST open horizontal lines (developed by the Inner Circle Trader) are returning in this indicator. But the biggest improvement is that the lines stop at the current bar or the last bar of the trading day. Additionally, the time lines are displayed on previous days so the user can easily see how the candles reacted to these important times of the day.
The Session boxes and the horizontal time lines now can be set to only display a certain number of day back. If the user wants just to see Session boxes for the previous day only, they can do that. If the user wants to see the last 15 days of boxes or lines it is very easy to increase the days back in the settings. Currently, the max days back is 80 calendar days.
Additional Images
Easily visualize and understand price action across time
Everything is customizable so the user can easily match this indicator to their color preferences
Special Notes
To turn off box session text set opacity to 0%
Boxes and horizontal time lines only display when timeframe is <= 30 minute
S&P Sector Advance/Decline Weighted -Tom1traderEnjoy, enhance your trading (I hope), copy or adapt to your needs and keep smiling!
Thanks to @MartinShkreli. The sector variables and the "repaint" option (approx lines 20 through 32 of this script) are used directly from your script "Sectors"
RECOMMENDATION: Update the sector weightings -inputs are provided. They change as often as monthly and the
annual changes are certainly significant. When updating weighting percentages use the decimal value. I.E. 29% is .29
Good on any time frame. Especially SPY, SPX and ES scalpers and 0DTE options traders may like this a lot.
This gives good signals on S & P and related (ES, SPY) and indicates / plots differently than the AD line or ratio.
Each sector's entire % weight is added or subtracted depending of whether that sector advanced or declined.
Example: Information Tech weight at 29% so that % of 500 (145) is added if InfoTech is up a penny and subtracted if it is
down a penny. All sectors processed the same way so that for a given bar/candle the value will be between +500 (all
sectors up) and -500 (all sectors down). This weighted AD line of sectors is scaled to +/- 350 and plotted as a red/green line
along with aqua/fuchsia columns of its 5 period ema. The line is actual sector behavior and the columns seem to make a
good signal with column zero crosses standing out.
The columns aqua / fuchsia are a 5 period ema of the Sector AD line and give pretty good signals at
zero cross for SPX. I colored the AD red green line also to emphasize the times it opposes the ema
for example the histo/colums zero cross signal is NOT true when the AD line is showing all or most sectors
going the other way.
For readability, the AD line itself is scaled to 350. This lets the columns of the ema stand out better. The hlines at
350 and at 175 give an idea for the AD green red line how much of the sector's weight is up or down.
350 is all sectors up (advancing) and -350 is all sectors down (declining). The hlines at +/- 175 seem to outline
a more or less "neutral" zone. For example in an uptrend with most of the AD level positive and the columns positive;
a negative spike that does not pass the -175 line and returns positive does not seem to impact the price as much as
a deeper negative spike.
US Indices Cash Initial BalanceThis indicator plots the Cash Initial Balance for the ES, YM, NQ.
The Cash Initial Balance for US indices is the high & low from 9:30-10:30 ET, the first hour after the NYSE open.
GMS: Mr. Yen's Color ZoneThis is Mr. Yen's color zone. I have also added an input to adjust the sizes of each box. Mainly targeted for MES and ES.
The default settings are as he describes:
white line is the previous day close
red zone = +/- 20 from the previous day close
yellow zone = +/- 40 from the previous day close
green zone = +/- 60 from the previous day close
blue zone = +/- 100 from the previous day close
The source code is open, so feel free to take a look and see whats up. This indicator is quite similar to his, however there is a gap at the cash close to overnight open on his chart that I'm not sure how to adjust for. In any case, this one is still pretty good!
I hope it helps,
Andre
(JS)S&P 500 Volatility Oscillator For Options 2.0I am going to start taking requests to open source my indicators and they will also be updated to Version 4 of Pinescript.
I added some features to the original code such the ability to smooth the oscillator and select the look back periods for the historical volatility.
Link to original:
Original post:
"The idea for this started here: www.tradingview.com with the user @dime
This should only be used on SPX or SPY (though you could use it on other things for correlation I suppose) given that the instrument used to create this calculation is derived from the S&P 500 (thank you VIX ). There's a lot of moving parts here though, so allow me to explain...
First: The main signal is when Implied Volatility (from VIX ) drops beneath Historical Volatility - which is what you want to see so you aren't purchasing a ton of premium on long options. Green and above 0 means that IV% has dropped lower than Historical Volatility . (this signal, for example, would suggest using a Long Call or Put depending on your sentiment)
Second: The green line running underneath zero is the bottom portion of the "Average True Range" derived from the values used to create the oscillator. the closer the bottom histogram is to the green line, the more "normal" IV% is. Obviously, if this gets far away from the line then it could be setting up nicely to short options and sell the IV premium to someone else. (this signal, for example, would suggest using something like a Bull Put Spread)
Third: The red background along with the white line that drops down below zero signals when (and how far) the IV% from 3 months out (from VIX3M ) is less than the current IV%. This would signal the current environment has IV way too high, a signal to short options once again (and don't take any long option positions!).
Tried to make this simple, yet effective. If you trade options on SPX , SPY , even ES1! futures - this is a tool tailored specifically for you! As I said before, if you want you can use it for correlation on other securities. Any other ideas or suggestions surrounding this, please let me know! Enjoy!
Feb 17, 2019
Release Notes: Cosmetic update for a much cleaner look:
-Replaced the "HIGH IV" with a simlple "H"
-Now the white line is constantly showing you the relationship between VIX and VIX3M - when VIX is greater than VIX3M the background still goes red
-However, now when VIX drops below Historical Volatility, the background is bright green
-When both above are true - it's dark green
-The Average True Range on the bottom is now a series of crosses"
Calendar Spread - OldinvestorSimply choose what two securities (symbols) you want to compare. The study will subtract Open, High, Low, and Close of second input from the first. You may also move the plot line wherever you choose. It may be necessary to move the plot line in order for some charts to look right.
@WACC Volatility Weighted PUT/CALL Positions [SPX]This indicator is based on Volatility and Market Sentiment. When volatility is high, and market sentiment is positive, the indicator is in a low or 'buy state'. When volatility is low and market sentiment is poor, the indicator is high.
The indicator uses the VIX as it's volatility input.
The indicator uses the spread between the Call Volume on SPX/SPY and the Put Volume.
This is pulled from CVSPX and PVSPX.
When volatility and put/call reaches a critical level, such as the levels present in a crisis or a sell off, the line will be green. See Sept 2015, 2008, and Feb 2018.
This level can be edited in the source code.
As the indicator is based on Put/Call, the indicator works best on larger time frames as the put/call ratio becomes a more discernible measure of sentiment over time.
S&P VIX & SKEW IndicatorUse this indicator to compare VIX, SKEW and yearly HIGH and LOW of the S&P 500. If three of those indicators are on a down trend, then the indicator changes to red color.
COT Williams Indicator by BWThis indicator can be thrown on any future contract (such as ES, GC, ZW, ZL, E6, PR, ZC etc.). It shows the Williams Indicator as defined in his book "Trad Stocks Commodities with the Insiders" (2005).
B3 Fibonacci Pivot S/RFor my second share, I give you some levels I look at everyday for the ES minis. HLC/3 of the MTF (multi-time-frame) inputs = mean and Fib-levels formed as support and resistance zones. There are some websites that will show you 20 ways to figure out a pivot for the day's intraday workings, and this one always rang true for me. I keep it set at Res=D and Len=3or5 and use on hourly charts. This indicator is capable of doing like a Res=60m Len=8 for a 5m chart or something of that nature if you wish to test it out.
I haven't tested it out for tick charts and I have noticed that this is good on index and commodity futures, and not so much other things.
Uncanny to me how well this works as reversal awareness for ES. Doesn't mean that one will happen, or if it does that it will have trade-able juice, though it is very important awareness never-the-less.
screencast.com
TICKv2USI:TICK
FX:SPX500
CME_MINI:ES1!
High/Low/Close/SMA of $TICK
Changes:
editable SMA lenght of HL/2 instead of ema of ohlc4. (green line)
added close (yelllow).
added 4 more editable lines.