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 TheWhiteDragon, 01-21-2019, 12:44 PM
            4 responses
            543 views
            0 likes
            Last Post PaulMohn  
            Started by GLFX005, Today, 03:23 AM
            0 responses
            3 views
            0 likes
            Last Post GLFX005
            by GLFX005
             
            Started by XXtrader, Yesterday, 11:30 PM
            2 responses
            12 views
            0 likes
            Last Post XXtrader  
            Started by Waxavi, Today, 02:10 AM
            0 responses
            7 views
            0 likes
            Last Post Waxavi
            by Waxavi
             
            Started by TradeForge, Today, 02:09 AM
            0 responses
            14 views
            0 likes
            Last Post TradeForge  
            Working...
            X