OPEN-SOURCE SCRIPT
Aktualisiert QQQ overlay over NQ/NDX

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!
Versionshinweise
show 9 levels by defaultVersionshinweise
Anchor label at the end of the line properly.Versionshinweise
By default calculations happen at the end of candle close (can switch to per ticks)Removed the ticker restriction.
Versionshinweise
custom color/line options for lines and labels.Versionshinweise
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).
Versionshinweise
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.
Versionshinweise
By default, "Lock to the previous RTH ratio". This fixes issue reported by @archdesign75. Thank you archdesign75Versionshinweise
Make more QQQ levels visible by default. Raise it from 9 levels to 21 levels. Thank you airjunkies2000Versionshinweise
increased the number of default levels shown. (also dropped the NQ mapping at the level, as it is kinda redundant).Versionshinweise
changing the default levels 51 (25*2 +1 ). High volatility days exceed the levels typically shown.Versionshinweise
Users do not need to use ration mode. During after hours, it is locked to previous QQQ close, and during the active market, calculation is done actively. Versionshinweise
change the efficiency strategy.- instead of deleting and re-drawing, we cache the lines and move
- lines re-drawn only after NQ moves by 3 pts. (user adjustable).
Versionshinweise
when pre-market is open, auto switch to live mode. Prev version was waiting for NY open.Versionshinweise
changed the default line color. Update bars/labels once price moves to 5pts. 1pt move is still jittery.Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.