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
Bars and Lines not Plotting
Collapse
X
-
Bars and Lines not Plotting
I have looked at example after example and cannot figure out why this code will not plot the bars or lines of the histogram. I can draw other lines, but cannot get that data to print. I've confirmed that I have data and that it is getting to the .Set command, but nothing appears on the screen. I appreciate any help...Tags: None
-
No errors are getting logged. The data that SHOULD be plotted shows up in the Data box. It shows up in the Print() statement right before the *.Set command that should plot the data. I did a lot of work last night to seperate some of the things I was doing to have a seperate indicator that writes to the Price Panel, etc. to hopefully make this simpler to debug... Has me totally stumped. I will have a look at Try/Catch, but since I am not throwing errors, does not seem like that will help. I may be wrong.
Comment
-
Hello,
Please try removing this:
Plots[0].Min = 0;
Plots[1].Min = 0;
Plots[2].Min = 0;
Plots[3].Min = 0;
Plots[4].Min = 0;
Plots[0].Max = 0;
Plots[1].Max = 0;
Plots[2].Max = 0;
Plots[3].Max = 0;
Plots[4].Max = 0;
Then remove the indicator and reattach it rather than reloading NinjaScript.Last edited by NinjaTrader_Ben; 10-09-2008, 09:18 AM.DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by catinabag, 04-13-2023, 05:46 AM
|
34 responses
1,457 views
0 likes
|
Last Post
by mcosta72
Today, 04:44 PM
|
||
Started by adeelshahzad, Today, 11:49 AM
|
6 responses
23 views
0 likes
|
Last Post
by mcosta72
Today, 04:35 PM
|
||
Started by sidlercom80, 05-05-2020, 07:20 AM
|
4 responses
304 views
0 likes
|
Last Post
by Bidder
Today, 04:35 PM
|
||
Started by andrew56, 11-21-2017, 11:57 AM
|
6 responses
954 views
0 likes
|
Last Post
by Bidder
Today, 04:34 PM
|
||
Indicator categories collapse, CategoryDefaultExpanded/CategoryExpanded has no effect
by Shai Samuel
Started by Shai Samuel, 08-09-2022, 04:41 AM
|
6 responses
184 views
1 like
|
Last Post
by Bidder
Today, 04:32 PM
|
Comment