PROTECTED SOURCE SCRIPT

Asset Overlay with Lag [CubeT]

By CubeT-TRW
تم تحديثه
Asset Overlay with Lag [CubeT🧊]

This indicator allows you to overlay a secondary asset on your main chart with a customizable lag. It's perfect for traders who want to analyze the relationship between the current asset and another asset with a time-shifted perspective. The secondary asset’s price data can be lagged by any number of bars, helping you spot leading or lagging behaviors between assets.

Features:
Overlay a secondary asset on your current chart.
Adjust the lag of the secondary asset to visually compare time-shifted movements.
Easily customize the lag amount directly within the settings.

How to Use:
  1. Add the Indicator: Apply the indicator to your chart in TradingView.
  2. Select the Secondary Asset: Choose the asset you wish to overlay (e.g., "BTC") from the indicator settings.
  3. Set the Lag: Adjust the lag amount in bars (e.g., 7 bars for a 1-week lag on a daily chart).
  4. Adjust Price Scale (Right-click on plotted secondary asset line > Select "Pin to scale" and choose "Pin to new left scale" to separate the scales for clearer comparison.

ملاحظات الأخبار
Update:
  • Added Correlation Coefficient to the script, which can be toggled on for advanced research in settings.
ملاحظات الأخبار

  • Added "Lagged" asset continuation line in Orange.
Pine utilitiesTrend Analysis

نص برمجي محمي

تم نشر هذا النص البرمجي بمصدر غير مفتوح ويمكنك استخدامه بحرية. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني. لا يمكنك مشاهدة أو تعديل كود المصدر الخاص به.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟

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