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 Rapine Heihei, Today, 08:19 PM
|
1 response
8 views
0 likes
|
Last Post Today, 08:30 PM | ||
Started by Rapine Heihei, Today, 08:25 PM
|
0 responses
6 views
0 likes
|
Last Post Today, 08:25 PM | ||
Started by f.saeidi, Today, 08:01 PM
|
1 response
9 views
0 likes
|
Last Post Today, 08:17 PM | ||
Change colour of Stop market and limit orders to red and green via indicator script
by Rapine Heihei
Started by Rapine Heihei, Today, 07:51 PM
|
0 responses
8 views
0 likes
|
Last Post Today, 07:51 PM | ||
Started by frslvr, 04-11-2024, 07:26 AM
|
5 responses
98 views
1 like
|
Last Post
by caryc123
Today, 07:47 PM
|
Comment