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 firstlanetech, Today, 11:31 PM
      0 responses
      2 views
      0 likes
      Last Post firstlanetech  
      Started by AH369, 07-03-2024, 10:17 AM
      8 responses
      832 views
      1 like
      Last Post Karado58  
      Started by FAQtrader, 04-25-2024, 12:00 PM
      58 responses
      1,289 views
      0 likes
      Last Post rene69851  
      Started by kevtancw, Today, 07:09 PM
      0 responses
      4 views
      0 likes
      Last Post kevtancw  
      Started by LanceFulk, Today, 06:28 PM
      0 responses
      6 views
      0 likes
      Last Post LanceFulk  
      Working...
      X