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

reading currentDay

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

    reading currentDay

    I might be phrasing it wrong., but as I've read on the forum before, the bar is not closed until the next tick comes in.
    So for the indicators and strategies the current day will not be included in the process.
    meaning Close[0] referes to yesterday on daily and lastweek for wekly chart.
    Is there any work around to read today;s bar at the end of the evening for my daily scans.

    included the picture where my indicator prints a yellow diamond on the high of every Thrusday. As you can see it will not print for today (5/16 Thursday)

    any help
    !kin
    Attached Files

    #2
    Originally posted by kinshin9 View Post
    I might be phrasing it wrong., but as I've read on the forum before, the bar is not closed until the next tick comes in.
    So for the indicators and strategies the current day will not be included in the process.
    meaning Close[0] referes to yesterday on daily and lastweek for wekly chart.
    Is there any work around to read today;s bar at the end of the evening for my daily scans.

    included the picture where my indicator prints a yellow diamond on the high of every Thrusday. As you can see it will not print for today (5/16 Thursday)

    any help
    !kin
    Should work tomorrow, FRIDAY, right????

    Comment


      #3
      Originally posted by kinshin9 View Post
      I might be phrasing it wrong., but as I've read on the forum before, the bar is not closed until the next tick comes in.
      So for the indicators and strategies the current day will not be included in the process.
      meaning Close[0] referes to yesterday on daily and lastweek for wekly chart.
      Is there any work around to read today;s bar at the end of the evening for my daily scans.

      included the picture where my indicator prints a yellow diamond on the high of every Thrusday. As you can see it will not print for today (5/16 Thursday)

      any help
      !kin
      Code:
       
      CalculateOnBarClose = false;
      in any event handler. It is most often placed in Initialize();

      Comment


        #4
        kinshin9, here are some more resources on the item that was raised here -



        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mmckinnm, Today, 01:34 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Conceptzx, 10-11-2022, 06:38 AM
        3 responses
        60 views
        0 likes
        Last Post NinjaTrader_SeanH  
        Started by f.saeidi, Today, 01:32 PM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by traderqz, Today, 12:06 AM
        9 responses
        16 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by kevinenergy, 02-17-2023, 12:42 PM
        117 responses
        2,766 views
        1 like
        Last Post jculp
        by jculp
         
        Working...
        X