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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    237 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    152 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    163 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    246 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    198 views
    0 likes
    Last Post CarlTrading  
    Working...
    X