HighlightMyRegion

HighlightMyRegion indicator plots 3 lines and a "Region Highlight X" drawing object.
Specify "StartTime" and "EndTime" for your region. This indicator will calculate the Open, High and Low for this region.

Warning: Open price could differ when using different timeframes or bar styles. Example: Range Bar chart open price might not be the same as 1 Minute chart's open price.

This indicator can return 3 dataseries: RegionOpen, RegionHigh and RegionLow.

You can get this indicator's dataseries values with the following code example:
double regionOpen = HighlightMyRegion(
true,
new DateTime(0001, 01, 01, 15, 30, 00),
new DateTime(0001, 01, 01, 16, 15, 00),
new DateTime(0001, 01, 01, 22, 15, 00),
true,
true,
true,
Brushes.Yellow,
0.05
).RegionOpen[0];

No license, free to use. Enjoy

Created By Gorkhaan
NinjaTrader Version 8
File Size 3.0 KB
Create Date 07/29/2019
# of Downloads 688

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.