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

How hide \ show plot dynamically?

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

    #16
    Thank You Zeos6!
    I believe we can find solution, once we understand each other )

    Here I made a video with should fully describe what is going on on my side:
    Monosnap screenshot tool for Mac and PC with own cloud storage. Take screenshots, record videos and upload files directly to the cloud. Just in one click.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    Comment


      #17
      Hello fx.practic,

      I've created and exported an example of changing the plot colors for the entire plot and for a single bar.

      This will also reset any plot brushes that have been set for any specific bar when toggling the entire plot.


      PlotBrushes[plot index][bars ago] will superseded the Plot[index].Brush if set.

      If you are setting individual plot brushes for every bar in OnBarUpdate, then you would need to reset every bar or use a loop to set every bars color to transparent.
      Attached Files
      Last edited by NinjaTrader_ChelseaB; 09-20-2017, 10:05 AM.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        I were afraid of answer like this.
        I hope there is more fast way.
        Thank You.
        fx.practic
        NinjaTrader Ecosystem Vendor - fx.practic

        Comment


          #19
          Hello fx.practic,

          I am not aware of a faster way.

          If you set PlotBrushes, you need to unset it if you want it unset.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          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
          4 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  
          Started by Waxavi, Today, 02:10 AM
          1 response
          19 views
          0 likes
          Last Post NinjaTrader_LuisH  
          Working...
          X