Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Variable plot within chart?
Collapse
X
-
Too many possibilities. Please post some code.
You most likely have a bunch of errors referencing the missing Plot you just removed. You need to go through the code wherever you have Plot0.Set() or Plot0[0] (considering your plot was named Plot0) and replace it with your DataSeries name (myDataSeries.Set() or myDataSeries[0]).
-
I added the dataseries elements in "Variables" and "Initialize" and commented out the code in "Add(new plot...)" and "Properties", I got nothing but errors. Is there something I might have missed or must I redo the indicator without specifying those plots in the wizard?...
Leave a comment:
-
Doing so will remove the plot but maintain the variable for calculation purposes. If that is what you want then yes.
Leave a comment:
-
Thanks. So you mean I should setup a dataseries for that variable and then remove the "Add(new Plot...etc...)" stuff for that variable?
Leave a comment:
-
You can change the code of it to just be stored in a DataSeries instead of an actual plot. This way there will be nothing plotted for the variable.
Leave a comment:
-
Thanks but I need to remove it, when it plots it interferes with the display of the entire indicator...
Leave a comment:
-
Thank you. I'll have to take a look at that another time. Is there a way to quickly and easily simply remove that variable from being charted at all?
Leave a comment:
-
Hi Burga1:
Thank you for your post.
You will need to customize these indicators using NinjaScript in order to overlay them on the price bars.
The link to the following post can point you towards some indicators that others have already created to be overlayed on the price bars:
More information on developing customized indicators can be found here:
Best regards,
Leave a comment:
-
Variable plot within chart?
Greetings,
I have an indicator that is plotting a certain variable within the "bottom area" below the price chart. I'd like to have it plot instead within the price chart itself (just that particular variable) just above/below the price candlestick bars -- how is this accomplished? Thanks in advance.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by ybforex, 03-11-2025, 05:30 PM
|
12 responses
100 views
0 likes
|
Last Post
![]()
by rockmanx00
Today, 05:41 PM
|
||
Started by forgebench, Today, 02:22 PM
|
2 responses
9 views
0 likes
|
Last Post
![]()
by forgebench
Today, 04:20 PM
|
||
Started by MamaKB, 02-14-2025, 03:38 PM
|
10 responses
84 views
0 likes
|
Last Post
![]()
by Fertryd2
Today, 03:49 PM
|
||
Started by Irukandji, Today, 03:46 PM
|
0 responses
7 views
0 likes
|
Last Post
![]()
by Irukandji
Today, 03:46 PM
|
||
Started by HappyTrader76, Yesterday, 04:14 PM
|
8 responses
48 views
0 likes
|
Last Post
![]() |
Leave a comment: