Buy or Sell Call Options
Script name: Call option buy or sell indicator
Charts by TradingView
DISCLAIMER
Options involve risk and are not suitable for all investors. For information on the uses and risks of options, you can obtain a copy of the Options Corporation risk disclosure documented titled Characteristics and Risks of Standardized Options.
There is a substantial risk of loss in trading stocks, futures and options. Past performance is not indicative of future results.
Any stock, options or futures symbols displayed are for illustrative purposes only and are not intended to portray recommendations.
We cannot and will not guarantee that you will not lose money or that you will make money from the information found on this website and / or our products or services.
Your use of this website and affiliated products/services is at your own risk. You should read TradingView Terms of Use, Policies and Disclaimers, due to the fact that the indicators are running on their platform and website. We make no warranty and assume no obligation or liability for third party services or software.
Copyright © 2020, by CHOBOTARU BROTHERS
All materials and information are owned by ©CHOBOTARU BROTHERS. The material and information cannot be copied and / or distributed to anyone without the permission of ©CHOBOTARU BROTHERS.
Input parameters explanation
Charts by TradingView
1. Choose Buying a call or Selling a call.
â€‹
2. The debit paid for buying the call or credit received for selling the call option (1 unit).
â€‹
a. Minimum value: zero; only positive numbers.
b. If debit for 1 call option is $1 insert 1.
c. If credit for 1 call option is $0.5 insert 0.5.
d. 1 unit explained – enter the debit/credit of 1 call option only.
â€‹
3. The stock price when bought/sold the option.
a. Minimum value: zero; only positive numbers.
â€‹
4. The strike price of the option.
a. Minimum value: zero; only positive numbers.
â€‹
5. Interest rate: annualized continuously compounded riskfree rate of return over the life of the option.
a. Minimum value: zero; only positive numbers.
b. U.S. Department of the treasury – find it here
â€‹
6. Time to expiration of the option, specify the number of days.
a. Minimum value: 1; only positive numbers.
b. Only integer numbers. No half days allowed.
c. The number of days to expiration has to be matched with the date entered below! The date and the number of days should not be changed by the user, as time passes.
â€‹
7. Annualized asset price volatility, specific as a positive decimal number. IV 10% => input 0.1
a. Minimum value: zero; only positive numbers.
b. Find it in the “options chain”, in your brokerage platform.
â€‹
8. A calendar day of the month that the option bought/sold.
a. Input 1 to 31 depending on the calendar date.
â€‹
9. Calendar month the option bought/sold.
a. Input 1 to 12 depending on the calendar date.
â€‹
10. Calendar year the option bought/sold.
a. Minimum value: 1970.
b. The year format is 4 digits number.
â€‹
11. Profit/loss line defined by the user.
a. Minimum value: 0.95
i. If an option was bought, 0.95 means, 95% of the option value is lost (unrealized).
ii. If an option was sold, 0.95 means, 95% of the credit received (unrealized), 95% of the option value is lost.
b. Maximum value: 10
i. If an option was bought, 3 means, the risk to reward is 3.
Example: paid $100 for the call option, at this line unrealized profit will be $300.
ii. If an option was sold, 3 means, the risk to reward is 3.
Example: the credit received $100 for the call option, at this line unrealized loss will be $300.
Indicator chart explanation
Call Buying
Charts by TradingView

95% loss/profit line – this line means that if the price got there, 95% of the value of the option is lost. In the case of call buy (red line), that means 95% of investment (debit) is lost.

Breakeven line – this line means that if the price got there, the unrealized profit is zero.

RR=1 line – this line means that if the price got there, the risk to reward is 1.

RR=2 line – this line means that if the price got there, the risk to reward is 2.

RR=3/CHANGE line – this line means that if the price got there, the risk to reward is 3. This line can be userdefined.
Example:
â€‹
Option price bought: $5.85 (remember the multiplier for stocks is 100, the debit is $585).
The price of the stock: $76.2
The strike price: $75
Riskfree rate: 0%
Days to expire: 29
Implied Volatility: 55.8%
Date: 17/09/2020
â€‹
If at expiration the price will finish below $75.27 the loss will be more than 95% (red line).
If at expiration the price will finish at exactly $80.86 the position will break even (orange line).
If at expiration the price will finish at exactly $86.72 the position will be profitable with $585 (dark green line).
If at expiration the price will finish at exactly $92.53 the position will be profitable with $1170 (green line).
If at expiration the price will finish at exactly $98.39 the position will be profitable with $1755 (blue line).
Different uses for the indicator
Volatility changes: the indicator can be used to give an estimation about the profit/loss lines as a function of volatility changes.
+20% Volatility increase
20% Volatility decrease
Tip: you could add the indicator twice, so you will have a reference point as the charts above.
â€‹
Lower timeframes: the indicator can be used for intraday plotting while using a lower timeframe than Daily. This is automatic.
Charts by TradingView
Choosing strikes: (out of the money / at the money / in the money)
Charts by TradingView
Changing RR (risk to reward) [blue line]
Charts by TradingView
Charts by TradingView
Call Selling
Charts by TradingView

