Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Information of current bar

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

    Information of current bar

    HI,

    if I am using Calculate = Calculate.OnEachTick;

    And try to Draw.Text(this, "tag1", "Current Close: "+Close[0], -5, Close[0], Brushes.White);

    This should print the current Close, but it prints the Close of the previous Bar. See attached picture to better understand what I mean. Close[0] should be 4003,00 instead of 4000,25 that is the Close [1] of previous bar.

    What am I doing wrong?. I mean, How can I always print the Close of the current Bar.

    Thanks

    Click image for larger version  Name:	imagen.png Views:	0 Size:	18.1 KB ID:	1226927

    #2
    Solved!. Forget the question please. Thanks

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    63 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    87 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    47 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    104 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    63 views
    0 likes
    Last Post PaulMohn  
    Working...
    X