Adapting Greenz to today's reality

Adapting Greenz to today's reality

A long-term commitment for Captain Optimus Strong v2 owners

Read our Founder Letter →

Zaccess extended through August

Zaccess extended through August

Receive up to $1,000 in purchase assistance

Explore eligible products →

[NEW execution tool] RapidShape Ordering

[NEW execution tool] RapidShape Ordering

Place pending orders with a single drawing

See how it works →

[Webinar replay] Auction Axis

[Webinar replay] Auction Axis

James Buchman explains how he sets his bias before entering trades.

→ Watch the replay

[NEW trading strategy] BigTrade Sweep + LIQ Sweep Hunter

[NEW trading strategy] BigTrade Sweep + LIQ Sweep Hunter

What causes a Big Reversal? Liquidity isn’t enough

👉 Discover the strategy

Passed Bulenox with a 3-month backtest

Passed Bulenox with a 3-month backtest

See how this 100% automated trading system performed on both MNQ and NQ.

👉 Watch the results

Recovering from a $1,100 drawdown

Recovering from a $1,100 drawdown

Watch how 25+ live trades using VWAP helped rebuild the account step by step.

Watch the session →

A Simple Guide To Use Ninjascript

NinjaScript is a proprietary scripting language developed by NinjaTrader and specifically designed for creating custom indicators, strategies, and automated trading systems within the NinjaTrader platform.

Traders can harness the power of programming to develop their own unique technical indicators and trading strategies using NinjaScript. This allows them to tailor their trading approach to their specific preferences and requirements.

Integrated directly into the NinjaTrader platform, NinjaScript provides a seamless environment for coding, testing, and deploying custom solutions. It's particularly appealing to traders who have coding experience or a desire to create their own personalized trading tools. Additionally, 

NinjaTrader provides a variety of educational resources and a supportive community to assist traders in learning and mastering the NinjaScript programming language.

For comprehensive resources on Ninjascript, click here.

Import

Please ensure that you only import NinjaScript Archive files (.zip) acquired from trusted sources.

Here's how to import your NinjaScript:

  • First, open the Control Center window and navigate to Tools > Import > NinjaScript...
  • Then select the file you wish to import.
  • Finally, click on the "Import" button, now you got your file imported

Export

1. Exporting as source files

If you want to share your NinjaScript with other NinjaTrader users so they can view and edit it:

  • Start by opening the Control Center window and choose Tools > Export > NinjaScript...
  • Click "Add."
  • Use the dropdown labelled "Type" to filter the available NinjaScript types.
  • Pick the files you want to export and press "OK."
  • You'll see a list of the files that will be exported.
  • Choose the "Export" button to begin exporting.
  • A dialogue box will appear, allowing you to choose the location for your zip export file. By default, the NinjaScript Archive File (.zip) is in My Documents<NinjaTrader Folder>\bin\Custom\ExportNinjaScript.
  • You can import the exported file into another NinjaTrader application on a different PC.
Exporting as assembly

If you need to provide access to your proprietary indicators or strategies while securing your source code, consider exporting your NinjaScript indicators as compiled Microsoft .NET assembly (DLL) files.

  • This is a suitable approach if your proprietary indicators or strategy files don't rely on external DLLs.
  • For proprietary content that references external DLLs, creating a custom installer is recommended.
  • Start by opening the Control Center window and selecting Tools > Export > NinjaScript...
  • Next, choose "Export as compiled assembly."
  • Optionally, you can choose "Protect compiled assembly" (For details on protection, refer here).
  • Then click "Add."
  • Use the dropdown labelled "Type" to filter the available NinjaScript types.
  • Select the files you wish to export and press "OK."
  • A list of the files to be exported will be displayed afterwards.
  • Optionally, provide descriptive information in the "Product" and "Version" fields.
  • Then you can click the "Export" button to initiate the export process.
  • A dialogue box will appear, allowing you to select the location for the zip export file. By default, the NinjaScript Archive File (.zip) will be generated in My Documents<NinjaTrader Folder>\bin\Custom\ExportNinjaScript.
  • The exported file can be imported by another NinjaTrader application on a different PC.
Remove your ninjascript assembly
  • Open the Control Center window and select Tools > Remove NinjaScript Assembly.
  • Choose the file(s) you wish to remove (You can select multiple files by holding Shift while making selections).
  • Click the "Remove NinjaScript assembly" button.

Discover the high quality of NinjaScript Indicators

ninZa.co stands out as a leading and prominent provider of top-tier trading indicators for the NinjaTrader platform. Our exceptional range of pro-grade indicators caters to the trading needs of over 20,000 NinjaTrader users across the globe, spanning every continent except Antarctica.

Say goodbye to the complexities of coding & managing your own scripts – our extensive collection of over 140 NinjaScript indicators offers solutions that cater to a wide array of trading styles.

Backed by a stellar 5-star customer support service, we are dedicated to delivering an unmatched trading experience, join us now and receive our limited $150 gift for New members: https://ninza.co/join.

Download ~ 40 FREE indicators & reach more useful resources !!!

Your most-used email

Your feedback will help us shape a better upgrade policy for today’s reality.
Help us improve ↓

Join server
discord-avatar

ninZa.co Indicators

0 online

Recovering an account from a $1,100 drawdown in 25+ trades
Live trading using VWAP ⏩ 

44 Scalps in 2 hours | Does the edge hold up trade by trade?
Watch live trading ⏩