Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Trailing stops not working
Collapse
X
-
Trailing stops not working
Trailing stops not operating when strategy is enabled on live tape. please advise.1 Photo -
Hello hdge4u,
Thank you for your post.
I see in the image you shared that you are using SetStopLoss() and SetTrailStop(). The SetStopLoss() method can NOT be used concurrently with the SetTrailStop() or SetParabolicStop() method for the same position, if any methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. This is seen in the Notes section of the help guide link below.
SetStopLoss() - https://ninjatrader.com/support/help...etstoploss.htm
Please let us know if we may assist further.Brandon H.NinjaTrader Customer Service
-
Hello hdge4u,
Thank you for your notes.
SetTrailStop() with a value of 20 with places the stop loss order 20 ticks from the entry price and will trail for each tick in your favor. For example, if you are long and the price moves 1 tick in your favor, the trailing stop will move up 1 tick.
See the SetTrailStop() help guide documentation linked below for more information.
SetTrailStop() - https://ninjatrader.com/support/help...ttrailstop.htm
Please let us know if we may assist further.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
4 responses
11 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
57 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
9 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
47 views
0 likes
|
Last Post Today, 02:36 PM |
Comment