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 jclose, Today, 09:37 PM
      0 responses
      4 views
      0 likes
      Last Post jclose
      by jclose
       
      Started by WeyldFalcon, 08-07-2020, 06:13 AM
      10 responses
      1,413 views
      0 likes
      Last Post Traderontheroad  
      Started by firefoxforum12, Today, 08:53 PM
      0 responses
      10 views
      0 likes
      Last Post firefoxforum12  
      Started by stafe, Today, 08:34 PM
      0 responses
      10 views
      0 likes
      Last Post stafe
      by stafe
       
      Started by sastrades, 01-31-2024, 10:19 PM
      11 responses
      169 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Working...
      X