Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

data series

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

    data series

    Hello,

    I work with different dataseries for months. Now I have a question referring to GetCurrentAsk(0). How has this to be done in the script when working in another dataseries? Like Close[0] --> Closes[x][0]?? Or is there nothing to add because GetCurrentAsk(0) is true in every dataseries?

    Thanks
    Tony

    #2
    Hello Tony,

    Thank you for your post.

    When using GetCurrentBid() or GetCurrentAsk() you add in the BarsInProgress index in the following manner:

    GetCurrentBid(1) - second bar series
    GetCurrentAsk(0) - primary bar series

    For information on multiple time frames and data series in your code please visit the following link: http://www.ninjatrader.com/support/h...nstruments.htm

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    77 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    27 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    62 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X