Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issue - Ommitted code breaking changes

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

    Issue - Ommitted code breaking changes

    NT Team,

    Please find attached a NT7 indicator published by forum member adamus. I find the indicator invaluable. However, I am unable to convert the indicator into NT8, the issues are not addressed in your listing of code breaking changes.

    The issues appear to involve:
    • private ToolStrip toolStrip = null;
    • private ToolStripButton toolStripButton = null;
    • private ToolStripSeparator toolStripSeparator = null;
    • private Font textFont = new Font("Verdana", 6F);
    • private StringFormat format;
    • Control[] control = ChartControl.Controls.Find("tsrTool", false);


    Please advise the required syntax changes and include the changes in your listing of code breaking changes. Alternative, please convert the attached NT7 indicator into NT8.

    Thanks and regards
    Shannon
    Attached Files

    #2
    Yeah that is the major change between NT7 and NT8 from using windows forms to WPF

    and that is a lot more in changes than just making a few suggestions.

    just a heads up
    Last edited by strategesis; 08-19-2015, 12:56 AM.

    Comment


      #3
      That looks like unsupported nt7 code.

      I think someone posted here in the beginning a sample on how to do a tool strip in NT8.

      Comment


        #4
        Originally posted by Shansen View Post
        Please advise the required syntax changes and include the changes in your listing of code breaking changes.
        You might want to take a look at this thread for a sample on accessing the toolstrip and adding a button..




        -=Edge=-
        NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

        Comment


          #5
          NT Forum,

          Is it possible to convert the indicator from NT7 to NT8 by removing the references to the toolStrip? I believe removing the button would result in a loss ability to toggle the indicator on / off. I believe the core functionality of numbering the bars would remain.

          Happy to have my understanding confirmed or corrected.

          Thanks
          Shannon

          Comment


            #6
            Try it and find out.

            *I seriously doubt it

            Comment


              #7
              Despite my best efforts, I have been unable to convert the indicator.
              For the moment, this is above my skill level.

              Comment


                #8
                Originally posted by Shansen View Post
                Despite my best efforts, I have been unable to convert the indicator. For the moment, this is above my skill level.
                Took about 60 seconds to remove all the toolbar references.. This is still NT7 code, but from here, outside of the plot override, your conversion process is about as basic as it gets..


                Attached Files
                -=Edge=-
                NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

                Comment


                  #9
                  Hello Shannon,

                  As we move towards converting over forum indicators and when NinjaTRader 8 is fully released, these items will likely become easier to convert with much more information available or our team may convert the file as well in the future.

                  Thank you to all that have assisted on this thread.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by kaywai, 09-01-2023, 08:44 PM
                  5 responses
                  601 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Started by xiinteractive, 04-09-2024, 08:08 AM
                  6 responses
                  22 views
                  0 likes
                  Last Post xiinteractive  
                  Started by Pattontje, Yesterday, 02:10 PM
                  2 responses
                  19 views
                  0 likes
                  Last Post Pattontje  
                  Started by flybuzz, 04-21-2024, 04:07 PM
                  17 responses
                  230 views
                  0 likes
                  Last Post TradingLoss  
                  Started by agclub, 04-21-2024, 08:57 PM
                  3 responses
                  17 views
                  0 likes
                  Last Post TradingLoss  
                  Working...
                  X