OPEN-SOURCE SCRIPT
Updated

QQQ overlay over NQ/NDX

94
This enhanced version of the QQQ overlay script builds on the original by © PtGambler, adding smoothing via stepped ratios updated on candle close to eliminate oscillation, optimizing performance by reusing lines/labels, restricting visibility to relevant symbols (NDX, NQ1!, NAS100USD), and improving visuals with rounded levels, adjustable level counts (default 5 total), extended lines, and label styles matching "Key Levels" indicator for better readability (gray text, transparent background). Removed unnecessary table and floating labels for a cleaner chart. Thanks to © PtGambler for the foundational work!
Release Notes
show 9 levels by default
Release Notes
Anchor label at the end of the line properly.
Release Notes
By default calculations happen at the end of candle close (can switch to per ticks)
Removed the ticker restriction.
Release Notes
custom color/line options for lines and labels.
Release Notes
Improvements to lines, colors.
Option to freeze the ratio to RTH close (for after hours)
Support only QQQ to be drawn over other tickers. (base use case).

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.