DateTime Comparison - page 2

 
anthor:
i don't understand here

bool    isTodaysTrade = DateOfDay(OOT) == bod;
can explain please?

What's to understand? I'm assigning a boolean expression DateOfDay() == bod to a boolean variable. Do you understand int i = 2+2; or double x = Bid - n*pips2dbl;

When you need to use it

if (isTodaysTrade){ ... // Same as if(DateOfDay(OOT) == bod){ ...