Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Access Input Series name in SetDefaults

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

    Access Input Series name in SetDefaults

    Hello,

    I am trying to default some strategy parameters when creating a new strategy based on the asset. I am aware that we can not get the instrument name until the DataLoaded state. Is there a way to access the Input series name under the Data Series tab of the strategy in the SetDefaults state?

    Click image for larger version

Name:	image.png
Views:	93
Size:	62.8 KB
ID:	1260765

    Thank you,

    #2
    Hello HypoXic5665,

    There is not a way to work with the data series inside of SetDefaults, that property would need to be selected by the user. If there is only one data series on the chart the input series would select that, if there is more than one available input the first is default selected otherwise whatever the user selects is used.

    Comment


      #3
      Thank you for the reply,

      Is there a way to just get the name of the defaulted selected input series in set defaults?

      Thank you,

      Comment


        #4
        Hello HypoXic5665,

        At that point the defaults are set for the UI dialog and not passed to your strategy instance, the chart is providing the grid with the series it has. Those aren't known to the strategy at that point, once you apply it then it would know about the series being used. Can you provide more specific detail on what you are trying to accomplish?

        Comment


          #5
          Hello,

          I am trying set default strategy parameters based on the input series that the strategy is being tied to. I would like this to populate when the user first starts customizing the strategy so that they can see the recommended inputs for that asset. I can do this in the DataLoaded, but would be misleading to the user as it would be changing variables after they applied it. From what your outlineing, it doesn't seem that this is possible. That is fine, I am just trying to take some tedious processes and fat finger errors out of adding strategies to charts.


          Thank you,

          Comment


            #6
            Hello HypoXic5665,

            This would be more of a situation to create templates for those the supported asset classes used and then select the template while applying the strategy.

            Comment


              #7
              Ok.

              Thank you for your input.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              627 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              359 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              105 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              562 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              567 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X