Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
emulate global vars or global arrays/collections
Collapse
X
-
Custom static objects? (I've tested)
Attached properties? (I haven't tested yet)
-
I would like to switch from another trading app. In that app, I have a small ecosystem of tools for testing trading signals. It is designed like a modular system, allowing individual scripts to communicate with each other. This makes it possible to test various indicators or other constructs as filters for a trading system with very little effort, without needing to rebuild the charts. For example, it is necessary for an indicator activated as a filter to pass on its status for each period. The cumulative statuses are then evaluated by the trading system.
Comment
-
Hello ReneRose,
When using NinjaScript, there's no concept of script communication because there's already a framework in place to use those scripts without adding them to a chart. For example, if you wanted to use the SMA in your C# code, you'd simply call the SMA in the code; it doesn't need to be added to a chart or have any special communication added. The general process for NinjaScript is to create indicators that produce a plot, which is the result of its calculation. In your other scripts, you can then call that indicator to get that calculation.
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
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
49 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment