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

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.


    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");



        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 EB Worx, 04-04-2023, 02:34 AM
                7 responses
                161 views
                0 likes
                Last Post VFI26
                by VFI26
                 
                Started by Mizzouman1, Today, 07:35 AM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by Radano, 06-10-2021, 01:40 AM
                20 responses
                616 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by i019945nj, 12-14-2023, 06:41 AM
                6 responses
                68 views
                0 likes
                Last Post i019945nj  
                Started by aa731, Today, 02:54 AM
                1 response
                8 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Working...
                X