PDA

View Full Version : OpenD, etc.


brooksrimes
08-19-2010, 02:59 PM
Hi,

Easy Language has functions OpenD(), HighD(), LowD() & CloseD() that allow you to reference the daily O, H, L & C of previous daily bars without loading a 2nd dataset for a daily timeframe, while you have an intraday dataset loaded as your primary.

I couldn't find these in the Ninja Script editor and wonder if they might be under a different name or if the only way to do this in NT is to load a 2nd dataset?

Thx,

Brooks

NinjaTrader_RyanM
08-19-2010, 03:02 PM
Hello Brooksrimes,

You can use prior day OHLC for this:
http://www.ninjatrader-support.com/HelpGuideV6/PriorDayOHLC.html

If you're looking for bars beyond the prior session, you can use GetSessionBar()
http://www.ninjatrader-support.com/HelpGuideV6/GetSessionBar.html

brooksrimes
08-19-2010, 03:28 PM
Great Ryan, thanks.