Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Collection
Collapse
X
-
Strategy Collection
Is there a way to programmatically determine what charts a user has open and also determine what instruments the charts are using? I would also like to determine what strategies, if any, each chart is running.Tags: None
-
Hi scottreynolds,
There is no way to access which charts are open, or find out if there are strategies running.
You can access the interval type and value using BarsPeriod. This shows what interval is used only where the script is currently applied.
There is Id for the interval type and Value for the interval value.
For instrument there is this class and available properties:
Ryan M.NinjaTrader Customer Service
-
You can make the strategy post that information to the OutputWindow or an external text file.Originally posted by scottreynolds View PostIs there a way to programmatically determine what charts a user has open and also determine what instruments the charts are using? I would also like to determine what strategies, if any, each chart is running.
Comment
-
As a vendor, I would like to be able to control the number of contracts a user can run for a strategy. The strategy could limit the number but the user simply has to open another chart and run the same strategy to defeat the limitation. Is there a way to handle this?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
53 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
35 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
103 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
182 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
171 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment