Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Day name on charts

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

    Day name on charts

    Is it possible to have an indicator automatically display the day name for everyday loaded in historical data on the charts like in the attached picture?
    Attached Files

    #2
    Hello,

    Thank you for your post.

    Yes, something like this is possible and would be fairly straightforward to achieve.

    Start with a new indicator.

    Use Time[0].DayOfWeek as the object to get the day.
    http://www.ninjatrader.com/support/h.../dayofweek.htm

    Use DrawText to draw the text box.
    http://www.ninjatrader.com/support/h...7/drawtext.htm

    Then, you will want some kind of logic to only show this once per day.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by geddyisodin, Today, 05:20 AM
    4 responses
    28 views
    0 likes
    Last Post geddyisodin  
    Started by geotrades1, Today, 10:02 AM
    2 responses
    5 views
    0 likes
    Last Post geotrades1  
    Started by ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by rajendrasubedi2023, Today, 09:50 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by bmartz, Today, 09:30 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X