Let $B_t$ be a standard browian motion without drift. I define a stopping time $\tau$ as the first exit time from the interval $[-c,c]$ (assuming for simplicity, symmetrical barriers). $$ \tau = \inf \{t\geq0 \mid \left| B_t\right|\geq c\} $$
Additionally I introduce a fixed time barrier $T$. I consider the bounded stopping time $\tilde\tau$, defined as the minimum of $T$ and $\tau$:
$$ \tilde\tau = T\wedge\tau $$
This can be seen as a "triple barrier" where I stop my process at a time T if no barrier has been hit. I want to compute $E[\tilde\tau]$.
Intuitively, as $T\rightarrow \infty$, then $E[\tilde\tau] \rightarrow E[\tau]=c²$
Can't really do much, I've been stuck but so far, since $B_t^2 -t$ is a martingale, $$ E[B_{\tilde\tau}^2] = E[\tilde\tau] $$