Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Command for Date?

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

    Command for Date?

    Hi,

    I'd like to display today's date on a chart using an indicator.
    I already have one indicator which allows me to write anything I want
    and place it any corner of the chart.

    So I would write something like this

    YM 06-18 5/2/2018


    Then, it appears on the chart. On the next day,
    I need to modify the indicator and change it to YM 06018 5/3/2018

    I don't like to change it everyday... so I'm wondering if there is a ninja
    programming code or hot key which I can use so that date will be
    updated automatically everyday?


    For example, the default code for chart name is
    @INSTRUMENT_FULL

    I can remove this command on the Tab name and manually write things I want.

    As a same token, is there a command line for date?

    maybe something time @TIME_DATE ??

    I would appreciate your advice.

    Thank you.

    #2
    Hello jjanguda,

    Thank you for the post.

    I am not aware of a special Tag for Date/Time that exists currently. After further research, the only available tags are shown in the following link: https://ninjatrader.com/support/help...using_tabs.htm

    I have put in a feature request to add Date time and DateTime variants.



    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 05-03-2018, 07:07 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    82 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    43 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    56 views
    0 likes
    Last Post CarlTrading  
    Working...
    X