Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
creating a ATM
Collapse
X
-
creating a ATM
I have a set of condition that when met, it can generate buy or sell signals. I want to incorporate a ATM to manage my trade. I was going through the sample ATM strategy but have a hardtime putting all together. do you have a simplified, step by step considerations when writing the code for managing the entry? I was thinking to do it in ninjatrader and then opening the code and add it to my strategy... is that possible? -
Hello Yandychang,
There is no step by step considerations when writing the code for managing the entry.
This will depend on your logic and there is no set way to enter an order.
You can enter when flat, or when two indicators cross, or when its a specific time of day or any other logic you want to use. This all depends on what logic you want to use to enter the order.
There is an included SampleAtmStrategy that shows how to incorporate an Atm Strategy into a NinjaScript Strategy.
(Tools -> Edit NinjaScript -> Strategy... -> SampleAtmStrategy)
Also, all of the Atm Strategy methods are outlined in the help guide such as AtmStrategyCreate.
http://www.ninjatrader.com/support/h...tegycreate.htm
Atm Strategy Methods - http://www.ninjatrader.com/support/h...gy_methods.htmLast edited by NinjaTrader_ChelseaB; 08-22-2014, 10:39 AM.Chelsea B.NinjaTrader Customer Service
-
ATM Strategy
Yes, I did that. I looked over it and copied what I Though I could use. I put my understanding of it, but There are some Doubts I have, I was wondering if you could clarify that for me.
One Question is:
in the AtmStrategyChangeStopTarget method, the first 0, the manual states its the limit Order. But the limit order for what. its that the target profit? is "0" value given when one wants a stop loss only?
thanks in advance for your help...Attached Files
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
67 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
150 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment