Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Crash issue

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

    NT8 Crash issue

    Hello dear support,

    I'm develope a complex strategy using StrategyBaseConverter Class.

    I get an issue but I have test the following:

    1. NT desconnected, with No active connection
    2. With a simple "refresh" of the parameters window the buton "Enabled" of the strategy become active
    3. Turning ON the strategy return a window error and then the NT go in crash and Windows close NT!

    I have prepare the most simple strategy "SampleMACrossOver", I save like "TestRefresh", I add only a button to refresh parameters. I add the strategy to download here.

    Variable:
    ShowHideToggle = true;

    In the property:
    [RefreshProperties(RefreshProperties.All)] // Needed to refresh the property grid when the value change
    [Display(Name = "Toggle show/hide", Order = 1, GroupName = "Use Case #1")]
    public bool ShowHideToggle
    { get; set; }

    Here the problem... I have test in Two NT8.

    Refreshing the parameters with the botton, the "Enabled" button of strategy go ON.




    Turning ON the Strategy it return error window




    And then only is possible to close the software.





    Is possible to avoid this issue please?

    Many thanks.
    Attached Files

    #2
    Hello ClauTrade,

    Thank you for your post.

    The strategies need an account and the accounts are only available when connected to the proper data feed/brokerage connection. In the case of the Sim101 account you can connect to any connection except the Playback Connection in order to use the Sim101 account. Essentially, you must be connected to a data feed to use the Sim101 account in your strategy. There is no means around this.

    Please let me know if you have any questions.

    Comment


      #3
      Hi Patrick,

      I have data provider and real account ...this is not my problem.

      Normally the strategy cannot turn ON if there is not connection.

      The problem is that, in this case, refreshing the parameter the "Enabled" button become "active" (this is strange!) and the consequence is a strong error (windows close NT).

      I think that the button must be inactive after the refresh of the parameter.
      Why it become active without connection? Is possible to avoid this with code?

      Thanks.

      Comment


        #4
        Hello ClauTrade,

        Thank you for your patience and for re-iterating what you detailed.

        This has been reported to development and I will let you know if I have any word back on this item.

        Comment


          #5
          Hello ClauTrade,

          Thank you for your patience.

          Can you attach the unprotected version of your TestRefresh.cs to your response?

          I look forward to your response.

          Comment


            #6
            Hello Patrick!

            I Attacked the file in my first post ...(.. hope unprotected! ) ...

            Of course I attach it again here.

            Many thanks!
            Attached Files

            Comment


              #7
              Hello ClauTrade,

              Thank you for your response.

              That would be a protected version. When exporting DO NOT select the option 'Export as compiled assembly'. Please refer to the attached screenshot.
              Attached Files

              Comment


                #8
                ooops!! Sorry Patrick!

                ... here is it!
                Attached Files

                Comment


                  #9
                  Hello ClauTrade,

                  Thank you for your response.

                  I attempted to recreate this with my own script and I could not. I also test your strategy but could not reproduce the behavior.

                  Can you please advise what version of NinjaTrader 8 you are using by going to Help > About in the NinjaTrader Control Center?

                  In addition, please save a workspace that only contains one chart with the strategy applied to it (RefreshTest specifically) and then attach that workspace to your response. The workspaces are located under Documents\NinjaTrader 8\workspaces on your PC.

                  I look forward to your response.

                  Comment


                    #10
                    Hello,

                    I did set a workspace with one basic chart (no indicator), only with strategy TestRefresh.

                    NT8 version: 8.0.8.0 64-bit (Standard)

                    Thanks.
                    Attached Files

                    Comment


                      #11
                      Hello ClauTrade,

                      Thank you for your response.

                      Can you upgrade NinjaTrader 8 to the latest release and advise if you continue to see the same behavior?

                      To upgrade NinjaTrader, please follow the steps below.
                      • First, copy your license key from NinjaTrader under Help> License Key then exit NinjaTrader
                      • Click on the link: http://ninjatrader.com/PlatformDirect
                      • Enter your license key and press Submit
                      • Select 'NinjaTrader 8'
                      • Select 'Download'
                      • Critical: Before running the installer, ensure NinjaTrader is closed.

                      I look forward to your response.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by DanielTynera, Today, 01:14 AM
                      0 responses
                      2 views
                      0 likes
                      Last Post DanielTynera  
                      Started by yertle, 04-18-2024, 08:38 AM
                      9 responses
                      40 views
                      0 likes
                      Last Post yertle
                      by yertle
                       
                      Started by techgetgame, Yesterday, 11:42 PM
                      0 responses
                      10 views
                      0 likes
                      Last Post techgetgame  
                      Started by sephichapdson, Yesterday, 11:36 PM
                      0 responses
                      2 views
                      0 likes
                      Last Post sephichapdson  
                      Started by bortz, 11-06-2023, 08:04 AM
                      47 responses
                      1,615 views
                      0 likes
                      Last Post aligator  
                      Working...
                      X