Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is it possible to plot in two windows from same script?
Collapse
X
-
Hello,
Thank you for the question,
An Indicator can only plot to a single panel, this means that the actual Plot's will all be in one panel. You can Plot to a panel and then place DrawingObjects on the main chart panel so technically one indicator can draw in two panels in that sense but the Plots or lines would all be in the same panel.
For this you would either need to use two separate indicators to be easy.
If you need a single script to plot in multiple panels you would still need to use two indicators but you can use the StrategyPlot example which would allow you to control the indicators through a strategy and plot in multiple panels of your choice.
When running a strategy on a chart you may find the need to plot values onto a chart. If these values are internal strategy calculations that are difficult to migrate to an indicator, you can use the following technique to achieve a plot. NinjaTrader 8 With NinjaTrader 8 we introduced strategy plots which provide the ability
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
151 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
303 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
345 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
175 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
Comment