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 helpwanted, Today, 03:06 AM
        1 response
        8 views
        0 likes
        Last Post sarafuenonly123  
        Started by Brevo, Today, 01:45 AM
        0 responses
        7 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        5 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        242 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        385 views
        1 like
        Last Post Gavini
        by Gavini
         
        Working...
        X