taylor_o

vertical_pricer

taylor_o アップデート済   


USAGE

1. Select the type of contract (call or put), the long strike, and the width.
2. Select the volatility model
3. The standard deviation is shown, enter it into the input.

The tool gives a theoretical price of a vertical spread, based on a
historical sample. The test assumes that a spread of equal width was sold on
every prior trading day at the given standard deviation, based on the
volatility model and duration of the contract. For example, if the 20 dte
110 strike is presently two standard deviations based on the 30 period
historical volatility, then the theoretical value is the average price all
2SD (at 20 dte) calls upon expiration, limited by the width of the spread and
normalized according to the present value of the underlying.

Other statistics include:
- The number of spreads in the sample, and percentage expired itm
- The median value at expiration
- The Nth percentile value of spreads at expiration
- The number of spreads that expired at max loss

Check the script comments and release notes for further updates, since Tradingview doesn't allow me to edit this description.
リリースノート:
bug fix -- was using the wrong array for theo vals. should be working now.
リリースノート:
Minor documentation changes.
リリースノート:
- added far strike to description cell in the table
- set past forecast plot to be visible by default, since it doesn't clutter the view too much
リリースノート:
fix lines, they should project the latest forecast for the proper number of bars now
リリースノート:
- annualize with 252, rather than 365 periods

Note: this script is meant for the daily chart
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?