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 algospoke, Yesterday, 06:40 PM
      2 responses
      18 views
      0 likes
      Last Post algospoke  
      Started by ghoul, Today, 06:02 PM
      3 responses
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by jeronymite, 04-12-2024, 04:26 PM
      3 responses
      44 views
      0 likes
      Last Post jeronymite  
      Started by Barry Milan, Yesterday, 10:35 PM
      7 responses
      20 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by AttiM, 02-14-2024, 05:20 PM
      10 responses
      180 views
      0 likes
      Last Post jeronymite  
      Working...
      X