In NJ7 I had captured a bar time value by using
barIWantTheTimeOf.Set(Time[1]);
which was declared in Initalize using
private DateTimeSeries barIWantTheTimeOf;
Then I was using the hour period of that captured time like this.
if(Time.Hour[0] > barIWantTheTimeOf[0].Hour && Time.Hour[0] > (barIWantTheTimeOf[0].Hour +5)) {do something}
As the set function has been replaced in NJ8 with something else my NJ7 code does not work.
I have gone through the NJ8 manual but I am not seeing the alternative approach.
Help please.
Comment