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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
59 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
161 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
97 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
283 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment