Degen Dominator - (Crypto Dominance Tool) - [mutantdog]A fairly simple one this time. Another crypto dominance tool, consider it a sequel to Dominion if you will. Ready to go out-of-the-box with a selection of presets at hand.
The premise is straightforward, rather than viewing the various marketcap dominance indexes as their standard percentage values, here we have them represented as basic oscillators. This allows for multiple indexes to be viewed in one pane and gives a decent overview of their relative changes and thus the flow of capital within the overall crypto market. As a general rule-of-thumb, when a plot is above zero then the dominance is climbing, thus capital is likely flowing in that direction. The inverse applies when below zero. When the market is quiet, all will be close to zero. Basic overbought/oversold conditions can also be inferred too.
Active as default are:
Bitcoin (0range): CRYPTOCAP:BTC.D
Ethereum (Blue): CRYPTOCAP:ETH.D
Stablecoins (Red): CRYPTOCAP:USDT.D + CRYPTOCAP:USDC.D
Altcoins (Green): 100 - (all of the above)
These are plotted according to the selected oscillator preset and it's length parameter. The default is set to 'EMA Centre'. An optional RMA(3) smoothing filter is also included and active as default. Each index plot has its own colour and opacity settings available on the main page.
Additionally, the following are also available (deactivated as default):
Total DeFi : CRYPTOCAP:TOTALDEFI.D
Current Symbol : Will try to match corresponding dominance index for the chart symbol if available.
Custom Input : Manual text input, will try to match if available.
-------------
The included presets determine the oscillator type used, all are fairly simple and easy to interpret:
EMA Centre
SMA Centre
Median Centre
Midrange Centre
The first 4 are all variations on the same theme, simply calculated as the difference between the actual value and its respective average. EMA is the default and is my personal preference, if you generally favour using an SMA then perhaps that would be your better choice. Like the two MAs, median and midrange are also dependant on the length parameter. Midrange is calculated from the difference between highest and lowest values within the length period, with a little extra smoothing from an RMA(3).
Simple Delta
Weighted Delta
Running Delta
Often referred to as momentum, delta is just change over time. 'Simple' is the most basic of these, the difference between the current value and the value (length) bars prior. A more long-winded way of calculating this would be to take the difference between each bar and its previous then average them with an SMA which results in the same value. 'Weighted' adopts that principle but instead uses a WMA, likewise 'Running' is the same but using an RMA. The latter is actually the basis of RSI calculations before any normalisation is applied, as you can see in the next preset.
RSI
CMO
RSI really should not need explaining, it is however applied a little differently here to the usual, in this case centred around 0. The x100 multiplication factor has been dropped too for the sake of consistency. The same principle applies with CMO, which is basically a 'Simple Delta' version of RSI.
Hard Floor
Soft Floor
These last two are a little different but both can provide useful interpretations. The floor here is simply the lowest value within the chosen length period. 'Hard' plots the difference between the current value and the floor, thus giving a value that is always above 0. In this case, focus should be given to the relative heights of each with a simple interpretation that capital is flowing into those that are climbing and out of those descending. 'Soft' is essentially the same except that the floor is smoothed with an RMA(3), the result being that when new lows are made, the plot will break below 0 before the floor corrects a few bars later. This soft break provides additional information to that given by 'Hard' so is probably the more useful of the two.
------------
To finish it off, a bunch of preset alerts are included for the various 0 crossings.
So that just about covers everything then, all quite straightforward really. Future updates may include some extra stuff, the composition of the stablecoin index may change if necessary too. While this is not really a tweaker's tool like some of my other projects, there's still some room for experimentation here. The 'current' and 'custom' indexes can provide some useful data for compatible altcoins and the possibility to compare inter-related tokens (eg: Doge vs Shib). While i introduced this as a sort of sequel to Dominion, it is not intended as a replacement but more of a companion. This initially started as a feature intended for that one but it quickly grew into its own thing. Both the oscillator view here and the more traditional view have merits, i personally use this one primarily now but frequently refer to Dominion for confirmations etc.
That's it for now anyway. As always, feedback is welcome below. Enjoy!
Oscillators
Correlation AnalysisAs the name suggests, this indicator is a market correlation analysis tool.
It contains two main features:
- The Curve: represents the historic correlation coefficient between the current chart and the “Reference Market” input from the settings menu. It aims to give more depth to the current correlation values found in the second feature.
- The Screener: this second feature displays all correlation coefficient values between the (max) 20 markets inputs. You can use it to create several screeners for several market types (crypto, forex, metals, etc.) or even replicate your current portfolio of investments and gauge the correlation of its components.
Aside from these two previous features, you can visually plot the variation rate from one bar to another along with the covariance coefficient (both used in the correlation calculation). Finally, a simple “signal” moving average can be applied to the correlation coefficient .
I might add alerts to this script or even turn it into a strategy to do some backtesting. Do not hesitate to contact me or comment below if this is something you would be interested in or if you have any suggestions for improvement.
Enjoy!!
Jdawg Sentiment Momentum Oscillator EnhancedThe Jdawg Sentiment Momentum Oscillator Enhanced (JSMO_E) is a versatile technical analysis indicator designed to provide traders with insights into potential trend changes and overbought or oversold market conditions. JSMO_E combines the principles of the Relative Strength Index (RSI), the Simple Moving Average (SMA), and the Rate of Change (ROC) to create a comprehensive tool for assessing market sentiment and momentum.
The uniqueness of JSMO_E lies in its ability to integrate the RSI, SMA of RSI, and ROC of RSI, while also allowing users to customize the weight of the ROC component. This combination of features is not commonly found in other indicators, which increases its distinctiveness.
To effectively use JSMO_E, follow these steps:
Apply the JSMO_E indicator to the price chart of the asset you are analyzing.
Observe the plotted JSMO_E line in relation to the zero line, overbought, and oversold levels.
When the JSMO_E line crosses above the zero line, it may signal the beginning of an uptrend or bullish momentum. Conversely, when the JSMO_E line crosses below the zero line, it may indicate the start of a downtrend or bearish momentum.
Overbought and oversold levels, marked by the red and green dashed lines, respectively, can serve as a warning that a trend reversal may be imminent. When the JSMO_E line reaches or surpasses the overbought level, it might indicate that the asset is overvalued and could experience a price decline. Conversely, when the JSMO_E line reaches or goes below the oversold level, it can signal that the asset is undervalued and may experience a price increase.
Adjust the input parameters (RSI Period, SMA Period, ROC Period, and ROC Weight) as needed to optimize the indicator for the specific market and time frame you are analyzing.
The JSMO_E indicator is suitable for various markets, including stocks, forex, commodities, and cryptocurrencies. However, its effectiveness may vary depending on the market conditions and time frames used. It is recommended to use JSMO_E in conjunction with other technical analysis tools and methods to confirm potential trade setups and improve overall trading performance. Always conduct thorough backtesting and forward-testing before employing any indicator in a live trading environment.
CoffeeShopCrypto 3pl MAThe CoffeeShopCrypto 3pl MA indicator is a technical analysis tool that uses three different moving averages to identify trends in the price of an asset. The three moving averages have lengths of 12, 26, and 50. If these numbers sound familiar its because they are based off the standard of the MACD indicator, and can be either simple moving averages (SMA) or exponential moving averages (EMA), depending on user preference.
The following is plotted on the chart
The fast EMA/SMA (based on the 12-period length) in yellow.
The mid EMA/SMA (based on the 26-period length) in gray.
The slow EMA/SMA (based on the 50-period length) in either green or red, depending on whether the current close price is above or below the Overall Trend MA.
In addition to the moving averages, the indicator also calculates the MACD (Moving Average Convergence Divergence), and uses it to color the bars based on the momentum of the asset.
The MACD is calculated using two user-defined lengths (fast and slow), as well as a user-defined smoothing length for the signal line. The oscillator and signal line can be either SMA or EMA, and the colors of the MACD bars are based on whether the histogram is growing or falling, and whether it is above or below the zero line.
Overall, this indicator provides traders with a comprehensive tool for understanding the trend of an asset, as well as the momentum behind that trend. The moving averages provide a clear visual representation of the trend, while the MACD bars give insight into the strength of that trend and potential shifts in momentum.
---------------LONG ENTRY----------------
MA1 above MA2 and Overall trend = Green
IF RSI is above its midline you are confirmed for a long entry
-----------Short Entry--------------
MA1 below MA2 and Overall trend = Red
IF RSI is below its midline you are confirmed for a short entry
Adaptive Fusion ADX VortexIntroduction
The Adaptive Fusion ADX DI Vortex Indicator is a powerful tool designed to help traders identify trend strength and potential trend reversals in the market. This indicator uses a combination of technical analysis (TA) and mathematical concepts to provide accurate and reliable signals.
Features
The Adaptive Fusion ADX DI Vortex Indicator has several features that make it a powerful tool for traders. The Fusion Mode combines the Vortex Indicator and the ADX DI indicator to provide a more accurate picture of the market. The Hurst Exponent Filter helps to filter out choppy markets (inspired by balipour). Additionally, the indicator can be customized with various inputs and settings to suit individual trading strategies.
Signals
The enterLong signal is generated when the algorithm detects that it's a good time to buy a stock or other asset. This signal is based on certain conditions such as the values of technical indicators like ADX, Vortex, and Fusion. For example, if the ADX value is above a certain threshold and there is a crossover between the plus and minus lines of the ADX indicator, then the algorithm will generate an enterLong signal.
Similarly, the enterShort signal is generated when the algorithm detects that it's a good time to sell a stock or other asset. This signal is also based on certain conditions such as the values of technical indicators like ADX, Vortex, and Fusion. For example, if the ADX value is above a certain threshold and there is a crossunder between the plus and minus lines of the ADX indicator, then the algorithm will generate an enterShort signal.
The exitLong and exitShort signals are generated when the algorithm detects that it's a good time to close a long or short position, respectively. These signals are also based on certain conditions such as the values of technical indicators like ADX, Vortex, and Fusion. For example, if the ADX value crosses above a certain threshold or there is a crossover between the minus and plus lines of the ADX indicator, then the algorithm will generate an exitLong signal.
Usage
Traders can use this indicator in a variety of ways, depending on their trading strategy and style. Short-term traders may use it to identify short-term trends and potential trade opportunities, while long-term traders may use it to identify long-term trends and potential investment opportunities. The indicator can also be used to confirm other technical indicators or trading signals. Personally, I prefer to use it for short-term trades.
Strengths
One of the strengths of the Adaptive Fusion ADX DI Vortex Indicator is its accuracy and reliability. The indicator uses a combination of TA and mathematical concepts to provide accurate and reliable signals, helping traders make informed trading decisions. It is also versatile and can be used in a variety of trading strategies.
Weaknesses
While this indicator has many strengths, it also has some weaknesses. One of the weaknesses is that it can generate false signals in choppy or sideways markets. Additionally, the indicator may lag behind the market, making it less effective in fast-moving markets. That's a reason why I included the Hurst Exponent Filter and special smoothing.
Concepts
The Adaptive ADX DI Vortex Indicator with Fusion Mode and Hurst Filter is based on several key concepts. The Average Directional Index (ADX) is used to measure trend strength, while the Vortex Indicator is used to identify trend reversals. The Hurst Exponent is used to filter out noise and provide a more accurate picture of the market.
In conclusion, the Adaptive Fusion ADX DI Vortex Indicator is a versatile and powerful tool for traders. By combining technical analysis and mathematical concepts, this indicator provides accurate and reliable signals for identifying trend strength and potential trend reversals. While it has some weaknesses, its many strengths and features make it a valuable addition to any trader's toolbox.
---
Credits to:
▪️@cheatcountry – Hann Window Smoohing
▪️@loxx – VHF and T3
▪️@balipour – Hurst Exponent Filter
MTF Diagonally Layered RSI - 1 minute Bitcoin Bot [wbburgin]This is a NON-REPAINTING multi-timeframe RSI strategy (long-only) that enters a trade only when two higher timeframes are oversold. I wrote it on BTC/USD for 1min, but the logic should work on other assets as well. It is diagonally layered to be profitable for when the asset is in a downtrend.
Diagonal layering refers to entry and exit conditions spread across different timeframes. Normally, indicators can become unprofitable because in downtrends, the overbought zones of the current timeframe are not reached. Rather, the overbought zones of the faster timeframes are reached first, and then a selloff occurs. Diagonally-layered strategies mitigate this by selling diagonally, that is, selling once the faster timeframe reaches overbought and buying once the slower timeframe reaches oversold.
Thus this strategy is diagonally layered down . I may create a separate script that alternates between diagonal-up and diagonal-down based off of overall trend, as in extended trend periods up this indicator may not flash as frequently. This can be visualized in a time series x timeframe chart as an "X" shape. Something to consider...
Let me know if you like this strategy. Feel free to alter the pyramiding entries, initial capital, and entry size, as well as commission regime. My strategies are designed to maximize average profit instead of flashing super frequently, as the fees will eat you up. Additionally, at the time of publication, all of my strategy scripts are intended to have profitable Sharpe and Sortino ratios.
Timeframes, RSI period, and oversold/overbought bounds are configurable.
RSI with Keltner Channel (+EMA Ribbon)Note that the EMA Ribbon is not embedded into the custom RSI with KC. In the future I plan to embed it. The EMA Ribbon I use is the following:
This is my very first attempt at modifying an indicator. I basically attempted to add a Keltner Channel around RSI.
This was used as an alternative channel to the standard Bollinger Band. KC goes hand-in-hand with the EMA Ribbon. KC also helps to better pinpoint relative-overbought/oversold conditions.
In my belief, the 20-80 levels don't behave as overbought/oversold levels. An exponential chart would always be overbought. So a Keltner Channel could in theory (and in practice) give us greater understanding on chart analysis.
This custom indicator is a bodge . It has lots of extra calculations that can be removed. I post this rough indicator for the community to give feedback on how I can improve it, or perhaps give an idea to some of you. Please don't judge me, I wouldn't post it but lately some have asked me about it.
In the future I would like to embed an EMA ribbon in this RSI indicator, just like I did in the following idea.
During this period, I don't really have the time to fix this indicator to my standards. So I will leave it as is for the foreseeable future.
If you have the will and knowledge however, feel free to built upon this indicator and share it!
Tread lightly, for this is hallowed ground.
-Father Grigori
PS. In this indicator, I would replace all the moving averages with an EMA Ribbon "average".
Triple RSI Indicator with ToggleThis script combines three relative strength index (RSI) indicators with different periods, and allows the user to toggle between them to generate overbought and oversold signals. The indicator is named "Triple RSI Indicator with Toggle" and has the short title "TRSI-T."
The input parameters for the RSI periods are set by the user and include a short RSI with a period of 5, a main RSI with a period of 14, and a long RSI with a period of 28. The overbought and oversold levels for each RSI can also be set by the user.
The script plots the three RSI lines on the chart and calculates a bar color based on the enabled RSI values. If all three RSI values are overbought, the bar color is set to fuchsia, if all three RSI values are oversold, the bar color is set to aqua, and if neither of these conditions is met, the bar color is set to not available.
The script also includes a fast RSI and an RSI exponential moving average (EMA) with adjustable periods. The RSI fast line is plotted along with the RSI EMA line, and a cloud fill is generated between the two lines. The fill color is based on whether the fast RSI line is above or below the RSI EMA line, with a blue color used for long signals and a pink color used for short signals.
This indicator can be used as part of a trading strategy in a number of ways. Here are a few examples:
Overbought and Oversold Signals: When the bar color of the indicator is fuchsia, it indicates that all three RSIs are overbought, and when the bar color is aqua, it indicates that all three RSIs are oversold. These signals can be used to enter a trade in the opposite direction, anticipating a reversal in price.
RSI Divergence: Traders can also look for divergences between the price and the RSI values. For example, if the price is making higher highs but the RSI values are making lower highs, it could indicate that the price trend is weakening and a reversal may be imminent. Conversely, if the price is making lower lows but the RSI values are making higher lows, it could indicate that the price trend is about to reverse.
RSI Cloud Signals: The cloud fill generated between the fast RSI and RSI EMA lines can be used to generate trading signals. When the fast RSI line is above the RSI EMA line and the fill color is blue, it can be a signal to go long. When the fast RSI line is below the RSI EMA line and the fill color is pink, it can be a signal to go short.
If anybody has some interesting thoughts on how to improve it, let me know!!
Kitchen [ilovealgotrading]
OVERVIEW:
Kitchen is a strategy that aims to trade in the direction of the trend by using supertrend and stochRsi data by calculating at different time values.
IMPLEMENTATION DETAILS – SETTINGS:
First of all, let's understand the supertrend and stocrsi indicators.
How do you read and use Super Trend for trading ?
The price is often going upwards when it breaks the super trend line while keeping its position above the indication level.
When the market is in a bullish trend, the indicator becomes green. The indicator level will act as trendline support in such a scenario. The color of the indicator changes to red to indicate a negative trend once the price crosses the support line. The price uses the super trend level as a trendline resistance during a bearish move.
In our strategy, if our 1-hour and 4-hour supertrend lines show the up or down train in the same direction at the same time, we can assume that a train is forming here.
Why do I use the time of 1 hour and 4 hours ?
When I did a backtest from the past to the present, I discovered that the most accurate and consistent time zones are the 1 hour and 4 hour time zones.
By the way we can change our short term timeframe(1H) and long term timeframe(4H) from settings panel.
How do you read and use the Stoch-RSI Indicator?
This indicator analyzes price dynamics automatically to detect overbought and oversold locations.
The indicator includes:
- The primary line, which typically has values between 0 and 100;
- Two dynamic levels for overbought and oversold conditions.
IF our stoch-rsi indicator value has fallen below our lower boundary line, the oversold event has been observed in the price, if our stoch-rsi value breaks up our bottom line after becoming oversold, we think that the price will start the recovery phase.(The case is also true for the opposite.)
However, this does not always apply and we need additional approvals, Therefore, our 1H and 4H supertrrend indicator provides us with additional confirmation.
Buy Condition:
Our 1H(short term) and 4H(long term) supertrrend indicator, has given the buy signal(green line and yellow line), and if our stochrsi indicator has broken our oversold line up on the past 15 bars, the buy signal is formed here.
Sell Condition:
Our 1H(short term) and 4H(long term) supertrrend indicator, has given the sell signal(red line and orange line), and if our stochrsi indicator has broken our overbuy line down on the past 15 bars, the sell signal is formed here.
Stop Loss or Take Profit Conditions:
Exit Long Senerio:
All conditions are completed, the buy signal has arrived and we have entered a LONG trade, the 1-hour supertrend line follows the price rise(yellow line), if the price breaks below the 1-hour super trend line and a sell condition occurs for 1H timeframe for supertrend indcator, LONG trade will exit here.
Exit Short Senerio:
All conditions are completed, the Sell signal has arrived and we have entered a SHORT trade, the 1-hour supertrend line follows the price down(orange line), if the price breaks up the 1-hour super trend line and a buy condition occurs for 1H timeframe for supertrend indcator, SHORT trade will exit here.
What can you change in the settings panel?
1-We can set Start and End date for backtest and future alarms
2-We can set ATR length and Factor for supertrend indicator
3-We can set our short term and long term timeframe value
4-We can set StochRsi Up and Low limit to confirm buy and sell conditions
5-We can set stochrsi retroactive approval length
6-We can set stochrsi values or the length
7-We can set Dollar cost for per position
8- We can choose the direction of our positions, we can set only LONG, only SHORT or both directions.
9-IF you want to place automatic buy and sell orders with this strategy, you can paste your codes into the Long open-close or Short open-close message sections.
For example
IF you write your alert window this code {{strategy.order.alert_message}}.
When trigger Long signal you will get dynamically what you pasted here for Long Open Message
ALSO:
Please do not open trades without properly managing your risk and psychology!!!
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Stochastic Momentum Index (SMI) of Money Flow Index (MFI)"He who does not know how to make predictions and makes light of his opponents, underestimating his ability, will certainly be defeated by them."
(Sun Tzu - The Art of War)
▮ Introduction
The Stochastic Momentum Index (SMI) is a technical analysis indicator that uses the difference between the current closing price and the high or low price over a specific time period to measure price momentum.
On the other hand, the Money Flow Index (MFI) is an indicator that uses volume and price to measure buying and selling pressure.
When these two indicators are combined, they can provide a more comprehensive view of price direction and market strength.
▮ Improvements
By combining SMI with MFI, we can gain even more insights into the market. One way to do this is to use the MFI as an input to the SMI, rather than just using price.
This means we are measuring momentum based on buying and selling pressure rather than just price.
Another way to improve this indicator is to adjust the periods to suit your specific trading needs.
▮ What to look
When using the SMI MFI indicator, there are a few things to look out for.
First, look at the SMI signal line.
When the line crosses above -40, it is considered a buy signal, while the crossing below +40 is considered a sell signal.
Also, pay attention to divergences between the SMI MFI and the price.
If price is rising but the SMI MFI is showing negative divergence, it could indicate that momentum is waning and a reversal could be in the offing.
Likewise, if price is falling but the SMI MFI is showing positive divergence, this could indicate that momentum is building and a reversal could also be in the offing.
In the examples below, I show the use in conjunction with the price SMI, in which the MFI SMI helps to anticipate divergences:
In summary, the SMI MFI is a useful indicator that can provide valuable insights into market direction and price strength.
By adjusting the timeframes and paying attention to divergences and signal line crossovers, traders can use it as part of a broader trading strategy.
However, remember that no indicator is a magic bullet and should always be used in conjunction with other analytics and indicators to make informed trading decisions.
Advanced RSI with Volatility Bands [RedWhite]English - Introduction
This indicator uses a standard RSI of 14 periods, however, instead of using static lines of 70 and 30 to identify overbought and oversold zones, a moving average band is added, similar to the Bollinger Bands indicator.
Español - Introducción
Este indicador utiliza un RSI estándar de 14 períodos, sin embargo, en lugar de utilizar líneas estáticas de 70 y 30 para identificar las zonas de sobrecompra y sobreventa, se agrega una banda de medias móviles similar al indicador de las Bandas de Bollinger.
English - Calculation
The moving average band is constructed by calculating a moving average (default of 70 periods) on the standard RSI of 14 periods. From this average, volatility bands are applied, drawing an upper and lower band by using a standard deviation (default of 1).
Español - Cálculo
La banda de medias móviles se construye calculando una media móvil (por defecto de 70 períodos) sobre el RSI estándar de 14 períodos. A partir de esta media, se aplican bandas de volatilidad, dibujando así una banda superior e inferior mediante el uso de una desviación estándar (por defecto de 1).
English - Interpretation
When the RSI surpasses the upper band, the chart's background is shaded by default (green) to signal a possible overbought situation. On the other hand, when the RSI surpasses the lower band, the chart's background is shaded by default (red) to signal a possible oversold situation. The indicator can be customized in terms of period length, moving average values, and standard deviations. In addition, background colors can be adjusted according to the user's preferences.
Español - Interpretación
Cuando el RSI supera la banda superior, el fondo del gráfico se sombra de un color por defecto (verde) para señalar una posible situación de sobrecompra. Por otro lado, cuando el RSI supera la banda inferior, el fondo del gráfico se sombrea de un color por defecto (rojo) para señalar una posible situación de sobreventa. El indicador se puede personalizar en cuanto a la longitud de los períodos, los valores de la media móvil y las desviaciones estándar. Además, los colores del fondo se pueden ajustar según las preferencias del usuario.
English - Conclusion
By incorporating moving average bands, the indicator can provide more precise signals that are adjusted to changing market conditions. Additionally, the function of coloring the background can help traders visualize overbought and oversold zones clearly and make informed decisions accordingly. It is important to note that this indicator is not infallible and should be used in conjunction with other indicators and market analysis to make informed trading decisions.
Español - Conclusión
Al incorporar bandas de medias móviles, el indicador puede proporcionar señales más precisas ajustadas a las condiciones cambiantes del mercado. Además, la función de colorear el fondo puede ayudar a los traders a visualizar claramente las zonas de sobrecompra y sobreventa y tomar decisiones informadas en consecuencia. Es importante tener en cuenta que este indicador no es infalible y debe ser utilizado junto con otros indicadores y análisis del mercado para tomar decisiones de trading informadas.
English: For comparison purposes, the standard 14-period RSI is presented above, and below it, the standard 14-period RSI with volatility bands is shown.
Español: Con fines comparativos, se presenta el RSI estándar de 14 períodos arriba, y debajo se muestra el RSI estándar de 14 períodos con bandas de volatilidad.
English: RSI of 14 periods with a band of moving averages of 70 periods and a standard deviation with a value of 1
Español: RSI de 14 periodos con una banda de medias móviles de 70 periodos y una desviación estándar con un valor de 1
English: RSI of 14 periods with a band of moving averages of 70 periods and a standard deviation with a value of 0
Español: RSI de 14 periodos con una banda de medias móviles de 70 periodos y una desviación estándar con un valor de 0
English - Note
This indicator is inspired by Blai5's "Advanced RSI".
Español- Nota
Este indicador está inspirado en el "RSI Avanzado" de Blai5.
WillyCycle Oscillator&DoubleMa/ErkOzi/"This code creates a technical analysis indicator used to calculate and visualize the WillyCycle oscillator and double moving average indicators on the price of a financial asset. The functionality can be summarized as follows:
*Calculate the WillyCycle oscillator: The WillyCycle is an oscillator calculated based on the highest and lowest values of an asset. This oscillator is used to measure overbought or oversold conditions of the asset.
*Calculate the double moving average: The double moving average helps determine trends by calculating the short-term and long-term moving averages of asset prices.
*Use the WillyCycle oscillator and double moving average indicators together: The WillyCycle oscillator is combined with the double moving averages to provide a clearer indication of overbought and oversold conditions.
*Visualize the indicator with color coding: The indicator is color-coded to show overbought and oversold conditions. Additionally, line and background colors are changed to make the indicator more readable.
Many parameters can be adjusted on the indicator: The indicator can be customized and modified by the user. For example, the period of the WillyCycle oscillator and the lengths of the double moving averages can be adjusted."
The strategy is based on two indicators - the WillyCycle oscillator and the double moving average. The WillyCycle oscillator measures overbought and oversold conditions of the asset based on its highest and lowest values. The double moving average calculates short-term and long-term moving averages of the asset's price, which can help identify trends.
The WillyCycle oscillator and the double moving average are combined in this strategy to provide a clearer indication of overbought and oversold conditions. When the WillyCycle oscillator indicates that the asset is oversold and the short-term moving average crosses above the long-term moving average, it may signal a buy opportunity. Conversely, when the WillyCycle oscillator indicates that the asset is overbought and the short-term moving average crosses below the long-term moving average, it may signal a sell opportunity.
To make it easier for traders to read and interpret the indicator, color-coding is used to indicate overbought and oversold conditions. The user can also customize the indicator by adjusting parameters such as the period of the WillyCycle oscillator and the lengths of the double moving averages.
*ıt provides successful buy and sell signals for price reversals.
*You can open counter trades in overbought and oversold areas by following the averages.
Rainbow Collection - BlueSlopes are an increasingly key concept in Technical Analysis. The most basic type is to calculate them on the prices, but also on technical indicators such as moving averages and the RSI.
In technical analysis, you generally use the RSI to detect imminent reversal moves within a range. In the case of the Blue indicator, we are calculating the slope of the market price and then calculating the RSI of that slope in order to detect instances of reversal.
The Blue indicator is therefore used as follows:
* A bullish signal is generated whenever the 21-period RSI of the 21-period market slope surpasses 30 after having been below it but remains below 35.
*A bearish signal is generated whenever the 21-period RSI of the 21-period market slope breaks 70 after having been above it but remains above 65.
The aim of the Blue indicator is to capture reversals as early as possible through a combination of slopes and entry techniques.
RSI Divergence Method█ OVERVIEW
This is a divergence indicator based on Relative Strength Index (RSI).
My attempt to make this indicator updated based on latest pine script features such as type, object and method.
█ FEATURES
1. Color of plot and label is based on contrast color of chart background. Able to customize color from style menu.
2. Big divergence (Regular Divergence) is based on lime / red color.
3. Small divergence (Hidden Divergence) is based on contrast color of chart background.
█ EXAMPLES / USAGES
Mean Reversion and TrendfollowingTitle: Mean Reversion and Trendfollowing
Introduction:
This script presents a hybrid trading strategy that combines mean reversion and trend following techniques. The strategy aims to capitalize on short-term price corrections during a downtrend (mean reversion) as well as ride the momentum of a trending market (trend following). It uses a 200-period Simple Moving Average (SMA) and a 2-period Relative Strength Index (RSI) to generate buy and sell signals.
Key Features:
Combines mean reversion and trend following techniques
Utilizes 200-period SMA and 2-period RSI
Customizable starting date
Allows for enabling/disabling mean reversion or trend following modes
Adjustable position sizing for trend following and mean reversion
Script Description:
The script implements a trading strategy that combines mean reversion and trend following techniques. Users can enable or disable either of these techniques through the input options. The strategy uses a 200-period Simple Moving Average (SMA) and a 2-period Relative Strength Index (RSI) to generate buy and sell signals.
The mean reversion mode is active when the price is below the SMA200, while the trend following mode is active when the price is above the SMA200. The script generates buy signals when the RSI is below 20 (oversold) in mean reversion mode or when the price is above the SMA200 in trend following mode. The script generates sell signals when the RSI is above 80 (overbought) in mean reversion mode or when the price falls below 95% of the SMA200 in trend following mode.
Users can adjust the position sizing for both trend following and mean reversion modes using the input options.
To use this script on TradingView, follow these steps:
Open TradingView and load your preferred chart.
Click on the 'Pine Editor' tab located at the bottom of the screen.
Paste the provided script into the Pine Editor.
Click 'Add to Chart' to apply the strategy to your chart.
Please note that the past performance of any trading system or methodology is not necessarily indicative of future results. Always use proper risk management and consult a financial advisor before making any investment decisions.
------
The following is a summary of the underlying whitepaper (onlinelibrary.wiley.com) for this strategy:
This paper proposes a theory of securities market under- and overreactions based on two psychological biases: investor overconfidence about the precision of private information and biased self-attribution, which causes asymmetric shifts in investors' confidence as a function of their investment outcomes. The authors show that overconfidence implies negative long-lag autocorrelations, excess volatility, and public-event-based return predictability. Biased self-attribution adds positive short-lag autocorrelations (momentum), short-run earnings "drift," and negative correlation between future returns and long-term past stock market and accounting performance.
The paper explains that there is empirical evidence challenging the traditional view that securities are rationally priced to reflect all publicly available information. Some of these anomalies include event-based return predictability, short-term momentum, long-term reversal, high volatility of asset prices relative to fundamentals, and short-run post-earnings announcement stock price "drift."
The authors argue that investor overconfidence can lead to stock prices overreacting to private information signals and underreacting to public signals. This overreaction-correction pattern is consistent with long-run negative autocorrelation in stock returns, excess volatility, and further implications for volatility conditional on the type of signal. The market's tendency to over- or underreact to different types of information allows the authors to address the pattern that average announcement date returns in virtually all event studies are of the same sign as the average post-event abnormal returns.
Biased self-attribution implies short-run momentum and long-term reversals in security prices. The dynamic analysis based on biased self-attribution can also lead to a lag-dependent response to corporate events. Cash flow or earnings surprises at first tend to reinforce confidence, causing a same-direction average stock price trend. Later reversal of overreaction can lead to an opposing stock price trend.
The paper concludes by summarizing the findings, relating the analysis to the literature on exogenous noise trading, and discussing issues related to the survival of overconfident traders in financial markets.
Stochastic Momentum Index (SMI) Refurbished▮Introduction
Stochastic Momentum Index (SMI) Indicator is a technical indicator used in technical analysis of stocks and other financial instruments.
It was developed by William Blau in 1993 and is considered to be a momentum indicator that can help identify trend reversal points.
Basically, it's a combination of the True Strength Index with a signal line to help identify turning points in the market.
SMI uses the stochastic formula to compare the current closing price of an asset with the maximum and minimum price range over a specific period.
He then compares this ratio to a short-term moving average to create an indicator that oscillates between -100 and +100.
When the SMI is above 0, it is considered positive, indicating that the current price is above the short-term moving average.
When it is below 0, it is considered negative, indicating that the current price is below the short-term moving average.
Traders use the SMI to identify potential trend reversal points.
When the indicator reaches an extreme level above +40 or below -40, a trend reversal is possible.
Furthermore, traders also watch for divergences between the SMI and the asset price to identify potential trading opportunities.
It is important to remember that the SMI is a technical indicator and as such should be used in conjunction with other technical analysis tools to get a complete picture of the market situation.
▮ Improvements
The following features were added:
1. 7 color themes, for TSI, Signal and Histogram.
2. Possibility to customize moving average type for TSI/Signal.
3. Dynamic Zones.
4. Crossing Alerts.
5. Alert points on specific ranges.
5. Coloring of bars according to TSI/Signal/Histogram.
▮ Themes
Examples:
▮ About Dynamic Zones
'Most indicators use a fixed zone for buy and sell signals.
Here's a concept based on zones that are responsive to the past levels of the indicator.'
The concept of Dynamic Zones was described by Leo Zamansky ( Ph .D.) and David Stendahl, in the magazine of Stocks & Commodities V15:7 (306-310).
Basically, a statistical calculation is made to define the extreme levels, delimiting a possible overbought/oversold region.
Given user-defined probabilities, the percentile is calculated using the method of Nearest Rank.
It is calculated by taking the difference between the data point and the number of data points below it, then dividing by the total number of data points in the set.
The result is expressed as a percentage.
This provides a measure of how a particular value compares to other values in a data set, identifying outliers or values that are significantly higher or lower than the rest of the data.
▮ What to look for
1. Divergences/weakening of a trend/reversal:
2. Supports, resistances, pullbacks:
3. Overbought/Oversold Points:
▮ Thanks and Credits
- TradingView and PineCoders: for SMI and Moving Averages
- allanster: for Dynamic Zones