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

Modifications to chart WPF elements and tab considerations issue

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

    Modifications to chart WPF elements and tab considerations issue

    HI

    I have developed a chart trader panel based on the above designed by Chelsea.
    It all works except for one thing.
    Every time I compile NinjaScript the chart panel is rendered useless. The cursor turns to a double arrow ( like you would have when you grab something to resize it) and if I click the Chart Trader panel shrinks to a tiny size.

    If I don't compile whilst using it - it works just fine and behaves normally.

    My code is attached - I have taken out all of the superfluous code - so this behaviour happens with this version.

    Can you see where the issue might be?

    ChartDevForum.zip

    #2
    Hello Mindset,

    Thank you for your note.

    I'm not seeing any issues when I run a compile - please see this short video:



    Are you compiling after making changes to this indicator and then that's when you see the issue? You should ensure you're always removing the indicator and re-adding it to the chart when you make changes to ensure all changes are recognized.

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      ah that isn;t the behaviour I am getting.
      World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

      Comment


        #4
        Hello Mindset,

        Thank you for your reply.

        I'm not able to replicate this. If you open a new chart, add the indicator anew, then compile does it do the same?

        Thanks in advance; I look forward to assisting you further.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          yes it does the same

          Comment


            #6
            Hello Mindset,

            Thank you for your reply.

            I'm having issues responding to your prior post, so this is a test to see if I'm able to post this at all.

            Kate W.NinjaTrader Customer Service

            Comment


              #7
              Hello Mindset,

              Thank you for your patience. Kate is having trouble posting this so I'm posting this on her behalf:

              Let's have you test in a clean environment to see if another custom item in your installation may be causing the issue.

              To create a clean temporary NinjaTrader folder:
              1. Shutdown NinjaTrader
              2. Rename (My) Documents > NinjaTrader 8 to (My) Documents > NinjaTrader 8.original
              3. Download the NinjaTrader installation package from the link below

              4. Run the repair from this (if the repair is unsuccessful, uninstall and then re-install NinjaTrader)


              This will recreate the NinjaTrader 8 folder in(My) Documents.
              • Copy open-source script from the original environment from the Custom > Indicators folder.
                • (My) Documents > NinjaTrader 8.original > bin > Custom > Indicators
              • To the new clean environment
                • (My) Documents > NinjaTrader 8 > bin > Custom > Indicators
              • Compile the script.

              Once compiled, connect to the Simulated Data Feed, open a chart and test the indicator.

              To switch back to your original environment:
              • Shutdown NinjaTrader
              • Rename (My) Documents > NinjaTrader 8 to (My) Documents > NinjaTrader 8.secondary
              • Rename (My) Documents > NinjaTrader 8.original to (My) Documents > NinjaTrader 8
              • Start NinjaTrader


              Please let me know the results of your testing.
              Emily C.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by RaddiFX, Today, 01:25 PM
              2 responses
              5 views
              0 likes
              Last Post RaddiFX
              by RaddiFX
               
              Started by Dennys Vera, Today, 01:00 PM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by dtl-saw, 12-29-2022, 09:12 AM
              50 responses
              3,505 views
              1 like
              Last Post NinjaTrader_ChelseaB  
              Started by RichardSobe, Today, 01:00 PM
              1 response
              3 views
              0 likes
              Last Post NinjaTrader_ChristopherJ  
              Started by forrestang, Today, 11:17 AM
              5 responses
              14 views
              0 likes
              Last Post forrestang  
              Working...
              X