ATH Drawdown Indicator by Atilla YurtsevenThe ATH (All-Time High) Drawdown Indicator, developed by Atilla Yurtseven, is an essential tool for traders and investors who seek to understand the current price position in relation to historical peaks. This indicator is especially useful in volatile markets like cryptocurrencies and stocks, offering insights into potential buy or sell opportunities based on historical price action.
This indicator is suitable for long-term investors. It shows the average value loss of a price. However, it's important to remember that this indicator only displays statistics based on past price movements. The price of a stock can remain cheap for many years.
1. Utility of the Indicator:
The ATH Drawdown Indicator provides a clear view of how far the current price is from its all-time high. This is particularly beneficial in assessing the magnitude of a pullback or retracement from peak levels. By understanding these levels, traders can gauge market sentiment and make informed decisions about entry and exit points.
2. Risk Management:
This indicator aids in risk management by highlighting significant drawdowns from the ATH. Traders can use this information to adjust their position sizes or set stop-loss orders more effectively. For instance, entering trades when the price is significantly below the ATH could indicate a higher potential for recovery, while a minimal drawdown from the ATH may suggest caution due to potential overvaluation.
3. Indicator Functionality:
The indicator calculates the percentage drawdown from the ATH for each trading period. It can display this data either as a line graph or overlaid on candles, based on user preference. Horizontal lines at -25%, -50%, -75%, and -100% drawdown levels offer quick visual cues for significant price levels. The color-coding of candles further aids in visualizing bullish or bearish trends in the context of ATH drawdowns.
4. ATH Level Indicator (0 Level):
A unique feature of this indicator is the 0 level, which signifies that the price is currently at its all-time high. This level is a critical reference point for understanding the market's peak performance.
5. Mean Line Indicator:
Additionally, this indicator includes a 'Mean Line', representing the average percentage drawdown from the ATH. This average is calculated over more than a thousand past bars, leveraging the law of large numbers to provide a reliable mean value. This mean line is instrumental in understanding the typical market behavior in relation to the ATH.
Disclaimer:
Please note that this ATH Drawdown Indicator by Atilla Yurtseven is provided as an open-source tool for educational purposes only. It should not be construed as investment advice. Users should conduct their own research and consult a financial advisor before making any investment decisions. The creator of this indicator bears no responsibility for any trading losses incurred using this tool.
Please remember to follow and comment!
Trade smart, stay safe
Atilla Yurtseven
M-oscillator
Gorb DNAIntroduction:
Gorb DNA is a versatile indicator using classic technical analysis components such as moving averages, stochastic oscillator, and histogram blending call/put flow analysis with our proprietary DNA algorithm. This indicator is designed to provide traders with useful market direction, volume, and momentum change visual cues.
Overview:
The Gorb DNA Indicator isn't just another momentum tool; it's a complex integration of innovative market analysis techniques.
By combining moving averages, stochastic oscillator, with proprietary algorithms, this indicator offers a multi-layered view of market trends, by merging call/put flow analysis with traditional market flow assessment.
This is designed for all kinds of traders, using a simple method to deliver visual changes in flow, volume, and momentum.
Core Features: Call/Put Flow & DNA
Call/Put Flow Analysis: This component examines the strength of market buying and selling pressures. It analyzes call (buying) and put (selling) flows using price range movements, providing insights smoothed over a defined period for analysis of market sentiment.
DNA Algorithm: A central feature of this indicator, the DNA algorithm utilizes a specialized moving average and oscillator technique to discern market trends. It presents an innovative approach, calculating the difference between bullish and bearish indicators to offer a detailed analysis of market momentum.
Visualization and Color Coding: The indicator employs a color-coded system for ease of interpretation, with distinct colors indicating different market conditions: white for upward/bullish movement and purple for downward/bearish movement. This feature translating complex data into a visual format that is simple to understand.
How Call/Put Flow Works:
Moving averages are used with volume and candlestick highs/lows over a specific range to help determine the overall flow. It then plots a colored line area that looks like a colored wave using just two colors to provide traders with a visual of the current market flow. This can help traders identify changes in sentiment with simple color cues.
How DNA Works:
A stochastic oscillator is used to measure the current price level relative to its price over a specific range period to analyze the momentum for the two DNA strands. Additionally moving averages are used to confirm trend and identify any divergences relative to the momentum. This is then plotted as two lines(DNA Strands) following the same color scheme as Call/Put Flow. When momentum is picking up in a specific direction, the lines will change colors and cross each other, this gives a visual of momentum now being fully on one side until it starts to change colors and flip that direction.
Custom Algorithm Elements:
Gorb DNA isn't just common tools combined into one indicator. It includes proprietary algorithmic elements tailored to enhance technical analysis and timing. These are the reasons what set this indicator apart from common momentum, sentiment, and volume methods.
We recommend experimenting with these features to choose what best suits your trading style.
Settings:
All skill-level friendly presets, easy to enable features with one-click
Call Flow: allows the user to plot a colored area that looks like waves showing increases/decreases in bullish volume (not to be followed blindly)
Put Flow: allows the user to plot a colored area that looks like waves showing increases/decreases in bearish volume (not to be followed blindly)
DNA Strand 1: allows the user to plot one of the algorithm lines to visualize momentum direction (not to be followed blindly)
DNA Strand 2: allows the user to plot one of the algorithm lines to visualize momentum direction (not to be followed blindly)
DNA Strength: allows the user to a histogram displaying momentum volume bars in the background
Flow Threshold: allows users to plot a dotted line to identify when call/put flow is now above average flow range
All colors are changeable for the user to customize to their liking
Call/Put Flow & DNA Demonstration
In the image below, we can see a basic illustration of how these core features function.
As stated above, call/put flow carefully monitors changes in moving averages, volume, and price action. If the market sentiment is shifting one direction, the call/put flow will plot those changes. If market is bullish, call flow should rise and put flow should decrease. The same goes for the opposite if the market is bearish.
As is the same for the DNA strands, if markets momentum is becoming bullish, the lines will change color and then cross to signify a change in momentum and the call flow in the background should match this change. This creates two layers of confluence in an easy understandable visual method.
Using Call/Put Flow
In the image below, we disabled everything but call flow to demonstrate usage.
On the left side of the image, you can see call flow matched price increase, then started to decline. This created a flow divergence, identifying a possible change in price action coming. This happened once flow crossed back below the threshold line and price then beginning to move lower. On the right side of the image, you can see call flow rising and price increasing. This is a good confluence showing there is bullish sentiment building in the market.
In this next image, we disabled everything but put flow to demonstrate usage.
The left side shows a put flow divergence. Put flow is slowly rising just like price is, this can help a trader identify a possible shift in sentiment coming. And on the right side, we have put flow rising above the threshold line and price beginning to decrease. Now we have confluence of bearish sentiment building in the market.
The image below shows only call & put flow enabled, to display what the above two images combined look like.
As you can see in the image above, these flow visuals help identify the underlying market sentiment. And when they cross, it leads to a change in price action in the direction of the sentiment over the threshold line.
Using DNA Strands
The image below has just DNA strands enabled to demonstrate usage.
On the left is a box highlighting bearish momentum cross. In the circles is the change in momentum shifting from bullish to bearish. The move gets stronger as the DNA strands get closer to cross over signifying strength in the move. On the right side is a box highlighting a bullish momentum cross. The circles again, show the change from bearish to bullish momentum. Like previously said, the move gets stronger as the DNA strands get closer to crossing over, signifying strength in that direction.
The next image shows call/put flow and DNA strands enabled for a full complete picture.
The circles labeled (1) are showing the change in momentum from bullish to bearish. Circle (2) shows call flow decreasing and put flow rising above calls. Finally the arrow points to the DNA strands crossing over and put flow rising above the threshold line. This is 3 levels of easy visual confluence showing a change in sentiment, volume, and momentum to the downside.
The next image will be showing the bullish side with call/put flow and DNA strands enabled.
The circles that are labeled (1), show the visual change in momentum on the DNA strands from bearish to bullish. Circle (2) is the crossing of call flow over put flow and the arrow points to the DNA strands crossing over and call flow above the threshold line. Three simple to use visual confluences to identify change in sentiment, volume, and momentum to the upside.
Conclusion:
Our goal is to provide a unique, yet simple approach to market sentiment & momentum analysis. It's a tool developed for traders seeking user-friendly and easy to use tools that provide easy visual insights of market dynamics. We believe in simplicity, effectiveness, and creating tools to support decision making for all traders.
How to get access:
You can see the Author's instructions to get access to this indicator
RISK DISCLAIMER
All content, tools, scripts & education provided by Gorb Algo are for informational & educational purposes only. Trading is risky and most lose their money, past performance does not guarantee future results.
Dope DPOThe "Dope DPO" (DDPO) indicator is a technical analysis tool designed for traders to identify trends and potential trend changes in the market. It's based on the concept of the Detrended Price Oscillator (DPO), but with several enhancements for greater versatility and user customization.
Key Features of the Dope DPO Indicator:
Averaging Multiple Periods: The indicator averages the DPO calculations over ten different time periods. This averaging helps in smoothing out the volatility and providing a more comprehensive view of the market trend.
Customizable Smoothing: Users can choose the length of the smoothing as well as the type of moving average (SMA, EMA, WMA, or RMA) for smoothing. This allows for flexibility in how the indicator responds to price changes.
Trend Change Detection: The indicator includes a feature to detect changes in the market trend. It does this by comparing the current value of the smoothed DPO to its value a specified number of bars back. This helps in identifying potential reversals or shifts in momentum.
Dynamic Color Coding: The indicator uses color coding (green and red) to visually represent the trend direction. If the smoothed DPO is trending upwards compared to a previous value, the color will be green, indicating bullish momentum. Conversely, a red color signifies bearish momentum.
Horizontal Reference Lines: It includes horizontal lines at specific levels (overbought, zero, and oversold) to provide reference points for interpreting the indicator's values.
Usage:
Traders can use the Dope DPO to gauge the overall market trend and to look for potential entry and exit points based on trend changes.
The color-coded histogram makes it easy to spot when the trend might be reversing, which can be particularly useful in conjunction with other technical analysis tools.
The flexibility in choosing the smoothing method and length allows traders to tailor the indicator to different trading styles and timeframes.
Pullback and Throwback Candle [TrendX_]Pullback and Throwback candles can help traders determine the the potential reversal points
USAGE
The indicator identifies pullback and throwback in overbought and oversold zones by measuring the distance between the price and its relative strength index.
A Pullback is an expected rebound in a downtrend (painted in green area), while a Throwback is a bounceback from an uptrend (painted in red area).
The strategy is useful for valuing reversal points. Accordingly, it can also be helpful for traders to use alongside other Technical Analysis indicators.
DISCLAIMER
This indicator is not financial advice, it can only help traders make better decisions.
There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur.
Therefore, one should always exercise caution and judgment when making decisions based on past performance.
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.
Stochastic Signal Enhancer
This script defines a custom Stochastic Oscillator indicator with additional visual features to assist traders in identifying potential buy and sell opportunities based on overbought and oversold conditions, as well as the crossovers of the %K and %D lines.
How the Indicator Works:
Stochastic Oscillator Components:
- The Stochastic Oscillator is a momentum indicator that compares a particular closing price of an asset to a range of its prices over a certain period of time. The sensitivity of the oscillator to market movements is reducible by adjusting the time period or by taking a moving average of the result.
- The script uses inputs for %K length , %K smoothing , and %D smoothing to calculate the Stochastic lines (%K and %D).
Overbought and Oversold Levels:
- The overbought and oversold levels are set by default at 80 and 20 , respectively. These levels are user-adjustable.
- Horizontal lines are drawn on the chart to visually represent these levels.
Trading Signals:
- Buy Signal : A buy signal is generated when the %K line crosses above the oversold level, indicating potential upward momentum as the price may be considered "cheap" or "undervalued".
- Sell Signal : Conversely, a sell signal occurs when the %K line crosses below the overbought level, suggesting downward momentum as the price may be "expensive" or "overvalued".
- Additionally, the indicator plots a " strong buy " arrow when the %K line crosses above the %D line while in the oversold area, and a " strong sell " arrow when the %K line crosses below the %D line in the overbought area. These signals imply a confirmation of the trend reversal.
Visual Elements:
- The %K line is plotted in blue and the %D line in orange.
- Buy and sell opportunities are highlighted with green and red labels respectively, with arrows pointing up for buy and down for sell.
- Strong buy and sell signals due to %K and %D crossovers are marked with blue and yellow arrows.
Performance in Market Trends:
Trending Markets : During strong trends, stochastic signals can result in false signals as the oscillator can remain in overbought or oversold territories for extended periods. It is often more effective in non-trending or sideways markets.
Sideways Markets : In a range-bound market, the Stochastic Oscillator performs well as prices tend to close near the extremes of the recent range before reversing.
Confirmation with Other Indicators : The indicator can be more effective when used in conjunction with other technical analysis tools, such as trend lines or moving averages, to confirm the signals.
Adjustable Parameters : Traders can adjust the parameters (%K length, smoothing values, overbought/oversold levels) to better suit the asset being traded or to align with personal trading styles.
The given script provides a multi-faceted view of the Stochastic Oscillator by not only providing the basic overbought and oversold signals but also by enhancing the visual cues for better decision-making. The additional crossover signals act as a potential confirmation, offering a layered approach to interpreting market momentum and possible reversals.
// © ClearTradingMind
TrendX Earning-Approach Valuation (Stock)TrendX Earning-Approach Valuation (Stock) indicator is a Fundamental Analysis tool that only focus on the Earnings of the company.
USAGE
This Earning-Approach Valuation is easy to use and customize. TrendX valuates a company's Fair Value based on all the earnings multiples and its average with a little interference of users' risk capacity. Technical Analysis is also included as an additional basis for investment decisions.
Valuation tool
The strategy projects the future value of the company based on its Fiscal Quarter operating income, net income and diluted total shares outstanding. Operating income is the income from the core business operations, before interest and taxes. Net income is the income after interest, taxes and other expenses. The strategy assumes that the operating income and net income will grow at the same rate as their historical values.
The strategy also adjusts the diluted total shares outstanding, which may change due to dilutive securities, to calculate the projected EPS. It then uses the price-to-earnings (P/E) as a multiple in future valuation approach.
Value classification
TrendX classifies 2 phases between Under-value and Over-value, which are represented in green and red, respectively. This toolkit can work well with other indicators of technical analysis, but it can also stand on its own because of its built-in Technical Analysis plugins, which are explained below.
Display potential Support and Resistance levels
TrendX shows support and resistance levels based on the company's past and present Fair Values, which is colored in white. It also draws a current Fair Value line with green coloring.
Potential Entry and Exit zone
By combining the Breakout and retesting technique in both Lagging and Leading's perpective, with the Earning-based valuation, traders can optimize not only the entry-level at the Undervalued zone but also the exit-level at the potential “Bear” area.
Margin of Safety
TrendX also incorporates the margin of safety, which is shown in Risk Ability for customs.
CONCLUSION
The strategy is useful for valuing companies that have positive and stable earnings, and a predictable growth rate. Accordingly, it can also be helpful for traders to use alongside other forms of Technical Analysis.
Many traders fail to realize that indicators are not enough to achieve success, and they end up getting confused and frustrated by trying to find a perfect solution. TrendX aims to avoid this problem by providing clear and concise signals that can be easily followed
Disclaimer
The results achieved in the past are not all reliable sources of what will happen in the future. There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur.
The strategy also relies on assumptions that may not be accurate or realistic, which can vary depending on the market conditions and investor sentiment.
If you notice significant changes in the Valuation over time, it is due to revisions in the company’s reported financials, changes in accounting standards, or corrections of previous errors.
Therefore, you should always exercise caution and judgment when making decisions based on past performance.
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.
ai.1ai.1 = All in One indicator
"ai.1" is a high probability low risk predictive oscillator based on various well known indicators "All in One". I wanted to be able to get an equal output result for a multiple trading metrics comparison. I wanted to see what all market participants see, because all market participants look at charts in different ways with different indicators. By combining these well known trading indicators into the same scale I get a comprehensive view of the market as it is, not just through one prism.
The ai.1 indicator uses Stochastic and/or Moving Average Convergence Divergence formulas to visualize: Relative Strength Index, Commodity Channel Index, Money Flow Index, True Strength Index, Momentum, Average True Range, Standard deviation, Accumulation Distribution Index, Price Volume Trend, Positive Volume Index and/or On Balance Volume in a standard type of appearance.
1) MACD: Moving Average Convergence Divergence reveals changes in the strength, direction, momentum, and duration of a trend in a stock's price.
2) Stoch: Stochastic is a technical indicator widely used in short-term trend analysis of futures and stock markets. Stochastic is calculated with the lowest and highest by a formula of 100.
3) RSI: Relative Strength Index is calculated from the upward and downward price changes.
4) CCI: The Commodity Channel Index is calculated as the difference between the typical price of a commodity and its simple moving average, divided by the mean absolute deviation of the typical price.
5) MFI: The Money Flow Index is a technical oscillator that uses price and volume for identifying overbought or oversold conditions in an asset.
6) TSI: True Strength Index uses moving averages of the underlying momentum of a financial instrument.
7) MOM: Momentum is simply the difference of the source price and price length.
8) ATR: Average True Range measures the range between high and low.
9) STDV: Standard deviation is the statistical measure of market volatility, measuring how widely prices are dispersed from the average price. If prices trade in a narrow trading range, the standard deviation will return a low value that indicates low volatility.
10) AD: Accumulation Distribution Index is a cumulative indicator that uses volume and price to assess whether a stock is being accumulated or distributed.
11) PVT: Price Volume Trend uses the cumulative volume and price change.
12) PVI: Positive Volume Index compares the previous volume flow with the current volume.
13) OBV: On Balance Volume is the cumulative volume change.
To be able to merge these formulas I had to normalize the math into 1 scale. I did this by using Stochastic and then converting that by its historical minimum and maximum. The normalized output scale range for ai.1 is -100 to 100.
100 = overbought
-100 = oversold
MACD is a unique scale with neutral zero.
Stochastic is a 0-100 scale.
Relative Strength Index is a 0-100 scale.
Commodity Channel Index is generally a -400<400 scale with neutral zero.
Money Flow Index is a 0-100 scale.
True Strength Index is a unique scale with neutral zero.
Momentum is a unique scale with neutral zero.
Average True Range is a unique scale.
Standard deviation is a unique scale.
Accumulation Distribution Index is a unique scale.
Price Volume Trend is a unique scale.
Positive Volume Index is a unique scale.
On Balance Volume is a unique scale.
Everything in between is either bullish or bearish.
Rising = bullish
Falling = bearish
crossover = bullish
crossunder = bearish
cross = anticipation of the next cross direction
convergence = direction change
divergence = momentum
*Represents a how to use tooltip*
The default input settings / style:
Source = ohlc4
7 = K length, *Stochastic length*
3 = D smoothing, *smoothing length*
6 = MACD-ai.1 fast, *fast length line*
color = blue
13 = MACD-ai.1 slow, *slow length line*
color = white
4 = MACD-ai.1 signal, *histogram length*
color rising above 0 = bright green
color falling above 0 = dark green
color falling below 0 = bright red
color rising below 0 = dark red
2 = Stretch, *Output multiplier for MACD-ai.1 visual expansion*
1 = MA, *moving average of ALL or Choice Type ai.1-lines*
MACD-ai.1 variable choice / Choice type ai.1-line:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*
MACD-ai.1 price label / text color
crossover = green label / black text
crossunder = red label / white text
MACD-ai.1 price label on / off
*unchecked off/ checked on*
label decimal place: 2
*example: use 0 for a round number, use 4 for Forex*
long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot
All ai.1-line = weighted average of all metrics
All cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -65 green tiny circle
extreme oversold = -85 green small circle
overbought = 65 red tiny circle
extreme overbought = 85 red small circle
All ai.1-line extreme cross price label on / off
All ai.1-line cross price label on / off
All ai.1-line reversal price label on / off
*unchecked off/ checked on*
ai.1-lines variable choice:
RSI *Relative Strength Index*
CCI *Commodity Channel Index*
MFI *Money Flow Index*
TSI *True Strength Index*
MOM *Momentum*
ATR&STDV *weighted average True Range & Standard Deviation*
ATR *True Range*
STDV *Standard Deviation*
PVT *Price Volume Trend*
PVI *Positive Volume Index*
OBV *On Balance Volume*
AD *Accumulation Distribution*
ALL *Weighted average of all*
ALLP *Weighted average of all price based*
ALLV *Weighted average of all volume based*
Choice Type ai.1-line cross oversold / overbought levels
*values used to trigger a label or character print*
oversold = -70 green tiny circle
extreme oversold = -90 green small circle
overbought = 70 red tiny circle
extreme overbought = 90 red small circle
Choice Type ai.1-line extreme cross price label on / off
Choice Type ai.1-line cross price label on / off
Choice Type ai.1-line reversal price label on / off
*unchecked off/ checked on*
Horizontal lines:
100 white
75 red
50 yellow
25 purple
0 white
-25 blue
-50 orange
-75 green
-100 white
Example screenshots of various ways to view ai.1 indicator depending on your preferred settings:
MACD-ai.1 with price labels and All ai.1-line output with directional color:
RSI ai.1-line blue with AD ai.1-line white
MACD-ai.1 fast, slow lines w/ signal histogram
long MACD-ai.1 crossover = green tiny circle
short MACD-ai.1 crossunder = red tiny circle
bullish rising green tiny dot
bearish falling red tiny dot
ATR&STDV ai.1-line with directional color:
All ai.1-line output with directional color & extreme overbought / oversold points:
All price ai.1-line purple with All volume ai.1-line orange
The ai.1 indicator can be used independently by itself or in conjunction with your favorite indicator to compare and contrast the accuracy for a trade setup entry and/or exit. The ai.1 indicator can be used on all time frames from 1 minute to 1 month etcetera. However, the default length settings are fine tuned & quick reacting for trading in real time. So, you can make it slower by adjusting the length larger to fit your trading or investing time frame. But I would not tinker with the default length settings without validating its output by back testing it on each specific time frame.
Different time frame snapshot examples:
EUR/USD 1hr chart:
BTC/USD 1 day chart:
ES1! 2 week chart:
TSLA 2 day chart:
TrendX Financial Modelling (Stock)TrendX Financial Modelling (Stock) indicator is a comprehensive tool that takes full advantage of both financial modelling and technical analysis to estimate the Intrinsic Value of any security. There are 2 main Fundamental methods for Intrinsic valuation: Discounted Cash Flow (DCF) and Basic Valuation.
USAGE
This Intrinsic Value Indicator is easy to use and customize. TrendX enables adjusting the parameters such as the type of basic valuation, market expected growth rate, the earnings multiple, and the margin of safety level according to your own assumptions and preferences. You can also apply different filters and alerts to get notified when a buy or sell signal is generated.
Valuation tool
DCF model will calculate the Present Value of all expected future cash flows, discounted at an appropriate rate, and compare it with the current market condition. In addition, Basic Valuation consists of 6 types of approaches depending on the industry of the target company. Combining these, the chart will show the potential target value from the current price.
Value classification
TrendX classifies 2 phases between Under-value and Fair-value, which are represented in Purple and grey, respectively.
Display potential targets
TrendX spot key target levels based on TrendX’s Valuation toolkit.
Optimal valued entry-exit
By combining the Breakout structure and divergences with the TrendX financial model, investors can optimize not only the entry-level at the Undervalued zone but also the exit-level at the potential “Bear” area.
Margin of safety
TrendX also incorporates the margin of safety principle, which is a key concept in value investing. The margin of safety is the secured zone between the intrinsic value and the market price, expressed as a percentage. The higher the margin of safety, the lower the risk of loss and the higher the potential return, which is customizable based on your preferences.
CONCLUSION
The Intrinsic Financial Model Indicator is very practical for any investor who wants to make informed and rational decisions based on Fundamental Analysis. It will help find undervalued gems in any market and avoid overpaying for overhyped stocks. Accordingly, it can also be helpful for traders to use alongside other forms of Technical Analysis.
Many traders fail to realize that indicators are not enough to achieve success, and they end up getting confused and frustrated by trying to find a perfect solution. TrendX aims to avoid this problem by providing clear and concise signals that can be easily followed
DISCLAIMER
The results achieved in the past are not all reliable sources of what will happen in the future. There are many factors and uncertainties that can affect the outcome of any endeavor, and no one can guarantee or predict with certainty what will occur.
If you notice significant changes in the Intrinsic Valuation over time, it is due to revisions in the company’s reported financials, changes in accounting standards, or corrections of previous errors.
Therefore, you should always exercise caution and judgment when making decisions based on past performance.
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 :)
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.
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.
Blockunity Performance Oscillator (BPO)The Performance Oscillator (BPO) is an intuitive indicator that makes it easy to analyze the performance of any asset. It operates over 5 simultaneously configurable periods. All design elements are also customizable. The integrated table summarizes the information in color, so you can quickly assess the different variations.
How it works
The operation of this script is quite simple. It calculates the performance of the selected asset over the different lookback periods indicated in the parameters (default: 1, 7, 30, 120 and 365). It then plots the lines in an independent panel (it is possible to hide lines by unchecking them in the parameters). Finally, performance information is displayed in a table for enhanced clarity.
The Idea
The idea is to bring information about the performance of any asset into your TradingView chart, and to make it visual. What's more, it can give an idea of the asset's trend, as, for example, if all periods are green (positive) in the table, then we can deduce that the selected asset is in a clear uptrend.
Being able to visually analyze several variations over different periods at the same time, while adding this information to a colorful table, makes it unique.
Usage Advice
You can use this indicator on any asset or index.
For example, if you use the indicator in a daily timeframe, the default periods will be 1 day, 7 days, 30 days, etc. If you use the indicator in a horary timeframe, the default periods will be 1 hour, 7 hours, 30 hours, etc.
Parameters
Display of different periods.
Periods according to the timeframe selected on the graph.
Line widths.
Line colors.
Table parameters.
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.