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 Belfortbucks, Today, 09:29 PM
                0 responses
                6 views
                0 likes
                Last Post Belfortbucks  
                Started by zstheorist, Today, 07:52 PM
                0 responses
                7 views
                0 likes
                Last Post zstheorist  
                Started by pmachiraju, 11-01-2023, 04:46 AM
                8 responses
                151 views
                0 likes
                Last Post rehmans
                by rehmans
                 
                Started by mattbsea, Today, 05:44 PM
                0 responses
                6 views
                0 likes
                Last Post mattbsea  
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                33 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Working...
                X