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 sjsj2732, Yesterday, 04:31 AM
|
0 responses
38 views
0 likes
|
Last Post
by sjsj2732
Yesterday, 04:31 AM
|
||
|
Started by NullPointStrategies, 03-13-2026, 05:17 AM
|
0 responses
287 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
288 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
134 views
1 like
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
95 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
Comment