Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NinjaScript and C#
Collapse
X
-
NinjaScript and C#
I am reading one of my first books on C# and I learn about concepts such as constructors, destructors, Main() methods, and so on. When I look at the wizard-generated code of an NT indicator I am having a hard time finding the same structures. Is there a document somewhere that explains how NT implemented those C# concepts. For instance what is the equivalent of the Main() method, etc?Tags: None
-
trader2be, I suggest you start here - http://www.ninjatrader-support.com/H...verview18.html
If you look under the NinjaScript entry in our helpguide (press F1 in the software) then you find the comprehensive NinjaScript language reference guide explained all details of the implementation and supported methods / properties.
The main method called on each bar update would be the OnBarUpdate() in NinjaScript -
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
152 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
89 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
133 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
127 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
107 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment