Glossary
Triple-barrier method
A way to label a trade by which of three barriers the price touches first: profit target, stop level or a time limit.
The triple-barrier method labels an entry by the first barrier hit: an upper (profit) barrier gives +1, a lower (stop) barrier gives -1, and the vertical barrier at the time limit gives 0 or the sign of the return. Barrier widths are often set from recent volatility.
It reflects the path of the price, which a fixed-horizon label ignores.
Example: an entry at 100 with barriers at 2 daily volatilities of 1.2% sits at 102.40 and 97.60. A close of 102.6 on day 3 labels the sample +1.