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
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 geddyisodin, 04-25-2024, 05:20 AM
|
8 responses
58 views
0 likes
|
Last Post Yesterday, 10:45 AM | ||
Started by jxs_xrj, 01-12-2020, 09:49 AM
|
4 responses
3,285 views
1 like
|
Last Post
by jgualdronc
Today, 10:02 AM
|
||
Can someone turn this thinkscript into a ninjascript. 5PM CST OHL and Previous Day
by Option Whisperer
Started by Option Whisperer, Today, 09:55 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 09:55 AM | ||
Started by halgo_boulder, 04-20-2024, 08:44 AM
|
2 responses
22 views
0 likes
|
Last Post Today, 09:41 AM | ||
Started by mishhh, 05-25-2010, 08:54 AM
|
19 responses
6,189 views
0 likes
|
Last Post
by rene69851
Today, 09:29 AM
|
Comment