Also can someone direct me how I can setup a strategy so that if I have 4 targets and first is hit and then stop moves to break even, then second target is hit and stop moves to area where first target was, third target is hit and stop moves up to 3 target and then stop turns to a trailing stop moving up .01 for every .05 that price moves. This is for stocks not futures.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Break even stop
Collapse
X
-
Break even stop
Is there any way to add a break even stop button or a hot key when using the chart trader? I know the ATM has ways to move the stop but I need a way where I can just quickly hit a button press a key stroke to move to break even. I don't want to have to drag a stop on the SuperDOM but at the same time I need discretion to choose when to go to breakeven vs have the ATM do it automatically.
Also can someone direct me how I can setup a strategy so that if I have 4 targets and first is hit and then stop moves to break even, then second target is hit and stop moves to area where first target was, third target is hit and stop moves up to 3 target and then stop turns to a trailing stop moving up .01 for every .05 that price moves. This is for stocks not futures.Last edited by dr0832; 01-04-2019, 10:39 AM.Tags: None
-
There is no hotkey that will automatically move the stop loss to breakeven, however, you could configure your ATM strategy that has a stop strategy which would move your stop loss to breakeven automatically. Here is a link with more information about stop strategies:
https://ninjatrader.com/support/help..._breakeven.htm
Please clarify - are you trading 4 total contracts/quantity in this ATM strategy? Also, when you refer to .01 and .05, are these tick values or literal price of the instrument you're trading?
-
This may be possible via an add-on with a custom button, but a hotkey like you desire would not be possible via NinjaScript. I have submitted this as a feature request to the Development Team. The internal tracking number for your feature request is SFT-2386. Please reference this internal tracking number if you ever have questions regarding this feature request.
When a feature request is implemented, you'll find it in the release notes:
When an instrument trades in .01 increments, ticks and price would be synonymous. 1 tick = .01 in price movement. I would recommend programming your ATM strategy in ticks.
First, you would need to add 3 additional targets so you have access to 4 total targets. You didn't provide me with what these 4 targets profit target would actually be, so I just filled in generic values for them. You may adjust all of these values to fit your specific needs:
You would then need to create a stop strategy to apply to targets 2-4. This stop strategy will first have a breakeven of 10-0 which will move all stop loss orders to breakeven after 10 ticks of profit is reached (this is also when target 1 is filling). Then, we move to the auto trail section where we configure three steps- Step 1 = 10-20-999 - this causes all stop losses to move 10 ticks behind the last traded price after 20 ticks of profit (where target 1 was filled)
- Step 2 = 10- 30-999 - this causes all remaining stop losses to again move 10 ticks behind the last traded price after 30 ticks of profit (where target 2 was filled)
- Step 3 = 10-30-5 - this will cause the remaining stop loss to update to remain 10 ticks behind the last traded price for every additional 5 ticks of profit. (unfortunately, it's not possible at this point to configure the auto trail to move 1 tick closer for every 5 ticks in this scenario)
I would highly suggest that you watch our publicly available ATM YouTube and Help Guide videos to learn more about stop strategies:
https://ninjatrader.com/support/help...mentStrategiesLast edited by NinjaTrader_PatrickG; 01-04-2019, 04:38 PM.
Comment
-
This would not be possible using ATM strategies, but would be possible via custom programming of an automated NinjaScript strategy. If you'd like more information about how to program a NinjaScript strategy, or to find out more about third-party strategies with this functionality, please start a new thread in the NinjaScript sub-forums or contact us via email at PlatformSupport[AT]NinjaTrader{DOT]com
Comment
-
I actually ended up creating my own indicator which has a break even stop button for the chart trader along with some buttons to sale 1/4, 1/3 or 1/2 of your position at the bid or ask in one click without setting the quantity. If anyone is interested you can read about it here.Last edited by dr0832; 06-17-2019, 07:33 PM.
- Likes 1
Comment
-
Prior responses say there is no Breakeven hotkey, but there is. See Tools > Hotkeys > Categories - Order Entry > Breakeven position. That hotkey moves the stop to the position entry price. An improvement to that hotkey would be an additional +/- Ticks configuration setting so the stop moves to Breakeven +/- #-ticks, but as-is that hotkey does move the stop to near where you want it. After that, you have to manually adjust to actual breakeven (with commission and slippage).
Comment
-
Thanks for pointing that out, Lancer.
I have submitted this as a feature request to the Development Team. The internal tracking number for your feature request is SFT-4072. Please reference this internal tracking number if you ever have questions regarding this feature request.
When a feature request is implemented, you'll find it in the release notes:
Last edited by NinjaTrader_PatrickG; 06-19-2019, 01:56 PM.
- Likes 1
Comment
-
For those that have asked yes the Traders Edge Now add-on moves the stop loss to breakeven plus allows to set an amount to offset the commission, such as breakeven+2 ticks. It's working really well in live trading since February in Ninjatrader 8.
Originally posted by dr0832 View PostI actually ended up creating my own indicator which has a break even stop button for the chart trader along with some buttons to sale 1/4, 1/3 or 1/2 of your position at the bid or ask in one click without setting the quantity. If anyone is interested you can read about it here.Last edited by dr0832; 08-26-2019, 01:31 PM.
Comment
-
If you have some c# acumen a button like this can be added to either superdom or chart trader. The links below give some background on adding the buttons.
The code below is an example of changing stop orders for a position to breakeven. FYI... Commented out in the code is how to change the stop price.
Good coding/trading.
Code:private void StopsToBreakeven() { Account Acct = Account.All.FirstOrDefault(x => x.Name == "Sim101"); Position thisPosition=Acct.Positions.FirstOrDefault(x => x.Instrument.FullName==xSDControl.Instrument.FullName) ; foreach (Order order in Acct.Orders) { if(order.OrderType==OrderType.StopMarket || order.OrderType==OrderType.StopLimit) { if(order.OrderState != OrderState.Cancelled & order.OrderState != OrderState.Filled) { //Order stopOrder=order; //stopOrder.StopPriceChanged = order.StopPrice - 4 * order.Instrument.MasterInstrument.TickSize; //Acct.Change(new[] { stopOrder }); if (order.Name=="Stop1") { thisPosition.BreakEven(new[] { order } ) ; } } } } }
Comment
-
Originally posted by dr0832 View PostI actually ended up creating my own indicator which has a break even stop button for the chart trader along with some buttons to sale 1/4, 1/3 or 1/2 of your position at the bid or ask in one click without setting the quantity. If anyone is interested you can read about it here.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 11:49 AM
|
4 responses
14 views
0 likes
|
Last Post
by mcosta72
Today, 01:21 PM
|
||
Started by spottysallrite, Today, 11:31 AM
|
5 responses
12 views
0 likes
|
Last Post Today, 01:20 PM | ||
Started by yaniv, Today, 12:50 PM
|
1 response
2 views
0 likes
|
Last Post Today, 01:15 PM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
10 responses
32 views
0 likes
|
Last Post Today, 01:04 PM | ||
Started by Padan, Today, 02:02 AM
|
7 responses
19 views
0 likes
|
Last Post Today, 12:59 PM |
Comment