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
Place a sell order -5 ticks from market price.
Collapse
X
-
Place a sell order -5 ticks from market price.
I have written a strategy. I need when the criteria are met to place an order on a pullback. For example, I would like to place a sell order -5 ticks from market price.
Tags: None
-
Hello Nightmaregpu,
Thank you for your post.
To place a sell order 5 ticks below a certain price value using the Strategy Builder, you would need to use an Action of EnterShortLimit() instead of EnterShort() followed by setting the Limit price to something like Close[0] with a -5 Tick offset.
See the modified version of your shared strategy that demonstrates this.
Also, see the help guide documentation below for more information.
Strategy Builder Actions - https://ninjatrader.com/support/help...MarketPosition
Please let us know if we may assist further.Attached FilesBrandon H.NinjaTrader Customer Service
-
Comment
-
Hello Nightmaregpu,
Thank you for your note.
If you would like to place the sell limit order 10 ticks above the close, you would need to set the EnterShortLimit() offset to 10 ticks instead of -10 ticks. When testing the strategy on my end using a 10 tick offset for EnterShortLimit(), I am seeing the sell limit order being placed 10 ticks above the close of a bar as expected. This could be seen by opening a Data Box from the Chart Toolbar and hovering your mouse over the bar that the order was placed, then comparing the Close price to the Sell Limit order price.
Please let us know if we may assist further.Brandon H.NinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
34 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
2 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
214 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
||
Started by TheWhiteDragon, 01-21-2019, 12:44 PM
|
4 responses
544 views
0 likes
|
Last Post
by PaulMohn
Today, 04:09 AM
|
||
Started by GLFX005, Today, 03:23 AM
|
0 responses
3 views
0 likes
|
Last Post
by GLFX005
Today, 03:23 AM
|
Comment