protected override void OnBarUpdate()
{
// Compare the date of the current bar to September 15, 2014
if (ToDay(Time[0]) > 20140915)
{
// Do something
}
Plugging this in respective to task I got an object reference error "Object reference not set to an instance of an Object". As the library duly noted, these dayTime statements can be tricky for the less-informed
... Heads Up the links provided in the library went to dead microsoft pages so not sure how to set this instance.Thanx,
JM

All else edited out here, just showing placements:
Comment