racer8

Black Scholes Model [racer8]

This is the Black Scholes Model. This indicator tells you the prices of both a call option & a put option.
Input variables are spot price, strike price, risk free rate %, days to maturity, and implied volatility %.

This indicator was made generally for educational purposes.
By using this indicator, you will develop a better understanding of how options are priced.
This indicator was made to be as simple as possible so that the user can easily understand it.
I recreated the Black Scholes Model because there is very little scripts on TV that are based on the Black Scholes Model.

I am aware that are Black Scholes Model (BSM) scripts already on TV, but mine is not the same. Correct me if I'm wrong, but I don't think there is a BSM script out there yet that relies on the exact same inputs that mine does.

Why use this indicator?
If you don't already have your own IV indicator...
You can use this indicator to approximate the value of implied volatility %.
You already know every input variable except IV%, and you know the call & put option prices.
So put in the numbers for each input and put a random number between 0 to 100 into the IV% input to get the options prices.
Adjust that random number for IV% until the output (options prices) matches correctly with what you already know they are to be.
This is called the trial and error method.
On the other hand, if you already know all input variables including IV%. Then you can use this indicator to find the call & put options prices directly.

Hope this helps. Enjoy 🙂
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?