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
Stop Limit Order Entry
Collapse
X
-
Stop Limit Order Entry
After about five days of experimenting I have finally have a script that identifies my signal bars. But for the life of me I am not able to get a stop limit entry one tic above/below the Hi/Lo of the signal bar. I have not found "Current Price" greater/less than, so am at a loss. May I have some guidance please. Thanks RickR . . . Sorry I forgot I want a Target of 10 Tics and a Stop of 12 TicksLast edited by rickr; 10-15-2020, 01:35 PM.Tags: None
-
Hello rickr, thanks for writing in.
A Buy Stop Limit order one tick above the high with no stop price would be written as: EnterLongStopLimit(High[0] + TickSize, High[0] + TickSize);
Is the order you are submitting getting rejected or ignored? If so always make sure you check the requested order price level is at a legal price level before submitting it. Buy Stop Limit orders must be above market price and Sell Stop Limits must be below market price. You can check the latest updated close price by referencing the Close[0] index.
Please let me know if I can assist any further.
Chris L.NinjaTrader Customer Service
-
Sorry Chris, I failed to tell you I am using Strategy Builder as I am not a coder. I have attached pics of the script written which ID's my SignalBars. Not sure if I need additional condition like "CurrentPriceOneTickAboveCloseOneBarAgo" or just an "Action" line to enter orders. Additionally I need Target/Stop Orders entered'
Thx, Rick
.Last edited by rickr; 10-16-2020, 05:39 AM.
Comment
-
Hello rickr, thanks for your reply.
I am not sure about what is not working. Are you unable to submit the order at the desired price level? I would need to see what you are attempting and what is not working.
Protective orders can be set up through the Stops and Targets page of the builder.
We have multiple examples on making conditions on this help guide section:
Here are also instructions on performing your entry order:
Best regards.
Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by helpwanted, Today, 03:06 AM
|
1 response
7 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
7 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by aussugardefender, Today, 01:07 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 01:07 AM | ||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
242 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
||
Started by TraderG23, 12-08-2023, 07:56 AM
|
9 responses
385 views
1 like
|
Last Post
by Gavini
Today, 12:29 AM
|
Comment