It all looks logical but I am not getting either plot.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
No Plot but it compiles?
Collapse
X
-
First step when things don't plot is to check the errors log. You are likely running into the error addressed by this article: http://www.ninjatrader-support.com/v...ead.php?t=3170Josh P.NinjaTrader Customer Service
-
How do I get the value of a line?
In easylanguage I can change the color of a plot quite simply but how do I do it in NinjaScript.
At the mmoment I am trying to use two plots to cope with a condition.
This is my current effort. Which doesn't work ( the commented out section)Attached Files
Comment
-
Mindset,
We would appreciate it if you posted new questions in a new thread. This way we can help build up a knowledge base that other users can search through more easily.
To check against a plot you need to use the indexing. Your plot is named Value. To check its values you would do Value[0] for the value at the current bar of the FIRST DataSeries plot in your indicator. Please see the Help Guide for Value to better understand how it is used. You will also have difficulty with your code because EMA is a reserved word taken by another indicator. You cannot name your DataSeries EMA.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|


Comment