Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can a strategy name and parameter settings be removed in a chart's upper left corner?

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

    Can a strategy name and parameter settings be removed in a chart's upper left corner?

    Hello,

    By erasing an indicator's label in the indicator's setting the name and settings of that indicator do not display in the chart's upper left corner. Is there a way to do this for a loaded strategy too? I am trying to prevent the strategy's name and parameter settings from displaying on the chart as well.

    Thank you for any help

    #2
    Hello 9817_dynamic,

    Thank you for the post.

    Strategies also have a Label property which can be set to a blank string the same as the indicators would have.

    This only sets the strategies label though, it will still show the indicator labels if it uses AddChartIndicator. If you also want to control added indicators you would need to do that in the strategies code. A simple example would be if we take a look at the SampleMACrossOver:

    Code:
    else if (State == State.DataLoaded)
    {
       smaFast = SMA(Fast);
       smaSlow = SMA(Slow);
    [B]   smaFast.Name = "";
       smaSlow.Name = ""[/B];
    
    
       AddChartIndicator(smaFast);
       AddChartIndicator(smaSlow);

    I look forward to being of further assistance.

    Comment


      #3
      Sweet. Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      69 views
      0 likes
      Last Post PaulMohn  
      Working...
      X