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
Pulling ATM Strategy template names?
Collapse
X
-
Pulling ATM Strategy template names?
I am currently utilizing the AtmStrategyCreate() method with success, but is it possible for the strategyTemplateName parameter to be pulled dynamically from the existing list of ATM Strategies without having to hard-code the exact name in the NinjaScript code itself? e.g. have the template name be a variable, where it changes based off the ATM Strategy selected in the Chart Trader.Tags: None
-
Hello daigo1,
It is possible to make a control to select an Atm, but I am not aware of a way to get a list of these as strings.
Below is a link to an example that has an Atm Strategy selector.
http://ninjatrader.com/support/forum...555#post515555
You could also get the selected atm from the ChartTrader as well if you wanted.
Last edited by NinjaTrader_ChelseaB; 04-08-2020, 02:28 PM.Chelsea B.NinjaTrader Customer Service
- Likes 1
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Net Change
by Segwin
Started by Segwin, 05-07-2018, 02:15 PM
|
10 responses
1,769 views
0 likes
|
Last Post
by Leafcutter
Today, 03:01 AM
|
||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, 04-23-2024, 07:51 PM
|
2 responses
30 views
0 likes
|
Last Post
by Max238
Today, 02:25 AM
|
||
Started by Shansen, 08-30-2019, 10:18 PM
|
24 responses
943 views
0 likes
|
Last Post
by spwizard
Today, 01:29 AM
|
||
Started by Max238, Today, 01:28 AM
|
0 responses
10 views
0 likes
|
Last Post
by Max238
Today, 01:28 AM
|
||
Started by rocketman7, Today, 01:00 AM
|
0 responses
7 views
0 likes
|
Last Post
by rocketman7
Today, 01:00 AM
|
Comment