PriorWeekOHLC

Based on PriorDayOHLC indicator. PriorWeekOHLC will draw lines on your chart: Open, Close, High, Low for the given previous week.
You can select on which day the indicator should start calculating from.

An example to access the week open value:
double priorWeekOpenPrice = PriorWeekOHLC(true,true,true,true,DayOfWeek.Monday ).PriorWeekOpen[0];

Enjoy

Created By Gorkhaan
NinjaTrader Version 8
File Size 2.3 KB
Create Date 11/14/2018
# of Downloads 1046

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.