I'm curious is there any feature for counting the number of trades per day besides the "Orders" or "Executions" tabs(which are not easy to read) ?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Trade Counter
Collapse
X
-
Trade Counter
Hi,
I'm curious is there any feature for counting the number of trades per day besides the "Orders" or "Executions" tabs(which are not easy to read) ?Tags: None
-
Hello itrade4food,
Welcome to the NinjaTrader forums.
Below is a link to a forum post with helpful information about getting started with NinjaScript development and c#.
Are you trying to achieve this in a NinjaScript Strategy that is placing the orders, or are you counting all orders to an Account object including manually placed orders?
Chelsea B.NinjaTrader Customer Service
-
-
Hello itrade4food,
This would use the Addon approach to detect manually placed orders.
You could have a List<order> object with orders added in the <Account>.OrderUpdate event handler method when the OrderState is Accepted or Working and removed when the order is Cancelled, Filled, or Rejected. The list Count would be the number of active orders. Or you could have an integer that is incremented and decremented.
Below is a link to an example you may find helpful that does work with orders in the Addon approach.
Chelsea B.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
4 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
||
Started by alifarahani, Today, 09:40 AM
|
6 responses
40 views
0 likes
|
Last Post
by alifarahani
Today, 03:18 PM
|
||
Started by Waxavi, Today, 02:10 AM
|
1 response
18 views
0 likes
|
Last Post Today, 03:03 PM | ||
Started by Kaledus, Today, 01:29 PM
|
5 responses
15 views
0 likes
|
Last Post Today, 02:56 PM |
Comment