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 f.saeidi, Today, 12:14 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by aprilfool, 12-03-2022, 03:01 PM
        2 responses
        326 views
        0 likes
        Last Post BottomShark77  
        Started by AnnBarnes, Today, 12:17 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_Zachary  
        Started by Lopat, 03-05-2023, 01:19 PM
        4 responses
        167 views
        0 likes
        Last Post Sam2515
        by Sam2515
         
        Started by giulyko00, Today, 12:03 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Working...
        X