Magic LevelsPS MODS : This indicator calculate the levels based on IndiaVIX, volumes on FnO, cofficient and factor to reach on the level. Hope this can help you to understand the functionality of this Indicator
This indicator is used for draw levels or "Magic Levels/Lines" for Nifty, Bank Nifty and FnO futures, based on volatility (indiavix) calculations. This powerful tool is designed to provide insights into market volatility and assist traders and investors in making informed decisions in the Indian stock market.
As of now the indicator draws levels only on Bank Nifty and Nifty. Soon we'll publish the next update supporting all FnO Futures and stocks.
The India VIX, often referred to as the "Fear Index," is a popular measure of market volatility and investor sentiment. It quantifies the market's expectations of near-term volatility by calculating the implied volatility of NIFTY options. The VIX Levels Indicator utilizes these calculations to draw key levels on price charts, enhancing traders' understanding of potential market movements.
The indicator's main function is to identify critical support and resistance levels derived from IndiaVIX data. We considered to volatility of all the FnO instruments and calculated the mean value keeping the day into consideration while performing the calculations. These levels serve as significant reference points that can help traders gauge potential price reversals, breakouts, and trends. By integrating the Magic Levels Indicator into their analysis, traders can gain a comprehensive view of market dynamics and improve their timing for entering or exiting positions.
Traders can customize the VIX Levels Indicator to suit their preferences, adjusting parameters such as time period where the default is 1 day. This flexibility allows traders to adapt the indicator to different trading strategies and timeframes. Whether a trader focuses on intraday scalping or swing trading, the Magic Levels Indicator can be a valuable addition to their technical analysis toolkit.
Options
Options & Leveraged Shares Heatmap This is the leveraged share/option heatmap / screener.
Tradingview offers a few different tickers that have PTCR data on the daily timeframe. So I was able to pull those few tickers that display the PTCR data and format it into a heatmap.
I also had some room to add leveraged share data as well.
It is pretty self explanatory but I will go over it really briefly:
The timeframe is 1 D. This cannot be changed because this is the only timeframe available for the PTCR data.
It will pull the current day PTCR as well as the previous day PTCR and display the PTCR and change value.
The screening will be done according to the 1 day change.
You have the ability to select the option to sort by Max and Min or sort by heatmap:
Displaying max and min will show you the max positive and negative change among all the available tickers.
Max positive = bearish, as this indicates an uptick in Puts.
Max negative = bullish, as this indicates a decline in Puts.
If we flip over to the leveraged shares, it is the same:
To keep it consistent, the leveraged share ratio is displayed similar to PTCR. It is Sell to Buy ratio. The higher the ratio, the more selling and vice versa.
Thus, the same rules apply. Max positive = bearish and max negative = bullish.
If you want to display the heatmap, this is what it will look like:
The darker the blue, the higher the change in either a negative or positive direction. The same for the leveraged shares:
And that is the indicator.
Hopefully you find it helpful. I like to reference it at the end of each day to see how things are looking in terms of positioning for the following day.
Leave your comments/questions and suggestions below.
Safe trades!
BE - Spread_IndicatorSpread Indicator: An Overview Driven by the concept of forethought. The indicator predicts the range for the day and divides it into two or three Levels (upper, middle, and lower).
These ranges are drawn from possible supply and demand zones as well as potential price consolidation zones which has happend in the rolling number of days in the past.
It's true that market respects history. Which means the zones which are untested and created new in recent past shall be respected in the future days. Also the most respected Zones switch between support and resistance based on the price and volume pumped into the market.
Calucations Involved In the Indicator:
Indicator takes into account Factrol points, Fibonachi and its Retracements along with Channel and Candle Ranges to calculate the levels accordingly.
Levels Information:
Levels should be Treated and Traded the way like POC (Point Of Control). Price within the levels are basically controled by the levels above and underneath.
Converting idea to TradeOpportunity:
One can look into deploying IronCondor, while it is within the Zone also One Can deploy Long Straddle when the levels are Tested.
My personal Observation not a Trade Recommendation
With an Option Buyer view, I have been testing this indicator on the Index (BankNifty, FinNifty & Nifty) on 5 Min TF and 15 Min TF. Banknifty Works Well with Bull & Bear Spreads and FinNifty along with Nifty Works Well with Long Straddle & Long Strangle.
Happy to receive Suggesstions and feedback to improvise it with better option strategy.
Features:
1. Integrated with NLB for AlgoTrading.
2. Timely Alerts for Levels, Formation, Breach, TestOf Levels, CrossOvers.
3. Position Can be traded as CarryForward or Intraday.
Binary Option Ultimate Backtester-V.1[tanayroy]The Binary Option strategy backtester gives the user extensive power to test any kind of strategy with advance trade management rules.
The strategy tester accepts external scripts as strategy sources. You can add your strategy and test it for historical stats.
Few assumption regarding strategy tester:
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.
How to make your strategy code compatible for strategy backtesting?
In your strategy code file add following lines:
Signal = is_call ? 1 : is_put ? -1 : 0
plot(Signal, title="🔌Connector🔌", display = display.none)
Is_call and is_put is your buy and sell signal. Plot the signal without displaying it in the chart. The new TradingView feature display = display.none, will not display the plot.
All Input options
Group: STRATEGY
Add Your Binary Strategy: External strategy to back test.
Trade Call/Put: Select CALL, to trade Call, PUT, to trade Put. Default is BOTH, Trading Call and Put both.
Number of Candles to Hold: How many candles to hold per trade. Default 1. If you want to hold the option for 30 minutes and you are testing your strategy in 15m intervals, use 2 candle holding periods.
GROUP: MARTINGALE
Martingale Level: Select up to 15 Martingale. Select 1 for no Martingale.
Use Martingale At Strategy Level: Instead of using Martingale per trade basis, using Martingale per signal basis. Like if we make a loss in the first signal, instead of starting martingale immediately we’ll wait for the next signal to put the martingale amount. For example if you start with $1 and you lose, at the next signal you will invest $2 to recover your losses.
Strategy Martingale Level: Select up to 15 Martingale at strategy signal level. Only workable if Use Martingale At Strategy Level is selected.
Type of Trade: Martingale trade type. Only workable if we are using Martingale Level more than 1.
It can be:
“SAME”: If you are trading CALL and incur a loss, you are taking CALL in subsequent Martingale levels.
“OPSITE”: if you are trading CALL and incur a loss, you are taking PUT in subsequent Martingale levels.
“FOLLOW CANDLE COLOR”: You are following candle color in Martingale levels, i.e if the loss candle is RED, you are taking PUT in subsequent candles.
“OPPOSITE CANDLE COLOR”: You are taking opposite candle color trade, i.e if the loss candle is RED, you are taking CALL in subsequent candle.
GROUP: TRADE MANAGEMENT
Initial Investment Per Option: Initial investment amount per trade
Payout: Per trade payout in percentage
Use Specific Session: Select to test trade on specific session.
Trading Session: Select trading session. Only workable if Use Specific Session is selected.
Use Date Range: Select to use test trades between dates.
Start Time: Select Start Time. Only workable if Use Date Range is selected.
End Time: Select end Time. Only workable if Use Date Range is selected.
Early Quit: Select to quit trade for the day after consecutive win or loss
Quit Trading after Consecutive Win: Number of consecutive wins. Only workable if early Early Quit is selected.
Quit Trading after Consecutive Loss: Number of consecutive losses. Only workable if early Early Quit is selected.
Buy/Sell Flip: Use buy signal for sell and sell signal for buy.
GROUP:STATS
Show Recent Stats: Show win trades in last 3,5,10,15,25 and 30 trades.
Show Daily Stats: Day wise win trades and total trades.
Show Monthly Stats: Month wise win trades and total trades.
Result and stat output:
Back tester without any strategy.
Strategy added with default option.
Stats with 7 Martingales. You can test up to 15.
Optional Stats:
Example Strategy code used :
//@version=5
indicator("Binary Option Strategy",overlay = true)
length = input.int(7, minval=1)
src = input(close, title="Source")
mult = input.float(3.0, minval=0.001, maxval=50, title="StdDev")
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper = basis + dev
lower = basis - dev
fab_candle_upcross=(high< upper and low>basis)
fab_candle_downcross= (high< basis and low>lower)
up_cross=ta.barssince(ta.crossover(close,basis))
down_cross=ta.barssince(ta.crossunder(close,basis))
is_first_up=false
is_first_down=false
if fab_candle_upcross
for a=1 to up_cross
if fab_candle_upcross
is_first_up:=false
break
else
is_first_up:=true
if fab_candle_downcross
for a=1 to down_cross
if fab_candle_downcross
is_first_down:=false
break
else
is_first_down:=true
//strategy for buying call
is_call=(is_first_up or is_first_down ) and close>open
//strategy for selling call
is_put=(is_first_up or is_first_down ) and close<open
Signal = is_call ? 1 : is_put ? -1 : 0
plot(Signal, title="🔌Connector🔌", display = display.none)
Binary Option Strategy Tester with Martingale-Basic V.2In Binary options, strategy testing is a bit different. The strategy result depends upon expiry intervals and payout ratio.
My previous script was a try to resolve this but has some bugs in specific choices. The new version overcame those and added some new features useful for binary option strategy testing.
Assumption:
We are opening position at next candle after signal come
Chart interval is option expiry time.
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.
All Input Options:
Test Call/Put individually or both. Default BOTH
Select up to 5 Martingale levels. Default 2
Type of Martingale Trade. Default “SAME”
“SAME”: If you are trading CALL and incur a loss, you are taking CALL in subsequent Martingale levels.
“OPSITE”: if you are trading CALL and incur a loss, you are taking PUT in subsequent Martingale levels.
“FOLLOW CANDLE COLOR”: You are following candle color in Martingale levels, i.e if the loss candle is RED, you are taking PUT in subsequent candles.
“OPPOSITE CANDLE COLOR”: You are taking opposite candle color trade, i.e if the loss candle is RED, you are taking CALL in subsequent candle.
Select Specific Trading Session. Please select “USE SPECIFIC SESSION”. Default: TRUE
Put the investment amount per option. Default: 10
Payout ratio. Default: 80%
The strategy is taken from Vdub Binary Options SniperVX v1 (by @vdubus). I have deleted extra parts and kept only the necessary parts.
Result Table
Signal and Win Levels:
Signal and Loss:
Please note that Binary options trading is very risky. You must be aware of the risk and be willing to accept them in order to invest in binary options. Only invest what you can afford to lose. The past performance of any trading system, strategy, or methodology is not necessarily indicative of future results.
FalconRed 5 EMA Indicator (Powerofstocks)Improved version:
This indicator is based on Subhashish Pani's "Power of Stocks" 5 EMA Strategy, which aims to identify potential buying and selling opportunities in the market. The indicator plots the 5 EMA (Exponential Moving Average) and generates Buy/Sell signals with corresponding Target and Stoploss levels.
Subhashish Pani's 5 EMA Strategy is a straightforward approach. For intraday trading, a 5-minute timeframe is recommended for selling. In this strategy, you can choose to sell futures, sell calls, or buy puts as part of your selling strategy. The goal is to capture market tops by selling at the peak, anticipating a reversal for profitable trades. Although this strategy may result in frequent stop losses, they are typically small, while the minimum target should be at least three times the risk taken. By staying aligned with the trend, significant profits can be achieved. Subhashish Pani claims that this strategy has a 60% success rate.
Strategy for Selling (Short Future/Call/Stock or Buy Put):
1. When a candle completely closes above the 5 EMA (with no part of the candle touching the 5 EMA), it is considered an Alert Candle.
2. If the next candle is also entirely above the 5 EMA and does not break the low of the previous Alert Candle, ignore the previous Alert Candle and consider the new candle as the new Alert Candle.
3. Continue shifting the Alert Candle in this manner. However, when the next candle breaks the low of the Alert Candle, take a short trade (e.g., short futures, calls, stocks, or buy puts).
4. Set the stop loss above the high of the Alert Candle, and the minimum target should be 1:3 (at least three times the stop loss).
Strategy for Buying (Buy Future/Call/Stock or Sell Put):
1. When a candle completely closes below the 5 EMA (with no part of the candle touching the 5 EMA), it is considered an Alert Candle.
2. If the next candle is also entirely below the 5 EMA and does not break the high of the previous Alert Candle, ignore the previous Alert Candle and consider the new candle as the new Alert Candle.
3. Continue shifting the Alert Candle in this manner. However, when the next candle breaks the high of the Alert Candle, take a long trade (e.g., buy futures, calls, stocks, or sell puts).
4. Set the stop loss below the low of the Alert Candle, and the minimum target should be 1:3 (at least three times the stop loss).
Buy/Sell with Additional Conditions:
An additional condition is added to the buying/selling strategy:
1. Check if the closing price of the current candle is lower than the closing price of the Alert Candle for selling, or higher than the closing price of the Alert Candle for buying.
- This condition aims to filter out false moves, potentially preventing entering trades based on temporary fluctuations. However, it may cause you to miss out on significant moves, as you will enter trades after the candle closes, rather than at the breakout point.
Note: According to Subhashish Pani, the recommended timeframe for intraday buying is 15 minutes. However, this strategy can also be applied to positional/swing trading. If used on a monthly timeframe, it can be beneficial for long-term investing as well. The rules remain the same for all types of trades and timeframes.
If you need a deeper understanding of this strategy, you can search for "Subhashish Pani's (Power of Stocks) 5 EMA Strategy" on YouTube for further explanations.
Note: This strategy is not limited to intraday trading and can be applied to positional/swing
SMMA Bounce IndicatorThis indicator Looks for continuous retracements from Smoothed Moving Average periods of the user's choosing. This can be helpful in locating reversals and pullbacks with a quick glance. With this indicator, you have plenty of options to cater to your time period of choice as well as the freedom to change to colors that best suit your chart. This script was made in whole by SirvivalFX and utilized the (Built-in Script) "Smoothed Moving Average" with inspirations from rmunoz's Engulfing Candle Indicator. *DISCLAIMER*- This should be used with a plethora of knowledge and tools to work effectively and should not be used as a surefire trading tactic. You may use and alter this script in any form you like! :)
Forex Risk CalculatorForex Risk Calculator 's logical is bring the differential between Entry price and Stoploss price, your acceptable risk and your account size to calculate the loss size first then convert to the 'Lot size' and have another feature like auto scale static target calculate by your loss size with RRR (Risk Reward Ratio). Give you to get easier to manage your orders.
Key Features:
📈 Real-time Risk Assessment: Enter the amount you are willing to risk, and Forex Risk Calculator will calculate the appropriate position size for your trade in real-time.
🎯 Target Lines and Static Target Prices based on RRR: Set your desired Risk-Reward Ratio (RRR), and let Forex Risk Calculator auto-generate target prices according to your RRR. Additionally, place target lines to visualize the expected profit if the price hits that line.
⚙️ Customizable Parameters: Adjust risk percentage, RRR, and other parameters to tailor the tool to your trading strategy.
👁️ User-Friendly Interface: Forex Risk Calculator features an easy-to-use and intuitive interface for both beginners and seasoned traders.
Usage:
Step 1: Place your entry price
Step 2: Place your stoploss price
Step 3: Place your target price
Step 4: Confirm your account detail
Step 5: Bring the 'Lot size' to use
Parameter:
Initial account size
Risk percent
Entry price
Stop price
Target price
Show your target price
Show static target prices
Number of your static target prices
Table position
Text size
Background color
Text color
Border color
Output:
Chart
Entry price line
Stop loss price line (loss in USD)
Target price line (profit in USD)
Table
Account size
Risk percent
Entry price
Stoploss price
Lot size
Crypto Risk CalculatorCrypto Risk Calculator 's logical is bring the differential between Entry price and Stoploss price, your acceptable risk and your account size to calculate the loss size first then convert to the 'Amount coins' and have another feature like auto scale static target calculate by your loss size with RRR (Risk Reward Ratio). Give you to get easier to manage your orders. *** Create to use for Cryptocurrencies Future market ***
Key Features:
📈 Real-time Risk Assessment: Enter the amount you are willing to risk, and Crypto Risk Calculator will calculate the appropriate position size for your futures trade in real-time.
🎯 Target Lines and Static Target Prices based on RRR: Set your desired Risk-Reward Ratio (RRR), and let Crypto Risk Calculator auto-generate target prices according to your RRR. Additionally, place target lines to visualize the expected profit if the price hits that line.
⚙️ Customizable Parameters: Adjust risk percentage, RRR, and other parameters to tailor the tool to your trading strategy.
👁️ User-Friendly Interface: Crypto Risk Calculator features an easy-to-use and intuitive interface for both beginners and seasoned traders.
Usage:
Step 1: Place your entry price
Step 2: Place your stop loss price
Step 3: Place your target price
Step 4: Confirm your account detail
Step 5: Bring the 'Amount coins' to use
Parameter:
Initial account size
Risk percent
Leverage
Entry price
Stop price
Target price
Show your target price
Show static target prices
Number of your static target prices
Table position
Text size
Background color
Text color
Border color
Data output:
Chart
Entry price line
Stop loss price line (loss in base unit currency)
Target price line (profit in base unit currency)
Table
Account size
Risk percent
Leverage
Margin
Entry price
Stoploss price
Amounts coin
AFRHi everyone! Sorry for not posting anything for so long again. I will be active in July, after passing my university exams. I bought some S&C magazine archives, so await my new post strategies and indicator in July, as things are gonna get real interesting! But for now let me hand you some new and interesting stuff — AFR indicator.
Actually, this is my third time republishing this indicator after a big timeout because of the battles with TV mods on reference politics (which I lost).
This is indicator was originaly made by some user from other trading website, which I can't mention because of TV reference politics.
Which principles are behind AFR?
First we define our own low and high (OL and OH respectively), which are equal to:
OL = open - ATR * ATR_Factor
OH = open + ATR * ATR_Factor,
where ATR — Average True Range,
ATR_Factor — "Factor" in the settings — multiplier for ATR.
On each tick we remember AFR's value from previous bar, if it is not 0.
When OL is greater then AFR, then AFR is equal to OL. It means that there is probably an uptrend, so we adjust AFR accordingly.
When OH is lower then AFR, then AFR is equal to OH. It means that there is probably a downtrend, so we adjust AFR accordingly.
How to use?
Green AFR — bullish trend.
Red AFR — bearish trend.
Green AFR's triangle up — buy signal — appears when AFR changes it's colour from red to green.
Red AFR's triangle down— sell signal — appears when AFR changes it's colour from green to red.
ALERTS INCLUDED!
My personal ecommendations
- You can AFR as a tool to find short-term and middle-term trends, as it does it's best to find such trends;
- If are a scalper, then you probably should try AFR on low factor settings, as AFR alone can find good scalping entries.
- As AFR is a trend indicator, please use it with other confirmation indicator to make better entries.
Hope you will find this script useful.
Take your profits!
- Tarasenko Fyodor
FalconRed VIXThe FalconRed Vix indicator is a trading tool designed to provide insights into the potential price range of the Nifty 50 index in India. It utilizes the IndiaVix value, which represents the annual percentage change of the Nifty 50 price. By analyzing the IndiaVix, the FalconRed Vix indicator helps traders determine the upper and lower price thresholds within which the Nifty 50 could potentially trend over the course of a year.
For example, if the Nifty 50 is currently at 18,500 and the IndiaVix is 10, it suggests that, at the given level of volatility, the Nifty 50 may experience price fluctuations of up to 10% in either direction over the course of a year. Consequently, the price range projected by the FalconRed Vix indicator would be between 16,650 and 20,350.
The indicator further extends its analysis to shorter time frames, including monthly, weekly, daily, hourly, 6-hour, 15-minute, 5-minute, and 1-minute intervals. By considering the Vix level, the FalconRed Vix indicator calculates the respective price ranges for these time frames.
When viewing the indicator on a chart, traders can observe a range band surrounding the current Nifty 50 price. The top line represents the upper threshold of the Nifty 50 price, while the bottom line represents the lower threshold, both based on the Vix level. This range band assists in determining potential selling points for out-of-the-money (OTM) options and aids in identifying entry or exit points for options and futures trading.
Traders can analyze the upper and lower threshold lines by drawing horizontal or trend lines, which can help identify potential breakouts or breakdowns. Furthermore, this analysis can assist in setting target prices and stop losses based on trend analysis.
It is important to note that the FalconRed Vix indicator is not a technical indicator used for determining stock buy or sell signals. Rather, it focuses on defining the potential price range based on the Vix level, which in turn aids in planning trading strategies such as short strangles, iron condors, and others.
Option ScalperWhat is Scalping?
Scalping is a trading strategy aimed at profiting from quick momentum in a volatile index or stock or any other instrument that can be traded.
Traders who use such strategies place anywhere from 10 to a few hundred trades in a single day.
The idea behind such type of trading is that small moves in an index or stock price are much easier to capture than the larger moves.
Traders who use such strategies are known as scalpers. When you take many small profits a number of times, say 10 points scalped 20 times per day, they can easily add up to large gains.
An Option Buyer's Biggest Enemy is Time Decay and when you scalp, you do not allow the time decay to eat your Option Premium as your Entry and Exit is often quick enough.
What is Option Scalper?
Option Scalper indicator is a momentum-based indicator that tries to detect momentum based upon a number of factors as given below:
(1) Price action accumulated over a period of time when big candles are nowhere
(2) Repeatedly Occurring, certain Candle patterns which indicate if buyers have the upper hand or sellers are ruling the market.
(3) Gradient of moving averages which shows consistency of net buying/selling force
(4) Price jumping normal distribution line and landing in outlying areas, signalling increasing momentum of buying/selling activity.
Based upon the above factors, when Option Scalper thinks a move has the potential to turn into a big move, it generates its Buy/Sell Signals.
When aggressive buying or selling starts where Buying & Selling Forces become unequal, the Price starts moving in one direction with candles making Higher Highs or Lower Lows, moving average lines start scaling up or down or volumes start increasing.
Option Scalper detects these (1) Higher Highs or Lower Lows, (2) scaling up moving average lines, and/or (3) price breaking out of channels; and generates Buy or Sell signals.
In order to use this indicator, simply deploy this on your chart, and wait for Buy/Sell signals. When a Buy/Sell Signal appears, a small line starts forming up at the closing level of Buy/Sell signal candle. Your Entry will be above that line for Buy Signal and below that line for Sell Signal.
It works on all time frames.
Whenever a Buy Signal is followed by Sell signal (let it be after 7 - 8 candles or after many candles) or vice-versa, you have to switch your position to make most of the reverse move.
It is a general purpose indicator and may be used on stocks, commodities, forex and any other instruments alike and is not meant for any specific market.
How to Take Buy/Sell Entry with Option Scalper?
Whenever a Buy/Sell Signal appears on a candle, Option Scalper starts marking its closing price with a horizontal line that keeps extending towards right side with every new candle. This line is Blue in Color for Buy Signal and dark golden color for Sell Signal.
Initially this horizontal line will be very small but as more and more candles appear with the passage of time, the length of the line keeps increasing.
The purpose of this line is to mark the closing price of Signal candle and you have to take your Buy Entry above this line (if last signal is BUY) or you have to take your trade Below this line (if last signal is SELL).
The indicator will also draw another line at the Opening Price of Signal Candle, which can act as your initial stop loss. If trade starts moving in your direction and price goes above upper variance line (light green curvy line) or goes below lower variance line (purple wavy line), then that line becomes your trailing stop loss line from that point onwards.
The indicator also marks the consolidation zone for you. If the Buy/Sell Signal has come but price is in consolidation zone (grey colour cloud), do not take any positions yet and wait for the price to come out of the cloud and breach the Entry Line.
Exiting Buy/Sell Positions and Re-Entry Rules
1. Exiting your Buy Trade: When a Buy Trade is active, indicator can detect where the ongoing upmove may end or retrace for a while and it will print an X symbol (RED COLOR) to warn you. After you see a Red Color X symbol, if price starts making lower lows, you can exit your Buy Trade there or if you are in good profit, you can wait for the price to go below upper variance line (the green color Trailing Stop Loss Line for Buy Trade). See the image below for Red Color X symbol which warns you to be prepared for EXIT from Buy Trade:
2. Re-Entry for Buy Trade: If the last signal on your chart is still Buy Signal but your stop loss has been hit once or twice and you have no open positions now, you can RE-ENTER in buy trade if and when price again climbs above the grey cloud.
3. Exiting your Sell Trade: When a Sell Trade is active, indicator can detect where the ongoing down-move may end or retrace for a while and it will print an X symbol (Green COLOR) to warn you. After you see a Green Color X symbol, if price starts making higher highs, you can exit your Sell Trade there or if you are in good profit, you can wait for the price to go above lower variance line (the purple color Trailing Stop Loss Line for Sell Trade).
4. Re-Entry for Sell Trade: If the last signal on your chart is Sell Signal but your stop loss has been hit once or twice and you have no open positions now, you can RE-ENTER in Sell trade if and when price again crosses below the grey color cloud.
See the image below for recognizing Red and Green X symbols which indicate that temporary retracement or reversal signal is developing:
What are the other features of Option Scalper?
1. End to End Horizontal Support/Resistance Lines: Indicator also detects, prints and deletes horizontal support and resistance lines which can help in your trading decisions. For example, a Buy Signal comes and price crosses above upper variance line and also crosses nearby horizontal resistance line means it has higher probability of moving further up. The reverse is also true (for Sell Signal). See an example of a resistance line below:
2. Star Symbols: If 5 or more consecutive candles are of the same color, then Star Symbol (*) starts appearing above or below the candles. When price has moved too high or too low from the upper or lower variance line, these stars indicate that there is higher probability of retracement happening now which should prompt you to book full or partial profit. See the circled stars in the below image
3. Color Changing Candles: If a candle changes its color from Red to Purple or from Green to light green, they indicate increased intensity of Selling or Buying activity. For example, if each 1 min candle within a 5 min candle is red, then that 5 min candle will turn purple which means Selling pressure is too much and there are very few or no buyers at all. Reverse is also true when Green Candle becomes Light Green. Example images of such candles can be seen below:
4. Consolidation Zone: It is very important for an option buyer to strike only when there is momentum and not to take any fresh trade (or if you already have a position, then closing it for the time being) when price is in consolidation zone. Consolidation zone is marked by a grey colour cloud as seen in below image.
What Type of Alerts Can be Set up: You can set up 3 type of alerts with this indicator (a) Buy Entry Signal which happens when Price closes above the marked Buy Price Level (b) Sell Signal which happens when Price closes below the marked Sell Price Level or (c) Any signal (if you want to be alerted when either Buy or Sell Signal happens)
How to get this indicator?
This is invite-only indicator. Get in touch with us using information given below in Signature field to try this indicator FREE. You may also chat with us through Private Chat feature of TradingView.
Enhanced Strategy (Buy/Sell Signals)The provided script is an enhanced strategy that combines multiple indicators to generate buy and sell signals. Here's a breakdown of its features and usage:
Indicators used:
1. Moving Averages (MA): It uses two moving averages, fast and slow, to identify trend direction.
2. Relative Strength Index (RSI): It measures the momentum and overbought/oversold conditions of the asset.
3. Moving Average Convergence Divergence (MACD): It indicates trend direction and potential trend reversals.
4. Stochastic Momentum Index (Stch Mtm): It identifies overbought and oversold conditions and potential reversals.
5. Awesome Oscillator: It helps to gauge the market momentum and potential trend changes.
How to use:
1. The strategy is designed to be used as a study on the TradingView platform.
2. Apply the script to your preferred chart and adjust the input parameters as desired.
3. The buy and sell signals will be plotted as green "Buy" and red "Sell" labels on the chart.
4. You can also observe the plotted indicators to gain insights into the market conditions.
Combination of indicators:
1. Buy Signal: The strategy generates a buy signal when the following conditions are met:
- The fast moving average crosses over the slow moving average (bullish crossover).
- RSI value is above the specified threshold (30 by default), indicating potential oversold conditions.
- MACD line is above the signal line, suggesting a bullish trend.
- Stch Mtm is above 50, indicating bullish momentum.
- The Awesome Oscillator is positive, implying bullish market sentiment.
2. Sell Signal: The strategy generates a sell signal when the following conditions are met:
- The fast moving average crosses under the slow moving average (bearish crossover).
- RSI value is below the specified threshold (100 - RSI threshold), indicating potential overbought conditions.
- MACD line is below the signal line, suggesting a bearish trend.
- Stch Mtm is below 50, indicating bearish momentum.
- The Awesome Oscillator is negative, implying bearish market sentiment.
Market conditions:
- The strategy aims to identify potential entry and exit points based on the combination of indicators.
- It can be used in various market conditions, but it's important to consider the overall market context, news events, and risk management principles.
- It's recommended to use this strategy as a tool for analysis and decision-making, and validate the signals with additional analysis before executing trades.
Please note that the effectiveness and profitability of any trading strategy can vary depending on various factors, including market conditions and individual trading preferences. It's always advisable to conduct thorough backtesting and consider risk management techniques before applying any strategy to live trading.
Hani angle support and resistanceBy examining the intersections of the average price in the past, this indicator identifies points as support and resistance, according to which it determines a diagonal line to the last average price in the future.
As you can see in the picture, these points are more important than floors and ceilings, and they can be cited more
According to the 360-period cycles of the market, it has the best performance
In this indicator, there are two lines that show the average price in different periods.
Ingulf candles and the pattern of three return candles are used for the signal
In the scalp model, the pattern of three consecutive candles and one engulfing candle is used
In the model of circles, Engulfing candle is also used according to algo
By default, this stop loss calculation is twice the size of the signal candle, which you can change according to the type of transaction.
Enter the amount of your balance and change the amount of contract size according to the currency
For example, the contract size is Bitcoin (1) and the contract size is EURUSD (100,000) and XAUUSD (100) and enter the amount of risk in each transaction.
At the time of the signal, you will see the exact size required to enter the transaction (not including the commission, because each exchange has a different commission and a different spread).
For a better view of the market, you can pay special attention to the distance and angle of the two lines.
Support and resistance lines are continuously displayed for 500 candles to be considered in the future of the market
This indicator requires basic knowledge of candlestick and it is better for the trader to make the final decision according to the market situation. However, an alarm has also been set that sends the stop loss amount for use in the web hook.
The price at the moment of the signal is also alarmed for comparison so that the signal can be compared at the time of the alarm.
The size of the ATR band is used to measure the wave if the waves are large enough to send cleaner signals.
The green label: distance between the last intersection and the average price.
The yellow label: distance between two periods of the average price
White label: lot size to enter the market
pink label: ATR size
BUY/SELL + ADVANCE DECLINEThis script is a custom trading view indicator that helps to identify potential buy and sell signals based on the RSI (Relative Strength Index) and SMA (Simple Moving Average) indicators. The script also identifies potential reversals using a combination of RSI and price action. It plots buy, sell, and reversal signals on the chart along with an SMA line. Additionally, it provides alerts based on the buy, sell, and reversal conditions.
Changes made to the original script:
Fixed the undeclared identifier 'c' error by calculating the difference between the current closing price and the previous closing price: c = close - close .
Added an "ADD Value Floating Label" to the chart. The label shows the difference between the current and previous closing prices (ADD value) along with a "Bullish" or "Bearish" indicator based on the value of 'c'. The label is positioned at the top right of the visible chart area and remains static.
Here's a summary of the major components of the script:
Input settings: Define the input parameters for RSI and SMA.
Calculation of RSI and SMA: Compute the RSI and SMA values based on the input parameters.
Color definitions: Define colors for different conditions and levels.
Condition definitions: Define various conditions for buy, sell, reversal, and other criteria.
Buy and sell conditions: Determine buy and sell signals based on RSI, SMA, and price action.
Reversal conditions: Identify potential reversals using RSI and price action.
Plot signals: Display buy, sell, and reversal signals on the chart.
Bar colors: Color the bars based on the identified signals.
Plot SMA: Display the SMA line on the chart.
Alert conditions: Set up alerts for buy, sell, and reversal conditions.
ADD Value Floating Label: Add a label to the chart showing the ADD value and a "Bullish" or "Bearish" indicator.
Gamma Bands v. 7.0Gamma Bands are based on previous day data of base intrument, Volatility , Options flow (imported from external source Quandl via TradingView API as TV is not supporting Options as instruments) and few other additional factors to calculate intraday levels. Those levels in correlation with even pure Price Action works like a charm what is confirmed by big orders often placed exactly on those levels on Futures Contracts. We have levels +/- 0.25, 0.5 and 1.0 that are calculated from Pivot Point and are working like Support and Resistance. Higher the number of Gamma, stronger the level. Passing Gamma +1/-1 would be good entry point for trades as almost everytime it is equal to Trend Day. Levels are calculated by Machine Learning algorithm written in Python which downloads data from Options and Darkpool markets, process and calculate levels, export to Quandl and then in PineScript I import the data to indicator. Levels are refreshed each day and are valid for particular trading day.
There's possibility also to enable display of Initial Balance range (High and Low range of bars/candles from 1st hour of regular cash session). Breaking one of extremes of Initial Balance is very often driving sentiment for rest of the session.
Volatility Reversal Levels
They're calculated taking into account Options flow imported to TV (Strikes, Call/Put types & Expiration dates) in combination with Volatility, Volume flow. Based on that we calculate on daily basis Significant Close level and "Stop and Reversal level".
Very often reaching area close to those levels either trigger immediate reversal of previous trend or at least push price into consolidation range.
Put to Call Ratio CorrelationHello!
Excited to share this with the community!
This is actually a very simple indicator but actually usurpingly helpful, especially for those who trade indices such as SPX, IWM, QQQ, etc.
Before I get into the indicator itself, let me explain to you its development.
I have been interested in the use of option data to detect sentiment and potential reversals in the market. However, I found option data on its own is full of noise. Its very difficult if not impossible for a trader to make their own subjective assessment about how option data is reflecting market sentiment.
Generally speaking, put to call ratios generally range between 0.8 to 1.1 on average. Unless there is a dramatic pump in calls or puts causing an aggressive spike up to over this range, or fall below this range, its really difficult to make the subjective assessment about what is happening.
So what I thought about trying to do was, instead of looking directly at put to call ratio, why not see what happens when you perform a correlation analysis of the PTC ratio to the underlying stock.
So I tried this in pinescript, pulling for Tradingview's ticker PCC (Total Equity Put to Call Ratio) and using the ta.correlation function against whichever ticker I was looking at.
I played around with this idea a bit, pulled the data into excel and from this I found something interesting. When there is a very significant negative or positive correlation between PTC ratio and price movement, we see a reversal impending. In fact, a significant negative or positive correlation (defined as a R value of 0.8 or higher or -0.8 or lower) corresponded to a stock reversal about 92% of the time when data was pulled on a 5 minute timeframe on SPY.
But wait, what is a correlation?
If you are not already familiar, a correlation is simply a statistical relationship. It is defined with a Pearson R correlation value which ranges from 0 (no correlation) to 1 (significant positive correlation) and 0 to -1 (significant negative correlation).
So what does positive vs negative mean?
A significant positive correlation means the correlation is moving the same as the underlying. In the case of this indicator, if there is a significant positive correlation could mean the stock price is climbing at the same time as the PTC ratio.
Inversely, it could mean the stock price is falling as well as the PTC ratio.
A significant negative correlation means the correlation is moving in the opposite direction. So in this case, if the stock price is climbing and the PTC ratio is falling proportionately, we would see a significant negative correlation.
So how does this work in real life?
To answer this, let's get into the actual indicator!
In the image above, you will see the arrow pointing to an area of significant POSITIVE correlation.
The indicator will paint the bars on the actual chart purple (customizable of course) to signify this is an area of significant correlation.
So, in the above example this means that the PTC ratio is increase proportionately to the increase in the stock price in the SAME direction (Puts are going up proportionately to the stock price). Thus, we can make the assumption that the underlying sentiment is overwhelmingly BEARISH. Why? Because option trading activity is significantly proportionate to stock movement, meaning that there is consensus among the options being traded and the movement of the market itself.
And in the above example we will see, the stock does indeed end up selling:
In this case, IWM fell roughly 1 point from where there was bearish consensus in the market.
Let's use this same trading day and same example to show the inverse:
You will see a little bit later, a significant NEGATIVE correlation developed.
In this case identified, the stock wise RISING and the PTC ratio was FALLING.
This means that Puts were not being bought up as much as calls and the sentiment had shifted to bullish .
And from that point, IWM ended up going up an additional 0.75 points from where there was a significant INVERSE correlation.
So you can see that it is helpful for identifying reversals. But what is also can be used for is identifying areas of LOW conviction. Meaning, areas where there really is no relationship between option activity and stock movement. Let's take spy on the 1 hour timeframe for this example:
You can see in the above example there really is no consensus in the option trading activity with the overarching sentiment. The price action is choppy and so too is option trading activity. Option traders are not pushing too far in one direction or the other. We can also see the lack of conviction in the option trading activity by looking at the correlation SMA (the white line).
When a ticker is experiencing volatile and good movement up and down, the SMA will generally trade to the top of the correlation range (roughly + 1.0) and then make a move down to the bottom (roughly - 1.0), see the example below:
When the SMA is not moving much and accumulating around the centerline, it generally means a lot of indecision.
Additional Indicator Information:
As I have said, the indicator is very simple. It pulls the data from the ticker PCC and runs a correlation assessment against whichever ticker you are on.
PCC pulls averaged data from all equities within the market and is not limited to a single equity. As such, its helpful to use this with indices such as SPY, IWM and QQQ, but I have had success with using it on individual tickers such as NVDA and AMD.
The correlation length is defaulted to 14. You can modify it if you wish, but I do recommend leaving it at this as the default and the testing I have done with this have all been on the 14 correlation length.
You can chose to smooth the SMA over whichever length of period you wish as well.
When the indicator is approaching a significant negative or positive relationship, you will see the indicator flash red in the upper or lower band to signify the relationship. As well, the chart will change the bar colour to purple:
Everything else is pretty straight forward.
Let me know your questions/comments or suggestions around the indicator and its applications.
As always, no indicator is meant to provide a single, reliable strategy to your trading regimen and no indicator or group of indicators should be relied on solely. Be sure to do your own analysis and assessments of the stock prior to taking any trades.
Safe trades everyone!
Earnings Volatility AverageThanks to Dead_Hunter for his ROCEM code which inspired me.
This code looks back over X number of earnings cycles (default is 8) and X number of bars in each earnings cycle (default is 15) to calculate the largest move in each defined earnings period.
The count of earnings cycles starts with the latest past earnings date. The code ignores all future earnings dates in its calculations.
Then the code finds the average price move of those X number of earnings periods.
Using the average price move value the code displays the Price Increase and Price Decrease based on the current price bar.
You can also define how many legs you would create for the option trade and the total commission to open and total commission to close, allowing you to better define your possible breakeven points.
This code was developed to use on a Daily chart.
Put-Call Bias IndicatorThe Put-Call Bias Indicator provides a visual representation of the relative bias towards put options using CBOE data. This script calculates the Put/All ratio, displaying the difference as compared to an even 50% ratio as columns on the chart. A positive value indicates a higher proportion of puts being bought compared to the total number of options contracts.
The indicator uses weekly CBOE data to determine the Put/Call ratio, making it suitable for analyzing longer-term trends in options trading sentiment. The gray columns represent the bias towards puts, with the green horizontal line at 0 acting as a reference point to quickly identify the prevailing bias.
In addition to providing an overview of market sentiment, this indicator can also be used as a contrarian indicator. A high Put/All ratio may suggest that the market is overly bearish, potentially signaling a bullish reversal, while a low ratio may indicate an overly bullish market, potentially pointing to a bearish reversal. Please note that this indicator should be used in conjunction with other technical analysis tools and indicators for a comprehensive understanding of the market.
(This is a new version of an old script bc previous version was deleted by TradingView; republishing with a more verbose description)
Earnings Option Play HelperThanks to Dead_Hunter to the base code which I modified.
This code will now use the last 21 daily candles of the earnings cycle to calculate the average percent price move.
Then using Dead_Hunters code looking at the past 8 earnings cycles, the final average percent price move is calculated.
This is the Average value which is displayed and used to calculate the Price Increase and Price Decrease on the up Earning date.
this script can be useful for planning Strangle and Straddle options trades.
Automated Option Price - Black-Scholes modelPlease make sure you are plotting this indicator on DAILY bars, not doing so will lead to unintended results. Also, make sure that you keep up to date the Risk-free interest rate, which you can consult (for U.S.) on ycharts.com.
This is an indicator that is meant to be used for Options Day Trading, but it can be useful for mid-term or leaps for I also enabled the possibility for user to input manually the Strike and Expiration date. I based the calculation on the Black-Scholes model. Variables included in the calculation are:
-Stock price (S): The current price of the underlying asset (e.g., a stock).
-Strike price (K): The predetermined price at which the option can be exercised.
-Time to expiration (T): The time remaining until the option expires, expressed as a fraction of a year.
-Volatility (σ): The annualized standard deviation of the stock's returns, which is a measure of the stock's price fluctuations.
-Risk-free interest rate (r): The annualized return on a risk-free investment, often approximated by the yield on a government bond.
The only variable I excluded from the original model was the Dividend yield (q).
U S E R I N P U T S:
1. AUTOMATIC calculations enabled:
i) Strike price (K):
Automatically calculate the strike price for both call and put options based on the stock's closing price. The logic follows a set of rules to determine the strike prices which will usually be Out-of-the-Money (OTM):
-If the stock's closing price is between 1 and 60, the call strike price is rounded up to the nearest whole number, while the put strike price is rounded down to the nearest whole number.
-If the stock's closing price is between 60 and 90, the call strike price is rounded up to the nearest whole number and increased by 1, while the put strike price is rounded down to the nearest whole number and decreased by 1.
-If the stock's closing price is between 90 and 120, the call strike price is rounded up to the nearest whole number and increased by 2, while the put strike price is rounded down to the nearest whole number and decreased by 2.
-If the stock's closing price is above 120, the call strike price is rounded up to the nearest multiple of 5, while the put strike price is rounded down to the nearest multiple of 5.
By applying these rules, I just tried to ensure that the automatically calculated strike prices are tailored to the stock's price range, allowing for more accurate option pricing calculations.
ii) Time to expiration (T):
The indicator will consider this week’s expiration contracts (Friday) only when the current day/bar = Monday. If Tuesday or older it will consider the expiration date of the next week’s Friday (because we are not Theta gamblers, right?).
If you are not comfortable with above for whatever reason, you can always…
2. Enter inputs MANUALLY
First make sure you UNTICK the boxes for automatic calculation.
i) Strike price (K) – Self-explanatory
ii) Time to expiration (T) – Just make sure that the horizon you are inputting matches with the next parameter (e.g. you would not input a Monthly risk-free interest rate for a Leap).
iii) Risk-free interest rate (r) – You can pull this data from the web. Here’s the link I used to define the value that this indicator was launched with:
ycharts.com
Don’t get obsessed with updating this daily if you are using this for day trading, you will notice that weekly may be more than enough.
V O L A T I L I T Y
Not option to manually input Volatility so I’ll explain how it is calculated in this script:
I considered two measures of volatility; one is derived calculating the annualized volatility using the standard deviation of daily returns and the second one is the ATR-based annualized volatility. I then used a ‘combined’ approach with the harmonic mean and the arithmetic mean of these results which can help account for the variability in the option prices calculated with different volatility estimates, which can be more robust when dealing with outliers or skewed data. I back tested with some samples of actual option prices and found that this approach is the one that got results closer to the actual bids.
T A B L E
Nomenclature to read rows is:
Option Strike Price | Type of Option (Put or Call) @ The current Close or at 50% level of bar | Estimated Price
*The Option expiration Date showed as dd-MMM as part of the headers.
Second and third row (color 1): These will show the calculated value for the Put/Call, assuming you are buying at the CURRENT price of the stock.
Third and Fifth row (color2): These will show the calculated value for the Put/Call, assuming you buy at the 50% level of the current bar (this is the value that the contract WOULD HAVE at the 50% level of the bar).
If you plot the indicator during market hours it will obviously update as price moves, this is an intended feature.
L I M I T A T I O N S
The Black-Scholes model, like many other models, has its limitations and will oftentimes provide inaccurate option prices in all market conditions. High volatility events, such as earnings announcements, can lead to significant price fluctuations that are not fully captured by the model.
The model assumes that the stock price follows a continuous random walk with constant volatility, but in reality, volatility can change over time, and stock prices can exhibit jumps, especially around significant events like earnings announcements. This can cause the model to underestimate the true option price in such situations.
Please make sure that you first back test on the symbols you trade to ensure the information presented by this indicator will suit your trading strategy. You will find that the delta between the proposed price of the indicator versus the actual price may differ significantly in some symbols while for others it will be very close. For instance, today (13APR23), the prices for AMD, DIS, AAPL (puts only), were very close to actual bids, whereas TSLA differ significantly (but then again, take a look at the calendar and this last symbol is having earnings next week which may add a premium to the contracts)… I am sure you will get your own conclusions and applicable use cases based on the data you test with.
As always, be wise and methodical on the investment or trading decisions you make!
Options Price CalculatorIn the team, we continue to explore and expand the boundaries of TradingView.
For now, there is not much an options trader can do with options in TradingView.
We wanted to change that and created a simple option pricer.
You can set up in parameters a set of strikes, implied volatility, and days to expiry.
The indicators will take a risk-free rate from US01Y and the underlying price from your current chart.
It will compute prices and greeks for both put and call options.
Thanks to @MUQWISHI for helping code it.
Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Leverage HelperCalculate position size & leverage the easy way!
- Drag & drop entry + stop loss level
- Input account size + risk size in the settings
- Calculation plotted on table