Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plots and options to display

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

    Plots and options to display

    I was wondering if the Plot one adds if you can select certain options to display such as line size, Dashstyle helper.

    Or do you have to turn show plots off and custom add your parameters?

    #2
    Hello ballboy11,
    Thanks for your post.

    If I used AddPlot() in my script I would expect to see settings for Color, Dash Style, Plot Style, and Width in the indicators window.

    Are these settings missing from the "Plots" category in the Indicator window?

    Are you creating your plots using the wizard?
    Last edited by NinjaTrader_JoshG; 05-28-2018, 08:11 AM.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Yes. I understand that it is displayed. I was wondering if I want to not show DashStyleHelper and have the line solid at all times. Just have plot size and color, NOT line style. If not do I put ArePlotsConfigurable = false; and make my own parameters?

      Comment


        #4
        You should be able do what you describe without issue. Are you getting unexpected results?
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          No everything is ok I was wondering if there was a faster way. Last question to you. Is there a way to lock a plot on the chart.? I have some plot lines and when I have a stop line or profit target , it is difficult sometimes to move the targets because I click on the plot line.

          Comment


            #6
            I am able to access that property, but it doesn't look like I am able to set it programmatically. I'll look into this and let you know when I have more information.
            Josh G.NinjaTrader Customer Service

            Comment


              #7
              the interesting thing is if you make your plot transparent, it will not highlight., but if you use any other color and you click on the line it will activate.

              Comment


                #8
                It looks like the only way you can draw a plot that is not selectable is by overriding OnRender() and drawing your plot using SharpDX. I do think this would be valuable functionality for the AddPlot method.

                I will submit this as a feature request to add a 'locking' parameter as a new overload for AddPlot().

                EDIT: Tracking number is SFT-3247
                Last edited by NinjaTrader_JoshG; 05-30-2018, 01:09 PM.
                Josh G.NinjaTrader Customer Service

                Comment


                  #9
                  I will have to work on onrender. I am not good at it. Other nt programming I have a good grasp

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                  0 responses
                  599 views
                  0 likes
                  Last Post Geovanny Suaza  
                  Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                  0 responses
                  344 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by Mindset, 02-09-2026, 11:44 AM
                  0 responses
                  103 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                  0 responses
                  558 views
                  1 like
                  Last Post Geovanny Suaza  
                  Started by RFrosty, 01-28-2026, 06:49 PM
                  0 responses
                  557 views
                  1 like
                  Last Post RFrosty
                  by RFrosty
                   
                  Working...
                  X