I am trying to send some settings dynamically to the running strategy
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Communicate with an outside program
Collapse
X
-
Communicate with an outside program
I am writing a program that will help to control the way the strategy executed. Now what kind of programming mechanism is good to use so as not to interrupt the internal working of Ninja Trader's strategy.
I am trying to send some settings dynamically to the running strategyTags: None
-
I have used threads (actually a Threadpool) in an indicator, but in a strategy this should work also.
You can do everything you want, also firing events into your NT code,but remember the TriggerCustomEvent function.
I would just set some variables from outside and have the strategy logic act accordingly in OnBarUpdate()
might give some trouble with thread syncronisation, so I would implement lock from the very beginning.
It is all about good knowledge in C# and .NET
andreas
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment