OPEN-SOURCE SCRIPT
Telah dikemas kini QQQ NQ NDX SPY SPX ES Price Convert Overlay

_____________________________________________________________________
QQQ NQ NDX SPY SPX ES Price Convert Overlay Indicator
____________________
This 'Prices Overlay' indicator is a minimalist tool for traders who want to track and compare Nasdaq and S&P 500 instruments quickly and clearly, boosting efficiency and decision-making with minimal distraction.
How to Use It
____________________
- Add the indicator onto your TradingView chart.
- Adjust your Right Margin in TradingView Settings > Canvas to show as much or as little of the line as you want, based on the "Price Buffer" indicator setting.
- Select which instruments to overlay (e.g., QQQ, SPX).
- Adjust levels, buffer, font, transparency, and update interval.
Features and Functions
____________________
1. Automatic Ticker Detection:
- The indicator identifies the ticker of your current chart (e.g., NQ, ES, SPY).
- It then shows price levels for related instruments, eg:
- On an NQ or MNQ chart, it can display QQQ or NDX levels.
- On an ES or MES chart, it can display SPY or SPX levels.
- ...and vice versa
- On an NQ or MNQ chart, it can display QQQ or NDX levels.
2. Adjustable Number of Levels
- You can choose how many price levels to show, from 10 to 100.
- This lets you decide how much detail you want based on your trading needs.
3. Visual Customization
- Price Buffer: Move the lines and labels horizontally closer/further price action.
- Font Size: Pick from "Tiny," "Small," or "Normal" for label text size.
- Line Transparency: Adjust the opacity of the lines (0% = solid, 100% = invisible) to blend them with your chart.
4. Support for Micro Futures
- Works with both regular futures (NQ, ES) and micro futures (MNQ, MES), perfect for traders using smaller contract sizes.
5. Update Frequency
- Set how often the price levels refresh, from every 5 seconds to every 60 seconds.
- This keeps the data current without slowing down your chart.
6. Accurate Price Conversion
- Uses specific multipliers for each instrument (e.g., 100.0 for NDX and SPX, 1.0 for QQQ and SPY) to calculate and display price levels correctly.
- Fetches real-time prices and converts them to match your chart’s scale.
- Price conversions courtesy of PtGambler.
Benefits
____________________
- Easier Analysis: See how prices from different instruments line up on one chart—no need for multiple screens or math.
- Customizable: Turn on/off instruments and tweak visuals to fit your trading style.
- Time-Saving: Automates price conversions, letting you focus on trading decisions.
Thanks!
____________________
Thank you for your interest in my work. This is something I use every day for my trading and wanted to share it with the public. If you have any comments, bugs, or suggestions, please leave them here, or you can find me on Twitter or Discord.
@ ContrarianIRL
Open-source developer for over 25 years
Nota Keluaran
Minor settings change.Nota Keluaran
Minor settings change.Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.