NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > ATM Strategies (Discretionary Trading)

ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc...

Reply
 
Thread Tools Display Modes
Old 11-11-2009, 06:33 AM   #1
difdiffer
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default Automated Stop based on a max loss for the trade

OK, I have been searching and looking around but cant seem to find anything that resembles my requirements. Please let me explain briefly what I require so that you may indicate if this is possible.

Requirements, explained in an example:

We are flat in a certain market (lets take \6e) and the trade is about the begin

The trade is started manually by entering a LMT order in the DOM, at lets say 12500

When filled the trade starts

An automated S/L will start working that places the S/L at a point that is equivalent to a pre-defined maximum dollar amount. *** e.g. if 4 cars are on, and the maximum loss is set to $2K, the stoploss should be set to 40pips lower as the entry, and at a total of 4 cars. in this case at 12460***

The trade lasts as long as we have NOT gone flat

During the trade extra contracts may be put on manually. The S/L should adjust automatically the contract size and the placement (as the more contracts, the tighter the stop) *** e.g. 4 more cars are added 10 pips lower (12490), this should adjust the total S/L to 8 and move the stop up to 12475 ***

If contracts are pulled manually during the trade, ninjatrader should remember the P&L during this specific trade and adjust automatically the contract size and the placement of the S/L. *** e.g. 4 cars are pulled at 12495, this should adjust the total S/L to 4, and move the stop down to 12455 ***

When going flat manually the trade has ended and the S/L should be removed

When going flat automatically the S/L has kicked in ;-)


Is this possible to make?

Regards,

peter
Last edited by difdiffer; 11-11-2009 at 06:41 AM.
difdiffer is offline  
Reply With Quote
Old 11-11-2009, 06:47 AM   #2
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Hello difdiffer,

You can only define a stop loss as X amount of ticks, percentage and price behind your entry price in the SuperDOM properties menu. Right click in the SuperDOM and select 'Properties'. Set 'Parameter type' to Price.

Submit an additional entry order with the same ATM strategy selected.
Upon scaling out, ATM orders will be scaled out as well.

I am not sure regarding your last two sentences. If you close the position manually, ATM orders will be cancelled as well.

Why would you like a stop loss to trigger/kick in when you go flat?
In addition, more information regarding ATM strategies can be found at the link below.
http://www.ninjatrader-support.com/H...nStrategy.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-11-2009, 06:48 AM   #3
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Ok, my response was based on your initial response. I see you changed it.
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-11-2009, 06:50 AM   #4
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Unfortunately you cannot have the stop loss submitted as you like using an ATM strategy.

You would need to program a custom automated strategy, which would automate your entry order as well.
http://www.ninjatrader-support.com/H...dingLogic.html
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-11-2009, 06:56 AM   #5
difdiffer
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

So based upon my changed description, i gather the answer is simply no?

I would really like it to work as described, could you think about a work around, ar is the answer then still no? ;-)

mind you, automated entry is not what i am looking for, I manage the entries manually, I just need the Stop to adjust automatically.

regards,

Peter
difdiffer is offline  
Reply With Quote
Old 11-11-2009, 07:06 AM   #6
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Correct, this is not supported using an ATM strategy.

The only workaround would be a custom automated strategy, but it will automate the entry order as well.
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-11-2009, 07:11 AM   #7
difdiffer
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

In that case I would VERY much like to request this described feature in the new 7 version. Could you discuss this with the development team. As my former job has been IT project Manager, I would gladly help out and create the Functional Desciption Document for this request, so that it would take some workload of of your hands.

Regards.

Peter
difdiffer is offline  
Reply With Quote
Old 11-11-2009, 07:17 AM   #8
NinjaTrader_Jason
NinjaTrader Customer Service
 
NinjaTrader_Jason's Avatar
 
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,324
Thanks: 92
Thanked 354 times in 345 posts
Default

Hello Peter,

I will forward your suggestion to allow a stop loss to be defined as per a maximum dollar amount to our development team and ask them if they can add this to the list of future considerations for the software.
NinjaTrader_Jason is offline  
Reply With Quote
Old 11-11-2009, 07:30 AM   #9
difdiffer
Junior Member
 
Join Date: Aug 2009
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
Default

2 last things,


please be sure to let them know my brief desciption below, as it is quite different from just a StopLoss based on maximum dollar amount.

Also let them know that I am serious about creating a Functional Requirements Document. That should alleviate some of the workload as you can start programming based on a clear understanding of the functionality of the new function. Well, that's clear off course, I just mean to say that I am willing to invest time in this.

regards,

Peter
difdiffer is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop Loss based on Signal Bar jojab Strategy Analyzer 1 10-28-2009 09:34 AM
Stop Loss based on calculation 561timw General Programming 7 09-11-2009 02:21 PM
Stop loss in automated strategy raycam Strategy Development 4 08-14-2009 07:16 AM
Move Stop Loss Based On Last Candle r2kTrader Strategy Development 16 06-12-2009 07:25 AM
ATR based Stop Loss moon_rainz Strategy Development 2 07-17-2008 11:42 PM


All times are GMT -6. The time now is 02:05 AM.