Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.

    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.

        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

          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.

              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.

                  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.

                        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.

                          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

                            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!
                              Multi-Dimensional Managed Trading
                              jeronymite
                              NinjaTrader Ecosystem Vendor - Mizpah Software

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by TraderBCL, Today, 04:38 AM
                              2 responses
                              6 views
                              0 likes
                              Last Post TraderBCL  
                              Started by martin70, 03-24-2023, 04:58 AM
                              14 responses
                              105 views
                              0 likes
                              Last Post martin70  
                              Started by Radano, 06-10-2021, 01:40 AM
                              19 responses
                              606 views
                              0 likes
                              Last Post Radano
                              by Radano
                               
                              Started by KenneGaray, Today, 03:48 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post KenneGaray  
                              Started by thanajo, 05-04-2021, 02:11 AM
                              4 responses
                              471 views
                              0 likes
                              Last Post tradingnasdaqprueba  
                              Working...
                              X