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

tick count on LineBreak

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

    tick count on LineBreak

    Does the Bars.TickCount work for Ninja LineBreak candles??
    Do the other Bars.xxxxxxx functions work the same for LineBreak as for other
    tick based candles??

    (second post...I think I must have messed up my first post...sorry)

    #2
    Hi photog53,

    TickCount would not return meaningful values for LineBreak charts. This would apply only to tick charts.

    Other bars properties like FirstTickOfBar, BarsSinceSession should still apply though, although PercentComplete does not.
    Last edited by NinjaTrader_RyanM1; 06-09-2011, 11:18 AM.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      RyanM,

      Thanks for the quick response......

      If I understand this correctly,
      - Bars.FirstTickOfBar should tell me when the first tick of a linebreak candle starts.
      - Bars.Period.BasePeriodValue...will still give me the base value of the line break candle

      Comment


        #4
        Yes, that's correct.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          I managed to code a "tick counter/bar counter" for the linebreak bars...(and the more exotic linebreakwciked bars).
          Thanks again....

          Comment


            #6
            Photog53,

            Are you willing to share your code? I'm trying to dig into the linebreak bar to get tick count and am having a ruff time..

            tia...

            taddypole...

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            59 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            21 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            10 views
            0 likes
            Last Post cre8able  
            Working...
            X