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
Not plotting right color.
Collapse
X
-
Hello KennyK,
A barsAgo number would also need to selected with the plot selection.
Values[plot index][barsAgo index]
https://ninjatrader.com/support/help...-us/values.htm
Print(Values[3][0]);
Last edited by NinjaTrader_ChelseaB; 03-27-2019, 09:02 AM.
-
Leave a comment:
-
Hi Chelsea,
I wrote the script in the OnBarUpdate() section as follows: Print (Values[3]); I tried it with 0,1,2 as well but nothing appeared in the output window.
What am I doing wrong?
Ken.
Leave a comment:
-
Hello KennyK,
The plot that is gold is Values[3].
AddPlot(new Stroke(Brushes.Gold, 2), PlotStyle.Bar, "ColorLine");
Are the other plot values being set?
If Values[3] is not set do you see the other plots? (Meaning are they behind the gold plot?)
If you print the value for the other plots what are the values of these? (i.e. Values[0], Values[1], Values[2])
Leave a comment:
-
Not plotting right color.
Hi,
I have converted the attached indicator over from NT7 to NT8. It is only plotting in the color Gold, but should be also plotting in the other colors.
I cannot see what the problem is, would you please take a look and advise me on what the issueAttached FilesTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by rocketman7, Today, 09:41 AM
|
2 responses
5 views
0 likes
|
Last Post
by rocketman7
Today, 09:52 AM
|
||
Started by traderqz, Today, 09:44 AM
|
1 response
4 views
0 likes
|
Last Post
by traderqz
Today, 09:48 AM
|
||
Started by rocketman7, Today, 02:12 AM
|
7 responses
31 views
0 likes
|
Last Post Today, 09:23 AM | ||
Started by guillembm, Yesterday, 11:25 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 09:11 AM | ||
Started by junkone, 04-21-2024, 07:17 AM
|
10 responses
150 views
0 likes
|
Last Post Today, 09:03 AM |
Leave a comment: