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 andrewtrades, Today, 04:57 PM
|
1 response
10 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
9 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
20 views
0 likes
|
Last Post Today, 03:33 PM |
Comment