• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add price markers to y-axis

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

    Add price markers to y-axis

    Is it possible to somehow make my custom indicator add price markers to the chart panel's y-axis?

    The indicator is custom-rendering and does not add any standard plots. All the same, I'd like to be able to make some price markers appear on the y-axis.

    Thank you

    #2
    Hello bboyle1234,

    Thank you for your post.

    The Pivots indicators uses custom plotting in OnRender as well and adds plots for the Price Markers as well. Essentially this is the only way to get the Price Markers in NinjaScript.

    Please let me know if you have any questions.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Is there any consideration being made to enable rendering a custom price marker on the 7-axis without adding a plot? If not, please consider this an enhancement request.

      Comment


        #4
        Hello CriticalTrader,

        Thank you for your post.

        I will forward your request to development.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          Hello CriticalTrader,

          Thank you for your patience.

          This feature was assigned the ID of SFT-1228.

          You can see a "work around" attached here as well.
          Attached Files
          Patrick H.NinjaTrader Customer Service

          Comment


            #6
            Price Markers without need for Plot

            Hi, I'm wondering if there's any plans to address this feature in the near term, the workaround unfortunately has some setbacks in terms of you have to pre-allocate an arbitrary number of plots (wasting memory) for as many price markers as you may need in the future.

            If we could add arbitrary price markers either to the IndicatorRenderBase, StrategyRenderBase or even DrawingTool classes that would go a long way to help us!

            Thanks for considering,

            Jeremy
            SharkIndicators
            Jeremytang
            NinjaTrader Ecosystem Vendor - Shark Indicators

            Comment


              #7
              Thank you, Jeremytang.

              Your vote for this feature has been sent to development.
              Patrick H.NinjaTrader Customer Service

              Comment


                #8
                Another vote for this NinjaScript

                Count my vote for this! Thanks

                Comment


                  #9
                  Thank you, zacharydw00.

                  Your vote for this feature has been sent to development.
                  Patrick H.NinjaTrader Customer Service

                  Comment


                    #10
                    I want to add that not having price markers directly supported also makes writing interactive tools that need a price marker to update on mouse move impossible; any insight as to whether this is being looked at would be appreciated.
                    Jeremytang
                    NinjaTrader Ecosystem Vendor - Shark Indicators

                    Comment


                      #11
                      Please Cast Another Vote

                      We are able to do this, now, in NinjaTrader 7, but the NinjaTrader 8 workaround does not work for us.

                      Comment


                        #12
                        Hello Jeremytang,

                        Thank you for your post.

                        There is no update on the feature request at this time.
                        Patrick H.NinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by TradeThePlan View Post
                          We are able to do this, now, in NinjaTrader 7, but the NinjaTrader 8 workaround does not work for us.
                          Hello TradeThePlan,

                          Thank you for your post.

                          Can you detail the NinjaTrader 8 work around that is not working? Are you referring to the use of OnRender?

                          I look forward to your response.
                          Patrick H.NinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by NinjaTrader_PatrickH View Post
                            Hello TradeThePlan,

                            Thank you for your post.

                            Can you detail the NinjaTrader 8 work around that is not working? Are you referring to the use of OnRender?

                            I look forward to your response.
                            If you refer to the sample I provided (attached here again) then you need to set the 'Dummy[0]' to a price level relevant to your instrument.
                            Attached Files
                            Patrick H.NinjaTrader Customer Service

                            Comment


                              #15
                              Feature Enhancement: Price Markers via Transparent PlotStyle

                              Wouldn't the simplest, cleanest and most easily supported way to do this be to simply add an extra PlotStyle of "Transparent" (or "Invisible" or "Empty" or "None" or whatever)?

                              Because a plot adds a Price Marker, making the actual plot (not the added Price Marker) "invisible" should achieve all requirements, I believe. This results in a very simple way to generate what appears to be just a Price Marker.

                              It also has the immediate added benefit of making it possible to program settable options for the display or not of a plot associated with a Price Marker by choosing the visible style or Transparent. And, of course, one could very easily generate as many "Price Markers" as one wanted wherever one wanted!

                              If you agree, please make this an enhancement request.

                              Thanks!

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by StevenNelson, Today, 03:05 PM
                              0 responses
                              4 views
                              0 likes
                              Last Post StevenNelson  
                              Started by Benjaminf, Today, 02:21 PM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_Kate  
                              Started by grayfrog, 05-24-2020, 09:29 PM
                              5 responses
                              32 views
                              0 likes
                              Last Post NinjaTrader_RyanS  
                              Started by chrismcdermut, Today, 01:46 PM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_Kate  
                              Started by dpolyakov, Today, 01:13 PM
                              3 responses
                              14 views
                              0 likes
                              Last Post dpolyakov  
                              Working...
                              X