OPEN-SOURCE SCRIPT

[ AlgoChart ] - Compare Market

Indicator Description:

This indicator allows you to display a second asset, selectable from the input panel, in a separate window. Plotted on the same time scale as the first asset but with a distinct price scale, the indicator enables analysis of the relationships and relative movements of two financial instruments. It’s an ideal tool for understanding whether two assets move in a correlated or divergent manner.

快照

Key Features:

  • Multi-Asset Comparison: Display two assets simultaneously to compare their trends.
  • Custom Scale: Each asset uses its own price scale, making comparative analysis easier.
  • Intuitive Interface: Easily select the second asset through the input panel.


Operational Applications:

  • Spread Trading: Identify optimal moments to execute spread trades when two highly correlated instruments move in opposite directions.
  • Supply & Demand: Pinpoint zones of interest on both assets, increasing the validity of support and resistance areas.
  • Exposure Reduction: Monitor instruments that move similarly to avoid exposing the portfolio in identical directions, thereby reducing the risk of double losses.


快照

Additional Features:

  • Candle Color Change: When a directional divergence occurs between the two assets, the candles change color to highlight the event.
  • Customizable Notifications: Receive instant alerts when a divergence occurs, allowing you to act promptly.
candlestickanalisysCandlestick analysisChart patternscomparecandlesportfolio-allocationspreadtradingTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明