Standardized SuperTrend Oscillator
The Standardized SuperTrend Oscillator (SSO) is a versatile tool that transforms the SuperTrend indicator into an oscillator, offering both trend-following and mean reversion capabilities. It provides deeper insights into trends by standardizing the SuperTrend with respect to its upper and lower bounds, allowing traders to identify potential reversals and contrarian signals.
Methodology:
Lets begin with describing the SuperTrend indicator, which is the fundamental tool this script is based on.
SuperTrend:
The SuperTrend is calculated based on the average true range (ATR) and multiplier. It identifies the trend direction by placing a line above or below the price. In an uptrend, the line is below the price; in a downtrend, it's above the price.
pine_st(float src = hl2, float factor = 3., simple int len = 10) =>
float atr = ta.atr(len)
float up = src + factor * atr
up := up < nz(up ) or close > nz(up ) ? up : nz(up )
float lo = src - factor * atr
lo := lo > nz(lo ) or close < nz(lo ) ? lo : nz(lo )
int dir = na
float st = na
if na(atr )
dir := 1
else if st == nz(up )
dir := close > up ? -1 : 1
else
dir := close < lo ? 1 : -1
st := dir == -1 ? lo : up
SSO Oscillator:
The SSO is derived from the SuperTrend and the source price. It calculates the standardized difference between the SuperTrend and the source price. The standardization is achieved by dividing this difference by the distance between the upper and lower bounds of the SuperTrend.
float sso = (src - st) / (up - lo)
Components and Features:
SuperTrend of Oscillator - An additional SuperTrend based on the direction and volatility of the oscillator, behaving as the SuperTrend OF the SuperTrend. This provides further trend analysis of the underlying broad trend regime.
Reversion Tracer - The RSI of the direction of the original SuperTrend, providing a dynamic threshold for premium and discount price areas.
float rvt = ta.rsi(dir, len)
Heikin Ashi Transform - An option to apply the Heikin Ashi transform to the source price of the oscillator, providing a smoother visual representation of trends.
Display Modes - Choose between Line mode for a standard oscillator view or Candle mode, displaying the oscillator as Heikin Ashi candles for more in-depth trend analysis.
Contrarian and Reversion Signals:
Contrarian Signals - Based on the SuperTrend of the oscillator, these signals can act as potential buy or sell indications, highlighting potential trend exhaustion or premature reversals.
Reversion Signals - Generated when the oscillator crosses above or below the Reversion Tracer, signaling potential mean reversion opportunities or trend breakouts.
Utility and Use Cases:
Trend Analysis - Utilize the SSO as a trend-following tool with the added benefits of the oscillator's SuperTrend and Heikin Ashi transform.
Valuation Analysis - Leverage the oscillator's reversion signals for identifying potential mean reversion opportunities in the market.
The Standardized SuperTrend Oscillator enhances the capabilities of the SuperTrend indicator, offering a balanced approach to both trend-following and mean reversion strategies. Its customizable options and contrarian signals make it a valuable instrument for traders seeking comprehensive trend analysis and potential reversal signals.
震盪指標
What RSI? Weighted Heiken Ashi Triple RSIWhat You're Looking At:
The indicator presents a few key elements on its pane which is separate from the price chart:
Smoothed RSI Average Line: This line represents an average of three different RSI calculations, each weighted differently. It's been smoothed out to reduce noise and help you see the trend more clearly.
Moving Average Line: This is a line that smooths out the average RSI line even further and helps you identify the overall trend.
Bollinger Bands: These are two lines that create a channel around the RSI average line. The upper band typically represents an overbought condition, and the lower band represents an oversold condition.
Background Color: The background of the indicator pane will change colors to indicate buy (green) or sell (red) signals.
Horizontal Lines: There are horizontal lines drawn at levels 70, 50, and 30. These represent overbought, midpoint, and oversold levels, respectively.
How to Operate and Interpret:
Trend Identification: Look at the moving average line. If it's trending upwards, the overall momentum may be considered bullish. If it's trending downwards, the momentum may be bearish.
Buy Signals: You may consider a buy signal when:
The smoothed RSI average crosses above the moving average line.
The smoothed RSI average is below 30 and starts to rise, crossing the oversold line.
The background color turns green, signifying favorable conditions to buy according to the indicator's logic.
Sell Signals: You may consider a sell signal when:
The smoothed RSI average crosses below the moving average line.
The smoothed RSI average is above 70 and starts to fall, crossing the overbought line.
The background color turns red, signifying favorable conditions to sell according to the indicator's logic.
Overbought/Oversold Conditions: When the smoothed RSI line touches or crosses the Bollinger Bands, it could be indicating that the asset is overbought (upper band) or oversold (lower band). Some traders use these conditions to look for potential reversals.
Cautions for Trading:
If the smoothed RSI average is between the bands and near the middle line (50), the market might be considered neutral, and some traders may choose to wait for clearer signals.
Just because the indicator gives a buy or sell signal, it doesn't mean the price will immediately move in that direction. It's important to consider other factors in your trading strategy.
Final Notes:
Always use this indicator in conjunction with other analysis methods. No indicator is perfect, and they should be used to supplement your trading strategy, not replace it.
It's important to set stop losses according to your risk tolerance when entering any trades based on these signals.
Practice with the indicator in a demo account to become familiar with its behavior before using it with real money.
By following the movements and signals of this indicator, you can get a sense of the momentum and potential entry or exit points in the markets you are trading.
RSI Bands + Levels (Miu)This indicator was designed to plot lines from prices of overbought (OB) and oversold (OS) RSI levels in chart. It will also create a visible band between these levels.
It's main utility is to show in chart current and past prices for OB/OS RSI levels. Traditionally the RSI is considered overbought when above 70 and oversold when below 30 but you can customize these values in settings. The RSI oscillates between zero and 100.
Users can easily identify overbought and oversold prices using this indicator and then it is expected to help users to make better strategic decisions with their trades.
There are some extra options available in settings:
- Customizable RSI levels
- Customizable RSI length
- RSI Levels: if activated, it will draw lines above OB line and below OS line according to the multiplier, so it will plot sequential lines that goes in different RSI levels (e.g: RSI 72, 74, 76, 78 and 80).
- Backgroud only: it will remove these lines and keep only a backgroung color instead
- RSI 50: it will draw a line as RSI 50
- Customizable multiplier
Enjoy!
Ultimate RSIThis indicator is a customized version of the RSI indicator that by default utilizes Bollinger Bands. It have included two layers of bands, with separate standard deviations. The indicator is fully customizable.
The indicator displays bullish and bearish divergence from price.
You are able to change the moving average that is used to calculate both the RSI itself, as well as the moving average used for the Bollinger Bands.
I have included fills that color the background to indicate various zones of RSI values.
Price tends to either reject or move quickly at these levels.
I have a yellow RSI zone that indicates a sideways market with little to no momentum with default values of 45 to 55. These are areas where trading is stagnant and you should likely avoid placing trades.
There is now an ATR feature to adjust the Bollinger Bands with ATR (Average True Range).
In order to trade with this indicator, you should watch for the white line (RSI) to cross into the Bollinger Bands, then cross over the yellow moving average (Basis line), where you would enter a BUY or SELL.
Watch this indicator in action and look for patterns. Draw vertical lines on the chart where you would have wanted to buy or sell and study this to understand how to make better trading decisions.
NOTE:
While not required in order to use this indicator, it was designed to visually work with another indicator of mine called The Ultimate Buy and Sell Indicator. I recommend using both together as they are a strong pair of indicators that share the same settings. This indicator while it can be used independently can also help you visualize the settings changes made to the other one which are unable to be displayed on the main chart by that indicator.
Oscillator Volume Profile [Trendoscope®]The Oscillator Volume Profile indicator is designed to construct a volume profile based on predefined oscillator levels. It integrates volume data with oscillator readings to offer a unique perspective on market dynamics.
🎲 Selectable Oscillators:
Users can select from an array of oscillator options for the basis of the volume profile, including:
Relative Strength Index (RSI)
Chande Momentum Oscillator (CMO)
Center of Gravity (COG)
Money Flow Index (MFI)
Rate of Change (ROC)
Commodity Channel Index (CCI)
Stochastic Oscillator (Stoch)
True Strength Index (TSI)
Williams %R (WPR)
The length parameters - Length, Fast Length, Slow Length allows users to define the period over which the chosen oscillator is calculated, tailoring the sensitivity of the indicator to their trading strategy.
🎲 Dynamic Overbought/Oversold Ranges:
This indicator enhances traditional concepts by introducing dynamic overbought and oversold levels. These adaptable thresholds are calculated using various methods, including:
🎯 Highest/Lowest Range Method : This method establishes the range based on the highest and lowest values of the oscillator within the last N bars.
🎯 Moving Average Range Method : The range is derived from a moving average of the oscillator, providing a smoothed threshold that reflects more recent market conditions.
In addition to these methods, the indicator incorporates a unique 'Sticky Border' feature:
🎯 Sticky Border: With this option enabled, the dynamic ranges maintain their levels until the oscillator breaks out of the range. Once a breakout occurs, the levels are recalculated and updated. This mechanism ensures that the borders remain consistent and relevant, only adjusting to significant market movements that warrant a recalculation.
Users can select their preferred method for determining dynamic ranges, allowing for a customized approach that aligns with their analysis and trading strategy. The sticky border feature further refines this functionality, offering continuity until a decisive market move occurs.
🎲 Volume Profile Calculation Parameters:
🎯 Trend Filter: The indicator provides a versatile trend filter with four selectable options:
Uptrend: The volume profile is calculated when the oscillator indicates an uptrend.
Downtrend: The volume profile is calculated when the oscillator indicates a downtrend.
Any: The volume profile is calculated regardless of the trend.
External: Users can input values from an external indicator. The volume profile is then calculated only when the external indicator's value is non-zero, integrating external analysis into the volume profile construction.
🎯 Precision: Users have the option to define the precision for calculating the volume profile, which is crucial due to the varying scales of different oscillators (e.g., some oscillators range from 0 to 100, while others from -1 to 1). Selecting an appropriate precision ensures that the volume profile is accurately aligned with the minimal price range significant to the chosen oscillator. This setting requires user intervention for optimal configuration, as automatic calculation is not feasible due to the diverse nature of oscillator ranges.
🎯 Number of Bars: Users can select a specific number of bars for volume profile calculation, or opt to include all available historical bars for a comprehensive profile.
🎲 Selecting the right precision:
Users must select the right precision based on their choice of indicator. For example, RSI values range from 0-100. Hence, the default precision of 1 work fine on RSI as the volume profiles are plotted from 0 to 100 at the interval of 0.1
But, the default precision of 1 will not be ok on TSI because TSI values range from -1 to 1. Hence, using 1 as precision will result in very less volume profile lines as shown below.
Due to this, it is necessary to increase the precision for oscillators such as TSI where the range between highest and lowest value is far less. Once we set the precision to 2, we can see more appropriate volume profile division.
🎲 Note of thanks:
This publication uses polyline feature for drawing volume profiles. The advantage of using polyline is that we can overcome max 500 lines issue that we face by using the regular line objects. More details of polyline can be found in the tradingview blog post
Further, using polyline for display of volume profiles is inspired by the publications of fikira and KioseffTrading
K`s Extreme DurationExtreme duration uses a special combination of the RSI and its relative position to deliver a reversal signal.
The following are the conditions to generate signals:
* Bullish signal: The current 8-period RSI is below 50 and above 35 while the previous 5 RSI's are below 35.
* Bearish signal: The current 8-period RSI is above 50 and below 65 while the previous 5 RSI's are above 65.
2Rsi buy & sell & candlesticks patterns in rsi[Trader's Journal]An Ingenious Trading Indicator: RSI, Japanese Candlesticks, and Buy/Sell Signals
The world of trading is a subtle game of analysis, where the smallest piece of information can make the difference between success and failure. In this perpetual quest to anticipate market movements, one indicator stands out: the Relative Strength Index (RSI), a powerful tool that measures the strength of price movements. However, RSI alone may not always suffice for informed trading decisions.
This is where our indicator comes into play, adding a new dimension to your analysis. The indicator skillfully combines RSI with Japanese candlesticks, those small candles rich in market movement information. The goal is clear: to generate buy and sell signals during trend reversals while keeping a keen eye on overbought and oversold zones.
RSI: Guardian of Extremes
The RSI is a basic tool that measures buying and selling pressure on an asset. It oscillates between 0 and 100, signaling overbought levels when the RSI exceeds 70 and oversold levels below 30. These extreme zones are often the stage for trend reversals, but timing is crucial.
Japanese Candlesticks: Messengers of the Market
Japanese candlesticks are more than just candles on a chart. They depict market emotions, reflecting the ongoing struggle between buyers and sellers. Trend reversals are typically heralded by specific candlestick patterns such as the Bearish Engulfing, Evening Star, or Inverted Hammer. These candlesticks act as powerful visual signals.
The Indicator in Action: Timing and Confirmation
When the RSI reaches the overbought zone (above 70) or oversold zone (below 30), our indicator is on alert. This is when vigilance is at its peak. However, buy and sell signals don't occur automatically. They await confirmation from Japanese candlesticks.
For a sell signal, the indicator awaits an exit from the overbought zone, followed by a bearish reversal candlestick. When these conditions are met, the sell signal is triggered. For a buy signal, the process is similar, but upon exiting the oversold zone and in the presence of a bullish candlestick.
The Elegance of the Combination
The beauty of this indicator lies in its ability to combine RSI analysis with the power of Japanese candlesticks. It doesn't just predict trend reversals, it does so elegantly, demanding visual confirmation, thus avoiding false signals.
As the market moves relentlessly, this indicator is your ally for making informed decisions. It reminds you that the wisdom of trading lies in combining different analytical tools to decipher the mysteries of the financial market. Envelop your trading strategies with this indicator, and witness how it can illuminate your path to success.
Fisher+ [OSC]The Fisher Transform Indicator is classified as an oscillator, meaning that its value swings above and below a central point. This characteristic allows traders to identify overbought and oversold conditions, providing potential clues about market reversals. As mentioned previously, it is an oscillator so the strength of the move is displayed by how long the fisher line stays above/below zero. Indicator can be used to aid in confluence near supply/demand zones.
White Line = Fisher
Red/Blue Line = Moving Average
--Changes color whether fisher line is above/below the MA
Red/Blue Shaded Line = Moving Average
--Changes color based on a smoothing factor
Red/Blue Shaded Fill = Asset in Overbought/Oversold Conditions
Red/Blue Circles = Asset in Extreme Overbought/Oversold Conditions
Red/Blue Triangles = MACD Signals Below/Above "0"
Divergence Labels = Asset Signaling Divergence
The moving average line will turn red/blue as long as the fisher line is below/above the moving average. The shaded MA line will switch colors based on if it is moving in an up/down trend. The MA can also be used as a signal and treated similar to an oscillator. Market trending conditions will either keep the MA below/above the dashed zero line.
MACD code credited to LazyBear's MACD Leader indicator. It is used to filter out/confirm any signals such as divergences. As long as the MACD Leader line is above both the MACD line and signal lines then it'll signal with with a triangle. MACD divergences will be added at a later time.
MA + MACD alert TrendsThis is a strategy/combination of warning indicators using 6MA+MACD.
The strategy details are as follows: This is a simple warning strategy created so that we don't have to monitor the candlestick chart too often.
Note: This isn't an entry strategy; it's a signaling strategy for upcoming trends. For maximum efficiency, we should incorporate more formulas into the command. In the case below, I use Fibonacci to enter the command.
This strategy setting works for a 15-minute time frame, but it can still work for different time frames.
It has been working well with Gold and USOIL for the last two years, as well as with currency pairs like EURUSD and many others.
Components:
EMA100 + EMA200 + MA400 + MA800
MACD (timeframe greater than 1 timeframe)
Fibonacci retreat.
Uptrend alert:
Candles on both EMAs (100-200) + 2 SMAs (400-800)
In the previous 80 candles:
EMA100 cross up to EMA200
At the same time, the MACD cross up 0.
The uptrend warning will trigger when EMA6 cuts down to MA10. That's when the price creates the top and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start buying (or wait for markets to break up the trendline to buy).
Downtrend alert:
Candles are below both EMAs ( 100-200 ) + 2 SMAs ( 400-800 )
In the previous 80 candles:
EMA100 cross down to EMA200
At the same time, the MACD cross down zero.
The downtrend warning will trigger when EMA6 cuts to MA10. That's when the price creates a bottom and we'll wait for the market to go back to the Fibonacci threshold of 0.618 and start selling (or wait for the market to break down the trendline to sell).
Recommended RR: 1:1
If you have any questions please let me know!
Voluminati: Uncovering Market SecretsVoluminati: Uncovering Market Secrets
Overview:
The Voluminati indicator dives deep into the secrets of trading volume, providing traders with unique insights into the market's strength and direction. This advanced tool visualizes the Relative Strength Index (RSI) of trading volume alongside the traditional RSI of price, presenting an enriched perspective on market dynamics.
Features:
Volume RSI: A unique twist on the traditional RSI, the Volume RSI measures the momentum of trading volume. This can help identify periods of increasing buying or selling pressure.
Traditional RSI: The renowned momentum oscillator that measures the speed and change of price movements. Useful for identifying overbought or oversold conditions.
Moving Averages: Both the Volume RSI and traditional RSI come with optional moving averages. These can be toggled on or off and are customizable in type (SMA or EMA) and length.
Overbought & Oversold Fills: Visual aids that highlight regions where the Volume RSI is in overbought (above 70) or oversold (below 30) territories. These fills help traders quickly identify potential reversal zones.
How to Use:
Look for divergence between the Volume RSI and price, which can indicate potential reversals.
When the Volume RSI moves above 70, it might indicate overbought conditions, and when it moves below 30, it might indicate oversold conditions.
The optional moving averages can be used to identify potential crossover signals or to smooth out the oscillators for a clearer trend view.
Customizations:
Toggle the display of the traditional RSI and its moving average.
Choose the type (SMA/EMA) and length for both the Volume RSI and traditional RSI moving averages.
Note: Like all indicators, the Voluminati is best used in conjunction with other tools and analysis techniques. Always use proper risk management.
Momentum Madness (AKA: Moms Mad)The "Momentum Madness" indicator is a customizable technical analysis tool designed for TradingView. It aims to help traders assess price momentum and make informed trading decisions. Below is a description of how this indicator works:
Indicator Title and Settings:
The indicator is titled "Momentum Madness" with a short title "Moms Mad."
Users can customize various settings to tailor the indicator to their preferences.
Input Parameters:
Traders can set the lengths (periods) for four different momentum calculations (len1, len2, len3, len4).
They can specify a lookback period for trend direction determination.
Users can choose from three smoothing types (RMA, SMA, EMA) and set the smoothing length (smoothLength).
The indicator offers options to adjust momentum calculations based on volume (useVolumeWeight), RSI (useRSIAdjustment), and MACD (useMACDAdjustment).
If the trend filter is enabled (useTrendFilter), the indicator considers whether the price is above the 200-period SMA.
Traders can incorporate Bollinger Bands adjustments (useBBAdjustment) and set the Bollinger Bands length (bbLength).
A volatility adjustment can be applied (useVolatilityAdjustment), using the Average True Range (ATR) with a specified length (atrLength).
Smoothing Function:
The indicator offers three smoothing options: RMA, SMA, and EMA, allowing users to select their preferred method for smoothing price data.
Momentum Calculations:
The indicator calculates four different momentum values (mom1, mom2, mom3, mom4) by subtracting the current price from historical prices based on the specified lengths.
Enhancement Features:
Users can enhance momentum calculations through volume weighting, RSI adjustment, MACD adjustment, trend filtering, Bollinger Bands adjustment, and volatility adjustment, depending on their preferences.
Trend Direction Detection:
The indicator identifies the trend direction based on the comparison of the current momentum (mom4Smooth) with a momentum value from a specified lookback period. It determines whether the trend is bullish (green), bearish (red), or neutral (no change).
Plots:
The indicator visualizes the four smoothed momentum values (mom1Smooth, mom2Smooth, mom3Smooth, mom4Smooth) as separate plots on the chart, each with its own customizable color.
A zero line is displayed for reference (yellow).
The average momentum (averageMomentumSmooth) is plotted and can be customized with its own color.
The "Momentum 4" plot dynamically changes color based on trend direction (green for bullish, red for bearish).
Fill:
The indicator fills the area between the "Momentum 4" plot and the zero line with a customizable color to highlight bullish or bearish momentum.
Look for crossover events by studying the chart and understanding what they all mean. Happy trading :)
ADX Trend Confirmer [Honestcowboy]The ADX Trend Confirmer aims to give traders or algorithms a way to confirm a trend before entering a trade.
While the default for ADX is a smoothing factor of 14 and a length of 14 to measure directional strength. In my experience this is a lagging indicator and not the best for confirming if the market is trending.
🟢 What are the methods used for confirming trend in this indicator?
ADX above x number : By default we use an ADX length of 3 and it's value needs to be above 50.
ADX sloping up ? This will check if the ADX value is higher than that of previous bar, this to confirm that trend is getting momentum and not slowing down.
close>open / close<open : This is to check in which direction the trend is going.
Mid Point : We use a mid-point between highest high and lowest low in a given period by default of 3 bars. Price needs to close above/below this point to confirm direction. We use previous bar mid-point so there is no repainting of the line.
Min bar ratio: How many percent of the bar is the body? A high amount of wicks but not a lot of body can mean indecision (no trend). This to ensure entries are only after a convincing bar.
🟢 Extra Info:
Thanks to ZenAndTheArtOfTrading for publishing ZenLibrary which we use in this script.
This is not a strategy on it's own but a building block to add to your analysis.
Enhanced TrixThe Enhanced Trix Confluence Oscillator involves utilizing two core components: a slow line and a difference histogram based on a shorter length. Another key aspect is the indicator using the DEMA for greater speed while the triple smoothing still provides accuracy which makes this different from the original indicator. This approach aims to rely on principles of both momentum and divergence.
The ETC aims to filter out market noise to reveal the core trend direction in both the short and medium term. A slow line is calculated using a longer time period with the double exponential moving average, which makes it less responsive to short-term price fluctuations and better at capturing longer-term momentum. It's best used to identify divergences with the asset's price, signaling potential reversals. The difference histogram serves as a more sensitive indicator for trade timing once further calibrated. It's calculated by taking the difference between the displayed length and a shorter period using the same calculation. This histogram also operates as a rate of change like the TRIX.
The slow line identifies broader trends and divergences, while the difference histogram offers a more granular view.
SpiceIn the chart photo is a description for each shape and letter, saying what each one is.
BB, Reversals are off by default.
BB + Reversals + Next bar confirmation - The way this should be used is by waiting for a 1 or 2 bar confirmation closed above/below the high/low of the Reversal candle. So if its a Top R, a yellow box will print as a confirmed 1 bar if it closed below the top R's low, then you can wait for the second bar to close also below the Top R's low. Vice versa with the Bot R.
RSI arrows - Essentially showing you when the multi time frame RSIs are coming back up above 30, or below 70. Respective to what time frames you have selected.
Three Line Strike - A trend continuation candlestick pattern consisting of four candles
Leledc Exhaustion suggest the trend may be reversing. Combined with the moving average as a trend filter, the indicator can signal the end of a pull back and the continuation of the trend.
EMAs - Help measuring the trend direction over a period of time.
Credit to all these amazing creators -
Multi Timeframe RSI (LTF) by @millerrh
3 Line Strike by @Lij_MC 'MarketVision A'
Leledc Exhaustion by @glaz, used updated version by @Joy_Bangla
If anyone uses the BB reversals source code to put into their own indicator/strategy, you are free to do so. Just send me a message I'd love to see your work with it! :)
Thanks to Lij_MC's MarketVision A indicator for inspiring me to add more features. At first it was just the RSI Arrows and the BB reversals candles + Condition but then I found MarketVision A and loved the extra Leledc and 3 Line Strike features.
Hope you enjoy this Spice!
No Signal is 100% correct at what it's trying to do. Use caution when trading!
Practice Risk Management.
RSI Radar Multi Time FrameHello All!
First of all many Thanks to Tradingview and Pine Team for developing Pine Language all the time! Now we have a new feature and it's called Polylines and I developed RSI Radar Multi Time Frame . This script is an example and experimental work, you can use it as you wish.
The scripts gets RSI values from 6 different time frames, it doesn't matter the time frame you choose is higher/lower or chart time frame. it means that the script can get RSI values from higher or lower time frames than chart time frame.
It's designed to show RSI Radar all the time on the chart even if you zoom in/out or scroll left/right.
You can set OB/OS or RSI line colors. Also RSI polyline is shown as Curved/Hexagon optionally.
Some screenshots here:
Doesn't matter if you zoom out, it can show RSI radar in the visible area:
Another example:
You can change the colors, or see the RSI as Hexagon:
Time frames from seconds to 1Day in this example while chart time frame is any ( 30mins here )
Enjoy!
RSI Heatmap Screener [ChartPrime]The RSI Heatmap Screener is a versatile trading indicator designed to provide traders and investors with a deep understanding of their selected assets' market dynamics. It offers several key features to facilitate informed decision-making:
█ Custom Asset Selection:
The user can choose up to 30 assets that you want to analyze, allowing for a tailored experience.
█ Adjustable RSI Length:
Customize your analysis by adjusting the RSI length to align with your trading strategy.
█ RSI Heatmap:
The heatmap feature uses various colors to represent RSI values:
█ Color coding for labels:
Grey: Signifies a neutral RSI, indicating a balanced market.
Yellow: Suggests overbought conditions, advising caution.
Pale Red: Indicates mild overbought conditions in a strong area.
Bright Red: Represents strong overbought conditions, hinting at a potential downturn.
Pale Green: Signals mild oversold conditions with signs of recovery.
Dark Green: Denotes full oversold conditions, with potential for a bounce.
Purple: Highlights extremely oversold conditions, pointing to an opportunity for a relief bounce.
█ Levels:
Central Plot and Zones: The central plot displays the average RSI of the selected assets, offering an overview of market sentiment. Overbought and oversold zones in red and green provide clear reference points.
█ Hover Labels:
Hover over an asset to access details on various indicators like VWAP, Stochastic, SMA, TradingView ranking, and Volume Rating. Bullish and bearish indicators are marked with ticks and crosses, and a fire emoji denotes heavily overextended assets.
█ TradingView Ranking:
Utilize the TradingView ranking metric to assess an asset's performance and popularity.
Thank you to @tradingview for this ranking metric.
█ Volume Rating:
Gain insights into trading volumes for more informed decision-making.
█ Oscillator at the Bottom:
The RSI average for the entire market, presented in a normalized format, offers a broader market perspective. Green indicates a favorable buying area, while red suggests market overextension and potential short or sell opportunities.
█ Heatmap Visualization:
Historical RSI values for each selected asset are displayed. Red indicates overbought conditions, while green signals oversold conditions, helping you spot trends and potential turning points.
This screener is designed to make entering the market simpler and more comprehensive for all traders and investors.
Machine Learning: Optimal RSI [YinYangAlgorithms]This Indicator, will rate multiple different lengths of RSIs to determine which RSI to RSI MA cross produced the highest profit within the lookback span. This ‘Optimal RSI’ is then passed back, and if toggled will then be thrown into a Machine Learning calculation. You have the option to Filter RSI and RSI MA’s within the Machine Learning calculation. What this does is, only other Optimal RSI’s which are in the same bullish or bearish direction (is the RSI above or below the RSI MA) will be added to the calculation.
You can either (by default) use a Simple Average; which is essentially just a Mean of all the Optimal RSI’s with a length of Machine Learning. Or, you can opt to use a k-Nearest Neighbour (KNN) calculation which takes a Fast and Slow Speed. We essentially turn the Optimal RSI into a MA with different lengths and then compare the distance between the two within our KNN Function.
RSI may very well be one of the most used Indicators for identifying crucial Overbought and Oversold locations. Not only that but when it crosses its Moving Average (MA) line it may also indicate good locations to Buy and Sell. Many traders simply use the RSI with the standard length (14), however, does that mean this is the best length?
By using the length of the top performing RSI and then applying some Machine Learning logic to it, we hope to create what may be a more accurate, smooth, optimal, RSI.
Tutorial:
This is a pretty zoomed out Perspective of what the Indicator looks like with its default settings (except with Bollinger Bands and Signals disabled). If you look at the Tables above, you’ll notice, currently the Top Performing RSI Length is 13 with an Optimal Profit % of: 1.00054973. On its default settings, what it does is Scan X amount of RSI Lengths and checks for when the RSI and RSI MA cross each other. It then records the profitability of each cross to identify which length produced the overall highest crossing profitability. Whichever length produces the highest profit is then the RSI length that is used in the plots, until another length takes its place. This may result in what we deem to be the ‘Optimal RSI’ as it is an adaptive RSI which changes based on performance.
In our next example, we changed the ‘Optimal RSI Type’ from ‘All Crossings’ to ‘Extremity Crossings’. If you compare the last two examples to each other, you’ll notice some similarities, but overall they’re quite different. The reason why is, the Optimal RSI is calculated differently. When using ‘All Crossings’ everytime the RSI and RSI MA cross, we evaluate it for profit (short and long). However, with ‘Extremity Crossings’, we only evaluate it when the RSI crosses over the RSI MA and RSI <= 40 or RSI crosses under the RSI MA and RSI >= 60. We conclude the crossing when it crosses back on its opposite of the extremity, and that is how it finds its Optimal RSI.
The way we determine the Optimal RSI is crucial to calculating which length is currently optimal.
In this next example we have zoomed in a bit, and have the full default settings on. Now we have signals (which you can set alerts for), for when the RSI and RSI MA cross (green is bullish and red is bearish). We also have our Optimal RSI Bollinger Bands enabled here too. These bands allow you to see where there may be Support and Resistance within the RSI at levels that aren’t static; such as 30 and 70. The length the RSI Bollinger Bands use is the Optimal RSI Length, allowing it to likewise change in correlation to the Optimal RSI.
In the example above, we’ve zoomed out as far as the Optimal RSI Bollinger Bands go. You’ll notice, the Bollinger Bands may act as Support and Resistance locations within and outside of the RSI Mid zone (30-70). In the next example we will highlight these areas so they may be easier to see.
Circled above, you may see how many times the Optimal RSI faced Support and Resistance locations on the Bollinger Bands. These Bollinger Bands may give a second location for Support and Resistance. The key Support and Resistance may still be the 30/50/70, however the Bollinger Bands allows us to have a more adaptive, moving form of Support and Resistance. This helps to show where it may ‘bounce’ if it surpasses any of the static levels (30/50/70).
Due to the fact that this Indicator may take a long time to execute and it can throw errors for such, we have added a Setting called: Adjust Optimal RSI Lookback and RSI Count. This settings will automatically modify the Optimal RSI Lookback Length and the RSI Count based on the Time Frame you are on and the Bar Indexes that are within. For instance, if we switch to the 1 Hour Time Frame, it will adjust the length from 200->90 and RSI Count from 30->20. If this wasn’t adjusted, the Indicator would Timeout.
You may however, change the Setting ‘Adjust Optimal RSI Lookback and RSI Count’ to ‘Manual’ from ‘Auto’. This will give you control over the ‘Optimal RSI Lookback Length’ and ‘RSI Count’ within the Settings. Please note, it will likely take some “fine tuning” to find working settings without the Indicator timing out, but there are definitely times you can find better settings than our ‘Auto’ will create; especially on higher Time Frames. The Minimum our ‘Auto’ will create is:
Optimal RSI Lookback Length: 90
RSI Count: 20
The Maximum it will create is:
Optimal RSI Lookback Length: 200
RSI Count: 30
If there isn’t much bar index history, for instance, if you’re on the 1 Day and the pair is BTC/USDT you’ll get < 4000 Bar Indexes worth of data. For this reason it is possible to manually increase the settings to say:
Optimal RSI Lookback Length: 500
RSI Count: 50
But, please note, if you make it too high, it may also lead to inaccuracies.
We will conclude our Tutorial here, hopefully this has given you some insight as to how calculating our Optimal RSI and then using it within Machine Learning may create a more adaptive RSI.
Settings:
Optimal RSI:
Show Crossing Signals: Display signals where the RSI and RSI Cross.
Show Tables: Display Information Tables to show information like, Optimal RSI Length, Best Profit, New Optimal RSI Lookback Length and New RSI Count.
Show Bollinger Bands: Show RSI Bollinger Bands. These bands work like the TDI Indicator, except its length changes as it uses the current RSI Optimal Length.
Optimal RSI Type: This is how we calculate our Optimal RSI. Do we use all RSI and RSI MA Crossings or just when it crosses within the Extremities.
Adjust Optimal RSI Lookback and RSI Count: Auto means the script will automatically adjust the Optimal RSI Lookback Length and RSI Count based on the current Time Frame and Bar Index's on chart. This will attempt to stop the script from 'Taking too long to Execute'. Manual means you have full control of the Optimal RSI Lookback Length and RSI Count.
Optimal RSI Lookback Length: How far back are we looking to see which RSI length is optimal? Please note the more bars the lower this needs to be. For instance with BTC/USDT you can use 500 here on 1D but only 200 for 15 Minutes; otherwise it will timeout.
RSI Count: How many lengths are we checking? For instance, if our 'RSI Minimum Length' is 4 and this is 30, the valid RSI lengths we check is 4-34.
RSI Minimum Length: What is the RSI length we start our scans at? We are capped with RSI Count otherwise it will cause the Indicator to timeout, so we don't want to waste any processing power on irrelevant lengths.
RSI MA Length: What length are we using to calculate the optimal RSI cross' and likewise plot our RSI MA with?
Extremity Crossings RSI Backup Length: When there is no Optimal RSI (if using Extremity Crossings), which RSI should we use instead?
Machine Learning:
Use Rational Quadratics: Rationalizing our Close may be beneficial for usage within ML calculations.
Filter RSI and RSI MA: Should we filter the RSI's before usage in ML calculations? Essentially should we only use RSI data that are of the same type as our Optimal RSI? For instance if our Optimal RSI is Bullish (RSI > RSI MA), should we only use ML RSI's that are likewise bullish?
Machine Learning Type: Are we using a Simple ML Average, KNN Mean Average, KNN Exponential Average or None?
KNN Distance Type: We need to check if distance is within the KNN Min/Max distance, which distance checks are we using.
Machine Learning Length: How far back is our Machine Learning going to keep data for.
k-Nearest Neighbour (KNN) Length: How many k-Nearest Neighbours will we account for?
Fast ML Data Length: What is our Fast ML Length? This is used with our Slow Length to create our KNN Distance.
Slow ML Data Length: What is our Slow ML Length? This is used with our Fast Length to create our KNN Distance.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!
RSI MTF Panel [xdecow]This indicator shows the RSI of up to 10 different timeframes with various customization options:
Panel position
Panel orientation (vertical/horizontal)
Border width and color
Choose up to 10 time frames with RSI length and source
Background and text colors
Thresholds of overbought, oversold, uptrend, downtrend and no-trend zones to change the color of the RSI
Color debug mode
Strong Pullback Indicator [Rami_LB]Strong Pullback Indicator
Description:
The Strong Pullback Indicator is designed to identify potential pullbacks or even trend reversals by utilizing a specific candlestick pattern in conjunction with the Relative Strength Index (RSI). It is advised to employ this indicator in chart intervals of 15 minutes or higher, as intervals below 15 minutes may generate excessive false signals.
Working Mechanism:
Upon detecting the designated candlestick pattern, the indicator examines whether any of the last five candles exhibit RSI values below 30 or above 70 across at least four distinct time intervals, depending on whether the pattern is bullish or bearish. The RSI calculations incorporate eight different intervals: 1 minute (1m), 5 minutes (5m), 15 minutes (15m), 30 minutes (30m), 1 hour (1h), 2 hours (2h), 4 hours (4h), and 1 day (1d). An arrow is rendered above or below the current candle only when these conditions are met.
Users have the option to adjust the number of overbought or oversold intervals, as well as the general settings for the RSI.
SL/TP Lines:
The indicator can also serve as a trade signal to initiate trades in the opposite direction. To evaluate the potential success of a trade in a backtesting scenario, SL (Stop Loss) and TP (Take Profit) lines can be displayed on the chart. The SL is calculated by taking the distance from the close of the current candle to the high/low of the previous candle and multiplying it by 2.
In the settings, you can alter the Risk Reward Ratio (RRR) of the trade. Given the pullback nature of this indicator, a RRR of 1:1 is deemed logical, thus set as the default value.
Bullish vs. Bearish Candle Counter:
An additional feature of this indicator is its ability to analyze the last 100 candles to ascertain the ratio of bullish to bearish candles. When a 60% threshold is reached, the chart background color alters accordingly. This feature was conceived after a thorough analysis of over 50,000 candles of a currency pair revealed nearly identical counts of bullish and bearish candles, suggesting a market tendency to maintain this balance.
Within the settings, you have the flexibility to modify the number of candles to be analyzed and the percentage threshold for each candle type.
Should you have any ideas on how to enhance the accuracy of this indicator, or suggestions for other indicators that could improve the signals, feel free to leave a comment.
RSI Custom LevelsRSI Custom Levels is a "one stop shop" for a complete strategy based on RSI.
AS per principal: RSI oscillates between 0-100 and therefore the indicator is build around various parameters of RSI. It comprises of 4 different levels of RSI and therefore highlights the candles accordingly.
Understanding each LEVEL:
Level 1 (Highlight): Highlights candles that have an RSI value (closing basis) less than Level 1 specified value (default 20)
Level 2 (Highlight): Highlights candles that have an RSI value (closing basis) greater than Level 1 specified value (default 20) and less than Level 2 specified value (default 45)
Level 4 (Highlight): Highlights candles that have an RSI value (closing basis) greater than Level 4 specified value (default 80)
Level 3 (Highlight): Highlights candles that have an RSI value (closing basis) greater than Level 3 specified value (default 55) and less than Level 4 specified value (default 80)
The most efficient way to trade is as follows:
TRENDING SETUPS:
Uptrend Setups: When RSI enters Level 3 with exit at Level 4
Downtrend Setups: When RSI enters Level 2 with exit at Level 1
SIDEWAYS APPLICATION:
When RSI is in between Level 2 and 3 that area has no highlights as the system considers it to be FLAT and non oscillating.
OVERSTRETCHED APPLICATIONS:
Downtrend Reversal: When RSI enters Level 2 from Level 1 that is a sign for a downtrend reversal.
Uptrend Reversal: When RSI enters Level 3 from Level 2 that is a sign for a uptrend reversal.
Moreover the most ideal scenario is to convert the colour of all candles into white (in dark theme) or black(in light theme) for best performance.
OI Volume Oscillator Cross DynamicsThe OI Volume Oscillator Cross Dynamics is a custom indicator designed to analyze the relationship between Open Interest (OI) and Volume Oscillator in the cryptocurrency markets. This tool aims to assist traders in identifying potential market sentiment shifts, enabling them to make informed trading decisions based on the dynamic interplay of these key market components.
Key Components:
Open Interest (OI): This component represents the total number of outstanding derivative contracts, such as futures and options, that have not been settled. Open Interest provides insights into market participation and trader commitment, offering a broader perspective on the flow of money into the market.
Volume Oscillator: The Volume Oscillator is a momentum indicator that showcases the difference between two volume moving averages. It is instrumental in identifying bullish or bearish market trends by providing insights into buying and selling pressure in the market.
Functional Dynamics:
Crossover Analysis: The indicator identifies points where the Volume Oscillator crosses above or below the Open Interest, marking potential shifts in market sentiment. These crossover points are visually represented, making them easily identifiable for analysis.
Visual Cues: The indicator uses visual shapes and colors to enhance interpretability. Bullish crossovers are marked with green upward triangles, while bearish crossovers are represented by red downward triangles.
Customization: The indicator allows for customization of the Volume Oscillator’s sensitivity through a multiplier, enabling traders to adjust the indicator according to their trading strategy and market outlook.
Usage Guidelines:
Bullish Scenario: A crossover of the Volume Oscillator above the Open Interest is interpreted as a bullish signal, indicating potential upward price movement due to increased buying pressure or trading activity.
Bearish Scenario: A crossover of the Volume Oscillator below the Open Interest is seen as a bearish signal, suggesting potential downward price movement due to increased selling pressure or reduced trading activity.
Conclusion:
The OI Volume Oscillator Cross Dynamics indicator is designed to provide traders with a nuanced perspective of market activity through the combined analysis of Open Interest and Volume Oscillator. Its design aims to offer valuable insights, allowing for a strategic approach to trading based on the observed market dynamics.
The code is open source and utilizes Binance info but you can alter the code to meet your needs to go beyond just Bitcoin if needed.
Stablecoin Supply Ratio Oscillator
The Stablecoin Supply Ratio Oscillator (SSRO) is a cryptocurrency indicator designed for mean reversion analysis and sentiment assessment. It calculates the ratio of CRYPTO:BTCUSD 's market capitalization to the sum of stablecoins' market capitalization and z-scores the result, offering insights into market sentiment and potential turning points.
Methodology:
The SSRO is calculated as follows-
method ssro(float src, array stblsrc, int len) =>
float ssr = src / stblsrc.sum() // Source of the underlying divided by the sum of stablecoin sources
(ssr - ta.sma(ssr, len)) / ta.stdev(ssr, len) // Z-Score Transformed
This ratio is Z-Scored to provide a standardized measure, allowing users to identify periods of market fear or greed based on the allocation of capital between the underlying and Stablecoins ( CRYPTOCAP:USDT , CRYPTOCAP:USDC , CRYPTO:TUSD , CRYPTOCAP:BUSD , CRYPTOCAP:DAI , CRYPTOCAP:USDD , CRYPTOCAP:FRAX ). The z-scored values indicate potential areas of discount (buying opportunities) or premium (selling opportunities) relative to historical patterns.
Customization:
Underlying Asset: SSRO is customizable to different underlying assets, offering a versatile tool for various cryptocurrencies.
Calculation Length: Users can adjust the length of the calculation, tailoring the indicator to short or long-term analysis.
Visualization: SSRO can be displayed as candles, providing a visual representation of premium and discount areas.
Interpretation:
Market Sentiment: Lower SSRO values may indicate market fear, suggesting a preference for stablecoins as a relatively safer haven for capital. Conversely, higher values may suggest market greed, as more capital is allocated to the underlying asset.
Utility and Use Cases:
1. Mean Reversion Analysis: SSRO identifies potential mean reversion opportunities, guiding traders on optimal entry and exit points.
2. Sentiment Analysis: The indicator provides insights into market sentiment, aiding traders in understanding market dynamics.
3. Macro Analysis: The majority of cryptos follow \ correlate to CRYPTO:BTCUSD , Therefore by assessing premium and discount areas of CRYPTO:BTCUSD relative to the chosen underlying asset, users gain insights into potential market tops and bottoms.
4. Divergence Analysis: SSRO divergence from price trends can signal potential reversals, providing traders with additional confirmation for their decisions.
The Stablecoin Supply Ratio Oscillator is a valuable tool for cryptocurrency traders, offering a nuanced perspective on market sentiment and mean reversion opportunities. Its customization options and visual representation make it a versatile and powerful addition to the crypto analyst's toolkit.
VAcc (Velocity & Acceleration)VAcc (Velocity & Acceleration) is a momentum indicator published by Scott Cong in Stocks & Commodities V. 41:09 (8–15). It applies concepts from physics, namely velocity and acceleration, to financial markets. VAcc functions similarly to the popular MACD (Moving Average Convergence Divergence) indicator when using a longer lookback period, but produces more responsive results. With shorter periods, VAcc exhibits characteristics reminiscent of the stochastic oscillator.
🟠 Algorithm
The average velocity over the past n periods is defined as
((C - C_n) / n + (C - C_{n-1}) / (n - 1) + … + (C - C_i) / i + (C - C_1) / 1) / n
At its core, the velocity is a weighted average of the rate of change over the past n periods.
The calculation of the acceleration follows a similar process, where it’s defined as
((V - V_n) / n + (V - V_{n - 1}) / (n - 1) + … + (V - V_i) / i + (V - V_1) / 1) / n
🟠 Comparison with MACD
A comparison of VAcc and MACD on the daily Nasdaq 100 (NDX) chart from August 2022 helps demonstrate VAcc's improved sensitivity. Both indicators utilized a lookback period of 26 days and smoothing of 9 periods.
The VAcc histogram clearly shows a divergence forming, with momentum weakening as prices reached new highs. In contrast, the corresponding MACD histogram significantly lagged in confirming the divergence, highlighting VAcc's ability to identify subtle shifts in trend momentum more immediately than the traditional MACD.