It all looks logical but I am not getting either plot.
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
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 sephichapdson, Today, 11:36 PM
|
0 responses
1 view
0 likes
|
Last Post Today, 11:36 PM | ||
Started by bortz, 11-06-2023, 08:04 AM
|
47 responses
1,612 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
9 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
19 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
6 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
Comment