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 James650, Today, 08:25 AM
    1 response
    2 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Rogers101, 05-05-2024, 11:30 AM
    14 responses
    40 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by MSerag, Yesterday, 11:52 PM
    2 responses
    21 views
    0 likes
    Last Post MSerag
    by MSerag
     
    Started by ETFVoyageur, 04-30-2024, 06:05 PM
    11 responses
    80 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by dcriador, Yesterday, 01:43 AM
    4 responses
    25 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X