OPEN-SOURCE SCRIPT

Chosen Instrument Real Price Line - S.Grey v.1

469
The Chosen Instrument Real Price Line indicator is designed to display the live price of any selected stock, index, futures contract, CFD, or custom TradingView symbol directly on your chart as a dynamic horizontal reference level. Unlike traditional comparison tools that only display percentage relationships or secondary panels, this indicator projects the real-time price level of the chosen instrument directly onto the active chart, allowing traders to visually compare markets in real time from a single chart window.

The indicator continuously tracks the selected instrument and plots its current live price as a customizable horizontal line. The line can be styled with different colors, thicknesses, and extension modes, giving the trader full visual control over how the reference level appears on the chart. The line can extend to the right, left, both directions, or remain as a fixed-width segment. A separate toggle also allows the line itself to be hidden completely while still keeping the label visible at the correct price level.

The label system is designed specifically for real-time intermarket comparison and spread monitoring. The label can display the selected instrument name, its current live price, the live price difference between the chosen instrument and the current chart instrument, or both values simultaneously. This makes the indicator especially useful for traders who monitor the relationship between CFDs and their underlying base instruments.

One of the most practical applications of this tool is tracking the difference between CFD products and their corresponding futures or index markets in real time. For example, a trader using a broker CFD such as SPX500USD can compare it directly against the underlying SPX index or ES futures contract. The indicator instantly shows whether the CFD is trading above or below the base instrument and by how many points. This allows traders to monitor broker spreads, temporary pricing inefficiencies, overnight premium or discount conditions, and market synchronization across different instruments without switching charts.

Because the difference is updated live, the indicator can also be used as a spread-monitoring tool during volatile market conditions. Traders can quickly identify moments when a CFD deviates unusually far from the underlying futures contract, which may help in execution timing, spread analysis, or broker comparison. This is particularly useful during high-impact news events, session transitions, overnight trading, or periods of reduced liquidity.

The indicator is also highly flexible for broader intermarket analysis. Traders can compare futures against cash indexes, ETFs against futures, sector ETFs against indexes, or even different brokers’ CFD feeds against each other. Since the selected instrument is fully customizable using TradingView symbols, virtually any supported market can be tracked as a live reference level.

The label itself is fully customizable and can be configured to display:

* only the real-time price,
* only the price difference versus the active chart,
* or both values together.

Importantly, the instrument name always remains visible regardless of the selected label mode, ensuring clear identification at all times.

This tool is particularly valuable for futures traders, CFD traders, index traders, arbitrage-oriented traders, and anyone monitoring the live relationship between correlated markets from a single chart environment.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.