Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript C# Problem - CS0101 error

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

    Ninjascript C# Problem - CS0101 error

    'The namespace Ninja.Indicator already contains a namespace for Stolchastic'

    CS0101... there is nothing in Ninjahelp. I set something that denotes "when the Stolchastics (at one setting) are equal to the Stolchastics (at another setting), go long/short." I'm worried it is getting confused. AGH!

    #2
    bump 10char

    Comment


      #3
      Crimsonite,

      Please follow the instructions below to see where the errors are coming from after compiling the indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader compiles all indicators and strategies- not just one.
      • Open NinjaTrader
      • From the Control Center select the Tools menu--> select the Edit NinjaScript menu item--> select Indicator
      • Select an indicator and double click on it.
      • A new window will appear and you will need to right click in the window and select Compile to compile the indicators.
      • At the bottom of the window a new section will appear where you can find the error locations.
      • From there you have the option to remove the indicator or debug it.
      If you are unsure as to what the error is indicating, please send me a screenshot of the error with the name and description fields clearly readable.

      To send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CRTL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
      Adam P.NinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      50 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      69 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X