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 DJ888, 04-16-2024, 06:09 PM
                6 responses
                18 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by Jon17, Today, 04:33 PM
                0 responses
                1 view
                0 likes
                Last Post Jon17
                by Jon17
                 
                Started by Javierw.ok, Today, 04:12 PM
                0 responses
                6 views
                0 likes
                Last Post Javierw.ok  
                Started by timmbbo, Today, 08:59 AM
                2 responses
                10 views
                0 likes
                Last Post bltdavid  
                Started by alifarahani, Today, 09:40 AM
                6 responses
                41 views
                0 likes
                Last Post alifarahani  
                Working...
                X