Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Detecting Added Indicators

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

    Detecting Added Indicators

    Hi,

    This seems like it should be straightforward, but I can't figure it out.

    I have a strategy that adds a custom indicator (spread). However, what I want to do is NOT add the indicator if it has already been added to the current chart (by another instance of the same strategy that has slightly different parameters).

    Basically, I want to be able to keep on adding different instance of my strategy to the current chart, but only have it add the relevant indicator once.

    I need something like a Plots.Count function.

    Any ideas?

    #2
    beastment, that sort of dynamic adding of indicators could unfortunately not be supported. Perhaps just use two versions of the same strategy, one that would add the spread and the other not, so if the first is already working then only add the second with your changed parameters for execution of signals?

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    646 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    367 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X