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 Yasharandom, Today, 07:45 AM
|
0 responses
4 views
0 likes
|
Last Post
by Yasharandom
Today, 07:45 AM
|
||
Started by llanqui, Yesterday, 09:59 AM
|
4 responses
24 views
0 likes
|
Last Post
by llanqui
Today, 07:22 AM
|
||
Started by smartromain, 03-13-2024, 01:42 AM
|
5 responses
95 views
0 likes
|
Last Post
by AndreiBig
Today, 06:08 AM
|
||
Started by Noerclou, Today, 04:55 AM
|
0 responses
5 views
0 likes
|
Last Post
by Noerclou
Today, 04:55 AM
|
||
Started by ThoriSten, Today, 03:56 AM
|
0 responses
6 views
0 likes
|
Last Post
by ThoriSten
Today, 03:56 AM
|
Comment