Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Time on charts

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

    Time on charts

    I have a strategy that is driven completely off first tick of a bar. To debug and generally see what I'm doing, I use the Output Window and tag the output with time now: Time[0] which is always the time of first tick.

    The time displayed on the charts is the time of last tick of bar. I have to go through mental gymnastics to correlate the chart with the Output Window. Can the displayed chart time be changed to first tick instead of last tick?

    Thanks!

    #2
    Originally posted by epcompany View Post
    I have a strategy that is driven completely off first tick of a bar. To debug and generally see what I'm doing, I use the Output Window and tag the output with time now: Time[0] which is always the time of first tick.

    The time displayed on the charts is the time of last tick of bar. I have to go through mental gymnastics to correlate the chart with the Output Window. Can the displayed chart time be changed to first tick instead of last tick?

    Thanks!
    It cannot. Bar time is the end of the bar. It also corresponds to the beginning of the next bar. Ergo, use Time[1], and you also get the beginning time of Bar[0].

    Comment


      #3
      Hello epcompany,

      Thank you for your post.

      Unfortunately, the timestamp cannot be changed. Please let me know if you have any questions.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Jonafare, 12-06-2012, 03:48 PM
      5 responses
      3,986 views
      0 likes
      Last Post rene69851  
      Started by Fitspressorest, Today, 01:38 PM
      0 responses
      2 views
      0 likes
      Last Post Fitspressorest  
      Started by Jonker, Today, 01:19 PM
      0 responses
      2 views
      0 likes
      Last Post Jonker
      by Jonker
       
      Started by futtrader, Today, 01:16 PM
      0 responses
      9 views
      0 likes
      Last Post futtrader  
      Started by Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,792 views
      0 likes
      Last Post aligator  
      Working...
      X