Stochastic Momentum Channel with Volume Filter [IkkeOmar]A stochastic version of my momentum channel volume filter
The "Stochastic Momentum" indicator combines the concepts of Stochastic and Bollinger Bands to provide insights into price momentum and potential trend reversals. It can be used to identify overbought and oversold conditions, as well as potential bullish and bearish signals.
The indicator calculates a Stochastic RSI using the RSI (Relative Strength Index) of a given price source. It applies smoothing to the Stochastic RSI values using moving averages to generate two lines: the %K line and the %D line. The %K line represents the current momentum, while the %D line represents a filtered version of the momentum.
Additionally, the indicator plots Bollinger Bands around the moving average of the Stochastic RSI. The upper and lower bands represent levels where the price is considered relatively high or low compared to its recent volatility. The distance between the bands reflects the current market volatility.
Here's how the indicator can be interpreted:
Stochastic Momentum (%K and %D lines):
When the %K line crosses above the %D line, it suggests a potential upward move or bullish momentum.
When the %K line crosses below the %D line, it indicates a potential downward move or bearish momentum.
The color of the plot changes based on the relationship between the %K and %D lines. Green indicates %K > %D, while red indicates %K < %D.
Bollinger Bands (Upper and Lower Bands):
When the price crosses above the upper band, it suggests an overbought condition, indicating a potential reversal or pullback.
When the price crosses below the lower band, it suggests an oversold condition, indicating a potential reversal or bounce.
To identify potential upward moves, consider the following conditions:
If the price is not in a contraction phase (the bands are not narrowing), and the price crosses above the lower band, it may signal a potential upward move or bounce.
If the %K line crosses above the %D line while the %K line is below the upper band, it may indicate a potential upward move.
To identify potential downward moves, consider the following conditions:
If the price is not in a contraction phase (the bands are not narrowing), and the price crosses below the upper band, it may signal a potential downward move or pullback.
If the %K line crosses below the %D line while the %K line is above the lower band, it may indicate a potential downward move.
Code explanation
Input Variables:
The input function is used to create customizable input variables that can be adjusted by the user.
smoothK and smoothD are inputs for the smoothing periods of the %K and %D lines, respectively.
lengthRSI represents the length of the RSI calculation.
lengthStoch is the length parameter for the stochastic calculation.
volumeFilterLength determines the length of the volume filter used to filter the RSI.
Source Definition:
The src variable is an input that defines the price source used for the calculations.
By default, the close price is used, but the user can choose a different price source.
RSI Calculation:
The rsi1 variable calculates the RSI using the ta.rsi function.
The RSI is a popular oscillator that measures the strength and speed of price movements.
It is calculated based on the average gain and average loss over a specified period.
In this case, the RSI is calculated using the src price source and the lengthRSI parameter.
Volume Filter:
The code calculates a volume filter to filter the RSI values based on the average volume.
The volumeAvg variable calculates the simple moving average of the volume over a specified period (volumeFilterLength).
The filteredRsi variable stores the RSI values that meet the condition of having a volume greater than or equal to the average volume (volume >= volumeAvg).
Stochastic Calculation:
The k variable calculates the %K line of the Stochastic RSI using the ta.stoch function.
The ta.stoch function takes the filtered RSI values (filteredRsi) as inputs and calculates the %K line based on the length parameter (lengthStoch).
The smoothK parameter is used to smooth the %K line by applying a moving average.
The d variable represents the %D line, which is a smoothed version of the %K line obtained by applying another moving average with a period defined by smoothD.
Momentum Calculation:
The kd variable calculates the average of the %K and %D lines, representing the momentum of the Stochastic RSI.
Bollinger Bands Calculation:
The ma variable calculates the moving average of the momentum values (kd) using the ta.sma function with a period defined by bandLength.
The offs variable calculates the offset by multiplying the standard deviation of the momentum values with a factor of 1.6185.
The up and dn variables represent the upper and lower bands, respectively, by adding and subtracting the offset from the moving average.
The Bollinger Bands provide a measure of volatility and can indicate potential overbought and oversold conditions.
Color Assignments:
The colors for the plot and Bollinger Bands are assigned based on certain conditions.
If the %K line is greater than the %D line, the plotCol variable is set to green. Otherwise, it is set to red.
The upCol and dnCol variables are set to different colors based on whether the fast moving average (fastMA) is above or below the upper and lower bands, respectively.
Plotting:
The Stochastic Momentum (%K) is plotted using the plot function with the assigned color (plotCol).
The upper and lower Bollinger Bands are plotted using the plot function with the respective colors (upCol and dnCol).
The fast moving average (fastMA) is plotted in black color to distinguish it from the bands.
The hline function is used to plot horizontal lines representing the upper and lower bands of the Stochastic Momentum.
The code combines the Stochastic RSI, Bollinger Bands, and color logic to provide visual representations of momentum and potential trend reversals. It allows traders to observe the interaction between the Stochastic Momentum lines, the Bollinger Bands, and price movements, enabling them to make informed trading decisions.
Bands and Channels
Scalp Tool
This script is primarily intended as a scalping tool.
The theory of the tool is based on the fact that the price always returns to its mean.
Elements used:
1. VWMA as a moving average. VWMA is calculated once based on source close and once based on source open.
2. the bands are not calculated like the Bollinger Band, but only a settlement is calculated for the lower bands based on the Lows and for the upper bands based on the Highs. Thus the bands do not become thicker or thinner, but remain in the same measure to the mean value above or below the price.
3. a volume filter on simple calculation of a MA with deviation. Therefore, it can be identified if a volume breakout has occurred.
4. support and resistance zones which are calculated based on the highs and lows over a certain length.
5. RSI to determine oversold and overbought zones. It also tries to capture the momentum by using a moving average (variable selectable) to filter the signals. The theory is that in an uptrend the RSI does not go below 50 and in a downtrend it does not go above 50.
However, this can be very different depending on the financial instrument.
Explanation of the signals:
The main signal in this indicator Serves for pure short-term trading and is generated purely on the basis of the bands and the RSI.
Only the first bands are taken into account.
Buy signal is generated when the price opens below the lower band 1 and closes above the lower band 1 or the RSI crosses a value of 25 from bottom to top.
Sell signal is generated when the price opens above the Upper Band 1 and closes below the Upper Band 1 or the RSI crosses a value of 75 from top to bottom.
The position should be closed when the price hits the opposite band. Alternatively, it can also be closed at the mean.
Other side signals:
1. breakouts:
The indicator includes 2 support and resistance zones, which differ only in length. For the breakout signals, the short version of the R/S is used. A signal is generated when the price breaks through the zones with increased volume. It is then assumed that the price will continue to follow the breakout.
The values of the S/R are adjustable and marked with "BK".
The value under Threshold 2 defines the volume breakout. 4 is considered as the highest value. The smaller the value, the smaller the volume must be during a breakout.
2. bounce
If the price hits a S/R (here the long variant is used with the designation "Support" or "Resistance") and makes a wick with small volume, the script assumes a bounce and generates a Sell or Buy signal accordingly.
The volume can be defined under "Threshold".
The S/R according to the designation as well.
Combined signals:
If the value of the S/R BK and the S/R is the same and the bounce logic of the S/R BK applies and an RSI signal is also generated, a signal is also plotted.
Here the idea was to get very strong signals for possible swing entries.
4. RSI Signals
The script contains two RSI.
RSI 1:
Bullish signal is generated when the set value is crossed from the bottom to the top.
Bearish signal is generated when the set value is crossed from the top to the bottom.
RSI 2:
Bullish signal is generated when the set value is crossed from the top to the bottom.
Bearish signal is generated when the set value is crossed from bottom to top.
For RSI 2 the theory is taken into account according to the description under Used elements point 5
Optical trend filter:
Also an optical trend filter was generated which fills the bands accordingly.
For this the VWMA is used and the two average values of the band.
Color definition:
Gray = Neutral
Red = Bearish
Green = Bullish
If the mean value is above the VWMA and the mean value based on the closing price is above the mean value based on the open price, the band is colored green. It is a bullish trend
If the mean value is below the VWMA and the mean value based on the closing price is below the mean value based on the open price, the band is colored red.
The band is colored gray if the mean value is correspondingly opposite. A sideways phase is assumed.
The script was developed on the basis of the pair BTCUSD in the 15 minute chart and the settings were defined accordingly on it. The display of S/R for forex pairs does not work correctly and should be hidden. The logic works anyway.
When using the script, all options should first be set accordingly to the asset and tested before trading afterwards. It applies of course also here that there is no 100% guarantee.
Also, a strong breakout leads to false signals and overheating of the indicator.
Multi Bollinger Bands with Over ZoneThis indicator is called "Multi Bollinger Bands with Over Zone". The indicator uses linear regression to calculate the regression line and standard deviation to calculate the upper and lower deviation lines. It also plots filled areas between the deviation lines to highlight overbought and oversold zones.
The indicator has several customizable inputs, including the length of the regression period, depth, and deviations used to calculate the deviation lines.
The regression line is plotted in green color with circle markers. The upper and lower deviation lines are plotted in blue and red colors, respectively. The area between the deviation lines is filled with light blue color for the overbought zone and light pink color for the oversold zone.
This indicator helps traders in identifying trends and potential price reversals. When the price is above the upper deviation line, it indicates a potential overbought zone, while when the price is below the lower deviation line, it indicates a potential oversold zone.
Please note that this indicator is only a tool for analysis and does not provide direct trading signals. It is important to combine this indicator with additional analysis and appropriate trading strategies.
FalconRed VIXThe FalconRed Vix indicator is a trading tool designed to provide insights into the potential price range of the Nifty 50 index in India. It utilizes the IndiaVix value, which represents the annual percentage change of the Nifty 50 price. By analyzing the IndiaVix, the FalconRed Vix indicator helps traders determine the upper and lower price thresholds within which the Nifty 50 could potentially trend over the course of a year.
For example, if the Nifty 50 is currently at 18,500 and the IndiaVix is 10, it suggests that, at the given level of volatility, the Nifty 50 may experience price fluctuations of up to 10% in either direction over the course of a year. Consequently, the price range projected by the FalconRed Vix indicator would be between 16,650 and 20,350.
The indicator further extends its analysis to shorter time frames, including monthly, weekly, daily, hourly, 6-hour, 15-minute, 5-minute, and 1-minute intervals. By considering the Vix level, the FalconRed Vix indicator calculates the respective price ranges for these time frames.
When viewing the indicator on a chart, traders can observe a range band surrounding the current Nifty 50 price. The top line represents the upper threshold of the Nifty 50 price, while the bottom line represents the lower threshold, both based on the Vix level. This range band assists in determining potential selling points for out-of-the-money (OTM) options and aids in identifying entry or exit points for options and futures trading.
Traders can analyze the upper and lower threshold lines by drawing horizontal or trend lines, which can help identify potential breakouts or breakdowns. Furthermore, this analysis can assist in setting target prices and stop losses based on trend analysis.
It is important to note that the FalconRed Vix indicator is not a technical indicator used for determining stock buy or sell signals. Rather, it focuses on defining the potential price range based on the Vix level, which in turn aids in planning trading strategies such as short strangles, iron condors, and others.
Donchian Volatility Indicator - Adaptive Channel WidthThis indicator is designed to help traders assess and analyze market volatility. By calculating the width of the Donchian channels, it provides valuable insights into the range of price movements over a specified period. This indicator helps traders identify periods of high and low volatility, enabling them to make more informed trading decisions.
The indicator is based on the concept of Donchian channels, which consist of the highest high and lowest low over a specified lookback period. The channel width is calculated as the difference between the upper and lower channels. A wider channel indicates higher volatility, suggesting potentially larger price movements and increased trading opportunities. On the other hand, a narrower channel suggests lower volatility, indicating a relatively calmer market environment with potentially fewer trading opportunities.
The adaptive aspect of the indicator refers to its ability to adjust the width of the channels dynamically based on market conditions. The indicator calculates the width of the channels using the Average True Range (ATR) indicator, which measures the average range of price movements over a specified period. By multiplying the ATR value with the user-defined ATR multiplier, the indicator adapts the width of the channels to reflect the current level of volatility. During periods of higher volatility, the channels expand to accommodate larger price movements, providing a broader range for assessing volatility. Conversely, during periods of lower volatility, the channels contract, reflecting the narrower price ranges and signaling a decrease in volatility. This adaptive nature allows traders to have a flexible and responsive measure of volatility, ensuring that the indicator reflects the current market conditions accurately.
To provide further insights, the indicator includes a signal line. The signal line is derived from the channel width and is calculated as a simple moving average over a specified signal period. This signal line acts as a reference level, allowing traders to compare the current channel width with the average width over a given time frame. By assessing whether the current channel width is above or below the signal line, traders can gain additional context on the volatility level in the market.
The colors used in the Donchian Volatility Indicator - Adaptive Channel Width play a vital role in visualizing the volatility levels:
-- Lime Color : When the channel width is above the signal line, it is colored lime. This color signifies that volatility has entered the market, indicating potentially higher price movements and increased trading opportunities. Traders can pay closer attention to the lime-colored channel width as it may suggest favorable conditions for trend-following or breakout trading strategies.
-- Fuchsia Color : When the channel width is below the signal line, it is colored fuchsia. This color represents relatively low volatility, suggesting a calmer market environment with potentially fewer trading opportunities. Traders may consider adjusting their strategies during periods of low volatility, such as employing range-bound or mean-reversion strategies.
-- Aqua Color : The signal line is represented by the aqua color. This color allows traders to easily identify the signal line amidst the channel width. The aqua color provides a visual reference for the average channel width and helps traders assess whether the current width is above or below this average.
The Donchian Volatility Indicator - Adaptive Channel Width has several practical applications for traders:
-- Volatility Assessment : Traders can use this indicator to assess the level of volatility in the market. By observing the width of the Donchian channels and comparing it to the signal line, they can determine whether the current volatility is relatively high or low. This information helps traders set appropriate expectations and adjust their trading strategies accordingly.
-- Breakout Trading : Wide channel widths may indicate an increased likelihood of price breakouts. Traders can use the Donchian Volatility Indicator - Adaptive Channel Width to identify potential breakout opportunities. When the channel width exceeds the signal line, it suggests a higher probability of significant price movements, potentially signaling a breakout. Traders may consider entering trades in the direction of the breakout.
-- Risk Management : The indicator can assist in setting appropriate stop-loss levels based on the current volatility. During periods of high volatility (lime-colored channel width), wider stop-loss orders may be warranted to account for larger price swings. Conversely, during periods of low volatility (fuchsia-colored channel width), narrower stop-loss orders may be appropriate to limit risk in a more range-bound market.
While the Donchian Volatility Indicator - Adaptive Channel Width is a valuable tool, it is important to consider its limitations:
-- Lagging Indicator : The indicator relies on historical price data, making it a lagging indicator. It provides insights based on past price movements and may not capture sudden changes or shifts in volatility. Traders should be aware that the indicator may not generate real-time signals and should be used in conjunction with other indicators and analysis tools.
-- False Signals : Like any technical indicator, the Donchian Volatility Indicator - Adaptive Channel Width is not immune to generating false signals. Traders should exercise caution and use additional analysis to confirm the signals generated by the indicator. Considering the broader market context and employing risk management techniques can help mitigate the impact of false signals.
-- Market Conditions : Market conditions can vary, and volatility levels can differ across different assets and timeframes. Traders should adapt their strategies and consider other market factors when interpreting the signals provided by the indicator. It is crucial to avoid relying solely on the indicator and to incorporate a comprehensive analysis of the market environment.
In conclusion, this indicator is a powerful tool for assessing market volatility. By examining the width of the Donchian channels and comparing it to the signal line, traders can gain insights into the level of volatility and adjust their trading strategies accordingly. The color-coded representation of the channel width and signal line allows for easy visualization and interpretation of the volatility dynamics. Traders should utilize this indicator as part of a broader trading approach, incorporating other technical analysis tools and considering market conditions for a comprehensive assessment of market volatility.
Ruthless Support and Resistance ConformationThe Ruthless Support and Resistance Conformation (SRC) indicator is designed to identify and confirm support and resistance levels in the price chart. It utilizes an exponential moving average (EMA) and calculates the angle between the current EMA value and a previous EMA value over a specified length.
The indicator visually represents the conformation of support and resistance levels by plotting colored backgrounds on the chart. When the angle of the EMA surpasses the upper threshold, indicating a strong upward movement, the background color turns red. Conversely, when the angle drops below the lower threshold, indicating a significant downward movement, the background color turns green. In areas where the angle remains within the thresholds, the background color is set to a lighter shade.
Traders can utilize this indicator to identify potential areas of support and resistance based on the conformation of the EMA angle. The upper threshold can indicate potential resistance levels, while the lower threshold can indicate potential support levels.
To provide additional clarity, the indicator also includes horizontal lines representing the upper and lower thresholds on the chart, allowing traders to visually gauge the conformation against these levels.
Please note that this indicator should be used in conjunction with other technical analysis tools and indicators to make well-informed trading decisions. It is recommended to customize the length, thresholds, and other parameters of the indicator based on individual trading strategies and preferences.
Trend hunter strategy - buy & sellThe indicator combines multiple technical indicators and conditions to generate buy and sell signals.
Here's how the indicator works and how to use it:
Strategy Selection:
The indicator provides a dropdown menu to choose the type of strategy. The available options are "Pullback" and "Simple."
Supertrend Settings:
The Supertrend indicator is used to identify the trend direction.
The indicator takes two input parameters:
ATR Length: Specifies the length of the Average True Range (ATR) used in the Supertrend calculation. The default value is 10.
Factor: Specifies the factor used in the Supertrend calculation. The default value is 3.0.
EMA Settings:
The indicator also includes an Exponential Moving Average (EMA) condition.
You can enable or disable the EMA condition using the "Ema Condition On/Off" checkbox.
If enabled, the indicator calculates an EMA based on the close price.
You can specify the length of the EMA using the "Ema Length" input parameter. The default value is 200.
RSI Settings:
The Relative Strength Index (RSI) indicator is used to generate additional conditions.
You can enable or disable the RSI condition using the "Rsi Condition On/Off" checkbox.
If enabled, the indicator calculates the RSI based on the close price.
You can specify the length of the RSI using the "Rsi Length" input parameter. The default value is 14.
Additionally, you can set the overbought and oversold levels for the RSI using the "RSI BUY Level" and "RSI SELL Level" input parameters, respectively. The default value for both is 50.
Final Conditions:
The indicator combines the Supertrend, EMA, and RSI conditions to generate buy and sell signals.
The specific conditions depend on the chosen strategy:
For the "Simple" strategy, the buy condition is when the Supertrend is in an up trend, not in a previous long position, the RSI is above the overbought level, and the close price is above the EMA.
For the "Pullback" strategy, the buy condition is when there is a cross under of the previous low with the Supertrend, the Supertrend is in an up trend, the RSI is above the overbought level, and the close price is above the EMA.
The sell conditions are the opposite of the respective buy conditions.
Backtest Period:
You can specify the start and end dates for the backtesting using the "Start calculations from" and "End calculations" inputs, respectively. The default start date is "2005-01-01" and the default end date is "2045-03-01." (this is work in progress) Still working on the table part, it is a bit tricky.
Trade Direction:
You can choose the trade direction using the "Trade Direction" input parameter. The available options are "Long," "Short," and "Both."
Depending on the selected trade direction, the indicator will generate signals accordingly.
Visual Display:
The indicator plots the Supertrend line on the price chart.
Buy signals are shown as green labels below the price bars.
Sell signals are shown as red labels above the price bars.
Adjust the input parameters according to your preferences, and then apply the indicator to a chart to see the generated signals. Please note that this indicator should be used for educational purposes only and should be thoroughly tested before using it for real trading.
Volatility-Based Mean Reversion BandsThe Volatility-Based Mean Reversion Bands indicator is a powerful tool designed to identify potential mean reversion trading opportunities based on market volatility. The indicator consists of three lines: the mean line, upper band, and lower band. These bands dynamically adjust based on the average true range (ATR) and act as reference levels for identifying overbought and oversold conditions.
The calculation of the indicator involves several steps. The average true range (ATR) is calculated using a specified lookback period. The ATR measures the market's volatility by considering the range between high and low prices over a given period. The mean line is calculated as a simple moving average (SMA) of the closing prices over the same lookback period. The upper band is derived by adding the product of the ATR and a multiplier to the mean line, while the lower band is derived by subtracting the product of the ATR and the same multiplier from the mean line.
Interpreting the indicator is relatively straightforward. When the price approaches or exceeds the upper band, it suggests that the market is overbought and may be due for a potential reversal to the downside. On the other hand, when the price approaches or falls below the lower band, it indicates that the market is oversold and may be poised for a potential reversal to the upside. Traders can look for opportunities to enter short positions near the upper band and long positions near the lower band, anticipating the price to revert back towards the mean line.
The bar color and background color play a crucial role in visualizing the indicator's signals and market conditions. Lime-colored bars are used when the price is above the upper band, indicating a potential bearish mean reversion signal. Conversely, fuchsia-colored bars are employed when the price is below the lower band, suggesting a potential bullish mean reversion signal. This color scheme helps traders quickly identify the prevailing market condition and potential reversal zones. The background color complements the bar color by providing further context. Lime-colored background indicates a potential bearish condition, while fuchsia-colored background suggests a potential bullish condition. The transparency level of the background color is set to 80% to avoid obscuring the price chart while still providing a visual reference.
To provide additional confirmation for mean reversion setups, the indicator incorporates the option to use the Relative Strength Index (RSI) as a confluence factor. The RSI is a popular momentum oscillator that measures the speed and change of price movements. When enabled, the indicator checks if the RSI is in overbought territory (above 70) or oversold territory (below 30), providing additional confirmation for potential mean reversion setups.
In addition to visual signals, the indicator includes entry arrows above or below the bars to highlight the occurrence of short or long entries. When the price is above the upper band and the confluence condition is met, a fuchsia-colored triangle-up arrow is displayed above the bar, indicating a potential short entry signal. Similarly, when the price is below the lower band and the confluence condition is met, a lime-colored triangle-down arrow is displayed below the bar, indicating a potential long entry signal.
Traders can customize the indicator's parameters according to their trading preferences. The "Lookback Period" determines the number of periods used in calculating the mean line and the average true range (ATR). Adjusting this parameter can affect the sensitivity and responsiveness of the indicator. Smaller values make the indicator more reactive to short-term price movements, while larger values smooth out the indicator and make it less responsive to short-term fluctuations. The "Multiplier" parameter determines the distance between the mean line and the upper/lower bands. Increasing the multiplier widens the bands, indicating a broader range for potential mean reversion opportunities, while decreasing the multiplier narrows the bands, indicating a tighter range for potential mean reversion opportunities.
It's important to note that the Volatility-Based Mean Reversion Bands indicator is not a standalone trading strategy but rather a tool to assist traders in identifying potential mean reversion setups. Traders should consider using additional analysis techniques and risk management strategies to make informed trading decisions. Additionally, the indicator's performance may vary across different market conditions and instruments, so it's advisable to conduct thorough testing and analysis before integrating it into a trading strategy.
Complete Discrete Fourier Transform ToolkitThis is an expansion from my Discrete Fourier Transform Overlay indicator which offers various features that may be useful for traders wishing to apply frequency analysis or integral transform to their trading. For those unfamiliar with the concept, the discrete Fourier transform decomposes wave or wave-like data into functions depending on frequency. This can be helpful in demonstrating or interpreting trends and periodic frequencies in time-series price data, or oscillating indicators.
This toolkit has the following features:
Fourier bands (deviation cloud): The deviation cloud expresses the uncertainty in the DFT algorithm, as well as the relative change in frequency of the curve.
Fourier supertrend: The supertrend is applied as a product of the DFT algorithm, instead of onto the price data itself. This filters the supertrend from infrequent periodicities. For trading, this means that the supertrend will not be affected by false breakouts or breakdowns. See the image below for an example:
Future updates may include:
Projection of the probabilistic uncertainty principle. In a nutshell, the concept can be used to project uncertainties forwards through price data to forecast the path of least resistance, or, the most probable frequency.
Machine learning capabilities. Justin Doherty has done the Pine Script community a great service in introducing kNN algorithms with Lorentzian distance calculations; however, this is only the start of relativistic mechanics that can be applied to time series data. The DFT algorithm essentially filters data into its periodicities; this data can be inserted into a relativistic kNN algorithm - Lorenz or otherwise - to possibly improve accuracy.
3 Fib EMAs To Scalp Them AllThe "3 Fib EMAs To Scalp Them All" was made in order to clear up when we should look for shorts, longs, or walk away. Also it can alert you when a trend starts, or when there is a possible reversal. I use it for scalping/day trading in 5m-1h timeframes.
1. EMAs: By default, the indicator uses Fibonacci numbers (21, 55, 233), but you can change them.
2. Color Changes: The color of the Micro EMA line changes depending on its relation to the Mid and Macro EMAs.
When Micro EMA < Mid < Macro EMA, it turns red, indicating a potential bearish trend - that's when you should look for shorts
When Micro EMA > Mid > Macro EMA, it turns green, indicating a potential bullish trend - that's when you should look for longs
A white Micro EMA is when you need to take some rest, enjoy your coffee, and avoid overtrading.
3. Signals: The indicator provides visual signals in the form of diamonds and crosses and corresponding alert signals.
A red diamond above the bar signals a potential beginning of a downtrend
A red cross above the bar signals the end of the downtrend and can be used as a signal for a possible reversal up/breakout.
A green diamond below the bar signals a potential beginning of a downtrend,
A green cross below the bar signals the end of the uptrend and can be used as a signal for a possible reversal down/breakout.
4. Alerts: For algo traders and people who prefer to stay away from the monitor... there are alerts for every signal.
Friendly note: Don't blindly follow the signals for your long and short entries. The signals only pop up when the EMA cross value gets a confirmation. A smart move would be to wait for a retracement to the EMA line and use momentum indicators like market cipher B to pinpoint those ideal entry points.
EMAflowPRO -Ranges-DISCLAIMER: Always, please keep in mind that market conditions change, past results cannot guarantee the same results in the future.
EMAflowPRO - Ranges-
EMAflowPRO ranges indicator will detect key movements in the market that fit certain conditions and based on that create key tradable zones by providing dynamic and static range levels.
Before reading further please take a look at the indicator values names on the right in the main chart above - these names are linked to the content below when we talk about range structure. The examples included in charts are linked to the area we're discussing (if something was said - most likely closest chart demonstrates it - Also arrows present entries; can be limit or can be market buy/sell in to the wicks.)
Let's find out what indicator does...
Static range logic:
Indicator uses combination of market timing indicators (counting relationship between candles) , fisher transform, stoch rsi, bollinger bands to detect important market price action that show strenght - based on that it will project a static range where key goal is to predict where market will be extremely oversold, extremely overbought or where market could change bias etc.
The setups it provides are very similar to those that come out of harmonic patterns - but it was developed with unique approach without knowing what harmonic patterns are.. so it's not completly the same.
Range is represented by 3 tradable areas (actual trade ideas on charts - arrow points towards a level - on the right there is a scale with a number- limit order can be placed there )
Top of the range - It serves as a shorting area or if top is converted to support can also signal a potential breakout or start of new trend.
Example of a short the top of the range:
29732 - is area where wicks can be sold in to , or limit sell is placed - with higher leverage sl should be tight, with lower sell orders can be spread out up to the middle with sl just above 30500, targets can be choosen based on the provious range top as % moves point.
Example of longing the levels on the recent rise - price staying above middle of the top of the range keeps bias on the upside and potentially signals a break out or start of new trend
Uppper, Middle, Lower part of the range: Sideway area - middle of the range decides direction , above favors the upper levels , below favors the lower levels.
Very nice example where white line is middle of the range and shows that even in strong trend - range projection is able to accurately predict key pullback areas that provide substantial gain. See image below - again settign limit orders where middle of the range is allows you to get a comfortable entry with very big risk reward ratio.
Bottom of the range - market is extremely oversold
Spx example of our recent range from last year's summer - again chart includes both EMAflow indicator and EMAflow ranges as all indicators are extremely complementary and present two sides of the medal sideway and trend view.
Chart only contains ranges but shows the same pair and time:
If price goes below middle of the bottom of the range it could signal a break down or start of new bearish trend.
Dynamic range logic
Since sometimes static range gets broken out or is not respected and the price action is not yet sufficient to generated a new one we included a dynamic supply demand part where dynamic range is generated working in a similar way but does add clarity when static range fails.
example of this can be seen when ftx caused a btc dump we broke through the bottom of the range but dynamic range later showed us new bottom we could trade.
Confluence between both can also provide even more sure levels to place limit orders or to market buy or sell when wicks in to that area occurs.
Minuses:
Since ranges tend to work best when market is sideway - a second part is recommended with EMAflowPRO where focus on moving averages helps you navigate stronger trends.
Not all tfs are well synced with ranges on various assets so you will need to flip through few ones to find the best timeframes that historically worked the best - if you come across an asset that doens't look good you should just change timeframe to higher until you see something that fits or change asset until you get something that looks clear.
Settings:
EMAflow - Ranges - allows you to preset minimum potential of a trade setup you want to look for - default is 6% that ensures you can get a good setup on lower and higher tfs.
tlc with False BreakoutThe strategy aims to identify a trend line channel with the potential for a false breakout. Here's an explanation of the strategy:
The script starts by defining the input parameters. The lookback parameter determines the number of previous bars to consider for detecting the trend lines, and the threshold parameter controls the sensitivity of the trend line detection.
The script then initializes variables to store the trend lines, tap count, and the false breakout signal.
Inside the loop, the script iterates over the specified number of bars (lookback) to identify the trend lines. It checks if the current high is greater than the previous and next highs to identify an upper trend line and sets it using the line.new function. Similarly, it checks if the current low is smaller than the previous and next lows to identify a lower trend line and sets it.
The script also keeps track of the price levels of the upper and lower trend lines using the variables upperTrendLinePrice and lowerTrendLinePrice. These price levels are obtained using the line.get_y1 function.
After the fourth tap (when tapCount is equal to 4), the script checks if the current close price is above the upper trend line or below the lower trend line. If this condition is met, it sets the falseBreakout variable to true, indicating a potential false breakout.
Finally, the script plots a shape marker (plotshape) when a false breakout occurs. This is represented by an orange label displayed below the bar.
At the end of the script, the line.delete function is used to remove the old trend lines when the script reaches the last bar (barstate.islast).
By using this strategy, you can visually identify trend line channels where the upper and lower lines touch higher highs or lower highs and higher lows or lower lows. Additionally, it provides a false breakout signal when the price breaks above the upper trend line or below the lower trend line on the fifth tap.
Super Secret 200 EMAThe indicator is called "Super Secret 200 EMA." It combines two technical indicators, the Supertrend and the 200 Exponential Moving Average (EMA), to generate buy and sell opportunities in a trading chart.
Here's how the indicator works and how you can use it:
Supertrend Calculation:
The Supertrend indicator helps identify the current trend in the market. It uses two parameters: Length and Multiplier.
Length: This parameter determines the number of periods used for the calculation.
Multiplier: It controls the width of the Supertrend line, indicating the level of volatility considered in the calculation.
The Supertrend is calculated by looping through the historical data from length to 1.
For each period, it checks whether the closing price has increased or decreased compared to the previous period.
If the closing price has increased, it updates the highestHigh value with the maximum of the current highest high and the high of the current period.
If the closing price has decreased, it updates the lowestLow value with the minimum of the current lowest low and the low of the current period.
Finally, it calculates the Supertrend value using the following formula:
If the change in the closing price is positive: Supertrend = lowestLow + (multiplier * Average True Range (ATR))
If the change in the closing price is negative: Supertrend = highestHigh - (multiplier * ATR)
The Supertrend line will be green if it is above the 200 EMA line and red if it is below.
200 EMA Calculation:
The 200 EMA is a widely used moving average indicator that gives more weight to recent prices.
The EMA period is set to 200 in this case.
The 200 EMA is calculated using the EMA formula, taking into account the closing prices over the specified period.
Plotting:
The Supertrend and 200 EMA lines are plotted on the chart using the plot function.
The Supertrend line is colored green if it is above the 200 EMA line and red if it is below.
The 200 EMA line is colored green if the closing price is above it and red if it is below.
Buy and Sell Conditions:
The indicator determines the buy and sell conditions based on the crossover and crossunder of the closing price with the 200 EMA line and the Supertrend line.
Buy Condition: A buy signal is generated when the closing price crosses above the 200 EMA line and is also above the Supertrend line.
Sell Condition: A sell signal is generated when the closing price crosses below the 200 EMA line and is also below the Supertrend line.
Plotting Buy and Sell Signals:
You can use this indicator to identify potential buy and sell opportunities in your trading strategy. However, please note that this is a simplified explanation, and it's essential to thoroughly understand the indicator's principles and backtest it with historical data before relying on it for actual trading decisions.
Use this with other confluences for best results and never rely on a single indicator
Liquidity Channel with B/SIndicator - Liquidity Level
Which calculates the liquidity levels based on the highest high and lowest low of the specified period. It determines the middle line, upper line, and lower line of the liquidity channel. The liquidity level is the average of the upper and lower lines, and the liquidity level distance is half of the difference between the upper and lower lines.
Here, the code determines if the conditions for overbought and oversold signals are met. It compares the current closing price with the previous opening price to determine the color of the bar (red or green). If the conditions are met and the bar color matches the expected direction (red for overbought and green for oversold), the respective signals are triggered.
The code plots buy and sell signals on the chart using shape labels. It displays "Buy" labels below the bars for buy signals and "Sell" labels above the bars for sell signals. Additionally, it colors the bars in gray. The code also sets up alert conditions to send notifications when buy or sell signals occur.
*************** Please note that this is a high-level overview of the code's functionality. The specific details and calculations may vary based on the parameters and settings provided in the code.
*************** Remember, trading involves risks, and it's important to thoroughly test any strategy and consider risk management principles before using it in live trading. It's recommended to consult with a knowledgeable financial advisor or professional trader for guidance and assistance in developing and implementing trading strategies.
***************Happy trading..
I will try to share my most commonly used strategies with you as much as possible. For this, you can follow me as a source of motivation, and if you like the indicators, you can give me a rocket to make me happy, my friends! :))
Moving Average Zone Indicator (MAZI) - Complete!Now with adjustable settings!
Description:
The MAZI (Moving Average Zone Indicator) is a slow updating moving average calculation of key high and low points in the market, which is a unique approach to sampling moving averages.
The indicator tracks only the key candles that provide good information about price movement, which distinguishes it from other moving average indicators that record a new data point with every bar that prints.
The length of the MAZI is determined by the number of key price points to reference in the average equation, not the number of candles to look at.
We have included our very own unique addition besides the ability to adjust the settings which is called: Standard Deviation Zones
Standard Deviation Zones:
A standard deviation takes a set of values and tells you with a certain level of confidence that with those data points where a potential next data point could land.
When we take our key pivot high and key pivot low points and calculate standard deviations away from them.
We can more confidently predict where the next turn around will be.
Of course the market is always changing and this is not a sure thing but it will still help us get an idea of what places for the next pivot is reasonable.
At the same time if the price breaks above the top standard deviation lines and below the bottom ones it’s a clear sign of a significant move or change in the market
The MAZI band uses specific candle conditions to sample the highs and lows of specific candles to calculate the top and bottom moving averages.
If the close of a candle is lower than the close of the previous two candles, the high of the previous candle is recorded as a potential pivot value.
If the close of a candle is higher than the close of the previous two candles, the low of the previous candle is recorded as a potential pivot value.
These pivot values are adjustable!
The upper and lower bounds of the moving average zone are calculated as one and two standard deviations away from the moving averages, respectively.
The MAZI provides a unique perspective on price movement that can help traders identify key zones of support and resistance.
The MAZI’s equation gives traders 5 crucial points of interest: the direction of the zone, the top of the zone, the middle of the zone, the bottom of the zone, and the height of the zone.
How to use each point of interest
The Direction:
Because we don’t use every candle for input into our calculations, the direction of the indicator will not change with insignificant moves in the markets allowing you to catch when something is a pull back vs when it is a real direction change.
We have also included 3 easy to read colors allowing you to gauge when direction is going down, flat, or up, by alternating the color of the zone between red, white, and green respectively.
The Top of the Zone:
The top of the zone represents where price would be expected to not go over given the length of the bars being calculated.
So this tells you that if the zone is red and the highs are not breaking over the top of the zone, the market is behaving as expected and it should continue down.
On the other hand, if price does break over the top of the zone it signifies stronger than expected buying power and price movement.
The strongest indication of strong upward movement is when the top of the zone becomes an area of price support.
So when you see a candle come down from above the zone and turn around near the top of the zone there is likely a strong upward move coming.
Unless there is a very strong trend it is best to only take this trade the first time price breaks the top side and forms support.
On a range day this is not likely to happen multiple times in a row without price testing the bottom side in between.
The Middle of the Zone:
The middle of the zone is used as a general no trade zone.
Because price is inbetween where the expected high and low of price should be there is no good indicator of which way price will break out.
That does not mean you cannot find worthwhile patterns in the middle of the zone but as a general rule and a very good rule for beginner traders is to avoid entering a trade inside the zone all together.
The Bottom of the Zone:
The bottom of the zone is used similarly to the top of the zone.
If the zone is green and lows are not going below the bottom of the zone the shows you that sellers are not breaking below the expected price and therefore you can expect the price to continue moving up.
On the other hand if price breaks below the low part of the zone then it shows you that sell’s have pushed price below the expected low and therefore is currently under strong selling pressure.
The strongest signal for a big downward move is when the low of the zone (the expected bottom of where price should be given the length of the indicator) turns into a resistance area for price.
When a candle comes up from underneath the zone and fails to break into the zone and starts to drop again, that is the best signal for a big downward move.
Unless there is a very strong trend it is best to only take this trade the first time price breaks the bottom side and forms resistance.
On a range day this is not likely to happen multiple times in a row without price testing the top side in between.
The Size of the Zone:
The size of the zone is very important to keep in mind when gauging profit targets and stop loss levels.
When the market is forming trending patterns the height of the zone will grow.
When the market is showing signs of ranging it will start to shrink.
In other words the smaller the zone the smaller your profit target should be (and the tighter stop you should have).
A zone with a large height shows that we have much larger moves requiring wider stops and its more likely to hit larger profit targets.
Multi-Indicator Confluence Signals (MICS) - Complete!Now with adjustable settings!
Description:
The Multi-Indicator Confluence Signals (MICS) is a comprehensive trading tool designed to simplify the process of analyzing multiple technical indicators and uncluttering your screen!
You are able to select various pre-existing indicators, including Stochastic, RSI, MACD, EMA, DMI, Bollinger Band and a our very own custom signal we created using only price action calculations which will provide a streamlined view of the market, allowing traders to focus on speed, trade execution, strategy, and chart reading.
We do this by converting the input from the above popular technical indicators and generate clear long and short signals by placing green(long) and/or red(short) arrows directly on the chart.
You have the option to choose which indicators you want to show on the screen and also the option to choose long and/or short signals and it even comes with the option to adjust the settings of each respective pre-existing indicator to your liking, even our very own price action signal!
Example of the settings you can adjust + many more.
Unclutter your screen by going from this image ...(Imagine your own drawings+the above indicators):
To this! (Only long signals displayed in the picture)
Features:
Consolidated signals:
The MICS identifies bull and bearish signals from multiple indicators and presents them in a visual arrow pointing manner, enabling traders to quickly assess potential trade opportunities.
Unique price action signals:
The price action arrows in the MICS trading tool are a unique feature that distinguish it from traditional technical indicators.
These arrows are generated solely based on recent price movement and are calculated using an algorithm that analyzes the strength of recent price action.
The algorithm also considers factors such as the length and intensity of the trend, as well as any notable support or resistance levels.
When the 'Price Action Long' or 'Price Action Short' options are enabled, the MICS will display green or red arrows respectively, indicating potential bullish or bearish signals.
These arrows complement the signals generated by other pre-existing technical indicators in the MICS .
Clutter-free charting:
By removing the need to display individual indicators on the chart, the MICS helps create a cleaner workspace, promoting better focus and decision-making.
Confluence-based trading:
The MICS is not designed to be used as a standalone trading system.
Instead, traders should utilize the signals as confluences to complement their pre-existing trade ideas, leading to more robust and well-informed strategies.
Mashup of Indicators:
Each indicator has its own strengths and weaknesses, but by combining them, the MICS can provide a more comprehensive view of the market.
For example, Stochastic and RSI are commonly used to measure overbought and oversold conditions, while MACD and EMA are used to identify trend direction. DMI, on the other hand, is used to gauge the strength of a trend, while Bollinger Bands can be used to identify potential breakouts.
By combining the signals from these indicators, the MICS can provide traders with a more nuanced view of the market, allowing them to make better-informed trading decisions, quickly!
How They Work Together:
The MICS generates signals by analyzing the input from each individual indicator.
If the indicators show a bullish trend, the MICS will display this by showing the indicators you selected in the settings with green long arrows, indicating a potential long trade.
Conversely, if the indicators show a bearish trend, the MICS will display red short arrows, indicating a potential short trade.
In addition, the MICS uses a unique price action signal generated solely based on recent price movement, calculated using an algorithm that analyzes the strength of recent price action.
This price action signal is a distinguishing feature of the MICS and complements the signals generated by the pre-existing technical indicators.
What Makes the MICS Original?
What makes the MICS unique is its emphasis on providing a clutter-free charting experience.
By displaying only clear long and short signals directly on the chart based on your own selection in the settings, the MICS eliminates the need to have multiple indicators cluttering the screen, allowing traders to concentrate on making informed decisions, quickly!
This price action signal is a also unique feature that sets the MICS apart from other technical indicators.
Output7The "Output7" indicator is designed to guide traders in identifying potential buy and sell signals. This is achieved through the calculation of a custom indicator named `output7` and its derived moving averages. `output7` is defined as `c_1 - c_20 * (ohlcSq / hlSq)`. Here, `ohlcSq` stands for the square of the average of open, high, low, and close prices, while `hlSq` signifies the square of the average of high and low prices. `c_20` and `c_1` correspond to the closing price 20 periods ago and the current closing price, respectively.
**Interpreting the Indicator:**
**1. Support and Resistance**: This indicator calculates the support and resistance levels for the `output7` over a predefined lookback period. These levels are essential in the identification of potential price reversals in the market. When the `output7` line approaches or crosses these levels, it may suggest significant market shifts.
**2. Moving Averages of `output7`**: The indicator also generates short-term (5 periods by default) and long-term (10 periods by default) simple moving averages (SMAs) of the `output7` value. These SMAs can be helpful in determining market trends. When the short-term SMA lies above the long-term SMA, it indicates an upward trend. Conversely, when it falls below, it suggests a downward trend.
**3. Buy and Sell Signals**: The Output7 indicator generates two types of buy and sell signals based on the crossover of different moving averages. Yellow signals are produced when the simple moving average of close prices (7 periods by default) crosses the exponential moving average of close prices (14 periods by default). The blue signals are generated when the short-term SMA of `output7` crosses the long-term SMA of `output7`.
It is important to note that like all technical analysis tools, the Output7 indicator should not be used in isolation. Instead, it should be combined with other forms of analysis and indicators to validate its signals and minimize the likelihood of false signals. Factors such as the overall market trend, price patterns, volume, and fundamental analysis can provide additional context to the signals provided by the Output7 indicator. The interpretation of these signals should align with a trader's overall trading strategy, risk tolerance, and financial goals.
And finally. If you discover something else regarding this indicator. Please let me know in the comment section.
BB and KC StrategyThis script is designed as a TradingView strategy that uses Bollinger Bands (BB) and Keltner Channels (KC) as the primary indicators for generating trade signals. It aims to catch potential market trends by comparing the movements of these two popular volatility measures.
Key aspects of this strategy:
1. **Bollinger Bands and Keltner Channels:** Both are volatility-based indicators. The Bollinger Bands consist of a middle band (simple moving average) and two outer bands calculated based on standard deviation, which adjusts itself to market conditions. Keltner Channels are a set of bands placed above and below an exponential moving average of the price. The distance between the bands is calculated based on the Average True Range (ATR), a measure of price volatility.
2. **Entry Signals:** The strategy enters a long position when the upper KC line crosses above the upper BB line and the volume is above its moving average. Conversely, it enters a short position when the lower KC line crosses below the lower BB line and the volume is above its moving average.
3. **Exit Signals:** The strategy exits a position under two conditions. First, if the trade has been open for a certain number of bars defined by the user (default 20 bars). Second, a stop loss and trailing stop are in place to limit potential losses and lock in profits as the price moves favorably. The stop loss is set at a percentage of the entry price (default 1.5% for long and -1.5% for short), and the trailing stop is also a percentage of the entry price (default 2%).
4. **Trade Quantity:** The script allows specifying the investment amount for each trade, set to a default of 1000 currency units.
Remember, this is a strategy script, which means it is used for backtesting and not for real-time signals or live trading. It is also recommended that it is used as a tool to aid your trading, not as a standalone system. As with any strategy, it should be tested over different market conditions and used in conjunction with other aspects of technical and fundamental analysis to ensure robustness and effectiveness.
AggBands (v1) [qrsq]The "AggBands" indicator is a custom trading indicator designed to provide a consolidated view of the price action across multiple assets or trading pairs. It combines the price data from multiple tickers and calculates an aggregated price using user-defined weights for each ticker.
The indicator starts by defining the tickers to be included in the aggregation. You can choose from predefined configurations such as "BTC PAIRS," "CRYPTO TOTAL MARKET CAP," "TOP 5 PAIRS," "TOP 5 MEMECOINS," "SPX," "DXY," or "FANG." Each configuration includes specific tickers or indices relevant to the chosen category.
The indicator then fetches the closing, high, and low prices for each ticker and applies the user-defined weights to calculate the aggregated prices. The aggregated prices are normalized within a specified length to provide a consistent scale across different assets or pairs.
Next, the indicator calculates the midpoint, which is the average of the highest high and lowest low of the aggregated prices over a specified aggregation period.
To assess the volatility, the indicator calculates the price range and applies the Average True Range (ATR) indicator to determine the volatility value. The standard deviation is then computed using the price range and aggregation period, with an additional scaling factor applied to the volatility value.
Based on the standard deviation, the indicator generates multiple bands above and below the midpoint. By default, three standard deviation bands are calculated, but the user can choose between one and five bands. The upper and lower bands are smoothed using various moving average (MA) types, such as Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA/RMA), Weighted Moving Average (WMA), Volume Weighted Moving Average (VWMA), Volume Weighted Average Price (VWAP), or Arnaud Legoux Moving Average (ALMA). The user can also adjust the length, offset, and sigma parameters for the moving averages.
The indicator can optionally smooth the midpoint, upper bands, and lower bands using a separate set of moving average parameters.
The indicator can be useful for traders and analysts who want to gain a consolidated view of price movements across multiple assets or trading pairs. It helps identify trends, volatility, and potential support and resistance levels based on the aggregated price and standard deviation bands. Traders can use this information to make informed decisions about trading strategies, risk management, and market analysis.
Master Supertrend Strategy [Trendoscope]Here is the strategy version of the indicator - Master Supertrend
Options and variations are same throughout.
🎲 Variations
Following variations are provided in the form of settings.
🎯 Range Type
Instead of ATR, different types of ranges can be used for stop calculation. Here is the complete list used in the script.
Plus/Minus Range* - Calculates plus range and minus range for each candle and uses them for different sides of stop calculation
Ladder ATR - Based on the existing concept of Ladder ATR defined in Supertrend-Ladder-ATR
True Range - True range derived from standard function ta.tr
Standard Deviation - Standard deviation of close prices
🎯 Applied Calculation
In standard ATR, rma of TR is used for calculations. But, the application calculation provides option to users to use different mechanisms. It can be a type of moving average or few other types of calculations.
Available values are
sma
ema
hma
rma
wma
high
median
🎯 Other options
Few other options provided are
Use Close Price - If selected stops are calculated based on the close price instead of high/low prices
Wait for Close If selected, change of supertrend direction is calculated based on close price instead of high/low prices
Diminishing Stop Distance - When selected, stop distance for the trend direction can only reduce and cannot increase. This option is useful for keeping the tight stops on strong trends.
🎯 Plus Minus Range*
One of the range type used is Plus/Minus Range. What it means and how are these ranges calculated? Let's have a look.
Plus Range is an upward movement of a candle from its last price or open price whichever is lower.
Minus Range is a downward movement of a candle from its last price or open price whichever is higher.
This divides True Range into two separate range for positive and negative side.
Note : Effectiveness on daily charts are quire visible. However, if you want to use it for lower timeframes, please play around with settings before settling on suitable configuration.
Multi-Divergence Buy/Sell IndicatorThe "Multi-Divergence Buy/Sell Indicator" is a technical analysis tool that combines multiple divergence signals from different indicators to identify potential buy and sell opportunities in the market. Here's a breakdown of how the indicator works and how to use it:
Input Parameters:
RSI Length: Specifies the length of the RSI (Relative Strength Index) calculation.
MACD Short Length: Specifies the short-term length for the MACD (Moving Average Convergence Divergence) calculation.
MACD Long Length: Specifies the long-term length for the MACD calculation.
MACD Signal Smoothing: Specifies the smoothing length for the MACD signal line calculation.
Stochastic Length: Specifies the length of the Stochastic oscillator calculation.
Stochastic Overbought Level: Defines the overbought level for the Stochastic oscillator.
Stochastic Oversold Level: Defines the oversold level for the Stochastic oscillator.
Calculation of Indicators:
RSI: Calculates the RSI based on the specified RSI Length.
MACD: Calculates the MACD line, signal line, and histogram based on the specified MACD parameters.
Stochastic: Calculates the Stochastic oscillator based on the specified Stochastic parameters.
Divergence Detection:
RSI Divergence: Identifies a bullish divergence when the RSI crosses above its 14-period simple moving average (SMA).
MACD Divergence: Identifies a bullish divergence when the MACD line crosses above the signal line.
Stochastic Divergence: Identifies a bullish divergence when the Stochastic crosses above its 14-period SMA.
Buy and Sell Conditions:
Buy Condition: Triggers a buy signal when all three divergences (RSI, MACD, and Stochastic) occur simultaneously.
Sell Condition: Triggers a sell signal when both RSI and MACD divergences occur, but Stochastic divergence does not occur.
Plotting Buy/Sell Signals:
The indicator plots green "Buy" labels below the price bars when the buy condition is met.
It plots red "Sell" labels above the price bars when the sell condition is met.
Usage:
The indicator can be used on any timeframe and for any trading instrument.
Look for areas where all three divergences (RSI, MACD, and Stochastic) align to generate stronger buy and sell signals.
Consider additional technical analysis and risk management strategies to validate the signals and manage your trades effectively.
Remember, no indicator guarantees profitable trades, so it's essential to use this indicator in conjunction with other tools and perform thorough analysis before making trading decisions.
Feel free to ask any questions
Jdawg TDI with Shark FinsThe "Jdawg TDI with Shark Fins" (JTDI Shark Fins) is a visually enhanced version of the Traditional Traders Dynamic Index (TDI) that focuses on aiding traders in identifying potential trading opportunities in any market.
At its core, the TDI is a momentum-based indicator that uses the Relative Strength Index (RSI) in combination with moving averages to highlight potential overbought and oversold conditions, which could signal opportunities to buy or sell. In simple terms, when an asset is overbought, it could be due for a price drop, and when it's oversold, the price might soon rise.
What makes the JTDI Shark Fins unique is the addition of color-coded "Shark Fins". These are key moments when the Fast Moving Average (Fast MA) or Slow Moving Average (Slow MA) lines move outside the upper or lower Bollinger Bands (the blue lines).
When a line moves outside these bands, it's often an indication that the price is making a strong move in that direction. However, because these moments are typically short-lived, they're referred to as "Shark Fins". In the JTDI, these periods are marked with color changes:
Fast MA turns purple when it forms a "Shark Fin". This line typically responds quicker to price changes.
Slow MA turns red when it forms a "Shark Fin". This line is slower to react to price changes, providing a more steady view of the market's momentum.
Additionally, the Slow MA will turn orange when it exceeds the overbought (above 70) or oversold (below 30) thresholds, indicating strong momentum in that direction.
How to Use:
When the Fast MA (black line) turns purple (indicating a Shark Fin), it's a warning signal to pay attention as a potential significant price move might be occurring.
If the Slow MA (green line) turns red, it indicates a more sustained move in the price direction is happening.
An orange Slow MA indicates a very strong price move in that direction.
Use these signals in conjunction with other aspects of your trading strategy to confirm potential trading opportunities.
Market Suitability:
The beauty of the JTDI Shark Fins indicator is its versatility. It can be applied to any market that can be charted and where price movements create periods of overbought or oversold conditions. This includes but is not limited to Forex, Cryptocurrencies, Equities (stocks), Commodities, and even Indices.
Remember, while this indicator can provide valuable insights, it should not be used in isolation. Always consider other factors like market news, economic indicators, and other technical analysis tools when making trading decisions.
Premium Volatility Breakout Strategy [wbburgin]This the premium version of my Volatility Breakout strategy, which improves significantly on the original strategy (publicly available on my profile). Improvements are below. A note about any of my premium scripts: I will continue updating and improving the original (public) versions.
This strategy is not built for any specific asset or timeframe, and has been backtested on crypto, equities, and forex from 1min - 1day. However, I recommend using it on more volatile assets because it is a breakout strategy.
********** My Background
I am an investor, trader, and entrepreneur with 10 years of cryptocurrency and equity trading experience and founder of two fintech startups. I am a graduate of a prestigious university in the United States and carry broad and inclusive interests in mathematical finance, computer science, machine learning / artificial intelligence, as well as other fields.
**********
Improvements over the original Volatility Breakout strategy include:
Faster Trend Detection → The Premium Volatility Breakout strategy will catch trends faster by using adaptive volatility-weighted bands instead of standard-width volatility-weighted bands. This can improve win size and has performed well in my backtesting.
ADX Filter → False breakouts dampen the overall results of the original script, as well as the % profitable,so an ADX filter has been programmed into the script (toggle on/off in settings). This filter will only enter long and short trades when the ADX is above a certain threshold. This is by default toggled off because in most instances it will not be necessary, but in certain environments may be useful.
MA Configuration → Different types of moving averages and weights are now configurable in the settings. These can change the responsiveness of the strategy.
External Trend Filter → I use this strategy as a filter for some of my low-timeframe algorithms. I have added an external trend filter (a plot only displayed in the data window) that will return “1” when the trend is long and “-1” when the trend is short (displayed on-chart with red and green trend curves).
Customizable Alert Messages In-Strategy → In the settings, there will be text boxes where you can create your own alerts. All you will need to do is create an alert in the alert panel on TradingView and leave the message box blank - if you fill out the alert boxes in the settings, these will automatically populate into your alerts. There are in total four different customizable alerts messages: Entry and Exit alerts for both Long and Short sides. If you disable stop loss and/or take profit, these alerts will also be disabled. Similarly, if you disable shorts, all short alerts will be disabled.
About stop losses: This strategy does not come with a stop loss because the moving average acts as a stop loss / trade exit for both long and short entries.
**********
Display
You can turn off highlighting or barcolor in the settings. Additionally, future updates may include a color scheme for users using a light-themed window.
**********
Configuring Alerts
In TradingView desktop, go to the ‘Alerts’ tab on the right panel. Click the “+” button to create a new alert. Select this strategy for the condition and one of the two options that includes alert() function calls. Name the alert what you wish and clear the default message, because your text in the settings will replace this message.
Now that the alert is configured, you can go to the settings of the strategy and fill in your chosen text for the specific alert condition. You will need to check “Long and Short” in the “Trade Direction” setting in order for any Short Alerts to become active.
**********
Disclaimer
Copyright by wbburgin.
The information contained in my Scripts/Indicators/Algorithms does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.