![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Dec 2007
Posts: 49
Thanks: 1
Thanked 0 times in 0 posts
|
What are the NinjaScript equivalents of Tradestation's tags for previous day's open, close, high and low?:
examples: OpenD[1]I wish to plot horizontal lines for these on a current day chart. Thanks! |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
If you are using daily charts already then accessing Close[1] etc will automatically return you the values of the previous days OHLC values. If you are on an intraday chart or a chart that is not a daily timeframe you can use this: http://www.ninjatrader-support.com/H...orDayOHLC.html
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Dec 2007
Posts: 49
Thanks: 1
Thanked 0 times in 0 posts
|
Thank you! I knew it was there somewhere.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best way to get priorclose from days previous to the previous | scriabinop23 | General Programming | 3 | 02-02-2008 12:41 AM |
| Retrieving the High/Lows of a Previous Move | TAJTrades | Indicator Development | 3 | 12-10-2007 11:49 PM |
| Current Bid > High of Previous 20 Days | davidfw1866 | Strategy Development | 2 | 11-27-2007 06:08 AM |
| Trouble with Open, High, Low, Close | SuzyG | Indicator Development | 4 | 03-05-2007 04:03 AM |
| SuperDome needs of Change Var respect the previous close | Akros | ATM Strategies (Discretionary Trading) | 1 | 06-15-2006 12:55 AM |