• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PlotBrushes & On price change / On each tick

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

    PlotBrushes & On price change / On each tick

    Hey! I modified the Chaikin money flow for a new client. I simply added color to the plot based on the last direction, as seen in the attached code. It isn't plotting on the current bar as it should, when configured as On price change or On each tick. I've noticed that a basic PlotBrushes command works by itself in OnBarUpdate for On price change or On each tick, but it isn't functioning correctly within my conditions. Any ideas? Thanks guys!
    Attached Files
    lawyse
    NinjaTrader Ecosystem Vendor - Affordable Indicators

    #2
    Hello,

    Thank you for reporting this to us. Are you finding that the plot only extends up to two or three bars behind the current bar? Does the same issue occur with Calculate set to OnBarClose? If so, we have recently identified this issue, and are looking into it now, with tracking ID # NTEIGHT-9202.

    Update: One of our Scripting Support team members just tested this out on his end, as well, and he saw the entire plot disappearing when the plot color for the current bar should be different than the previous bar. Are you seeing that on your end, as well?
    Last edited by NinjaTrader_DaveI; 12-16-2015, 10:31 AM.
    Dave I.NinjaTrader Product Management

    Comment


      #3
      Here is what im getting on my chart. Live bar is not ploting only show price tag.
      http://my.jetscreenshot.com/demo/20151215-9wbv-93kb.jpg

      Comment


        #4
        Thank you, that looks just like the issue we are looking into. Just to be extra certain we are not looking at something new -- do you see the same behavior with Calculate set to OnBarClose?
        Dave I.NinjaTrader Product Management

        Comment


          #5
          yes
          http://my.jetscreenshot.com/demo/20151216-bpdp-73kb.jpg

          Comment


            #6
            I appreciate it for checking into this. I attached the code, but didn't leave comments. Anyways, this indicator should be so simple. I noticed that if I isolate the PlotBrushes command by itself it colors the entire plot correctly. I also printed output of the Close and Trend DataSeries to make sure those values are correct. Can't figure out why it won't draw the last segment of the plot. Thanks for your help, guys!
            lawyse
            NinjaTrader Ecosystem Vendor - Affordable Indicators

            Comment


              #7
              Hello lawyse,

              I was able to reproduce this on my end and have submitted this as a bug report.

              Thank you for bringing this to our attention.
              Zachary G.NinjaTrader Customer Service

              Comment


                #8
                Thanks again guys for your help on this one. We have implemented a fix which resolves this issue in our most recent internal build today, so you should see the issue resolved in the next available public Beta release (Beta 8).

                Please keep this in mind to re-test when the Beta 8 build is released. For future reference the issue was tracked with ID # NTEIGHT-9204.
                Last edited by NinjaTrader_DaveI; 12-16-2015, 03:15 PM.
                Dave I.NinjaTrader Product Management

                Comment


                  #9
                  Amazing! I appreciate your quick solution on this, Dave! I'm thankful that I was able to contribute in a small way, hopefully moving NT8 toward a production release. And thanks to rockon1122 for the opportunity partner and serve on this project.

                  Merry Christmas & Happy Holidays!
                  lawyse
                  NinjaTrader Ecosystem Vendor - Affordable Indicators

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by dltharpe, Today, 09:17 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post dltharpe  
                  Started by HiddenPhilosopher, Today, 06:45 AM
                  0 responses
                  6 views
                  0 likes
                  Last Post HiddenPhilosopher  
                  Started by PG7940, Today, 04:26 AM
                  0 responses
                  10 views
                  0 likes
                  Last Post PG7940
                  by PG7940
                   
                  Started by marcus2300, Today, 02:25 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post marcus2300  
                  Started by drpapp, 01-24-2019, 06:57 AM
                  5 responses
                  69 views
                  0 likes
                  Last Post pjsmith
                  by pjsmith
                   
                  Working...
                  X