See Barrier Option.