Price barrier option from Equal Probabilities binomial tree

`[`

calculates
prices for barrier options using an Equal Probabilities binomial tree.`Price`

,`PriceTree`

]
= barrierbyeqp(`EQPTree`

,`OptSpec`

,`Strike`

,`Settle`

,`AmericanOpt`

,`ExerciseDates`

,`BarrierSpec`

,`Barrier`

)

[1] Derman, E., I. Kani, D. Ergener and I. Bardhan. “Enhanced
Numerical Methods for Options with Barriers.” *Financial
Analysts Journal.* (Nov.-Dec.), 1995, pp. 65–74.