NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 03-29-2009, 11:55 AM   #1
ctrlbrk
Senior Member
 
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
Default x number bars back, based on time

I remember I saw a post here about a method to be able to look at a certain value of a bar based on TIME, not count

ie:

Lookback(Close, 090000) for 9am what was the Close price

But.. I can't find it! And now I need it...

Some help?

Thx!

Mike
ctrlbrk is offline  
Reply With Quote
Old 03-29-2009, 01:23 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Maybe GetBar() ?

http://www.ninjatrader-support.com/H...V6/GetBar.html
NinjaTrader_Ray is offline  
Reply With Quote
Old 03-29-2009, 01:31 PM   #3
ctrlbrk
Senior Member
 
Join Date: Oct 2008
Location: Dallas, TX
Posts: 682
Thanks: 0
Thanked 2 times in 2 posts
Default



Bam!
ctrlbrk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Draw a line based on a number I enter ninjamouse Suggestions And Feedback 4 03-16-2009 02:41 PM
Bars Back Mike Winfrey Charting 3 11-18-2008 06:03 AM
bar number of viewable bars? foxthorn Indicator Development 3 09-25-2008 04:22 PM
Yahoo limit on number of bars? anachronist Charting 1 09-11-2008 06:32 AM
Find a bar number when chart is scrolled back MJT General Programming 1 05-09-2007 08:46 AM


All times are GMT -6. The time now is 01:07 PM.