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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    156 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    90 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    140 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    130 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    107 views
    0 likes
    Last Post CarlTrading  
    Working...
    X