Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Calculate on bar close = false but only signal on close of bar

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

    Calculate on bar close = false but only signal on close of bar

    I have an indicator that I need to run with COBC = false but want the indicator to only signal once and preferably on bar close.
    Can someone point me to an example.
    I did a quick look and did not find exactly what i was looking for.
    TIA,
    Gary

    #2
    Hello,


    Thank you for your note.


    Absolutely, please see this sample.




    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks Brett,

      Not exactly what I was looking for.
      I was looking for an example that shows how to calculate a value on the close of the bar with COBC set to false.

      i.e. I want to be able to see my indicator update at the tick level but have another part of the indicator assign a separate value at the close of the bar.

      Does this make sense?

      I can add the indicator twice with one COBC - true and the other false but I was hoping to find a more elegant solution.

      thanks

      Comment


        #4
        Usr FirstTickOfBar, with your reference index set to [1], the bar that just closed, as the FirstTickOfBar is what signals the close of the previous bar.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        571 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        331 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        549 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        549 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X