Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaTrader.Custom.dll
Collapse
X
-
so NinjaTrader.Custom.DLL includes all custom add-ons, indicators, strategies etc.?
what is the purpose of the Visual Studio project file (NinjaTrader.Custom.csproj) ... this doesn't appear to show custom scripts unless called from NinjaScript editor?
Last edited by fingers; 12-15-2023, 10:35 AM.
Comment
-
You can open the NinjaTrader project in Visual Studio by clicking the Visual Studio icon in the toolbar of the NinjaScript Editor. The Solution Explorer will show that you are in NinjaTrader.Custom and custom scripts should be found in their respective folders, such as Indicators and Strategies. Visual Studio may be used as a text editor, though you should never build or run the solution in Visual Studio. You may save the file (Ctrl + S) and if you also have a NinjaScript Editor open at the same time as editing in Visual Studio, every time you save the NinjaScript Editor will trigger a compile of the saved changes.Originally posted by fingers View Postso NinjaTrader.Custom.DLL includes all custom add-ons, indicators, strategies etc.?
what is the purpose of the Visual Studio project file (NinjaTrader.Custom.csproj) ... this doesn't appear to show custom scripts unless called from NinjaScript editor?
For more details on using Visual Studio for debugging (as well as a note about using it as a text editor) please see the help guide page here:
Please feel free to reach out with any additional questions or concerns.
- Likes 1
Comment
-
Think about all the folders under bin/Custom/...
Lots of these folders contain source code,
both the factory default scripts as well as
your private custom scripts
When the NInjaScript compiler compiles a .cs
file (doesn't matter which folder, whether it be
Indicator, Strategy, AddOns, BarTypes, etc)
every single .cs file will be recompiled -- the
idea is that you compile one file but actually
under the hood NT recompiles all files.
All that source code found under bin/Custom
goes into NinjaTrader.Custom.dll
That's why every time you recompile, all .cs
files are re-compiled and NinjaTrader.Custom.dll
is re-created every compile.
Thus,
where are the EMA and SMA indicators located?
where are all the bartypes located?
where are all the drawing tools?
all of these, including any of your own source
codes or downloaded source codes, they all get
compiled into the NinjaTrader.Custom.dll assembly.
In summary:
All code under 'Custom' folder hierarchy gets
compiled into the 'Custom' assembly.
- Likes 2
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
627 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
359 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
562 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
567 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment