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 ScottWalsh, Today, 06:52 PM
                4 responses
                32 views
                0 likes
                Last Post ScottWalsh  
                Started by olisav57, Today, 07:39 PM
                0 responses
                4 views
                0 likes
                Last Post olisav57  
                Started by trilliantrader, Today, 03:01 PM
                2 responses
                19 views
                0 likes
                Last Post helpwanted  
                Started by cre8able, Today, 07:24 PM
                0 responses
                6 views
                0 likes
                Last Post cre8able  
                Started by Haiasi, Today, 06:53 PM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X