Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
plot
Collapse
X
-
plot
Can you please help me with the compile error in the attached. May be I do not know how to correctly use plot. The objective is to set plots conditionally like when true plot = 1 and when false plot = 0.Tags: None
-
Hello,
Try double clicking the error and it might bring you to an area that is related to the error. I would also look in the Properties section of your code. I looked at it quickly and didn't see any thing that stuck out.
For changing plots this link may or may not help:
I did notice that you have overlay set to true yet you are plotting a value of "1" or "0" which likely won't be on your chart:
To test it try plotting Close[0] to see if it will plot at all.DenNinjaTrader Customer Service
-
I have double clicked, gone to msdn site and the code makes no sense to me. You can help.
It plots correctly
I am trying to get the indicator in the market analyzer and set alert on it in the market analyzer. Please help
Comment
-
Comment
-
Hello,
So it is the error that you are having issues with right? It looks like you are going about it correctly from what I see. The error may be in your properties section. Try clicking on the grey "+" in a little box next to the word Properties and look for a little red underlined section. You also may be best off posting all of your code, including the properties part. (Not a screen shot.) I don't see anything wrong so far.DenNinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 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
549 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
549 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment