OPEN-SOURCE SCRIPT
Mis à jour

QQQ overlay over NQ/NDX

400
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!
Notes de version
show 9 levels by default
Notes de version
Anchor label at the end of the line properly.
Notes de version
By default calculations happen at the end of candle close (can switch to per ticks)
Removed the ticker restriction.
Notes de version
custom color/line options for lines and labels.
Notes de version
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).
Notes de version
Show proper symbol for NQ quarterlies. Also cache previous RTH session ratios to show correct numbers when the market is open. (avoid staleness).

Still wait for one candle close to get accurate mapping when RTH opens.
Notes de version
By default, "Lock to the previous RTH ratio". This fixes issue reported by @archdesign75. Thank you archdesign75
Notes de version
Make more QQQ levels visible by default. Raise it from 9 levels to 21 levels. Thank you airjunkies2000
Notes de version
increased the number of default levels shown. (also dropped the NQ mapping at the level, as it is kinda redundant).

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.