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

How can we tell if a chart is tick or minute type?

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

    How can we tell if a chart is tick or minute type?

    From code, how can we identify if the chart is tick based or minute based?

    I would have thought Bars would have a property for this but I can't find it.

    thanks,
    shawnj

    #2
    Code:
    [FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff][FONT=Courier New][SIZE=2][COLOR=#0000ff]
    if[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] (Bars.Period.Id == PeriodType.Minute)
    [/SIZE][/FONT][/SIZE][/FONT]
    Regards
    Ralph

    Comment


      #3
      Thanks .

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by ETFVoyageur, 05-03-2024, 04:00 PM
      3 responses
      21 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by llanqui, 05-03-2024, 09:59 AM
      9 responses
      42 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by AaronKTradingForum, 05-03-2024, 03:44 PM
      2 responses
      30 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Mindset, Today, 06:19 AM
      0 responses
      2 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by ageeholdings, 05-04-2024, 03:21 PM
      1 response
      4 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X