Weekly Put SaleWeekly Put Sale
This study is a tool I use for selling weekly puts at the suggested strike prices.
1. The suggested strike prices are based on the weekly high minus an ATR multiple which can be adjusted in the settings
2. You can also adjust the settings to Monthly strike prices if you prefer selling options further out
3. I suggest looking for Put sale premium that is between 0.25% to 0.75% of the strike price for weekly Puts and 1% to 3% of the strike price for monthly Puts
Disclaimers: Selling Puts is an advanced strategy that is risky if you are not prepared to acquire the stock at the strike price you sell at on the expiration date. You must make your own decisions as you will bear the risks associated with any trades you place. To sum it up, trading is risky, and do so at your own risk.
Options
Bank Nifty strike price 2/3σ Calculates the strike prices for the Bank Nifty index in steps of 50 and marks the 2 and 3 sigma price levels.
MTF - Options Strike Price - Screener & AlertsHi fellow traders ,
Pleased to share an MTF – Option Strike Price Screener.
It Screens 15 tickers for your set Strike Prices in the input column or you can also set the Stop Loss/target prices for your portfolio watch list in a single input window.
All you need to do is attach to any chart and set the periodicity of the to your desired alert() frequency requirement.
Now go to the input settings icon of the script and set your tickers, timeframe and option strike prices or if you would like to track your individual ticker stop loss or target prices!
Set the alert from the menu as usual click - Any alert() function call and bingo you are done!!
In all of 2-3 minutes you can set your Option Strike Alerts or TP’s or SL’s for 15 stocks of your portfolio..
Only a single alert() will track 15 tickers across multiple time frames..
Once your Alert is hit you may need to change the input settings and save as default and again set an alert() and delete the last alert()..
No more opening multiple charts and setting individual time consuming alerts().
Happy trading with TV..
Strangle MoverStrangle Mover is an indicator especially made for option writer / seller who wants to do strangle and adjust the position based on the market trend / movement. It can be use for iron condor strategy too.
Settings: User must know the settings of the indicator before using .
First one is Option Strike Difference , user need to enter the correct option strike difference of the particular instrument / stock / indices, one can get it from option chain. For example, Nifty having 50 points differences in each option strike and bank nifty having 100 points. So, Nifty user must enter 50 and Bank nifty user must enter 100 in this setting.
Second is strangle distance multiply , user can choose the distance from the trend price. For example, nifty user selects 3, strangle line starts showing (3*50) 150 points away strike from the trend area.
Third is Length, default value is 20 which generally used in vwma, donchian channel and other trend finding indicators. User can change if need.
Note: Option Strike Difference and Strangle Distance Multiply is very important setting to use this indicator.
User must do adjustments based on their own risk and strategy. This indicator is only for education purpose.
vol_bracketThis simple script shows an "N" standard deviation volatility bracket, anchored at the opening price of the current month, week, or quarter. This anchor is meant to coincide roughly with the expiration of options issued at the same interval. You can choose between a manually-entered IV or the hv30 volatility model.
Unlike my previous scripts, which all show the volatility bracket as a rolling figure, the anchor helps to visualize the volatility estimate in relation to price as it ranges over the (approximate) lifetime of a single, real contract.
Straddle / Ironfly AdjustmentStraddle / Iron fly Adjustment is an indicator to assist (especially) Nifty / Bank Nifty Option Writers / Sellers (other instrument writers also) to draw their straddle / iron fly payoff diagram in the chart, mainly max profit and breakeven points and do adjustment based on the market movement.
Basic Idea: (My Conclusion for making this Indicator)
1) For Straddle / Iron fly writers need to adjust their position based on the market movement.
2) Here I give two adjustment ideas which one is my favorite method and another one is one of my friends is using.
a) Price Vs Time based Adjustment
I usually wait until price cross the price vs time line to do any adjustment. Generally, price vs time-based adjustment gives you more point to enter any adjustment in initial day/time when you created the straddle / iron fly. But one later it will reduce the range it become narrow.
b) Percentage based Adjustment
This method using by one of my friends which is based percentage between straddle / iron fly line and upper / lower breakeven points. Generally, he using 50 percentage. In this indicator we do have option to change the percentage between 25 to 100.
User must give inputs to see the straddle / iron fly diagram (Max Profit, Breakeven points, Adjustment, Percentage based adjust line and so)
This is not an intraday indicator and also its not suggesting you to take any buy/sell or straddle/iron fly positions. Its just giving an opportunity to draw a payoff diagram of for max profit and breakeven zone. And also helps to identify the adjustment based given scenario.
Happy Trading 😊
Saravanan Ragavan
portfolio_strikesA simple script for keeping track of your options portfolio. Basically, you can write one line of code per strategy (single, vertical, or strangle) to keep a line drawn on the underlying's chart, at the strike price, from the current bar until expiration. See the comments at the top of the code for more explanation.
Binary Option Strategy Tester with MartingaleIn Binary options, strategy testing is a bit different. The script is just a try to test Binary options strategies.
Assumption:
We are opening position at next candle after signal come
We are taking the position at opening price
Our call will be profitable if we get a green candle and put will be profitable if we get a red candle
We can open only one trade at a time. So if we are in trade, subsequent signals will be ignored.
The script is not counting your profit or loss, it just counting the winning and losing trades.
Input Options:
Choose long only or short only test. Default is both.
You can continue your trade with Martingale Level, up to 5. Default is 1 (no Martingale)
You can choose Martingale trade type
SAME: if call subsequent trade will be call only and vice versa
OPPOSITE: if call subsequent trade will be put
FOLLOW CANDLE COLOR: Subsequent trade will follow previous candle color
OPPOSITE CANDLE COLOR: Subsequent trade will opposite of previous candle color
You can choose trading session to test. Default is false.
The strategy is taken from Vdub Binary Options SniperVX v1 (by @vdubus) . I have deleted extra parts and kept only the necessary part.
Without Martingale
Result Table
With Martingale
I am very new to Pine script, so waiting for your comments and review.
pricing_tableThis script helps you evaluate the fair value of an option. It poses the question "if I bought or sold an option under these circumstances in the past, would it have expired in the money, or worthless? What would be its expected value, at expiration, if I opened a position at N standard deviations, given the volatility forecast, with M days to expiration at the close of every previous trading day?"
The default (and only) "hv" volatility forecast is based on the assumption that today's volatility will hold for the next M days.
To use this script, only one step is mandatory. You must first select days to expiration. The script will not do anything until this value is changed from the default (-1). These should be CALENDAR days. The script will convert to these to business days for forecasting and valuation, as trading in most contracts occurs over ~250 business days per year.
Adjust any other variables as desired:
model: the volatility forecasting model
window: the number of periods for a lagged model (e.g. hv)
filter: a filter to remove forecasts from the sample
filter type: "none" (do not use the filter), "less than" (keep forecasts when filter < volatility), "greater than" (keep forecasts when filter > volatility)
filter value: a whole number percentage. see example below
discount rate: to discount the expected value to present value
precision: number of decimals in output
trim outliers: omit upper N % of (generally itm) contracts
The theoretical values are based on history. For example, suppose days to expiration is 30. On every bar, the 30 days ago N deviation forecast value is compared to the present price. If the price is above the forecast value, the contract has expired in the money; otherwise, it has expired worthless. The theoretical value is the average of every such sample. The itm probabilities are calculated the same way.
The default (and only) volatility model is a 20 period EWMA derived historical (realized) volatility. Feel free to extend the script by adding your own.
The filter parameters can be used to remove some forecasts from the sample.
Example A:
filter:
filter type: none
filter value:
Default: the filter is not used; all forecasts are included in the the sample.
Example B:
filter: model
filter type: less than
filter value: 50
If the model is "hv", this will remove all forecasts when the historical volatility is greater than fifty.
Example C:
filter: rank
filter type: greater than
filter value: 75
If the model volatility is in the top 25% of the previous year's range, the forecast will be included in the sample apart from "model" there are some common volatility indexes to choose from, such as Nasdaq (VXN), crude oil (OVX), emerging markets (VXFXI), S&P; (VIX) etc.
Refer to the middle-right table to see the current forecast value, its rank among the last 252 days, and the number of business days until
expiration.
NOTE: This script is meant for the daily chart only.
vertical_pricer
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.
strangle_pricerUsage:
1. Set the put and call strike inputs to values of your choosing.
2. Select "days to expiration".
3. Set the put and call standard deviations using the output table.
The indicator is meant help price a strangle using historical data and a volatility model. By default, the model is an ewma-method historical volatility. After selecting strikes and standard their corresponding standard deviation, theoretical values and probabilities will be shown in the table. The script is initialized with -1 for several inputs, and won't show any data until these are adjusted.
The theoretical values shown assume a strangle was bought or sold on every historical bar, and averaging their value at expiration.
For example, if you choose the $50 call and $40 put when the underlying is at $45 and there are 30 days until expiration, suppose the volatility is N and
these strikes correspond to M standard deviations. Input those and the resulting theoretial values shown will be based on opening a 30 dte call and put at M standard deviations with respect to the volatility at each bar.
- Past volatility forecasts are plotted in blue, and hidden by default.
- The current volatility forecast is drawn as a blue line.
- The put and call strikes are drawn as red lines.
This indicator is only meant for the daily chart!
Since I won't be able to edit this description later, also check the release notes and script comments for important changes.
Weekly Options Expiry CandleThis script shows weekly expiry candle on daily chart. In weekly expiry, week starts on Friday and end on next Thursday.
How the candle is constructed:
Open= Open price of Friday, if Friday is a holiday, next available open price
High= Highest high price of Friday, Monday, Tuesday, Wednesday, Thursday
Low= Lowest low price of Friday, Monday, Tuesday, Wednesday, Thursday
Close=Close price of Thursday, if Thursday is a holiday, previously available close price
I am very new to Pine script, so waiting for your comments and review.
vol_rangesThis script shows three measures of volatility:
historical (hv): realized volatility of the recent past
median (mv): a long run average of realized volatility
implied (iv): a user-defined volatility
Historical and median volatility are based on the EWMA, rather than standard deviation, method of calculating volatility. Since Tradingview's built in ema function uses a window, the "window" parameter determines how much historical data is used to calculate these volatility measures. E.g. 30 on a daily chart means the previous 30 days.
The plots above and below historical candles show past projections based on these measures. The "periods to expiration" dictates how far the projection extends. At 30 periods to expiration (default), the plot will indicate the one standard deviation range from 30 periods ago. This is calculated by multiplying the volatility measure by the square root of time. For example, if the historical volatility (hv) was 20% and the window is 30, then the plot is drawn over: close * 1.2 * sqrt(30/252).
At the most recent candle, this same calculation is simply drawn as a line projecting into the future.
This script is intended to be used with a particular options contract in mind. For example, if the option expires in 15 days and has an implied volatility of 25%, choose 15 for the window and 25 for the implied volatility options. The ranges drawn will reflect the two standard deviation range both in the future (lines) and at any point in the past (plots) for HV (blue), MV (red), and IV (grey).
TradingWise Supply and Demand Indicator 1.0TradingWise Supply and Demand Indicator 1.0 is based on the Price Action candlestick patterns to identify the Supply and Demand zones in the charts (Areas of liquidity). It works on all Timeframes and Asset Classes. This Script helps the traders to identify the demand and supply zones with identifications on the candle stick patterns indicating the origin of the Strong move. Also it generates Alerts automatically once the supply or demand area is formed thus by reducing the hours spent on the charts and reducing the missed trade Opportunities as well. This Indicator is extremely helpful for those on Full time Jobs/ Busy Schedule.
Buy/Sell Alerts by Indicator:
Green Diamond + DZ Sign ---> Indicates the Demand Zone Formation. Place Buy Trade upon Entry Criteria Met
Orange Diamond + SZ Sign ---> Indicates the Supply Zone Formation. Place Sell Trade upon Entry Criteria Met
Options Scalping V2This Indicator is Owned by Team Option Scalping.
It has 4 Plots and 2 Tables.
This indicator to be used only in BankNifty Futures
VWAP ( Volume weighted average price )
• User can input the source and enable/disable the VWAP from input section.
• When price is more than the VWAP its Bullish Trend and vice versa.
VWMA ( Volume weighted moving average )
• Default value of 20 is used in VWMA . User can enable/disable it from input section.
• When price is more than the VWMA its Bullish Trend and vice versa.
Parabolic SAR
• User can input “start”, “increment” and “maximum” values from input section and can enable/disable SAR also.
• When price is more than the Parabolic SAR its Bullish Trend and vice versa.
SuperTrend
• User can input ATR Period and ATR Multiplier values from input section. By defaults it’s 10 and 2.
• User have option of enable/disable “Change ATR calculation Method”, if enabled then ATR is calculated differently for SuperTrend.
• Enable/disable “BUY/SELL signals” on SuperTrend.
• When price is more than the SuperTrend its Bullish Trend and vice versa.
Top Right Corner TABLE ( 6 , 10 )
When you are trading in Banknifty futures , we have to check major Banks which is contributing to Banknifty move. So we have given that in this tab.
This table consist data of 9 following stocks:
• BankNifty
• Nifty
• Dow
• INDIA
• VIX
• HDFC
• ICICI
• KOTAK
• AXIS
• SBI
And following data of each stock has been provided:
• LTP
• Daily Change
• Daily Percentage Change
• 15-minute Change Percentage
• 1-Hour Change Percentage
Bottom Right Corner TABLE (3, 6 )
This table consist of 4 indicators values and Up/Down indicator:
• VWMA (When price is more than the VWMA its Bullish and vice versa)
• SuperTrend (10.2, When price is more than the SuperTrend its Bullish and vice versa.)
• RSI (14)
• VWAP (When price is more than the VWAP its Bullish and vice versa.)
Trade Vertex - Bank Nifty Volume IndicatorNSE:BANKNIFTY
We all know that the value of an Bank Nifty is derived from top banking sector underlying stocks.
The value of Bank Nifty is calculated from free float market capitalization.
Using the same formula, I made an indicator on the bases of weighted volume of each stock.
This indicator will help you to plot Volume on Bank Nifty.
Consecutive Color Reversal for Binary Option TradingThis indicator is only for Binary Option trading. It alerts when a specific number of consecutive same color candlesticks are generated and it signals for a reversal. As an example, when it signals "Long", a long trade should be opened for a few of next candlesticks (upto 2 to 3 candles).
Intrangle - Straddle / StrangleIntrangle is an indicator to assist Nifty / Bank Nifty Option Writers / Sellers to identify the PE / CE legs to Sell for Straddle and Strangle positions for Intraday.
Basic Idea : (My Conclusion for making this Indicator)
1) Last 10 Years data says Nifty / Bank Nifty More than 66% of times Index are sideways or rangebound (within 1% day) .
2) Mostly, First one hour high and low working as good support and resistance.
Once First one hour complete, this indicator will show Strangle High (CE), Strangle Low (PE) and Straddle (CE/PE).
Straddle:
If you want to do straddle strategy, sell at the money strike (CE/PE) when price comes near to the straddle line (black line),
Strangle:
If you want to do Strangle strategy, sell Strangle High (CE) and Strangle Low (PE) when price comes near to the straddle line (black line). Both Strangle High and Low will be out of the money when price near to the straddle line (black line).
Adjustment: option adjustment to be done based on the price movement. Adjustment purely up to the user / trader.
Note1: If price not comes to near straddle line after first hour, better to stay light…
Note2: If first hour not giving wide High / Low, don’t use strangle strike based on this indicator. Straddle can be done any day with require adjustment / hedge. This Indicator is purely for education purpose, user / trader has to be back-tested before their start using it.
This indicator will work in Nifty / Bank Nifty only. Best Time frames are 3/5/15 Mins. This is purely made for Intraday
Happy Trading 😊
Last Friday of MonthThis script marks the last Friday of the month in a daily chart because this is the day when BTC and ETH options expire according to Deribit.
I only found a script that highlights the 3rd Friday of the month, which is not what I wanted.
This script tries to figure out the correct number of days per month but is not aware of holidays which might displace the expiry date.
EMA Strategy - VaibhavRules are simple:
For CE only
1) Wait until the candle closes above the green line and a cross appears below the candle.
2) Enter on the next candle and keep your Sl at the previous candle low.
3) You can get multiple confirmation by add the pin bars from the settings.
OptionsMillionaire SPY Moving Averages and Signalsby ColeJustice
OptionsMillionaire's SPY Options trading system is based mainly on these indicators:
- 8 EMA*
- 21 EMA*
- 100 SMA*
- 200 SMA*
- MACD
- RSI
- Squeeze Momentum
(*provided by this indicator)
and follows these rules:
|
| 1) I never fight the trend. If its green, i buy calls. If its red, i buy puts. I will only buy puts on a green day if there is a overall change in market trend. Inversely, calls on a red day
| 2) Price action is my #1 indicator. I wait for it to confirm my thesis before i enter a trade
| 3) I only trade SPY Options
| 4) My baseline is to choose a call/put that has a DTE (Date To Expiration) 6-7 days out, with a strike $2-$3 away. I adjust that to fit my current appetite for volatility. i virtually never play same day DTE's.
| 5) I set a 10% stop, but usually exit at 8% before my stop triggers depending on current situation
| 6) I utilize about 10-20% of my Portfolio for one trade. Sometimes more. Rarely less.
| 7) I never hold overnight in these market conditions.
| 8) I shoot for 10-20% for gains. Depending on market conditions.
| 9) Always look for confirmations in your indicators.
| 10) I never force a trade. No trade is a good trade too if the entry just isn't there.
| 11) Patience always pays off. A great set-up can form in minutes or seconds. I never regret being patient to enter. I nearly always regret rushing into a trade.
|
This indicator combines the moving averages into a single unit to simplify one part of the indicator usage rules: the 8 EMA / 21 EMA Cross. . The 8 crossing over the 21 is a Bullish signal, while the 8 crossing under the 21 is a Bearish signal. This indicator places flags at these crossover/under points, as well as shading the area between the 8 and 21 EMAs to help visualize the strength of the trend; green during a Bullish cross, and red during a Bearish cross.
A new addition to this strategy is the Hull Moving Average, or HMA. This script defaults to an HMA of 20 and shows alerts when candles close above or below the plot in the form of green and red candle backgrounds. This alert is best used in conjunction with the main crossovers and should be considered an addition level of confidence rather than providing trade entry/exits directly. This indicator is more flexible and you should feel free to adjust the period if you find a different value works better within your own personal trading style.
Each individual element of this indicator can be modified or toggled, providing maximum customization. While you should strive to become comfortable with the default settings, these options are provided in case you feel the need to adjust for your own style (or if testing on tickers other than SPY, for example).
Goodluch, and happy trading!
Money Heist• This strategy is based off of Matthew Thayers Cashtrap Strategy.
• Market Timing markers based off of Evan Cabrals Market Timing Strategy.
• Psychological Support and Resistance Levels as well as 4 Hour High and Low Support and Resistance Levels.
• The Bollinger Bands will turn Red for Resistance and Green for Support when the Market is Consolidating. The bands will turn Red at the Bottom and Green at the Top when the Market is in a Heavy Trend.
• There is a 50 ema and 200 ema used to determine the trend of price and can also be used as support and resistance
• Two types of arrows can be used by heading to the settings and choosing one or the other. Either Conditional arrows based on a point system (3 being the highest) can be used or Regular CashTrap Arrows. Arrows should be used to confirm trade not as a the only reason to take a trade
PUT
Price should be below 50 EMA and 200EMA touching Top Red Bollinger Band at a Resistance level
CALL
Price should be above 50 EMA and 200EMA touching Bottom Green Bollinger Band at a Support Level
**This Strategy Is To Be Used With The Momentum RSI, Stochastic+, and RSI+**
Implied Volatility BandsThis script produces price bands around an EMA based on a manually inputted Implied Volatility. The idea builds on my previous "Implied Move" script which helps visualize the distribution of prices that the market is 'pricing in' via options/implied volatility. It's up to the user to determine the implied volatility level they use, I like using the free version of QuikStrike that you can access via the CME Group website and then update the script's input daily. Another way to use the script is to input the implied volatility based on a forecast that you produce independently. Say implied volatility on June 2021 Crude Oil is 30% and you think it's rich by 2%, you can input 28% into the script to tweak the bands for a declining vol regime.