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 muratb35, Today, 03:36 AM
      0 responses
      3 views
      0 likes
      Last Post muratb35  
      Started by fernlicht, Today, 02:16 AM
      1 response
      8 views
      0 likes
      Last Post NT-Roland  
      Started by fernlicht, 04-12-2021, 06:01 PM
      1 response
      28 views
      0 likes
      Last Post NinjaTrader_PaulH  
      Started by memonolog, Today, 02:10 AM
      2 responses
      5 views
      0 likes
      Last Post NT-Roland  
      Started by orenytz, Today, 12:25 AM
      0 responses
      8 views
      0 likes
      Last Post orenytz
      by orenytz
       
      Working...
      X