Expected Move by Option's Implied Volatility Symbols: B - CLF
This script plots boxes to reflect weekly, monthly and yearly expected moves based on "At The Money" put and call option's implied volatility.
Symbols in range: This script will display Expected Move data for Symbols within the range of B - CLF in alphabetical order.
Weekly Updates: Each weekend, the script is updated with fresh expected move data, a job that takes place every Saturday following the close of the markets on Friday.
In the provided script, several boxes are created and plotted on a price chart to represent the expected price moves for various timeframes.
These boxes serve as visual indicators to help traders and analysts understand the expected price volatility.
Definition of Expected Move: Expected Move refers to the anticipated range within which the price of an underlying asset is expected to move over a specific time frame, based on the current implied volatility of its options. Calculation: Expected Move is typically calculated by taking the current stock price and applying a multiple of the implied volatility. The most commonly used multiple is the one-standard-deviation move, which encompasses approximately 68% of potential price outcomes.
Example: Suppose a stock is trading at $100, and the implied volatility of its options is 20%. The one-standard-deviation expected move would be $100 * 0.20 = $20.
This suggests that there is a 68% probability that the stock's price will stay within a range of $80 to $120 over the specified time frame. Usage: Traders and investors use the expected move as a guideline for setting trading strategies and managing risk. It helps them gauge the potential price swings and make informed decisions about buying or selling options. There is a 68% chance that the underlying asset stock or ETF price will be within the boxed area at option expiry. The data on this script is updating weekly at the close of Friday, calculating the implied volatility for the week/month/year based on the "at the money" put and call options with the relevant expiry.
In summary, implied volatility reflects market expectations about future price volatility, especially in the context of options. Expected Move is a practical application of implied volatility, helping traders estimate the likely price range for an asset over a given period. Both concepts play a vital role in assessing risk and devising trading strategies in the options and stock markets.
Options
Open-Close Difference Signalopen close signal This code will plot an upward triangle shape at the low of the candle when either the difference between open and close or the difference between close and open is above 45 points. This can be considered a buy signal. Adjust the threshold value as needed using the script's settings on TradingView.
Expected Move by Option's Implied Volatility Symbols: A - AZZ
This script plots boxes to reflect weekly, monthly and yearly expected moves based on "At The Money" put and call option's implied volatility.
Symbols in range: This script will display Expected Move data for Symbols within the range of A - AZZ in alphabetical order.
Weekly Updates: Each weekend, the script is updated with fresh expected move data, a job that takes place every Saturday following the close of the markets on Friday.
In the provided script, several boxes are created and plotted on a price chart to represent the expected price moves for various timeframes.
These boxes serve as visual indicators to help traders and analysts understand the expected price volatility.
Definition of Expected Move: Expected Move refers to the anticipated range within which the price of an underlying asset is expected to move over a specific time frame, based on the current implied volatility of its options. Calculation: Expected Move is typically calculated by taking the current stock price and applying a multiple of the implied volatility. The most commonly used multiple is the one-standard-deviation move, which encompasses approximately 68% of potential price outcomes.
Example: Suppose a stock is trading at $100, and the implied volatility of its options is 20%. The one-standard-deviation expected move would be $100 * 0.20 = $20.
This suggests that there is a 68% probability that the stock's price will stay within a range of $80 to $120 over the specified time frame. Usage: Traders and investors use the expected move as a guideline for setting trading strategies and managing risk. It helps them gauge the potential price swings and make informed decisions about buying or selling options. There is a 68% chance that the underlying asset stock or ETF price will be within the boxed area at option expiry. The data on this script is updating weekly at the close of Friday, calculating the implied volatility for the week/month/year based on the "at the money" put and call options with the relevant expiry.
In summary, implied volatility reflects market expectations about future price volatility, especially in the context of options. Expected Move is a practical application of implied volatility, helping traders estimate the likely price range for an asset over a given period. Both concepts play a vital role in assessing risk and devising trading strategies in the options and stock markets.
Session highlighter [Digit23]This Pine Script indicator, crafted by Digit23, serves as a session highlighter to enrich your TradingView trading experience. It offers a visual representation of a specified trading session, aiding traders in identifying and concentrating on pivotal time intervals.
Key Features:
User-Defined Session: Tailor the trading session by setting specific start and end times, allowing traders to align the indicator with their preferred timeframes.
Day of Week Filter: Optionally, refine the highlighted session by selecting a specific day of the week, providing flexibility to accommodate diverse trading strategies.
Visual Clarity: The indicator employs a customizable background color during the defined trading session, ensuring quick recognition and differentiation of the highlighted timeframe.
How to Use:
Session Configuration: Adjust the start and end times to define your preferred trading session.
Day of Week Filter (Optional): Fine-tune the indicator by specifying a particular day of the week to apply the session highlight.
Visual Enhancement: The indicator visually highlights the specified trading session, offering a clear and intuitive representation on your TradingView chart.
Compatibility:
This indicator seamlessly integrates with all markets and timeframes available on TradingView, providing versatility for traders across different instruments.
Note:
Use this indicator alongside other technical analysis tools for a comprehensive trading strategy.
This indicator is shared for educational and informational purposes only. Trading involves risk, and it's crucial to conduct thorough research and analysis before making trading decisions.
Disclaimer: This script is provided for educational and informational purposes only. Trading involves risk, and it is essential to conduct thorough research and analysis before making trading decisions.
Spot-Vol CorrelationSpot-Vol Correlation Script Guide
Purpose:
This TradingView script measures the correlation between percentage changes in the spot price (e.g., for SPY, an ETF that tracks the S&P 500 index) and the changes in volatility (e.g., as indicated by the VIX, the Volatility Index). Its primary objective is to discern whether the relationship between spot price and volatility behaves as expected ("normal" condition) or diverges from the expected pattern ("abnormal" condition).
Normal vs. Abnormal Correlation:
Normal Correlation: Historically, the VIX (or volatility) and the spot price of major indices like the S&P 500 have an inverse relationship. When the spot price of the index goes up, the VIX tends to go down, indicating lower volatility. Conversely, when the index drops, the VIX generally rises, signaling increased volatility.
Abnormal Correlation: There are instances when this inverse relationship doesn't hold, and both the spot price and the VIX move in the same direction. This is considered an "abnormal" condition and might indicate unusual market dynamics, potential uncertainty, or impending shifts in market sentiment.
Using the Script:
Inputs:
First Symbol: This is set by default to VIX, representing volatility. However, users can input any other volatility metric they prefer.
Second Symbol: This is set to SPY by default, representing the spot price of the S&P 500 index. Like the first symbol, users can substitute SPY with any other asset or index of their choice.
Length of Calculation Period: Users can define the lookback period for the correlation calculation. By default, it's set to 10 periods (e.g., days for a daily chart).
Upper & Lower Bounds of Normal Zone: These parameters define the range of correlation values that are considered "normal" or expected. By default, this is set between -0.60 and -1.00.
Visuals:
Correlation Line: The main line plot shows the correlation coefficient between the two input symbols. When this line is within the "normal zone", it indicates that the spot price and volatility are inversely correlated. If it's outside this zone, the correlation is considered "abnormal".
Green Color: Indicates a period when the spot price and VIX are behaving as traditionally expected (i.e., one rises while the other falls).
Red Color: Denotes a period when the spot price and VIX are both moving in the same direction, which is an abnormal condition.
Shaded Area (Normal Zone): The area between the user-defined upper and lower bounds is shaded in green, highlighting the range of "normal" correlation values.
Interpretation:
Monitor the color and position of the correlation line relative to the shaded area:
If the line is green and within the shaded area, the market dynamics are as traditionally expected.
If the line is red or outside the shaded area, users should exercise caution as this indicates a divergence from typical behavior, which can precede significant market moves or heightened uncertainty.
Auto Trailing stoploss By InvestYourAsset💥The Auto Trailing Stop-Loss indicator is a technical indicator that uses the ATR (Average True Range) to calculate a trailing stop-loss for both long and short positions.
💥The signals according to the indicator allows traders to exit from the position before its too late! The indicator can be used to determine when to enter and exit trades.
💥To use the indicator, you simply need to set the input parameters to suit your trading style and risk tolerance. The default values for the parameters are:
p: The ATR period (14)
q: The stop period (20)
x: The multiplier used to calculate the initial high and initial low (1.5)
Calculations:
📈Calculates the ATR using the specified period you can modify ATR period according to your trading style.
📈Calculates the initial high and low stop levels based on the highest high and lowest low over the user defined ATR period.
📈Calculates short and long stoploss levels using the initial high and low stops.
💥Once you have set the input parameters according to your trading style whether you are a day trader or a swing trader, the indicator will plot the short stoploss, long stoploss, and stoploss hit signals on your chart.
💥You can use the indicator to enter and exit trades in a various ways.
For example,
🚀 you could enter a long trade when the price crosses above both red and green lines plotted on the chart. (or when price crosses over both short stoploss and long stoploss.) You could also use the indicator to secure your profits by moving your stop-loss up as the price moves in your favor.
Here is an example of how you could use the indicator to enter and exit trades:
🚀Enter a long trade when the price crosses above the red line or short stoploss.
✅keep Moving your stop-loss upward with the long stoploss or green line.
✅Exit the trade when the price crosses below the long stoploss or green line.
💥You can also use the indicator to protect your existing trades. For example, if you are already in a long trade, you could move your stop-loss up to the short stop when the price moves up 10%. This will help you to protect your profits in case the price starts to move against you.
💥💥some additional tips for using the Auto Trailing Stop-Loss indicator:
✅Use the indicator in conjunction with other technical indicators or your own trading strategy to generate entry and exit signals.
✅Backtest your trading strategy before using it live to make sure that it is profitable.
✅Use the indicator to protect your profits by moving your stop-loss up as the price moves in your favor.
✅ Always follow risk management rules and manage your position sizing according to your risk appetite.
✅ Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
This script essentially provides a visual representation of a trading strategy that automatically adjusts stop-loss levels based on market volatility (ATR). It also includes signals for entering long or short positions and visually highlights these signals on the chart.
📣📣Follow us for timely updates regarding future indicators and give it a like if you appreciate the work.📣📣
Highlight Day of WeekA simple indicator that highlights certain days of the week by changing the background color of the chart to a specified color. Each day can be highlighted its own respective color.
This can be used to visually search for patterns based on day of the week.
SizeblockPrice change indicator in the form of diagonal rows.
The calculation is based on the percentage or tick deviation of the price movement (indicated in the "Deviation" parameter), which is displayed on the chart in the form of rows.
The row consists of the base middle line, upper and lower limits:
The middle line is the basis for the upper and lower limits of the current row.
The upper and lower limits are deviations from the base middle line of the current row.
The base middle line is equal to the upper or lower limits of the previous row (if the price changes rapidly in one time interval, then the base middle line of the current row is greater than the upper limit of the previous row or less than the lower limit of the previous row by an equal number of deviations depending on the direction of price movement). At the beginning of the calculation, the base middle line is equal to the initial value of the first row.
The "Quantity" parameter determines the deviation for the upper or lower limits depending on the direction of the price movement, and the "U-turn" parameter determines the deviation for changing the direction of the price movement.
The rule for constructing a new row:
The "Source" parameter accepts, depending on the choice, the price of high, low values or the closing price from the time interval of the chart.
When the price reaches the upper or lower limits of the row and goes beyond them, a new row is formed with the same parameters for deviation of the upper and lower limits from the base middle line, depending on the direction of price movement.
By adjusting certain deviations, you can clearly see the local trend and reversal points on the chart.
A useful tool for tracking price direction.
Thanks for your attention!
Seasonal Trend by LogReturnSeasonal trend in terms of stocks refers to typical and recurring patterns in stock prices that happen at a specific time of the year. There are many theories and beliefs regarding seasonal trends in the financial markets, and some traders use these patterns to guide their investment decisions.
This indicator calculates the trend by "Daily" logarithmic returns of the past years.
So, you should use this indicator with a "Daily" mainchart.
Note: If you select more years in the past than data is available, the line turns red.
Tetra Trendline Indicator 2.0This script is designed to help traders visualize and identify potential overbought and oversold conditions in a financial instrument's price chart using four customizable trendlines. It also provides the option to set alerts for these conditions. Users can adjust the input parameters to tailor the indicator's behavior to their trading preferences.
Input Parameters: The script allows users to configure various input parameters to customize the behavior of the indicator. These parameters include:
showTrendlineX: Boolean inputs to control whether to show each of the four trendlines (Trendline 1, Trendline 2, Trendline 3, and Trendline 4).
trendlineColorX: Color inputs to specify the color of each trendline.
trendlineWidthX: Numeric inputs to set the width of each trendline.
trendlineLengthX: Numeric inputs to determine the length of each trendline.
alertOnTrendlineXBreak: Boolean inputs to enable or disable alerts for each trendline when they are breached.
Trendline Calculations: The script calculates the coordinates for each of the four trendlines. It does this by identifying the starting and ending points of each trendline based on user-defined parameters and the highest or lowest price levels within a specified length.
Plotting Trendlines: The script uses the plot function to display the calculated trendlines on the price chart. It also fills the area between the trendlines to visually emphasize the region.
Alert Conditions: The script defines alert conditions for each trendline. Alerts are triggered when certain price conditions are met:
Trendline 1: An alert is triggered when the price crosses above the Trendline 1 (indicating overbought conditions).
Trendline 2: An alert is triggered when the price crosses below the Trendline 2 (indicating oversold conditions).
Trendline 3: Similar to Trendline 1, an alert is triggered when the price crosses above Trendline 3 (overbought).
Trendline 4: Similar to Trendline 2, an alert is triggered when the price crosses below Trendline 4 (oversold).
MACD HTF - Dynamic SmoothingEnhancing Your 1-Minute Trades with Dynamic HTF MACD Smoothing
Ever found yourself glued to a 1-minute chart, trying to catch every minor price movement, yet feeling like you're missing the bigger picture? Picture this: a solid MACD line on that chart, dynamically smoothed from a higher timeframe (HTF). This tool offers two significant benefits over other existing HTF MACD indicators:
User-Friendly Interface: No need to manually adjust input parameters every time you switch to a different timeframe.
Smooth Charting: Say goodbye to the zigzag lines that often result from plotting higher time frame resolutions on a lower time frame.
Understanding the MACD
The Moving Average Convergence Divergence (MACD) is one of the most widely used and trusted technical indicators in the trading community. Invented by Gerald Appel in the late 1970s, the MACD helps traders understand the relationship between two moving averages of a security's price. It consists of the MACD line (difference between a 12-period and 26-period Exponential Moving Average) and the Signal line (9-period EMA of the MACD line). When the MACD line crosses above the Signal line, it's viewed as a bullish signal, and vice versa. The difference between the two lines is represented as a histogram, providing insights into potential buy or sell opportunities.
Features of the Dynamic HTF MACD Smoothing Script
Time Frame Flexibility: Choose a higher timeframe to derive MACD values and apply dynamic smoothing to your current timeframe.
Multiple Moving Averages: The script supports various MA types like EMA, SMA, DEMA, TEMA, WMA and HMA.
Alerts: Get real-time alerts for MACD crossover and crossunder.
Customizability: From the type of moving average to its length, customize as per your strategy.
Visual Indicators: Clearly plots signals when MACD crossover or crossunder occurs for potential entries.
At last
A massive shoutout to all the wizards and generous contributors in the community! You inspire innovations and new tools, paving the path forward. Here's to a community where we learn and build together. Cheers to collective growth!
HTF Trend Filter - Dynamic SmoothingSummary of the HTF Trend Filter
The Higher Time Frame (HTF) Trend Filter is a cutting-edge tool crafted for traders who want to scan moving average trend lines time efficiently. At its core, it harnesses the power of dynamic smoothing to present a sleek moving average line regardless of the time frame you’re on. Here's a glimpse of the advantages you unlock with the HTF trend filter:
Dynamic Smoother: Ever been irked by jagged lines on your chart? With the dynamic smoother, those days are gone. The smoother streamlines HTF moving average line on your current lower time frame chart.
Time Efficiency: Time is of the essence in trading. With this tool, you can nimbly toggle between time charts without the hassle of readjusting input parameters, ensuring your screening process remains unhindered.
Features of the Script
Variety of Moving Averages: The script caters to different trading styles by offering a plethora of moving average types, ranging from the classic SMA and EMA to the innovative Hull and McGinley Dynamic MAs.
Dynamic Smoothing: This is the script's pièce de résistance. The dynamic smoothing factor is ingeniously derived by taking the ratio of minutes of the higher time frame to the current time frame. This ensures the moving average remains fluid and consistent across different time frames, eliminating the common pitfalls of jagged moving averages.
Reversal Indicators: It includes a reversal indicator. Green circles pinpoint the start of a potential uptrend, while red ones signify a potential downtrend.
Customizable Alerts: To ensure you never miss a beat, the script is equipped with customizable alert conditions.
Trading Idea
The essence of trading lies in confirming assumptions and validating trends. The HTF Trend Dynamic Smoother positions itself as a potential game-changer in this domain. One could consider using the HTF trend dynamic smoother as a supplementary confirmation tool alongside other primary indicators. For instance, if you're plotting a moving average on a lower time frame, toggling the HTF smoother can offer a broader perspective of the trend from a higher time frame. By ensuring alignment between these perspectives, you could potentially trade with increased confidence, reinforcing your lower time frame strategies with higher time frame confirmations. It's worth noting, however, that while this method can offer additional layers of information and validation, it doesn't replace due diligence. Every trade decision should be the culmination of thorough analysis, and no tool should be solely relied upon for decision-making.
Limitations
While the HTF Trend Filter is an exceptional tool, like all tools, it has its constraints. Lower Time Frame Dependency: For the indicator to function optimally, it's paramount to ensure that the time frame open is always lower (or equal) than the one selected in the input parameters. This limitation is crucial to remember as the dynamic smoother's accuracy hinges on this condition.
In conclusion, the HTF Trend Filter - Dynamic Smoothing is a remarkable blend of innovation and efficiency, tailored for traders who demand fast screening of higher time frame MA trends. Due to it simplistic design it gives a user-friendly experience. However, always remember the golden rule of trading: utilize tools as part of a comprehensive strategy, never in isolation.
Implied Range from Options [SS]I have been promising to post this for a while, but I just needed to make sure that a) there were no similar indicators already available and b) make it a bit more user friendly.
So here it is, a basic indicator that will display the implied range from options.
In addition to displaying the implied range from options, it will provide some secondary information to help add context to the implied range. Those are shown in the chart below:
The indicator will list various precents at each point to the upside and to the downside. This is the percent move required, based on the current close price, to obtain any point in the implied move range.
In addition, the indicator will display the average move from open to high and open to low over a user defined period (default to 14 candle period) as well as the previous open to high and open to low move from the previous day.
This is to give you context of:
a) How much of a % increase or decrease is required to reach the implied ranges; and
b) How does the implied range compare to the ticker's average moves.
An increased implied range that exceeds the ticker's average move can alert you that the market is pricing in an above average move. This can be helpful and alert you to potential news releases or other fundamental things that have the potential to move the market.
How to Use the indicator:
So unfortunately, this indicator requires a bit of manual input. I was going to do an auto IV calculcation using Black-Scholes Model but just to be more rigorous in accuracy, I decided to, for now, leave it at a manual input. So when you launch the settings menu, this is what you will see:
You can collect all of this required information from your broker. Inversely, you can collect it online for free from various services such as Barchart or COBE's exchange website. The easiest way is to just pull it from your broker though.
Make sure, if you are doing weekly options to see the weekly range, you set the timeframe to 1 week. The timeframe function will calculate the average move over the desired timeframe length. So if you are doing a 0 dte for the next day, you want to see the intra-day range and will select the 1 day timeframe. It will then present to you the range averages and information on the daily timeframe for you to compare to the implied options range.
Same for the weekly, monthly, yearly, etc.
Additional options:
The indicator provides the midline average and midway points, to add static targets if you are trading the implied range.
These can be toggled on or off in the settings menu:
As well, as you can see, you can also toggle off the range labels.
There is also an offset option. This allows you to extend the range into the future:
Simply select how many candles you would like to plot the range in advance.
Closing remarks
That is the indicator. Its very simple, but it is handy. I was never one to pay attention to option pricing data, but I have been plotting it out daily and weekly these past few weeks and it does add a bit of context in terms of what the market is thinking. So I do recommend actually adding it to your repertoire of analyses going into the weeks and months, and really just paying attention to how the average ranges compare to what the market is pricing in.
One quick suggestion, select the strike price that aligns with the closing price of the ticker. This gives you a better representation of the range.
Safe trades everyone and leave your comments, questions and suggestions below!
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!
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! :)
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.
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.
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.
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.