OPEN-SOURCE SCRIPT
Updated

SPY to ES or QQQ to NQ

9290
This 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.
Release Notes
Added in input groupings, adding in standard futures VWAP so a separate indicator isn't needed and changed default colors.
Release Notes
Modified the script to only require the opening price of SPY or QQQ, rounded to the nearest whole number, to be input (default value is 370). The script will now calculate the 10 closest strikes/levels above and below the specified price and automatically plot them on ES or NQ based on the ETF chosen. Also, reduced the default line sizes.
Release Notes
Fix input groups, change level titles.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.