Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Vertical Lines at specific times

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

    Vertical Lines at specific times

    Hi,

    Can someone please let me know how can I plot in the charts Vertical Grid Lines at specific times?

    Let's say that I want to plot in the 5 min chart, the Vertical Grid Lines every 30 min starting on the hour. i.e. ... 9:00, 9:30, 10:00, 10:30, 11:00, ... etc.

    When I go to Properties and specify True under "Plot Vertical Grid Lines", it always comes back with a default timing for these Lines, which makes no sense at all, for example every 25 min!

    Thanks in advance
    HJS

    #2
    Hi HJSInvesting,

    You can definitely try it with a custom NinjaScript indicator. You can program the indicator to draw lines whenever the time is a specified time. Please take a look at this reference sample for an example of how to check time: http://www.ninjatrader-support.com/v...ead.php?t=3226
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by helpwanted, Today, 03:06 AM
    1 response
    5 views
    0 likes
    Last Post sarafuenonly123  
    Started by Brevo, Today, 01:45 AM
    0 responses
    7 views
    0 likes
    Last Post Brevo
    by Brevo
     
    Started by aussugardefender, Today, 01:07 AM
    0 responses
    5 views
    0 likes
    Last Post aussugardefender  
    Started by pvincent, 06-23-2022, 12:53 PM
    14 responses
    242 views
    0 likes
    Last Post Nyman
    by Nyman
     
    Started by TraderG23, 12-08-2023, 07:56 AM
    9 responses
    384 views
    1 like
    Last Post Gavini
    by Gavini
     
    Working...
    X