Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modify the Open of current bar

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

    Modify the Open of current bar

    Hello Ninjas

    I am developing a custom bar type, it is like a unirenko.

    but after I created a new bar, on specific situation with the logic, I need to modify the Open of current bar , and the UpdateBar() does not include the open.

    Do You can bring me a ligth to accomplish my goal?.

    #2
    Hello Jackrpo,

    You would need to use RemoveLastBar() and add a new bar with a new open.

    Below is a link to the help guide.


    See the Renko bars as an example.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello Jackrpo,

      You would need to use RemoveLastBar() and add a new bar with a new open.

      Below is a link to the help guide.


      See the Renko bars as an example.

      Hello Chelsea

      Thanks You for the answer.

      actually I done the process like you say, but for the proper use of Removelastbar(), I need to disable the tick replay on the data series. and the bar type is plotting fine like my goal. but

      I need to use an indicator on this chart that needs the tick replay to work on historical.

      there any way to edit the open of the bar with the tick replay enable ?

      Comment


        #4
        Hello Jackrpo,

        Unfortunately, no. When modifying the open of a bar, this will not be compatible with TickReplay.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Thank you Chelsea.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          156 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          90 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          140 views
          2 likes
          Last Post CaptainJack  
          Started by CarlTrading, 03-30-2026, 11:51 AM
          0 responses
          130 views
          1 like
          Last Post CarlTrading  
          Started by CarlTrading, 03-30-2026, 11:48 AM
          0 responses
          107 views
          0 likes
          Last Post CarlTrading  
          Working...
          X