• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Setting AlwaysOnTop property through NinjaScript

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

    Setting AlwaysOnTop property through NinjaScript

    Hi,

    I am looking to bring a chart window to the top whenever a specific condition is met by setting the AlwaysOnTop property of the ChartControlProperties object.

    I am not a Object Oriented language expert - how would I go about it if the command needs to be inserted in a piece of code encapsulated by

    protected override void OnStateChange()

    ?

    I am aware that the online help mentions

    Warning: These are UI properties which are designed to be set by a user. Attempting to modify these values through a custom script is NOT guaranteed to take effect.
    so I don't know if it's at all feasible.

    Thanks

    #2
    Hello ntuser2017, and thank you for your question. The functionality you are describing is not natively supported by NinjaScript. You would need to write a custom Add-On with some WPF code that will affect your Z order. All documentation linked to is publicly available. Please let us know if there are any other ways we can help.
    Jessica P.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_JessicaP View Post
      Hello ntuser2017, and thank you for your question. The functionality you are describing is not natively supported by NinjaScript. You would need to write a custom Add-On with some WPF code that will affect your Z order. All documentation linked to is publicly available. Please let us know if there are any other ways we can help.
      Hi Jessica

      Ok thank you. Is this something you might consider adding to a future software release?

      Comment


        #4
        Typically items which can be resolved through NinjaScript are not treated as new NinjaTrader features. However, if a series of actions is complicated and sensitive to changes in NinjaTrader itself, we do frequently offer additional built-in support for these sorts of actions through NinjaScript. With this in mind, I have submitted a feature request to the product management team for the following feature :
        This user would like support for modifying the z-order of any open window during events such as OnBarUpdate added to NinjaScript classes such as Indicators and SuperDOM Columns, referring to the affected Chart or SuperDOM, respectively
        I will follow up with more information as soon as it's available. If the feature requests already exists, a vote will be added to it.

        Please let us know if there are any other ways we can help.
        Jessica P.NinjaTrader Customer Service

        Comment


          #5
          Hello ntuser2017,

          This feature is being reviewed by the product management team and has been assigned the following unique tracking ID


          SFT-116



          Please let us know if there is any other way we can help.
          Jessica P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by autogenix, Today, 11:23 AM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Jim  
          Started by pstrusi, Today, 11:34 AM
          0 responses
          6 views
          0 likes
          Last Post pstrusi
          by pstrusi
           
          Started by autogenix, Today, 11:19 AM
          1 response
          6 views
          0 likes
          Last Post NinjaTrader_Spencer  
          Started by martyn73, Yesterday, 04:31 PM
          3 responses
          18 views
          0 likes
          Last Post NinjaTrader_ChristopherJ  
          Started by pstrusi, Today, 10:51 AM
          3 responses
          11 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X