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
Strategy Builder
Collapse
X
-
Hello JTizz,
This could be due to violating the internal order handling rules.
Use prints and TraceOrders to understand the behavior.
Are all of the values used in the condition allowing the condition to evaluate as true?
I am happy to assist with analyzing the output from prints.Chelsea B.NinjaTrader Customer Service
-
Hello JTizz,
Have you followed the videos in the post I have linked?
Are you following the steps to add prints in the strategy builder from the video?
You would need to save the output from the prints in the output window to a text file and then post the text file with your reply.Chelsea B.NinjaTrader Customer Service
Comment
-
Hello JTizz,
Understanding how to use prints is very valuable for understanding behavior.
Watch the video that adds prints using the Strategy Builder several times.
Start with a simple print that prints the time of the bar.
What are the values in the condition that leads to the order action?Chelsea B.NinjaTrader Customer Service
Comment
-
Hello JTizz,
Below is a link to the SampleScaleOut reference sample in the help guide.
https://ninjatrader.com/support/help...a_position.htm
As well as a link to an example I have created that is locked in the Strategy Builder.
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
Please let me know if you continue using prints to understand the behavior of your strategy. I am happy to assist with analyzing the output.Chelsea B.NinjaTrader Customer Service
Comment
-
Hello JTizz,
Thanks for your replies.
Regarding, "I have 3 strategys running on separate sim accounts but the profit and loss doesn't show in the assigned sim account it shows on the main sim account all combined. How do I get the P$L to show in each sim account the strategy is assigned too?" Please post a screenshot of your Strategies tab that shows the three strategies and their assigned accounts and also a screenshot of your account gtab that shows all three accounts.
Regarding, "When a strategy is running in an assigned sim account the profit or loss is not showing in the chart trader?" Is the chart trader connect to the same sim account?
Regarding, "Can you provide any info on how to attach a trailing stop to an indicator in a strategy in strategy builder?" In the Strategy Builder, in a set you could check to ensure that you are in a position, and if so you can place an exit stop limit type order at the value of the indicator.
Paul H.NinjaTrader Customer Service
Comment
-
Hello JTizz,
To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:- Click Tools -> Export -> NinjaScript...
- Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
- Click the 'Export' button
- Enter a unique name for the file in the value for 'File name:'
- Choose a save location -> click Save
- Click OK to clear the export location message
- (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by inanazsocial, Today, 01:15 AM
|
0 responses
2 views
0 likes
|
Last Post
by inanazsocial
Today, 01:15 AM
|
||
Started by trilliantrader, 04-18-2024, 08:16 AM
|
5 responses
22 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by Davidtowleii, Today, 12:15 AM
|
0 responses
3 views
0 likes
|
Last Post
by Davidtowleii
Today, 12:15 AM
|
||
Started by guillembm, Yesterday, 11:25 AM
|
2 responses
9 views
0 likes
|
Last Post
by guillembm
Yesterday, 11:58 PM
|
||
Started by junkone, 04-21-2024, 07:17 AM
|
9 responses
71 views
0 likes
|
Last Post
by jeronymite
Yesterday, 11:51 PM
|
Comment