what are relevant part of the docs?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Monitoring opened positions
Collapse
X
-
Monitoring opened positions
If I want to write ninjascript to watch positions being opened and closed (but not modify, just watch i.e. read only) but not created by this code... what are my options? indicator? strategy? add-on? all of the above?
what are relevant part of the docs?
Tags: None
-
I would prefer to use an indicator (so it would have no problem reading such data?) because I find indicators easier to manage than addons. Especially during development.
Just want to read this data and calculate some stats
Comment
-
Hello NinjaCustomer ,
Yes that would work fine for that purpose. The samples in the page I linked show an addon however you can do this from the indicator as well. The same concepts apply, you need to find an account which is the first link in my last post, all of the other samples in the account sub section rely on that sample of finding the account. Once you find the account you can subscribe to its events or search through its collections.
I look forward to being of further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 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
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment