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 BarzTrading, Today, 07:25 AM
      2 responses
      13 views
      1 like
      Last Post BarzTrading  
      Started by devatechnologies, 04-14-2024, 02:58 PM
      3 responses
      19 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by tkaboris, Today, 08:01 AM
      0 responses
      3 views
      0 likes
      Last Post tkaboris  
      Started by EB Worx, 04-04-2023, 02:34 AM
      7 responses
      162 views
      0 likes
      Last Post VFI26
      by VFI26
       
      Started by Mizzouman1, Today, 07:35 AM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X