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
Order execution events?
Collapse
X
-
Hello cay7man,
Thanks for your post.
You could use the AddOn approach to subscribe to ExecutionUpdate events for an Account and check if the OrderState of an order is equal to OrderState.Filled.
See the help guide documentation below for more information.
ExecutionUpdate: https://ninjatrader.com/support/help...tionupdate.htm
Executions: https://ninjatrader.com/support/help...executions.htm
Account: https://ninjatrader.com/support/help...ount_class.htm
Let us know if we may assist further.Brandon H.NinjaTrader Customer Service
-
Hello cay7man,
Thanks for your note.
NinjaScript Indicators, Strategies, and AddOns are all able to be imported into NinjaTrader by navigating to Tools > Import > NinjaScript AddOn.
Note that to import a custom NinjaScript using the Tools > Import feature, you would need to have the original exported .ZIP file for that NinjaScript.
See the help guide documentation below for more information.
Importing: https://ninjatrader.com/support/help...nt8/import.htm
Exporting: https://ninjatrader.com/support/help...tAsSourceFiles
Let us know f we may assist further.Brandon H.NinjaTrader Customer Service
Comment
-
Hello cay7man,
Thanks for your note.
No, you do not have to export and then import a custom NinjaScript that was created in the NinjaScript Editor window on your machine.
NinjaScript Indicators, Strategies, AddOns, etc that are created on your machine will already be available to access on your machine and do not have to be imported.
Let us know if we may assist further.Brandon H.NinjaTrader Customer Service
Comment
-
Hello cay7man,
Thanks for your note.
I understand that in your initial post, you are wanting to create an indicator that can listen to when an order is executed.
It looks like there may be some confusion on my post #2 reply, I had intended to say that you could use this code from your indicator. You can remove the addon you made and put that account subscription in an indicator so you can apply the indicator to a chart.
Let us know if we may assist further.Brandon H.NinjaTrader Customer Service
- Likes 1
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by kaywai, 09-01-2023, 08:44 PM
|
5 responses
601 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by xiinteractive, 04-09-2024, 08:08 AM
|
6 responses
22 views
0 likes
|
Last Post Today, 12:31 AM | ||
Started by Pattontje, Yesterday, 02:10 PM
|
2 responses
17 views
0 likes
|
Last Post
by Pattontje
Yesterday, 11:49 PM
|
||
Started by flybuzz, 04-21-2024, 04:07 PM
|
17 responses
230 views
0 likes
|
Last Post
by TradingLoss
Yesterday, 11:45 PM
|
||
Started by agclub, 04-21-2024, 08:57 PM
|
3 responses
17 views
0 likes
|
Last Post
by TradingLoss
Yesterday, 11:42 PM
|
Comment