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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    35 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    12 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    18 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    20 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X