Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to lock CalculateOnBarClose

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

    How to lock CalculateOnBarClose

    Hi there - Anyone know how to prevent CalculateOnBarClose from being changed...I want to force it to either true or false. I've seen this property: CalculateOnBarCloseConfigurable in the Column class.

    #2
    Can you supply an instance of where it changed? I have never seen that happen.

    TJ

    Comment


      #3
      I'm talking about preventing the user from being able to set/change the property.

      Comment


        #4
        Just set it in the code either in OnBarUpdate() in an initialize code block or in OnStartUp() in NT7. If the user changes the setting it will be set back as the code refreshes.

        Dan
        eDanny
        NinjaTrader Ecosystem Vendor - Integrity Traders

        Comment


          #5
          Ok...thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          260 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          168 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          170 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          254 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          206 views
          0 likes
          Last Post CarlTrading  
          Working...
          X