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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    49 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X