Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Disable/enable Custom PropertyEditor based on another property

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

    Disable/enable Custom PropertyEditor based on another property

    Hello.

    Not sure if I can post this problem here.

    So we are using a custom property editor (from here: https://ninjatrader.com/support/foru...d.php?t=105991) and it's working exactly as we wanted. And now we want to be enabled/disable this property when another property is checked/unchecked.

    We are currently using what's in here (https://ninjatrader.com/support/foru...ad.php?t=97919) to enable/disable non-custom properties in the indicator and they work fine.

    The problem is the same method above does not seem to work with the custom property editor.

    Any help welcome.

    Thanks.

    #2
    Hello cmarkb,

    Thank you for the post.

    I wanted to check, do you have a sample of what you are currently trying that you could provide? I am unsure of any existing information surrounding combining these two concepts specifically, I would very likely need to explore a sample to see if this would be expected or not.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi Jesse.

      Thanks for reply.

      I've attached a test sample - TestPopupWindowIndicator and TestPopupWindow(addon). TestPopupWindow uses custom datatemplate.

      What should happen is Normal Property is disabled by default and Toggle when checked will enable it. "Using Custom PropertyEditor" though is already enabled by default and unaffected by Toggle.
      Attached Files

      Comment


        #4
        Hello cmarkb,

        Thank you for providing the sample.

        I took a look and so far nothing sticks out as a solution here. I will need to investigate this in more detail to see if there is a way to have this also become disabled. Once I have further details I will reply back here.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Hi Jesse,

          Thanks for the reply.

          We've gone with another way that doesn't involve disabling the property. We are still interested if there's a way in case in the future we might need it.

          Thanks again.

          Comment


            #6
            Hello cmarkb,

            Thank you for the update I do appreciate that.

            If anything changes please let me know, I will also think about solutions here and if anything comes up I will reply back.

            I look forward to being of further assistance.
            JesseNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Waxavi, Today, 02:10 AM
            1 response
            17 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by Kaledus, Today, 01:29 PM
            5 responses
            13 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by Waxavi, Today, 02:00 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by alifarahani, Today, 09:40 AM
            5 responses
            23 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by gentlebenthebear, Today, 01:30 AM
            3 responses
            17 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X