Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Filter chart by a specific 5 minute candle

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

    Filter chart by a specific 5 minute candle

    Is there a way to Filter a past chart (not live) by a specific 5 minute candle ... I'm just looking to see the 9:30 EST 5 minute candle going back as many days as the chart can handle.
    Thanks
    Last edited by jas1210; 11-28-2023, 04:09 PM.

    #2
    Hello jas1210,

    Thanks for your notes.

    Are you referring to historical data on a Chart window?

    If you are running the NinjaScript indicator or strategy on a 5-minute chart then you could create a Time Condition the checks if the time is 9:30AM and print out the OHLC information using Open[0], High[0], Low[0], Close[0] in that Time Condition.

    See this help guide page for more information about creating Time Conditions: https://ninjatrader.com/support/help...imeComparisons
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Yes, historical data on a Chart window ...the link you sent says Page not found

      Comment


        #4
        Hello jas1210,

        Thanks for your notes.

        Please see the 'How to create time comparisons' section of this help guide page: https://ninjatrader.com/support/help...on_builder.htm

        You could create a Time Comparison condition in a script that checks if the Time is 9:30 and then print out the OHLC information within that condition using Open[0], High[0], Low[0], and Close[0].

        This would check if the time is 9:30 and get the Open, High, Low, and Close price of that bar when the condition is true.

        PriceSeries: https://ninjatrader.com/support/help...riceseries.htm
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        43 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        30 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        50 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Working...
        X