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

fresh install of NT 7 version 18 - woodies not available

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

    fresh install of NT 7 version 18 - woodies not available

    After a fresh install of NT 7 version 18 - woodies not available.

    After several installs i completely removed all of NT7 and the installed from scratch - bar an fdisk of the hard drive i pretty much got rid of all traces....

    I then check out my indicator from source safe which referenced woodies...

    However the compiler threw and error at this code which has worked for many weeks:

    result= (WoodiesCCI(5,2,CCIPeriod,34,25,6,30,100,2)[0]<CCILongEntry);

    NinjaTrader.Indicator.WoodiesCCI is a type but is used like a variable.


    I went to references and removed the vendor dll ref
    recompiled - Error produced as expected:

    The name woodies does not exist in the current context etc...

    so add the ref back again hit compile and...



    result= (WoodiesCCI(5,2,CCIPeriod,34,25,6,30,100,2)[0]<CCILongEntry);

    NinjaTrader.Indicator.WoodiesCCI is a type but is used like a variable.

    Woodies does not show up in the intellisense either....

    I thought perhaps a recursive check out from VSS - meant that i had inadvertently written over something - but i have checkd that i am only storing and checking in and out custom source...
    MicroTrends
    NinjaTrader Ecosystem Vendor - micro-trends.co.uk

    #2
    Hello MicroTrends,

    I verified that I'm able to apply this indicator to a chart as well as access via intellisense.

    I thought perhaps a recursive check out from VSS - meant that i had inadvertently written over something - but i have checkd that i am only storing and checking in and out custom source...
    Could you clarify this? Are you trying to access from NinjaTrader or Visual Studio?


    May have been some remnants left over in My Documents\NinjaTrader 7 or C:\Program Files\NinjaTrader 7
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      I am using the editor/compiler in NinjaTrader
      VSS is Microsofts basic desktop Source Control program i use it to check in and check out versions of software - it's not an editor. - ignore -red herring.

      Deleted everything i can see folder in my documents and program files - still no luck after install

      Still cant compile
      MicroTrends
      NinjaTrader Ecosystem Vendor - micro-trends.co.uk

      Comment


        #4
        How can i re-initiate an intellisense cache rebuild - perhaps that will solve the issue?

        I also realised i also kept some config files and workspaces/templates etc and copied back......

        So it was not a 100% fresh installation.....

        I am going to blat it all and start again :-)
        Last edited by MicroTrends; 07-01-2010, 12:54 PM.
        MicroTrends
        NinjaTrader Ecosystem Vendor - micro-trends.co.uk

        Comment


          #5
          Sounds good, MicroTrends.

          I would try a basic usage of WoodiesCCI so you can evaluate whether it compiles.
          double result = WoodiesCCI(5, 2, 3, 3, 25, 6, 30, 100, 2)[0];


          If that works fine but your original statement does not, then likely need to look at the other components CCIPeriod, CCILongEntry, as well as how result is defined.
          Ryan M.NinjaTrader Customer Service

          Comment


            #6
            same thing
            i cannot see any jurik either

            i can add woodies to a chart
            the intellisence cache is not piucking it up - so the precomiplier check is flagging it as an error... that is my understanding. if it were using dynamic reflection it would see it....?
            MicroTrends
            NinjaTrader Ecosystem Vendor - micro-trends.co.uk

            Comment


              #7
              Ok it was resolved by....
              Exiting NT
              Deleting the cache folder contents
              del C:\Users\tom\Documents\NinjaTrader 7\cache\*.*
              Restarting
              Edit Indicator
              Cache rebuilt all the reflection output is documented and cached for each reference etc
              This time it all compiled ;-)

              Thank you for your unwavering patience - support and help :-)
              MicroTrends
              NinjaTrader Ecosystem Vendor - micro-trends.co.uk

              Comment


                #8
                Great, glad to hear it's sorted. Thanks for sharing your solution.
                Ryan M.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by MicroTrends View Post

                  ... NinjaTrader.Indicator.WoodiesCCI is a type but is used like a variable...
                  I am getting the same error after checking out NT code from TFS.

                  I delete the cache files as suggested in earlier post, but to no avail ...

                  Any ideas?

                  Comment


                    #10
                    Hello AnotherTrader,
                    Can you please send a note to support[AT]ninjatrader[DOT]com

                    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

                    I look forward to assisting you further.
                    JoydeepNinjaTrader Customer Service

                    Comment


                      #11
                      OK, a colleague helped with sorting this out.
                      Many thanks!

                      Comment


                        #12
                        Solution

                        Sometimes a restore of custom and vendor dll files will work
                        The factory defaults
                        C:\Program Files (x86)\NinjaTrader 7\bin\Custom\Backup

                        Sometimes i backup the current compiled state and restore that - i have not had to do this for many months and only ever about 5 times ever.

                        E.g i copy the compiled files from
                        C:\Users\[you]\Documents\NinjaTrader 7\bin\Custom

                        to a folder
                        C:\Users\[you]\Documents\NinjaTrader 7\bin\Custom\NT Files Backup
                        Then i can roll back to that if need be sometimes

                        copy them to
                        C:\Users\[you]\Documents\NinjaTrader 7\bin\Custom

                        I also delete all files from the tmp folder
                        C:\Users\[you]\Documents\NinjaTrader 7\bin\Custom\Tmp


                        then recompile and it fixes it
                        Attached Files
                        MicroTrends
                        NinjaTrader Ecosystem Vendor - micro-trends.co.uk

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by aligator, 01-06-2022, 12:14 PM
                        4 responses
                        232 views
                        0 likes
                        Last Post john_44573  
                        Started by reynoldsn, Today, 05:56 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post reynoldsn  
                        Started by bortz, 11-06-2023, 08:04 AM
                        51 responses
                        1,987 views
                        0 likes
                        Last Post aligator  
                        Started by dmking, 11-12-2019, 12:31 PM
                        4 responses
                        4,146 views
                        0 likes
                        Last Post jasonw
                        by jasonw
                         
                        Started by roblogic, Today, 04:31 PM
                        0 responses
                        10 views
                        0 likes
                        Last Post roblogic  
                        Working...
                        X