Cross Market AdvancedEnglish Description:
Cross Market Advanced is a TradingView indicator designed for intermarket analysis between two tickers. It compares the price of the primary market (the chart’s ticker) with a secondary market (user-selectable) by calculating their ratio—optionally with a configurable time delay. This feature is especially useful for markets such as oil and gold. Statistical studies show that the gold price typically lags behind the oil price by about 140–150 days, meaning that an oil rally can potentially trigger a gold rally after approximately 145 days.
Key features include:
• Intermarket Comparison: Analyzes the relationship between two different markets.
• Customizable Ratio Calculation: Choose between EMA and SMA smoothing, set evaluation periods, and apply a time delay for the secondary ticker. This delay can be tailored to match market-specific relationships, like the oil-to-gold lag.
• Overbought & Oversold Levels: Visual cues are provided with horizontal reference lines at 70 (overbought) and 30 (oversold), with a shaded zone between, helping to identify extreme market conditions.
• Divergence Detection: Identifies potential divergences between the ticker price and the scaled index. Divergence signals are color-coded (red for bearish, green for bullish) as a rough guide—note that this does not replace detailed technical analysis.
• Additional Plots: Optionally display the raw ratio and z‑score.
• Visual Aids: The indicator displays the selected tickers on the chart along with clear reference levels.
This tool is ideal for traders looking to explore cross-market relationships, identify early signs of potential market reversals, and incorporate time delay effects—particularly in markets like oil and gold.
Deutsche Beschreibung:
Cross Market Advanced ist ein TradingView-Indikator, der eine Intermarket-Analyse zwischen zwei Tickern ermöglicht. Er vergleicht den Kurs des primären Marktes (dem im Chart dargestellten Ticker) mit einem sekundären Markt (frei wählbar), indem er deren Verhältnis berechnet – optional mit einem einstellbaren Zeitversatz. Dieser Zeitversatz ist besonders nützlich, wenn beispielsweise Öl und Gold verglichen werden. Statistischen Untersuchungen zufolge läuft der Goldpreis etwa 140–150 Tage hinter dem Ölpreis her, was bedeuten kann, dass eine Öl-Rallye zu einer Gold-Rallye mit einem Verzögerungsfaktor von etwa 145 Tagen führen kann.
Wichtige Funktionen im Überblick:
• Intermarket-Vergleich: Analyse der Beziehung zwischen zwei unterschiedlichen Märkten.
• Anpassbare Verhältnis-Berechnung: Auswahl zwischen EMA und SMA, Festlegung der Evaluationsperiode sowie Anwendung eines Zeitversatzes für den zweiten Ticker. Dieser Versatz kann an marktspezifische Zusammenhänge angepasst werden, wie z.B. das Öl-Gold-Verhältnis.
• Überkauft & Überverkauft: Mit horizontalen Referenzlinien bei 70 (Überkauft) und 30 (Überverkauft) wird die aktuelle Marktlage visualisiert – der dazwischen liegende, hervorgehobene Bereich hilft, extreme Marktbedingungen zu erkennen.
• Divergenzerkennung: Ermittelt mögliche Divergenzen zwischen dem Ticker-Kurs und dem skalierten Index. Divergenzsignale werden farblich hervorgehoben (rot für bärisch, grün für bullisch) und dienen als grobe Orientierung – sie ersetzen jedoch keine ausführliche charttechnische Analyse.
• Zusatzplots: Optionale Darstellung des Rohwerts des Verhältnisses sowie des z‑Scores.
• Visuelle Hilfen: Der Indikator zeigt die ausgewählten Ticker im Chart sowie die klaren Referenzniveaus an.
Dieser Indikator eignet sich ideal für Trader, die Cross-Market-Beziehungen untersuchen, frühzeitig Hinweise auf mögliche Trendumkehrungen erkennen und auch Verzögerungseffekte – wie etwa beim Öl-Gold-Verhältnis – in ihre Analyse einbeziehen möchten.
Intermarketanalysis
Intermarket Correlation TableThe Correlation Coefficient is used to measure the correlation between two sets of data. In the trading world, the Correlation Coefficient is a measure of the correlation between two data sets of financial instruments. The correlation between two financial instruments is the degree in which they are related. Correlation is based on a scale of 1 to -1. The closer the Correlation Coefficient is to 1, the higher their positive correlation. The instruments will move up and down together. The closer the Correlation coefficient is to -1, the more they move in opposite directions. A value at 0 indicates that there is no correlation.
This indicator uses the built in ta.correlation function to calculate the correlation coefficient between DXY and NQ, ES, YM, US10Y, and ZN respectively. It then presents the data in a customizable table that is view as an overlay on your chart.
Adjust the length of the correlation factor to calculate higher time frame correlation.
Asset background changes based on current candle direction.
Coefficient background color changes based on whether the assets are properly correlated.
DXY is inversely correlated to NQ, ES, YM, and ZN.
DXY is directly correlated to US10Y.
The colors are reflected as such.
Strength Comparison @joshuuuexample:
if you want to find the stronger/weaker pair between eurusd and gbpusd, what you can do is check the eurgbp charts. if eurgbp is bullish, that means, that longs longs on eurusd are better than on gbpusd.
Unfortunately, there is no such thing to compare for example usoil with ukoil, or us100 with us500.
That's where this indicator comes in handy. You can choose whatever two symbols you want, that are supported by tradingview and you will get a chart, which shows symbol1/symbol2.
Now you can use normal market structure, or the ema option, to find out the stronger symbol.
This can also help predicting the so called SMT Divergences, taught by ICT.
⚠️ Open Source ⚠️
Coders and TV users are authorized to copy this code base, but a paid distribution is prohibited. A mention to the original author is expected, and appreciated.
⚠️ Terms and Conditions ⚠️
This financial tool is for educational purposes only and not financial advice. Users assume responsibility for decisions made based on the tool's information. Past performance doesn't guarantee future results. By using this tool, users agree to these terms.