DaveN
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SetStopLimit interferes with first profit targets
Collapse
X
-
SetStopLimit interferes with first profit targets
I have a three contract strategy written in NinjaScript which takes off two contracts at a fixed profit level (4-10 tics set when strategy is placed on chart) and lets a third contract run until a negative crossover occurs. It also moves the stop to BE after the first two contracts are taken off, and trails up (for long) based on whichever is higher, the breakeven, or the low of the last bar. When I add a SetStopLoss command to protect the position when it first is entered, my first profit limit order stops working. I'm also getting problems with the stop being set above the market in the case of a short or below in the case of a long. Why does the stop interfere with my first profit target, and is there an alternative way of protecting the positon with a fixed stop until I get past my first profit target? This is easy to do using an ATM strategy, but essentially not backtestable once that tack is taken.
DaveNTags: None
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
77 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
45 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
27 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
62 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment