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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    70 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    152 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X