Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript errors

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

    Ninjascript errors

    I have been making simple two moving average crossover scripts, but now every new script has the same errors. When I go back to prior successful scripts, they too now show the same errors.

    The errors are CS0118 for line 26 column 31 and CS0234 for line 27 column 23.

    Here are lines 26 and 27:
    privateint fast = 3; // Default setting for Fast
    privateint slow = 250; // Default setting for Slow

    Is my Ninjatrader software corrupted? If so, how do I fix it?
    Thanks
    JRagsdale

    #2
    Have you tried 'private int' instead of 'privateint'?

    Comment


      #3
      In the words of the great Emily Latella, "Nevermind." I found your post from 2004 and realized the complier runs all my files. I then realized the errors were from other files, not the one I was working on. I has since deleted the files with errors and all is well.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,789 views
      0 likes
      Last Post aligator  
      Started by Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      837 views
      0 likes
      Last Post emuns
      by emuns
       
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,293 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      13 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      11 responses
      63 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X