Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CloseD function, like Tradestation has?

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

    CloseD function, like Tradestation has?

    I am trying to get the closing prices for the last 30 days from a 5 minute chart without having to use a daily interval too. (this strategy trades > 100 symbols and that is not reasonable in this instance).

    In Tradestation, they have a function called CloseD[x], where is is the closing price of however many days ago you desire.

    Does NT have anything like this? If not, what would you suggest the most elegant way to approach this?

    #2
    Hello vjsworld,

    Thank you for your post.

    You would use GetDayBar() for this item. For information on GetDayBar() please visit the following link: http://www.ninjatrader.com/support/h.../getdaybar.htm

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    46 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by arvidvanstaey, Today, 02:19 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by mmckinnm, Today, 01:34 PM
    3 responses
    5 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by f.saeidi, Today, 01:32 PM
    2 responses
    9 views
    0 likes
    Last Post f.saeidi  
    Working...
    X