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

Dynamically change panel of indicator depending on input

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

    Dynamically change panel of indicator depending on input

    I want that depending on specific custom input field of indicator, the code decided to place the indicator in separate panel or in main chart panel.
    However, i am unable to achieve that, using `IsOverlay` property change in `State.Configure`.

    Any help?

    #2
    Hello TazoTodua, Thank you for your post.

    The help guide does claim to allow setting IsOverLay from State.Configure. I tried it out and I am only able to change the value from SetDefaults, so I will report this issue to our product management team.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hello TazoTodua, Thank you for your post.

      The help guide does claim to allow setting IsOverLay from State.Configure. I tried it out and I am only able to change the value from SetDefaults, so I will report this issue to our product management team.
      Are there any updates on this to allow setting IsOverlay in Configure, Chris ???
      ninZa
      NinjaTrader Ecosystem Vendor - ninZa.co

      Comment


        #4
        Hi ninZa,

        We updated our documentation, it now states IsOverlay should only be set from State.SetDefaults:
        https://ninjatrader.com/support/help...?isoverlay.htm

        Kind regards,
        -ChrisL
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_ChrisL View Post
          Hi ninZa,

          We updated our documentation, it now states IsOverlay should only be set from State.SetDefaults:
          https://ninjatrader.com/support/help...?isoverlay.htm

          Kind regards,
          -ChrisL
          I see.
          Thank you very much for the update.

          Have a great weekend, Chris!
          ninZa
          NinjaTrader Ecosystem Vendor - ninZa.co

          Comment


            #6
            Any update to possible have an programattic way to either put in main or below panel, depending the user-input? So, IsOverlay also worked from .Configure state.

            Comment


              #7
              Hi ttodua, thanks for posting.

              Our colleague Chelsea made an example on panel selection through NinjaScript:


              This uses a boolean from the user input section to decide what panel to place the hosting indicator on.

              Best regards,
              -ChrisL
              Chris L.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by TradeSaber, Today, 07:18 AM
              0 responses
              7 views
              0 likes
              Last Post TradeSaber  
              Started by PaulMohn, Today, 05:00 AM
              0 responses
              9 views
              0 likes
              Last Post PaulMohn  
              Started by ZenCortexAuCost, Today, 04:24 AM
              0 responses
              6 views
              0 likes
              Last Post ZenCortexAuCost  
              Started by ZenCortexAuCost, Today, 04:22 AM
              0 responses
              3 views
              0 likes
              Last Post ZenCortexAuCost  
              Started by SantoshXX, Today, 03:09 AM
              0 responses
              17 views
              0 likes
              Last Post SantoshXX  
              Working...
              X