I'm running into problems trying to see if two different dates are equal. I am unsure whether to to use integers from DateTime or GetBar from Bars. I'm completely confused at this point because I don't know the bar time of the first or second bar.
For example:
DateTime mytemp = DateTime.Today;
int day = mytemp.Day;
This returns an integer representing the date from today but if its not from Today then I'm stuck. I need to get the date from the bar without knowing the time. I know its Low[1] and Low[2] but Low[1] is static while Low[1] moves along with price action.
I apolopize for making this sound more complicated than it is.
Thx
Irvin
Comment