Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

File Naming

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

    File Naming

    Dear all, do I put the file name example.cs when saving the script or do I have to put the .cs inside the script?

    #2
    Hello operadoraguia,

    Welcome to the NinjaTrader forums!

    Be sure that you create all scripts using the NinjaScript Editor. This will ensure that the filename and extension are correct (and the filename matches the classname). The extension will automatically be added to the filename in the filesystem, and does not have to be added to the script name when creating a new script in the NinjaScript Editor.
    Once the script is created and saved, you can choose to use an external editor such as Visual Studio if you would like.

    The .cs is the file extension and would be part of the file name in the filesystem.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    556 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X