![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Apr 2008
Posts: 310
Thanks: 0
Thanked 0 times in 0 posts
|
I'm working on 30min charts and I'd like to grab (and plot) the previous week High, Low and Close.
How can I do that, working on 30min data? Thank you |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Hi stefy,
You will want to use PriorDayOHLC(). To figure out which barsAgo you need to pass in to get the correct prior days' data you can use GetBar().
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trailing the Low or High of Previous Bars to Exit | daven | Strategy Development | 3 | 09-23-2008 08:52 AM |
| Trade entry based off of High/Low of clicked on 1 minute bar on chart | takacsj | Charting | 1 | 09-19-2008 03:20 AM |
| Previous Day's Close, High, Low | Billy Valentine | General Programming | 2 | 04-13-2008 04:36 PM |
| Market Analyzer question and referencing Previous Day low | qitrader | Indicator Development | 4 | 03-14-2008 12:57 PM |
| Retrieving the High/Lows of a Previous Move | TAJTrades | Indicator Development | 3 | 12-10-2007 11:49 PM |