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 geotrades1, Today, 10:02 AM
|
1 response
4 views
0 likes
|
Last Post Today, 10:19 AM | ||
Started by ender_wiggum, Today, 09:50 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:10 AM | ||
Started by rajendrasubedi2023, Today, 09:50 AM
|
1 response
12 views
0 likes
|
Last Post Today, 10:05 AM | ||
Started by bmartz, Today, 09:30 AM
|
1 response
10 views
0 likes
|
Last Post Today, 09:48 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
3 responses
26 views
0 likes
|
Last Post Today, 09:36 AM |
Comment