Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Installed Kase Statware and now I can't compile any of my code

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

    Installed Kase Statware and now I can't compile any of my code

    When I try to modify my strategies I get compilation errors:

    Code:
          NinjaScript File   Error   Code   Line   Column       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlEngulfing' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   20   17       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlEngulfing' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   22   24       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlEngulfing()' is a 'method' but is   used like a 'type'   CS0118 - click for info   28   16       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlEngulfing()' is a 'method' but is   used like a 'type'   CS0118 - click for info   37   16       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlEveMornStar' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   124   17       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlEveMornStar' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   126   24       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlEveMornStar()' is a 'method' but is   used like a 'type'   CS0118 - click for info   132   16       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlEveMornStar()' is a 'method' but is   used like a 'type'   CS0118 - click for info   141   16       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlHamHang' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   228   17       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlHamHang' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   230   24       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlHamHang()' is a 'method' but is used   like a 'type'   CS0118 - click for info   236   16       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlHamHang()' is a 'method' but is used   like a 'type'   CS0118 - click for info   245   16       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlHarami' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   332   17       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlHarami' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   334   24       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlHarami()' is a 'method' but is used   like a 'type'   CS0118 - click for info   340   16       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlHarami()' is a 'method' but is used   like a 'type'   CS0118 - click for info   349   16       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlPiercing' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   436   17       NinjaTrader.KaseStatWare65.cs   The type or namespace name 'KCdlPiercing' could not be found (are you   missing a using directive or an assembly reference?)   CS0246 - click for info   438   24       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlPiercing()' is a 'method' but is   used like a 'type'   CS0118 - click for info   444   16       NinjaTrader.KaseStatWare65.cs   'NinjaTrader.Indicator.Indicator.KCdlPiercing()' is a 'method' but is   used like a 'type'   CS0118 - click for info   453   16
    Has anyone tested these indicators with Ninjatrader 6.5?

    I'm completely stuck. I'm going to have to uninstall them so that I can modify my strategies..

    #2
    Hi Cunparis,

    Yes, try to uninstall and reinstall these indicators.
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RJStein View Post
      Hi Cunparis,

      Yes, try to uninstall and reinstall these indicators.
      I did that. I also confirmed the problem on a 2nd computer.

      When I say I have to uninstall them I mean maybe for good.

      Comment


        #4
        Originally posted by cunparis View Post
        I did that. I also confirmed the problem on a 2nd computer.

        When I say I have to uninstall them I mean maybe for good.
        Yes, it is a problem in their code. I tried their library and had the same issue, they hand edited the ninjascript generated code for some reason and misspelled one of the indicator names

        Comment


          #5
          On a side note, cunparis/sefstrat, assuming you get it working... how do you like them?

          I tried the free version on the forum but wasn't very excited about it.

          Mike

          Comment


            #6
            Try renaming the file "NinjaTrader.KaseStatWare65.cs" file in your Custom folder to something other than .cs

            After that everything should compile, but the indicators wont show up in the strategy wizard. When you need to use them in strategies, name the file back.

            Comment


              #7
              Originally posted by Elliott Wave View Post
              Try renaming the file "NinjaTrader.KaseStatWare65.cs" file in your Custom folder to something other than .cs

              After that everything should compile, but the indicators wont show up in the strategy wizard. When you need to use them in strategies, name the file back.

              Your workaround seems to work for modifying my strategies that don't use their indicators, which is great.

              But if I want to write a strategy using their indicators? So I need the filename to be .cs right? and if it is .cs then my strategy won't compile.

              Comment


                #8
                Originally posted by ctrlbrk View Post
                On a side note, cunparis/sefstrat, assuming you get it working... how do you like them?

                I tried the free version on the forum but wasn't very excited about it.

                Mike
                The free version is interesting but nothing like the real ones. The real ones are giving me divergence signals but price seems to keep going. I'm still experimenting and can report back later. I just installed them yesterday.

                Comment


                  #9
                  Cunparis, you can modify the KaseStatware.NinjaTrader.cs file yourself and fix the offending line.. just look for the function that is named in the error message. One of the characters is not capitalized when it should be if I recall correctly.

                  Then you will be able to compile and use in strategy.

                  As to the value of Kase indicators, I would say they are better than most of the stuff people try to pass off as commercial indicators but you can find free ones which are just as good if not better.

                  Comment


                    #10
                    Originally posted by sefstrat View Post
                    Cunparis, you can modify the KaseStatware.NinjaTrader.cs file yourself and fix the offending line.. just look for the function that is named in the error message. One of the characters is not capitalized when it should be if I recall correctly.

                    Then you will be able to compile and use in strategy.

                    As to the value of Kase indicators, I would say they are better than most of the stuff people try to pass off as commercial indicators but you can find free ones which are just as good if not better.
                    Thanks, I've just been using the work around, but it's good to know there is an actual solution.

                    I still haven't delved into any of them too deep aside from the PeakOscillator, and I think the best thing about it is how it plots divergences and local/global 'peakouts'. It would be cool if those functions could be referenced in other indicators to provide the same functionality...

                    Comment


                      #11
                      Originally posted by sefstrat View Post
                      Cunparis, you can modify the KaseStatware.NinjaTrader.cs file yourself and fix the offending line.. just look for the function that is named in the error message. One of the characters is not capitalized when it should be if I recall correctly.

                      Then you will be able to compile and use in strategy.

                      As to the value of Kase indicators, I would say they are better than most of the stuff people try to pass off as commercial indicators but you can find free ones which are just as good if not better.
                      Every one of the indicators is offending, it's not just one line. Maybe it has changed since you used them? I checked and here is the first offender:

                      private KCdlEngulfing[] cacheKCdlEngulfing = null;

                      the name of the class is exactly the same as it is in the indicator dialog for my chart, so I don't think there is an issue with capitalization.

                      If you can recommend any free indicators that are good at detecting divergence I'd be very interested.

                      Thanks

                      Comment


                        #12
                        Figured it out

                        Ok, two things:

                        - rename the file as suggested, apparently it's not needed
                        - in a strategy, right click and add reference to the DLL

                        Voilà!

                        Thanks a lot guys!
                        Last edited by cunparis; 05-02-2009, 11:47 PM.

                        Comment


                          #13
                          Was Kase tech support not helpful during all of this? Just curious, since it seems to clearly be their problem.

                          Mike

                          Comment


                            #14
                            Originally posted by ctrlbrk View Post
                            Was Kase tech support not helpful during all of this? Just curious, since it seems to clearly be their problem.

                            Mike
                            I haven't contacted them yet because this was over the weekend.

                            I get the impression that it may have been on purpose. I do not think they were designed to be used in a strategy because there are visual indicators drawn on the graph that are not available via the indicator properties. this makes them less useful than I originally thought.

                            Also the strategy in her book seems quite complicated to code in a strategy. It uses multiple timeframes and divergences.

                            Comment


                              #15
                              Originally posted by cunparis View Post
                              I do not think they were designed to be used in a strategy because there are visual indicators drawn on the graph that are not available via the indicator properties. this makes them less useful than I originally thought.
                              I hate that. Has happened to me before as well.

                              Mike

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              86 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              48 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              29 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              32 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              67 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X