Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programmatically exposing selected strategy name

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

    Programmatically exposing selected strategy name

    How can I expose programmatically the name of the selected strategy name (not the running strategy name) in the drop down menu of ATM Strategy in Chart Trader?

    Thank you

    Gabe

    #2
    Hello Gabe,

    Unfortunately, there is not any supported methods for something like this.

    With that said, you may want to look over the following thread that has an example of using the ChartControl method that may get what you are looking for.



    but instead of using the Account you may want to try to use the "cboStrategy".

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Thank you JC.

      Is the TRY there in case there is no ATM selected? (as in <custom> or <none>)?
      (I did not think about this possibility as all my charts have some ATM showing)

      Gabe

      Comment


        #4
        Hello Gabe,

        Getting the value selected on this one should return "<None>" and "<Custom>" when selected.
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        179 views
        0 likes
        Last Post jeronymite  
        Started by ghoul, Today, 06:02 PM
        0 responses
        8 views
        0 likes
        Last Post ghoul
        by ghoul
         
        Started by Barry Milan, Yesterday, 10:35 PM
        6 responses
        19 views
        0 likes
        Last Post Barry Milan  
        Started by DanielSanMartin, Yesterday, 02:37 PM
        2 responses
        13 views
        0 likes
        Last Post DanielSanMartin  
        Started by DJ888, 04-16-2024, 06:09 PM
        4 responses
        13 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Working...
        X