Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CorrelationSeries of Correlation indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CorrelationSeries of Correlation indicator

    Hi All,
    The correlationSeries of the Correlation indicator is set by default to string.Empty. I need to always set it to the instrment name. I tried it as
    CorrelationSeries = Instrument.FullName; in the "State.SetDefaults", but it seems that this is not working. Suprisingly, once I do this in the custom indicator, my indicator disappears from the Indicators list accessible from the chart's upper toolbar. Any suggestion?
    Thanks.

    #2
    Hi MSerag, thanks for posting. The hosting indicator must also add each data series that its child indicators are adding. e.g. if you want to host the correlation and correlation adds a 1 minute NQ series, the hosting script must also add that series with AddDataSeries() in State.Configure, even if its the same series on the chart. Check the Log tab of the Control Center for error messages about this.

    Kind regards,
    -ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    36 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    14 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X