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
How do you set Strategy builder to scale out at profit targets?
Collapse
X
-
How do you set Strategy builder to scale out at profit targets?
How do I set up Strategy builder to scale out of a 3 contract order? Say close 1 @ 5 ticks, close 1 @ 15 ticks and trail 1 at 25 ticks? Do you have a video somewhere showing ows to set this up with SBuilder?
Tags: None
-
Hello mrlucky1x,
This would be done by having 3 entry orders with 3 different signal names, and 3 different exit orders or stop losses each tied to the from entry signal of one of the entries.
The Strategy Builder 301 course discusses signal names but doesn't demonstrate creating a strategy that utilizes multiple signal names.
Below is a public link.
There is however a reference sample on scaling out of a position in the help guide.
Chelsea B.NinjaTrader Customer Service
-
Hello mrlucky1x,
The Strategy Builder 301 course reviews all properties and options in the Strategy Builder. It is not meant to teach logic. It does show how signal names and from entry signals work at 52 minutes 40 seconds.
Are you finding the SampleScaleOut_NT8 reference sample I have provided a link to is not providing an adequate example of scaling out of a position?Chelsea B.NinjaTrader Customer Service
Comment
-
Hello mrlucky1x,
No, the reference samples in the help guide do not open with the strategy builder. These are code samples that include custom comments and open in the NinjaScript Editor.
New > NinjaScript Editor > in the explorer pane on the right double click to expand the Strategies folder > double click to open SampleScaleOut.Chelsea B.NinjaTrader Customer Service
Comment
-
Hello Community,
This is a commonly requested example for the Strategy Builder so I've made a similar script still locked for editing with the strategy builder.
ScaleOutBuilderExample_NT8.zip
ScaleOutStopLimitExitOrdersBuilderExample_NT8.zipAttached FilesLast edited by NinjaTrader_ChelseaB; 10-31-2022, 12:09 PM.Chelsea B.NinjaTrader Customer Service
- Likes 3
Comment
-
Hello JTizz,
ChartTrader will only show the orders for the account selected in the Account drop-down.
The ChartTrader Account and the NinjaScript Strategy Account need to match.
Please provide screenshots of both if you would like me to confirm you have these set to the same selection.Chelsea B.NinjaTrader Customer Service
Comment
-
I am running a strategy and the bars on the chart have been freezing. The profit and loss keeps going but the candles on the chart stop printing. If I turn off the strategy and turn it back on its ok but its a problem doing this in the middle of a trade. Any suggestions?
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Johndc, Today, 04:39 AM
|
0 responses
2 views
0 likes
|
Last Post
by Johndc
Today, 04:39 AM
|
||
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
8 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
5 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
5 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
Comment