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

Not plotting correctly with calculate on bar close = false

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

    Not plotting correctly with calculate on bar close = false

    When I set calculate on bar close = true , indicator plots correctly.

    Any general idea(s) why the setting false can be causing this, do I have a loop with
    my code or dataSeries that may not be incorrectly coded?

    Thank you!

    #2
    Hello tradethebonds,

    Thank you for your post.

    Based on the information provided so far I would not expect incorrect plots. Can you provide a screenshot of what is incorrect about the plots?

    Comment


      #3
      Not plotting

      the plots are a type of keltner bands, essentially the band pull up incorrectly on each tick
      or if price is going down, they pull down incorrectly.

      When I set to calculate on close, they do not pull up or down and plot correctly.

      hope that this suggests something

      Comment


        #4
        Hello tradethebonds,

        Thank you for your response.

        Can you provide the code when setting the Plot values? Can you provide a screenshot of the plots when this occurs?

        Comment


          #5
          i see the error of my ways...sorry to be so vague in my approach of asking for help, appreciated!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CortexZenUSA, Today, 12:53 AM
          0 responses
          1 view
          0 likes
          Last Post CortexZenUSA  
          Started by CortexZenUSA, Today, 12:46 AM
          0 responses
          0 views
          0 likes
          Last Post CortexZenUSA  
          Started by usazencortex, Today, 12:43 AM
          0 responses
          2 views
          0 likes
          Last Post usazencortex  
          Started by sidlercom80, 10-28-2023, 08:49 AM
          168 responses
          2,262 views
          0 likes
          Last Post sidlercom80  
          Started by Barry Milan, Yesterday, 10:35 PM
          3 responses
          10 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X