When I put that indicator inside another indicator and load it, the lines are not showing up. Is there some setting that makes this work?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw.line on indicator inside an indicator. Lines not showing up
Collapse
X
-
Draw.line on indicator inside an indicator. Lines not showing up
I have an indicator that draws lines via Draw.Line. If I put that indicator on a chart, the lines work great.
When I put that indicator inside another indicator and load it, the lines are not showing up. Is there some setting that makes this work?Tags: None
-
Hello ErikY,
That would be expected in that use case, the indicator is being used only to get its data when its hosted by another script. It won't display anything on the chart in that situation. You would have to include the indicators logic which draws inside the parent indicator so that it can display on the chart.
-
Or...just add the original indicator to your chart.Originally posted by ErikY View PostOK, understand. I was hoping there was some setting that would allow me to use the sub indicators drawing in the parent indicator, but thats fine. I will re-write the code in the parent indicator to replicate the drawings. Thanks
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
87 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
47 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
105 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
63 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment