Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get the name of the instrument and the timeframe

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

    How to get the name of the instrument and the timeframe

    Hello
    I would like to know how to get the name of the instrument and the timeframe on which I place my indicator to display it in an output (the display I was going to do).
    Thanks for your help

    #2
    Hello stephletrader,

    Thank you for your post.

    For the instrument name, you can use Instrument.FullName. For the time frame, use BarsPeriod.

    FullName - https://ninjatrader.com/support/help...t_fullname.htm

    BarsPeriod - https://ninjatrader.com/support/help...barsperiod.htm

    Please let us know if we can assist further.

    Comment


      #3
      Thank you for your reply.
      Always pleasantly surprised by the quality of the support!!!!​

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      57 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      78 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      39 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      101 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      61 views
      0 likes
      Last Post PaulMohn  
      Working...
      X