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
Is there a method to open/enable an ATM Strategy?
Collapse
X
-
Is there a method to open/enable an ATM Strategy?
I've been using CloseStrategy() to disable my ATM strategies when parameters are no longer met. I watch the charts in real-time and physically enable ATM strategies when parameters are met. I wanted to know is there a method that does this automatically based on coded parameters? I looked in the section where CloseStrategy() is, and I didn't see anything that looks like it could work. Thanks in advance!Tags: None
-
Hello jamestrader21x,
Thank you for your note.
Yes, you absolutely can submit an order with an attached ATM from a NinjaScript Strategy. There's a built in Sample ATM Strategy that you can take a look at in the NinjaScript Editor that illustrates this (Note you will need an ATM template called 'AtmStrategyTemplate' created and saved prior to starting the strategy for it to function).
I would suggest first reviewing the following help guide pages:
Using ATM Strategies — https://ninjatrader.com/support/help...strategies.htm
ATM Strategy Methods — https://ninjatrader.com/support/help...gy_methods.htm
The actual entry order submission would be done with AtmStrategyCreate():
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by AaronKoRn, Yesterday, 09:49 PM
|
0 responses
11 views
0 likes
|
Last Post
by AaronKoRn
Yesterday, 09:49 PM
|
||
Started by carnitron, Yesterday, 08:42 PM
|
0 responses
10 views
0 likes
|
Last Post
by carnitron
Yesterday, 08:42 PM
|
||
Started by strategist007, Yesterday, 07:51 PM
|
0 responses
12 views
0 likes
|
Last Post Yesterday, 07:51 PM | ||
Started by StockTrader88, 03-06-2021, 08:58 AM
|
44 responses
3,982 views
3 likes
|
Last Post
by jhudas88
Yesterday, 06:59 PM
|
||
Started by rbeckmann05, Yesterday, 06:48 PM
|
0 responses
10 views
0 likes
|
Last Post
by rbeckmann05
Yesterday, 06:48 PM
|
Comment