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 cmtjoancolmenero, Yesterday, 03:58 PM
|
11 responses
39 views
0 likes
|
Last Post Today, 11:40 AM | ||
Started by FrazMann, Today, 11:21 AM
|
0 responses
3 views
0 likes
|
Last Post
by FrazMann
Today, 11:21 AM
|
||
Started by geddyisodin, Yesterday, 05:20 AM
|
8 responses
52 views
0 likes
|
Last Post Today, 10:45 AM | ||
Started by DayTradingDEMON, Today, 09:28 AM
|
4 responses
26 views
0 likes
|
Last Post Today, 10:47 AM | ||
Started by George21, Today, 10:07 AM
|
1 response
22 views
0 likes
|
Last Post Today, 10:43 AM |
Comment