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
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
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.
JesseNinjaTrader Customer Service
-
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 sidlercom80, 10-28-2023, 08:49 AM
|
177 responses
2,400 views
0 likes
|
Last Post
by jeronymite
Today, 06:43 PM
|
||
Started by algospoke, Today, 06:36 PM
|
0 responses
6 views
0 likes
|
Last Post
by algospoke
Today, 06:36 PM
|
||
Started by ETFVoyageur, Yesterday, 06:05 PM
|
8 responses
53 views
0 likes
|
Last Post
by ETFVoyageur
Today, 06:35 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
7 responses
69 views
0 likes
|
Last Post Today, 06:31 PM | ||
Workspaces
by pibrew
Started by pibrew, Today, 06:10 PM
|
0 responses
13 views
0 likes
|
Last Post
by pibrew
Today, 06:10 PM
|
Comment