Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PeriodType of MasterInstrument

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

    PeriodType of MasterInstrument

    Hi,

    Is there a way to access the periodType of the MasterInstrument?

    I would like to code an if condition checking to see if the period type is volume, tick, etc.

    Thanks.

    -Nick

    #2
    Hello Nick,

    You may use the BarsPeriod.Id to check what period type it is.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by kinfxhk, 07-14-2026, 09:39 AM
    0 responses
    125 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 10:18 AM
    0 responses
    105 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 09:50 AM
    0 responses
    84 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-13-2026, 07:21 AM
    0 responses
    104 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 07-11-2026, 02:11 AM
    0 responses
    83 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X