Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

LineBreak bar type

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

    LineBreak bar type

    When I use LineBreak Bars. I have Calculate on Bar Close set to true, it calculates on every tic rather then when the bar is actually closed(a new bar created)..

    #2
    Hello gg80108,
    The calculate on bar close property will not apply on the BarType but on the indicator (or strategy) which is applied on it (i.e. on the bar series).

    In the attached screenshot I have the SMA indicator applied on it with Calculate on bar close set to true. As expected it is not calculating the value of the running bar.

    Please let me know if I can assist you any further.
    Attached Files
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Here is how i ran into this, I am checking for a higher high or lower low on a closing bases (Close[0],Close[1], as an exit strategy after entering a position . This works ok on normal like minute,tic,vol, bars, checks when the bar closes only (which is when the new bar appears) But with LineBreak bars it seems to check immediately after entry on every tic and usually stop out on the same bar..

      Comment


        #4
        Hello gg80108,
        Thanks for the clarifications.

        Can you send a toy strategy* replicating the issue to support[AT]ninjatrader[DOT]com

        Please append Attn:Joydeep in the subject of the email and please give a reference of this threrad in the body of the email.

        I look forward to assisting you further.

        *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sjsj2732, Yesterday, 04:31 AM
        0 responses
        33 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        286 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        285 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        133 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        91 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X