Now before you say, "Why don't you just create an indicator and use the AddChartIndicator()". That is exacly what I am trying to steer away from. Because I am troubleshooting my strategy's triggering of trades because it seems like the values and or the execution of the indicators when I call them is different then what I am expecting. I essentially want to re-create the indicator from within my strategy and compare the values. Hence why I want to plot from within the strategy to a new price panel, to compare it with the indicators I call.
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
Adding Plots to a New Panel in a Strategy
Collapse
X
-
Adding Plots to a New Panel in a Strategy
How do you add plots to a strategy to be displayed in a new panel? I know it is possible to have new panels created when you use AddChartIndicator() but I do not see how to do it with AddPlot().
Now before you say, "Why don't you just create an indicator and use the AddChartIndicator()". That is exacly what I am trying to steer away from. Because I am troubleshooting my strategy's triggering of trades because it seems like the values and or the execution of the indicators when I call them is different then what I am expecting. I essentially want to re-create the indicator from within my strategy and compare the values. Hence why I want to plot from within the strategy to a new price panel, to compare it with the indicators I call.Tags: None
-
Hello cutzpr,
Strategies do not have plots. This is something inherent to indicators not strategies.
You can calculate values and then set the plot value of an indicator.
An indicator can only have all of its plots in one panel.
To have the indicator be added to a new panel when adding a new instance of the indicator, set IsOverlay to true.
Below is a public link to the help guide.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cre8able, Today, 01:16 PM
|
1 response
3 views
0 likes
|
Last Post Today, 01:30 PM | ||
Started by chbruno, 04-24-2024, 04:10 PM
|
3 responses
47 views
0 likes
|
Last Post Today, 01:29 PM | ||
Started by samish18, Today, 01:01 PM
|
1 response
6 views
0 likes
|
Last Post Today, 01:25 PM | ||
Started by WHICKED, Today, 12:56 PM
|
1 response
8 views
0 likes
|
Last Post Today, 01:17 PM | ||
Started by WHICKED, Today, 12:45 PM
|
1 response
11 views
0 likes
|
Last Post Today, 01:08 PM |
Comment