Can an alert triggered from a custom indicator running on Market Analyzer be used to trigger order placement?
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
Triggering orders using alerts from Market Analyzer
Collapse
X
-
Triggering orders using alerts from Market Analyzer
Can this be done?
Can an alert triggered from a custom indicator running on Market Analyzer be used to trigger order placement?Tags: None
-
Hello AnotherTrader, thanks for your post.
That is possible with an Addon-style Account object created within the indicator. You would initialize the account object in OnStateChanged, then you can submit orders to the account using the Submit method. See here for a full example of how to set up the account object:
https://ninjatrader.com/support/help...ount_class.htm
Please let me know if I can assist any further.
Chris L.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
435 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
3 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
18 views
0 likes
|
Last Post Today, 03:33 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
9 responses
127 views
1 like
|
Last Post
by caryc123
Today, 03:12 PM
|
||
Started by selu72, Today, 02:01 PM
|
1 response
14 views
0 likes
|
Last Post Today, 02:17 PM |
Comment