Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Voumetric Data Bars in Conflict with EquiVolume bars

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

    Voumetric Data Bars in Conflict with EquiVolume bars

    At start of NT 8.0.12 I am getting this message::

    2018-01-30 20:31:20:806|3|16|Multiple ChartStyles with the same ChartStyleType were found. Ignoring NinjaTrader.NinjaScript.ChartStyles.VolumetricStyl e

    Then if I choose Volumetric Data - by accident - NT 8.0.12 stops working. No data comes in for the instrument.

    I have to exit NT. After Restart I am getting the error message: Unable to recover NT custom assembly....


    Starting Process Monitor I see that although NT is formally closed a lot of NT remainings are still in in the memory. No chance at all to repair NT from installation file.

    This is a huge mess. Please fix.

    Thanks.
    Attached Files
    Last edited by Trader108; 01-30-2018, 01:52 PM.

    #2
    Hello,

    Thank you for the post.

    Please navigate to

    Documents\NinjaTrader 8\bin\Custom\ChartStyles folder and post a screenshot of what you find in that folder.

    Also, from Control Center, go to new>NinjaScript editor> open any indicator or strategy and press F5 to compile it. If you get any compile errors at the bottom, please also post a screenshot of that as well.

    I look forward to your reply.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Attached Pics.

      There is no error after compilation in the editor. But error message comes up in the Log File. see picture.

      Same on my 2nd machine just right after the installation and start.
      Attached Files
      Last edited by Trader108; 01-30-2018, 03:43 PM.

      Comment


        #4
        Hello,

        Thank you for posting that.

        It has come to the attention of support that some third-party developers have not changed the placement of this bar type in the enumeration (list) that NinjaTrader uses to organize the chart types.

        As a temporary fix, please remove any third party chart style types.

        For a permanent fix, I will need to contact the vendor of the chart style. Please reply with their name and I will let them know of the changes that must be made as described in this help guide page:



        I look forward to your reply.
        Last edited by NinjaTrader_ChrisL; 01-30-2018, 04:14 PM.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          How to remove third party chart styles?
          I should know how to remove and then I can send you the origin of this specific chart style.

          Comment


            #6
            Hello,

            Thanks for the follow up.

            You can remove them by going to Tools>Remove NinjaScript assembly.
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              There is no Chart Style in my NT Assembly listed.
              It could be this one. But how to remove?
              Attached Files
              Last edited by Trader108; 01-30-2018, 04:21 PM.

              Comment


                #8
                Hello,

                This add-on might be compiled into a dll. Are there any addons you can think of that have custom chart styles in them?
                Chris L.NinjaTrader Customer Service

                Comment


                  #9
                  No at all. This is really Ironic.

                  The problem is with NT own creation called :: EQUIVOLUME.

                  I suppose that NT has used former created equiVolume.cs - released somewhere last year - in Aug so far I remember - to rename it to VOLUMETRIC.

                  And there is the mess.

                  Some other few installed Data Types doesn't make any noise.
                  Attached Files

                  Comment


                    #10
                    Yes it is. Installing it again brings up the same error as before.

                    Would you be so kind and tell me how to change "the placement of this EquiVolume type in the enumeration (list) that NinjaTrader uses to organize the chart types".

                    Would be of great help!

                    Thanks.

                    Comment


                      #11
                      Are you using
                      ChartStyleType = (ChartStyleType) 8;

                      What number should I choose?

                      Comment


                        #12
                        Ok I have solved it.
                        ChartStyleType = (ChartStyleType) 9; did the job. No more errors.

                        Comment


                          #13
                          It is from your colleague Dave::

                          Comment


                            #14
                            Hello,

                            Thank you for sharing. I'm glad you were able to sort it out. I'm sure it will help others that come across this post.

                            EDIT:

                            For users experiencing this issue. This is caused by a custom ChartStyle script occupying the same enum space as the new Volumetric style in NinjaTrader 8 R12. If the script is open source, and if you can locate the script in this directory:

                            Documents\NinjaTrader 8\bin\Custom\ChartStyles

                            then this can be solved by changing the ChartStyleType in State.SetDefault to some number above 1000, like so:

                            Code:
                            Change this:
                            ChartStyleType = (ChartStyleType) 8;
                            
                            To this:
                            ChartStyleType = (ChartStyleType) 1001;
                            If you are unable to find the chart style in the above directory, then the chart style is likely compiled into a dll. In this case, the dll must be removed and an update must be supplied by the vendor of the script.

                            More information on ChartStyleType here:
                            Last edited by NinjaTrader_ChrisL; 01-31-2018, 12:13 PM.
                            Chris L.NinjaTrader Customer Service

                            Comment


                              #15
                              It was "BetterBrick" in my case

                              Hi.

                              I've had this issue, too, and it turns out it was caused by the BetterBrick chartstyle supplied with BetterRenko.

                              If you're having the same issue you can either exclude it from compilation, or follow ChrisL's advice and re-assign it a new number. It currently uses "8".

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by xiinteractive, 04-09-2024, 08:08 AM
                              2 responses
                              11 views
                              0 likes
                              Last Post xiinteractive  
                              Started by Irukandji, Today, 09:34 AM
                              1 response
                              3 views
                              0 likes
                              Last Post NinjaTrader_Clayton  
                              Started by RubenCazorla, Today, 09:07 AM
                              1 response
                              5 views
                              0 likes
                              Last Post RubenCazorla  
                              Started by TraderBCL, Today, 04:38 AM
                              3 responses
                              25 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by WeyldFalcon, 08-07-2020, 06:13 AM
                              11 responses
                              1,423 views
                              0 likes
                              Last Post jculp
                              by jculp
                               
                              Working...
                              X