![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
Hello,
I am in the process of building an ATM strategy ( either dom or chart based) to achieve this functionality. This is more around - Simulated Stop strategy in NT Requirements; - When a specific price is reached, it should trigger the following events 1 contract - It should be purchased at the trigger price Stop - 15 ticks(from the entry price) 1 contract - This should be purchased at trigger price - 5 ticks Stop - 10 ticks(from the entry price) 2 contracts - This should be purchased at trigger price - 10 ticks stop - 5 ticks from the entry price Targets; - If position = 1 contract - Move the stop to BE on +5 ticks - If position = 2 contracts - Sell contract 1 at +5 ticks, move the second position to BE - If position = 4 contracts - sell 2 contracts at +5 ticks, move the 2 to BE Would it be possible to achieve this functionality from NT? If so, would you please help me build this strategy. PS: Doesn't really matter if it can be fired from Chart or DOM. I am little bit familiar with the programming language and if there are any pointers to achieve this, I should be able to pick it up as well. Thanks in advance!! |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
|
Hello:
Thank you for making your first post and joining the Support Forum. I may need some clarification on your ATM Strategy. As you have stated... 1 contract - It should be purchased at the trigger price Stop - 15 ticks(from the entry price) 1 contract - This should be purchased at trigger price - 5 ticks Stop - 10 ticks(from the entry price) 2 contracts - This should be purchased at trigger price - 10 ticks stop - 5 ticks from the entry price What is your initial profit target for these contracts? Also, you must have your stop loss value for Target 1 must be less than your stop loss value for Target 2. More information can be found in the help guide at the link below: http://www.ninjatrader-support.com/H...nStrategy.html Also, I encourage you to attend our free webinar session tomorrow at Noon US Eastern time covering ATM Strategies. I will be presenting in the room and would be happy to go over this specific example with you. You may attend at the link below: http://www.ninjatrader.com/webnew/tr...ine_events.htm Best regards,
Ryan
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
Ryan - Thanks for the reply.
My initial targets are listed in the original thread itself. They are basically dependent on the "current position" in the market. Thanks. Targets; - If position = 1 contract - Move the stop to BE on +5 ticks - If position = 2 contracts - Sell contract 1 at +5 ticks, move the second position to BE - If position = 4 contracts - sell 2 contracts at +5 ticks, move the 2 to BE |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
To clarify further:
Though it is initiating the simulated stop orders, there is no guarantee that the rest of the contracts are going to be filled. But it is guaranteed that the first order(for 1 contract) is going to be filled as it is filled at market. For the target price, it should be determied based on whether there are further fills from other subsequent orders( triggered from the first Simulated Stop order) and should determine the target prices accordingly. Thanks. |
|
|
|
|
|
#5 |
|
NinjaTrader Customer Service
Join Date: Sep 2006
Location: Denver, CO, USA
Posts: 616
Thanks: 10
Thanked 2 times in 2 posts
|
Hi:
Thank you for the clarification. It is possible to accomplish entering a position using a simulated stop order and then have your profit targets and stop losses placed on screen. However, with your stops and limits, you must set your initial stop loss for your first target to a value less than your second stop loss value. Therefore, the specs for your strategy that you sent originally are invalid, meaning you will receive an error if you enter a stop loss value of 15 on your first target and a stop loss of 10 on the second target, that is not possible. Also, please clarify your profit targets for your first and third targets. What price do you wish to receive a fill for these targets?
Ryan
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
Let me clarify further on this.
Let's say I have a simulated stop order at price 800 even. Contract 1 - should be purchased at 800.0 Stop : 708.5 ( 15 ticks from the entry price) Contract 2 - Should be purchased at 709.5 ( 5 ticks from the first trigger price) Stop: 708.5 contract 3&4: Should be purchased at 709 ( 10 ticks from the first trigger price) Stop; 708.5 Now comes the target portion: - It is same as I have mentioned. The targets should be decided based on the current market position. If my current market position is only 1 contract, it should just move to BE on entry price+5 ticks - If the current position is 2, it should sell 1 contract at 800.5 and move the second one to 800( First simulater order) - If the current position is 4, it should sell 2 contract at 800.5 and move the rest 2 contracts to 800( trigger price). Hope this clarifies. |
|
|
|
|
|
#7 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Unfortunately it is not possible to trigger multiple entry orders at various price levels using our ATM technology. It is possible to program this as a NinjaScript strategy but that will require some programming knowledge.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
Thx Ray. Would you please point me to any docs on such(similar strategies) using Ninja Scripts which I can use to figure it out.
Anyone else out there who might have built similar strategies in NT? |
|
|
|
|
|
#9 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Hi vking,
You can start off by reviewing the SampleAtmStrategy already included in your NinjaTrader. It is in the Strategy category. In order to understand how the ATM strategy is called and used within NinjaScript these following documents will help: http://www.ninjatrader-support.com/H...trategies.html http://www.ninjatrader-support.com/H...egyCreate.html There are a bunch of other ATM strategy related properties and methods you should become familiar with in the Help Guide. You can find the list in the Index of the Help Guide. Most of the properties/methods start with AtmStrategy...() or GetAtmStrategy...(). Good luck.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Sep 2007
Posts: 8
Thanks: 1
Thanked 0 times in 0 posts
|
Thx Josh. Appreciate it. Would go through them.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Simulated Vol Stop in Strategy | Kardinal | Automated Trading | 4 | 04-12-2012 02:54 AM |
| Simulated Stop | nightowl | ATM Strategies (Discretionary Trading) | 14 | 04-29-2008 09:13 AM |
| Simulated Stop w/backup | ct | ATM Strategies (Discretionary Trading) | 4 | 10-04-2007 06:06 AM |
| Trailing Stop Based on Previous Bar | blinker | Strategy Development | 1 | 03-15-2007 02:20 AM |
| Simulated Stop for Entry Only | Ouiji | Miscellaneous Support | 2 | 02-13-2006 03:37 AM |