Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is using a dataseries the only way to get the price tag to show up?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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?

    #2
    TiggerTrader,

    Only indicator plots can have price markers. They're unfortunately not available with drawing objects.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      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


        #4
        They're not currently available for drawing objects, only indicator plots.

        They can be toggled on/ off with:


        More advanced customization is possible with:
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          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


            #6
            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


              #7
              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


                #8
                Sounds good, TiggerTrader. Good luck!
                Ryan M.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by TiggerTrader View Post
                  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?
                  You cannot directly plot a ray. Here is one way that you can go about what you want to do.
                  1. Use a DotStyle Plot. This will show as a PriceMarker, provided you have enabled it (default).
                  2. Draw a ray in the same position. (Remember we showed you how in another thread?)
                  3. 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 Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  334 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  101 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  554 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  551 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X