95% loss/profit line – this line means that if the price got there, 95% of the value of the option is lost. In the case of call sell (green line), that means 95% of the credit is received.

Breakeven line – this line means that if the price got there, the unrealized profit is zero.

RR=1 line – this line means that if the price got there, the risk to reward is 1.

RR=2 line – this line means that if the price got there, the risk to reward is 2.

RR=3/CHANGE line – this line means that if the price got there, the risk to reward is 3. This line can be userdefined.
â€‹
Example:
â€‹
Option price sold: $5.45 (remember the multiplier for stocks is 100, the credit is $545).
The price of the stock: $76.2
The strike price: $75
Riskfree rate: 0%
Days to expire: 29
Implied Volatility: 55.8%
Date: 17/09/2020
â€‹
If at expiration the price will finish below $75.27 the profit will be more than 95%, $545*0.95=$517.75 (green line).
If at expiration the price will finish at exactly $80.44 the position will break even (orange line).
If at expiration the price will finish at exactly $85.88 the position will be at a loss of $545 (light red line).
If at expiration the price will finish at exactly $91.37 the position will be at a loss of $1090 (red line).
If at expiration the price will finish at exactly $96.81 the position will be at a loss of $1635 (blue line).
For Futures users
Please note that the futures indicator and the stocks indicator are not the same.
The algorithm is made of different equations for futures. Also using the stock indicator on futures will not work properly.
â€‹
The stock indicator on Futures will not work.
Charts by TradingView
The future indicator on Future will work
Charts by TradingView
Example on gold futures:
The algorithm is made of different equations for futures.
Even if it looks to be working normally, the result will not be accurate.
In the picture below, the strong lines are the future indicator VS the stock indicator (weak lines).
Charts by TradingView
Notes
TradingView considerations
The indicator is subject to the platform constraints, meaning updates in the platform could change the intended results of the indicator. See the following examples:
â€‹
Holiday Updates: the indicator is updated 2 years ahead, TradingView updates only the current year. Using long term strategies, especially at the end of the calendar year, could result in a discrepancy at the expiration date that is displayed.
â€‹
Some indicators have a “fill” option available. When using different timeframes, the fill could be out of place.
â€‹
We recommend the users to save the indicator settings. This is because once in a while there will be updates in the indicators. Once the update is loaded to Tradingview, the settings will convert to the default settings. We will announce updates in advance.
â€‹
Algorithm considerations
IPO stocks – the life of the option needs to be less than the amount of time the stock is in the market. If it is more, only partial calculations will be displayed. For example, the stock is trading 1 month in the market (ever). Calculating for an option with a life of 2 months will not display the entire calculations for the whole life of the option.
â€‹
“Data Reset” – loading many bars can result in a slower running time of the indicator. To avoid this, zoom in the chart so you will see only a few bars, then change to different stock, and then change again to the original (intended) stock.
â€‹
Lower timeframes – the indicator is always doing the calculations, even if it is not being displayed. This can be confirmed when the tag “Calculation complete” is seen. If the tag is displayed but the indicator is not, this can be fixed by reloading more historical bars.
â€‹
Higher timeframes – the highest timeframe that the indicator can be used, is Daily.
â€‹
Futures/Stocks – the stock indicators cannot be used for futures and vice versa. Using the wrong indicators on the wrong instrument will result in wrong calculations and errors.
â€‹
Calculation accuracy – the calculation error is less than 0.01%.
â€‹
Theoretical model accuracy – the indicator is using the BlackScholes model. Due to price spreads and/or supply and demand realworld market dynamics, there will be a variation from the theoretical model and the realworld market prices. The model is most accurate when the strike price is close to the instrument price (at the money).
â€‹
Time accuracy – in the futures markets the indicator might show an extra day after expiration due to holidays. The final result doesn’t change between the last day and the extra day.
â€‹
Commissions – the algorithm does not take into account any commissions you might have.
â€‹
Dividends and discounts – the user should be aware of upcoming dividends or discounts.
â€‹
Personal note
If this indicator is truly helpful and gives you viable information please give us credit when using it.
â€‹
If you have any questions or requests please contact us. We will be happy to help.