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
Linebreak strategy
Collapse
X
-
Last edited by NinjaTrader_Jesse; 07-23-2020, 09:42 AM. Reason: updated to nt8 forum based on user commentJesseNinjaTrader Customer Service
-
Hello babouin77,
Thanks for the reply.
In that case you would need to either use a 3 line break chart and apply the strategy to that chart or you can use AddLineBreak to add a secondary series if you don't want the line break as the primary.
We don't have a full strategy already set up for adding line break as a secondary series, or any strategy sample that uses the custom AddDataSeries methods because these are more advanced topics. It would instead be expected that you first read the multi series documentation to learn how to use multi series scripts. The AddDataSeries methods all work the same so once you learn the multi series concepts that would apply to any of the methods like AddLineBreak. There are samples for each in the help guide but it would be expected that you need to make the script yourself if you wanted to use that sample. https://ninjatrader.com/support/help...lightsub=multi
For simplicity you can also just apply any strategy you create to a line break chart to make it use linebreak data and by doing that you do not need to use AddLineBreak.
JesseNinjaTrader Customer Service
Comment
-
Hello babouin77,
Correct, you just cannot add line break as a secondary series in the builder. You can still apply a builder strategy to any data series because you have to manually select that and configure it when you apply the strategy.
The data series for the strategy is either configured in the control center when you apply the strategy there or it would inherit the charts series if you apply it to the chart.
JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by adeelshahzad, Today, 11:49 AM
|
1 response
3 views
0 likes
|
Last Post Today, 11:56 AM | ||
Started by spottysallrite, Today, 11:31 AM
|
1 response
4 views
0 likes
|
Last Post Today, 11:43 AM | ||
Started by johnMoss, 03-04-2024, 01:53 PM
|
2 responses
31 views
0 likes
|
Last Post
by Overnhou
Today, 11:21 AM
|
||
Started by Padan, Today, 02:02 AM
|
5 responses
17 views
0 likes
|
Last Post Today, 11:14 AM | ||
Started by Lele2k24, Yesterday, 11:24 AM
|
8 responses
28 views
0 likes
|
Last Post
by Lele2k24
Today, 11:00 AM
|
Comment