Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get current price

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

    Get current price

    i wish to get the current price while, handling the
    OnBarUpdate() event

    I am unable to find a reference:

    context:
    I wish to compare the current market price to the current bar low/high during a crossover.
    Last edited by tomleeson; 05-08-2009, 11:22 AM.

    #2
    Close[0] will be the latest price when the bar has not closed yet.

    Comparing that to High[0] or Low[0] would be what you want to do.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thank you Josh

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by szferi, Today, 02:04 AM
      0 responses
      2 views
      0 likes
      Last Post szferi
      by szferi
       
      Started by MidenThur, Today, 12:52 AM
      0 responses
      6 views
      0 likes
      Last Post MidenThur  
      Started by seseoraf, Today, 12:51 AM
      1 response
      6 views
      0 likes
      Last Post charmingishagarg  
      Started by Rosario, Today, 12:50 AM
      0 responses
      4 views
      0 likes
      Last Post Rosario
      by Rosario
       
      Started by kemoyums, Today, 12:38 AM
      0 responses
      3 views
      0 likes
      Last Post kemoyums  
      Working...
      X