NinjaScript Editor Components

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Editor >

NinjaScript Editor Components

Previous page Return to chapter overview Next page

Overview

The NinjaScript Editor is a powerful scripting editor that allows you to create custom indicators, strategies, and any other custom NinjaScript types used to enhance the NinjaTrader platform.  The NinjaScript Editor can be opened by selecting the New menu from the NinjaTrader Control Center. Then left mouse click on the menu item NinjaScript Editor

 

1. NinjaScript Explorer - Displays files, folders, and allows for additional file management

2. Tool bar - Moving your mouse over each icon will display the function of the icon button

3. Line numbers

4. Line modification marking - Yellow flags indicate unsaved line modifications where green flags indicate saved modifications

5. Tabs for creating new scripts via the NinjaScript wizard and working on multiple scripts.

 

    NS_Editor_1

 

 

Properties and Definitions

 

NS_Editor_Properties

 

General


Auto hide NinjaScript explorer

Sets if the NinjaScript explorer should be collapsed by default

Debug mode

Sets if a debug dll should be generated on compilation (see Visual Studio Debugging for more information)

Inline syntax checking

Sets if errors and warnings should be detected as code is written (without needing to compile)

Auto bracket completion

Sets if opening characters should automatically bed appended closing characters. Works for (parentheses), [brackets], {braces}, <angled brackets>

Show Warnings

Sets if code warnings should be show on compilation.  

Font

Sets the font options

Window


Always on top

Sets if the window will be always on top of other windows.