How can I do that for a line I draw?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Is using a dataseries the only way to get the price tag to show up?
Collapse
X
-
Is using a dataseries the only way to get the price tag to show up?
Is using a dataseries the only way to get the price tag to show up on the right side of the chart?
How can I do that for a line I draw?Tags: None
-
Where can I learn how to use them? Any example suggestion?
I'd like to have them for my stop lines. Maybe a plot as a ray?Last edited by TiggerTrader; 06-23-2011, 01:12 PM.
Comment
-
Wow, this stuff is really frustrating without a DEBUG mode. I took an example indicator, KeltnerChannels, and added my DrawRay. Step by step I would add my stuff and remove stuff I don't need. SaveAs to a copy file frequently just in case. Refreshing it in my chart to see the results. Working just fine. Then a few more changes and BOOM error "Error on calling the 'OnBarUpdate' method for indicator 'KeltJPW' on bar 0: Index was outside the bounds of the array."
Go back to one of the saved versions and SaveAs to my orginal experiment name, recompile, remove and add back into the chart, and still error! How can the saved and reconstituted version still be messed up?
GRRRRRRRRRRRRRRRRRRRR!!!!!!!
Comment
-
Sorry to hear you're frustrated. It may be worthwhile to take a step back and go through these introductory tutorials:
Take things step by step and only add additional complexity once you've verified each step works the way you expect.
This post can help use the built in debugging tools and processes.
You can hook NinjaTrader to the full version (not express) of visual studio if you want more advanced debugging:
Ryan M.NinjaTrader Customer Service
Comment
-
Thanks for the info. I've start over from scratch with a "New Indicator". So far I'm on the right track. I think I will have it by end of day.
Comment
-
You cannot directly plot a ray. Here is one way that you can go about what you want to do.Originally posted by TiggerTrader View PostWhere can I learn how to use them? Any example suggestion?
I'd like to have them for my stop lines. Maybe a plot as a ray?
- Use a DotStyle Plot. This will show as a PriceMarker, provided you have enabled it (default).
- Draw a ray in the same position. (Remember we showed you how in another thread?
) - Reset the Plot at the open of the next bar, so that you do not leave a trail of dots on the chart.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 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
554 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