Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PaintPriceMarkers for specific Plots

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

    PaintPriceMarkers for specific Plots

    Hello,
    I've 3 Moving Averages in my custom indicator, just wondering if there is a way to get price markers for only 1 MA & not all. Currently I can set price markers for all MA. Obvious way is to add it separately for now. Any help is appreciated, Thanks!

    #2
    Hello s.kinra,

    Price Markers are shown for all plots for an indicator when PaintPriceMarkers is set to true.
    https://ninjatrader.com/support/help...icemarkers.htm

    It would be necessary to split these into different indicators, and disable this for some indicators.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea B.,
      Thanks for confirmation, can you please guide me to add display name for plots, it takes the series name only. Adding <space> in Indicator dialog box is more user friendly, I would like to use "Moving Average" instead of "MA" or "MovingAverage" in the plot settings, Thanks!

      Comment


        #4
        Hello s.kinra,

        The string name parameter in the AddPlot() method does allow spaces as it is a string.

        AddPlot(Brushes.Blue, "My Plot Display Name");

        https://ninjatrader.com/support/help...t8/addplot.htm

        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello Chelsea B.,
          Keen to know how this works in Bollinger Plots as "Upper Band" / "Middle Band" / "Lower Band" , Thanks!
          Attached Files

          Comment


            #6
            Hello s.kinra,

            Make three additional copies of the Bollinger indicator. Remove the other two plots. Repeat with the other two copies so that each only has one plot.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Hello Chelsea B.,
              I guess its getting this done thru a script & I figured it out, yet to test it for my indicator. I'll give it a try this weekend invoking the same & would also try to add mine custom so I can use it in future as well. Thanks for your help.

              Comment


                #8
                Hello Chelsea B.,
                Just to update you I am able to add spaces to Plot Names as I intended, Thanks for help!

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Anthony_0709, Today, 10:03 PM
                0 responses
                3 views
                0 likes
                Last Post Anthony_0709  
                Started by morrnel, Today, 09:32 PM
                0 responses
                5 views
                0 likes
                Last Post morrnel
                by morrnel
                 
                Started by soon123, Today, 08:16 PM
                0 responses
                6 views
                0 likes
                Last Post soon123
                by soon123
                 
                Started by brownsfan019, Today, 07:56 PM
                0 responses
                5 views
                0 likes
                Last Post brownsfan019  
                Started by Grantx, 01-25-2017, 07:15 AM
                5 responses
                884 views
                0 likes
                Last Post NinjaTrader_EricB  
                Working...
                X