If you have the Comment block after that Condition, then it is true. But you can have it before, the Comment block could run before the Condition is checked. It depends.
You can have a Variable that will be set to 0 before the condition and to 1 after. Look at the vertical "Variables" for that Condition block, there are ways to modify Variables in there.
Another way is, if you are working with the current symbol and timeframe, then if you write this somewhere:
Close[1] > Open[1]
... it should return the result of that comparison, which will be true or false