EMA Envelope - Signal with Stoploss and Takeprofit LevelsDescription:
This Pine Script indicator implements the EMA Envelope strategy, which utilizes Exponential Moving Averages (EMA) to create an envelope around the price chart. The strategy generates buy and sell signals based on the crossing of the price above and below the upper and lower EMA envelopes, respectively. It also incorporates additional features such as stop-loss and take-profit levels for risk management.
Indicator Settings:
EMA Length: Specifies the period for the short-term Exponential Moving Average.
Long Term EMA Length: Defines the period for the long-term Exponential Moving Average used for signal filtering.
Take Profit Ratio: Determines the ratio for calculating the take-profit levels based on the stop-loss.
Filter Signal on Long Term EMA: Enables or disables the filtering of buy/sell signals using the long-term EMA.
Show only recent signal: When enabled, shows only the most recent buy/sell signals.
Buy and Sell Signals:
The indicator generates buy signals when the price crosses above the upper EMA envelope and the previous low was below the upper EMA envelope. Additionally, you can choose to filter buy signals based on whether the closing price is above the long-term EMA.
Conversely, sell signals are generated when the price crosses below the lower EMA envelope, and the previous high was above the lower EMA envelope. Similar to buy signals, sell signals can also be filtered using the long-term EMA.
Note: Signal works well on Higher Timeframes like Daily/8hrs/4hrs/1hr.
Stop-Loss and Take-Profit Levels:
For buy signals, the stop-loss is set at the lower EMA level, while the take-profit level is calculated by adding a specified ratio of the difference between the low and the stop-loss level to the low price.
For sell signals, the stop-loss is set at the upper EMA level, and the take-profit level is calculated by subtracting a specified ratio of the difference between the stop-loss level and the high price from the high price.
Disclaimer:
This indicator is provided for educational and informational purposes only. Trading involves significant risk, and past performance does not guarantee future results. Users are solely responsible for their trading decisions and should conduct their own research and risk management. The author shall not be held liable for any losses or damages arising from the use of this indicator.
Note: Always test the indicator thoroughly on historical data and consider paper trading before applying it to live trading environments.
Скользящие средние
QuantBot 3:Ultimate MA CrossoverTHIS IS A SAMPLE CODE TO AUTOMATE WITH QUANTBOT
The moving average strategy is a popular and widely used technique in financial analysis and trading. It involves the calculation and analysis of moving averages, which are mathematical indicators that smooth out price data over a specified period. This strategy is primarily applied in the context of stock trading, but it can be used for other financial instruments as well.
The concept behind the moving average strategy is to identify trends and potential entry or exit points in the market. By calculating and analyzing moving averages of different timeframes, traders aim to capture the overall direction of the price movement and filter out short-term fluctuations or noise.
To implement the moving average strategy, a trader typically selects two or more moving averages with different periods. The most common combinations include the 50-day and 200-day moving averages. The shorter-term moving average is considered more reactive to price changes, while the longer-term moving average provides a smoother trend line. When the shorter-term moving average crosses above the longer-term moving average, it generates a buy signal, indicating a potential upward trend. Conversely, when the shorter-term moving average crosses below the longer-term moving average, it generates a sell signal, indicating a potential downward trend.
Traders can use various variations of the moving average strategy based on their trading objectives and risk tolerance. For instance, some traders may prefer to use exponential moving averages (EMAs) instead of simple moving averages (SMAs) to give more weight to recent price data. Others may incorporate additional indicators or filters to confirm signals or avoid false signals.
One of the strengths of the moving average strategy is its simplicity and ease of interpretation. It provides a clear visual representation of the trend direction and potential entry or exit points. However, it's important to note that the moving average strategy is a lagging indicator, meaning that it relies on past price data. Therefore, it may not always accurately predict future market movements or capture sudden reversals.
Like any trading strategy, the moving average strategy is not foolproof and carries risks. It is crucial for traders to conduct thorough analysis, consider other relevant factors, and manage their risk through proper position sizing and risk management techniques. Additionally, it's important to adapt the strategy to specific market conditions and combine it with other complementary strategies or indicators for improved decision-making.
Overall, the moving average strategy serves as a valuable tool for traders to identify and follow trends in financial markets, aiding in the analysis of price movements and potential trading opportunities.
High Volume Engulfing Candle near EMAsThe indicator is designed to identify and signal instances of high volume and engulfing candles near three Exponential Moving Averages (EMAs): the 21EMA, 50EMA, and 200EMA. It can be used in various financial markets such as stocks, forex, commodities, or cryptocurrencies, as long as the market data is available on the TradingView platform.
Here's a breakdown of how the indicator works and its features:
High Volume Detection: The indicator considers a candle to have high volume if its volume is greater than or equal to a specified threshold. The default threshold is set to 1.5 times the 20-period Simple Moving Average (SMA) of the volume. You can adjust the volume_threshold parameter to customize the threshold according to your preferences.
Engulfing Candle Detection: An engulfing candle is identified when the current candle's range engulfs the range of the previous candle. The indicator checks if the current candle is either bullish engulfing (open > close and close > open ) or bearish engulfing (open < close and close < open ). This helps identify significant shifts in market sentiment.
Proximity to EMAs: The indicator checks if the low of the candle is below and the high is above each of the three EMAs (21EMA, 50EMA, and 200EMA). This indicates that the price action is near or interacting with these key moving averages.
When all the following conditions are met, the indicator plots shapes below the candlesticks on the chart to generate signals:
The candle has high volume (volume_threshold).
The candle is an engulfing candle.
The candle's range engulfs the 21EMA, 50EMA, or 200EMA.
The shapes are plotted with different colors and labels to indicate which EMA condition is met. Green shapes represent the 21EMA condition, blue shapes represent the 50EMA condition, and red shapes represent the 200EMA condition.
By using this indicator, traders can potentially identify significant market movements, areas of price interaction with key EMAs, and instances of high volume that may signify strong buying or selling pressure.
GDCA ScreenerThis is upgrated system for Screener to DCA from "Grospector DCA V.3".
This has 5 zone Extreme high , high , normal , low , Extreme low. You can dynamic set min - max percent every zone.
Extreme zone is derivative short and long which It change Extreme zone to Normal zone all position will be closed.
Every Zone is splitted 10 channel. and this strategy calculate contribution.
and now can predict price in future.
Price Type: Allows the user to select the price type (open, high, low, close) for calculations.
ALL SET
Length MA for normal zone: The length of the moving average used in the normal zone.
Length for strong zone: The length of the moving average used in the strong zone, which is averaged from the normal zone moving average.
Multiple for Short: The multiplication factor applied to determine the threshold for the short zone.
Multiple for Strong Sell: The multiplication factor applied to determine the threshold for the strong sell zone.
Multiple for Sell Zone: The multiplication factor applied to determine the threshold for the sell zone.
Multiple for Buy Zone: The multiplication factor applied to determine the threshold for the buy zone.
Multiple for Strong Buy: The multiplication factor applied to determine the threshold for the strong buy zone.
Multiple for Long: The multiplication factor applied to determine the threshold for the long zone.
ZONE
Start Short Zone %: The start percentage of the short zone.
End Short Zone %: The end percentage of the short zone.
Start Sell Zone %: The start percentage of the sell zone.
End Sell Zone %: The end percentage of the sell zone.
Start Normal Zone %: The start percentage of the normal zone.
End Normal Zone %: The end percentage of the normal zone.
Start Buy Zone %: The start percentage of the buy zone.
End Buy Zone %: The end percentage of the buy zone.
Start Long Zone %: The start percentage of the long zone.
End Long Zone %: The end percentage of the long zone.
DISPLAY
Show Price: Controls the visibility of the price column in the display table.
Show Mode: Controls the visibility of the mode column in the display table.
Show GDCA: Controls the visibility of the GDCA column in the display table.
Show %: Controls the visibility of the percentage column in the display table.
Show Short: Controls the visibility of the short column in the display table.
Show Strong Sell: Controls the visibility of the strong sell column in the display table.
Show Sell: Controls the visibility of the sell column in the display table.
Show Buy: Controls the visibility of the buy column in the display table.
Show Strong Buy: Controls the visibility of the strong buy column in the display table.
Show Long: Controls the visibility of the long column in the display table.
Show Suggestion Trend: Controls the visibility of the suggestion trend column in the display table.
Show Manual Custom Code: Controls the visibility of the manual custom code column in the display table.
Show Dynamic Trend: Controls the visibility of the dynamic trend column in the display table.
Symbols: Boolean parameters that control the visibility of individual symbols in the display table.
Mode: Integer parameters that determine the mode for each symbol, specifying different settings or trends.
My mindset has been customed = AAPL , MSFT
To effectively make the DCA plan, I recommend adopting a comprehensive strategy that takes into consideration your mindset as the best indicator of the optimal approach. By leveraging your mindset, the task can be made more manageable and adaptable to any market
Dollar-cost averaging (DCA) is a suitable investment strategy for sound money and growth assets which It is Bitcoin, as it allows for consistent and disciplined investment over time, minimizing the impact of market volatility and potential risks associated with market timing
Baseline Indicator [SS]Hello,
This is the Baseline Indicator. I modelled it after one of my favourite Tradingview chart types, the baseline type (shown in image below):
I really love this chart, but I wanted a way for it to:
a) Be static and not move with the chart; and
b) Auto calculate the baseline average for a specified period of time.
So I created this indicator which does essentially that.
What it does:
The indicator will calculate the average between the high and low of a user defined timeframe. The timeframe is customizable, but it defaults to daily. It will then plot the average (or baseline) of the high and low over that specified timeframe. The default plot is a candle plot. It will change the colours of the candles to green (for above the baseline) and red (for below the baseline). The chart below shows an example of the indicator with candles on SPY. The Baseline timeframe is set to 1 hour:
You can choose whether you want to plot the current baseline average or the previous.
The advantage to plotting the previous is that this provide a static reference point and can be helpful on the 30 and 60 minute timeframe. Here is an example:
In this example on SPY, the indicator is plotting the previous average. You can see SPY is using this as support and creating a "staircase" pattern. This is indicative of a trend.
The example above is using the previous day average on the daily timeframe during a sideways day. You can see that the price action accumulates and is consistently drawn to this point.
Inversely, you can manually select your own baseline price if you want a static, self-calculated baseline reference point.
Options and Settings:
Below is an outline of the menu as well as a brief explanation of the options and settings:
To view your chart as a baseline chart, make sure you select the "Line" input and then hide the candles on your chart using your chart settings (see image below):
The purple arrow shows how to hide the candles. You select the "Eye" Icon which should then become greyed out and you will be left with the baseline chart from the indicator.
Why use baseline average?
The average between the high and low of a designated timeframe is a very helpful value. In choppy markets, this acts as a key point of frequent return. In trendy markets, this acts as a reference point of trend direction and strength. I encourage you to play around with the indicator and review some historical charts using it, and you will see some patterns emerge!
Final thoughts:
I have also done a quick tutorial video on the indicator for your reference, you can check that out below:
Thanks for checking out the indicator and I hope you like it!
SEC-Combined Indicator with EMA LinesTitle: Combined Indicator with EMA Lines
Description:
The Combined Indicator with EMA Lines is a technical analysis tool that combines multiple indicators to provide insights into the market's strength and potential buying or selling opportunities. It incorporates the Relative Strength Index (RSI), Exponential Moving Average (EMA) lines, and the trend over the past three days to generate signals.
The indicator calculates a combined data value by assigning weights to the RSI, EMA, and past trend. The RSI measures the strength of price movements, while the EMA lines provide an indication of the average price over a specific period. The past trend considers the price behavior over the last three days. By combining these factors, the indicator offers a comprehensive view of market conditions.
Buy and sell signals are generated based on the change in the combined data. A buy signal occurs when there is an increase in the combined data above a specified threshold, indicating a potential buying opportunity. Conversely, a sell signal is triggered when there is a decrease in the combined data below a specified threshold, suggesting a potential selling opportunity.
The indicator also plots the EMA lines, which include the EMA High, EMA Average, and EMA Low. These lines provide additional visual cues about the price trend and potential support and resistance levels.
Traders can use the Combined Indicator with EMA Lines to identify potential entry and exit points in the market. It helps in capturing trends, evaluating price strength, and making informed trading decisions. The buy and sell signals, along with the EMA lines, aid in spotting potential reversals, confirming trends, and managing risk.
It's important to note that this indicator should be used in conjunction with other analysis techniques and risk management strategies. Traders should consider combining it with additional indicators, chart patterns, and fundamental analysis to enhance their trading decisions.
Remember to backtest and validate the indicator's performance using historical data before using it in real-time trading. Adjust the input parameters, such as RSI period, EMA period, and threshold values, to suit your trading style and market conditions.
Sessioned EMA - Frozen EMA in post market hoursWhy I develop this indicator?
In future indices, post market data with little volume distort the moving average seriously. This indicator is to eliminate the distortion of data during low volume post market hours.
How to use?
There is a time session setting in the indicator, you can set the cash hour time, moving average outside the session will be frozen.
What this indicator gives you
This indicator give you a more make sense ema pattern, the ema lines are more respected by the prices when you set the session properly.
Setup
1. Session setting
In US indices, such as NQ, ES etc, when there was data release at 0830 hr, huge volume transaction order appears, that makes the 0830 price data important that should be included in your ema trend line calculating. If that is the case, I will set the session begin from 0830, otherwise, I start the session at 0930. Golden rule : Price with huge volume counts.
2. Time zone
The coding is decided for GMT+8 time zone, you may amend the code to fit your timezone.
20/200MAs+LTF+4HTF and HighLowBox+3HTF20/200MAs
Shows 20 and 200 MAs in each TFs(tfChart,1 Lower and 4 Higher).
TFs:
current TF
Lower TF (default: lower1)
Higher TF1 (default: higher1)
Higher TF2 (default: higher1)
Higher TF3 (default: higher1)
Higher TF4 (default: higher1)
MAs:
20MA (default: sma)
1st 200MA (default: sma)
2nd 200MA (default: ema)
VWAP (optional)
HighLowBox+3HTF
Enclose in a square high and low range in each timeframe.
Shows price range and duration of each box.
In current timeframe, shows Fibonacci Scale inside(23.6%, 38.2%, 50.0%, 61.8%, 76.4%)/outside of each box.
Outside(161.8%,261.8,361.8%) would be shown as next target, if break top/bottom of each box.
1st box for current timeframe.
2nd box for higher timeframe.(default: higher1)
3rd box for higher timeframe.(default: higher2)
4th box for higher timeframe.(default: higher3)
static timeframes can also be used.
Multi-Band Breakout IndicatorThe Multi-Band Breakout Indicator was created to help identify potential breakout opportunities in the market. It combines multiple bands (ATR-Based and Donchian) and moving averages to provide valuable insights into the underlying trend and potential breakouts. By understanding the calculations, interpretation, parameter adjustments, potential applications, and limitations of the indicator, traders can effectively incorporate it into their trading strategy.
Calculation:
The indicator utilizes several calculations to plot the bands and moving averages. The length parameter determines the period used for the Average True Range (ATR), which measures volatility. A higher length captures a longer-term view of price movement, while a lower length focuses on shorter-term volatility. The multiplier parameter adjusts the distance of the upper and lower bands from the ATR. A higher multiplier expands the bands, accommodating greater price volatility, while a lower multiplier tightens the bands, reflecting lower volatility. The MA Length parameter determines the period for the moving averages used to calculate the trend and trend moving average. A higher MA Length creates a smoother trend line, filtering out shorter-term fluctuations, while a lower MA Length provides a more sensitive trend line.
The Donchian calculations in the Multi-Band Breakout Indicator play a significant role in identifying potential breakout opportunities and providing additional confirmation for trading signals. In this indicator, the Donchian calculations are applied to the trend line, which represents the average of the upper and lower bands. To calculate the Donchian levels, the indicator uses the Donchian Length parameter, which determines the period over which the highest high and lowest low are calculated. A longer Donchian Length captures a broader price range, while a shorter length focuses on more recent price action. By incorporating the Donchian calculations into the Multi-Band Breakout Indicator, traders gain an additional layer of confirmation for breakout signals.
Interpretation:
The Multi-Band Breakout Indicator offers valuable interpretation for traders. The upper and lower bands represent dynamic levels of resistance and support, respectively. These bands reflect the potential price range within which the asset is expected to trade. The trend line is the average of these bands and provides a central reference point for the overall trend. When the price moves above the upper band, it suggests a potential overbought condition and a higher probability of a pullback. Conversely, when the price falls below the lower band, it indicates a potential oversold condition and an increased likelihood of a bounce. The trend moving average further smooths the trend line, making it easier to identify the prevailing direction.
The crossover of the trend line (representing the average of the upper and lower bands) and the trend moving average holds a significant benefit for traders. This crossover serves as a powerful signal for potential trend changes and breakout opportunities in the market. When the trend line crosses above the trend moving average, it suggests a shift in momentum towards the upside, indicating a potential bullish trend. This provides traders with an early indication of a possible upward movement in prices. Conversely, when the trend line crosses below the trend moving average, it indicates a shift in momentum towards the downside, signaling a potential bearish trend. This crossover acts as an early warning for potential downward price movement. By identifying these crossovers, traders can capture the initial stages of a new trend, enabling them to enter trades at favorable entry points and potentially maximize their profit potential.
Breakout Signals:
For bullish breakouts, the indicator looks for a bullish crossover between the trend line and the trend moving average. This crossover suggests a shift in momentum towards the upside. Additionally, it checks if the current price has broken above the upper band and the previous Donchian high. This confirms that the price is surpassing a previous resistance level, indicating further upward movement.
For bearish breakouts, the indicator looks for a bearish crossunder between the trend line and the trend moving average. This crossunder indicates a shift in momentum towards the downside. It also checks if the current price has broken below the lower band and the previous Donchian low. This confirms that the price is breaking through a previous support level, signaling potential downward movement.
When a bullish or bearish breakout is detected, it suggests a potential trading opportunity. Traders may consider initiating positions in the direction of the breakout, anticipating further price movement in that direction. However, it's important to remember that breakouts alone do not guarantee a successful trade. Other factors, such as market conditions, volume, and confirmation from additional indicators, should be taken into account. Risk management techniques should also be implemented to manage potential losses.
Coloration:
The coloration in the Multi-Band Breakout Indicator is used to visually represent different aspects of the indicator and provide valuable insights to traders. Let's break down the coloration components:
-- Trend/Basis Color : The tColor variable determines the color of the bars based on the relationship between the trend line (trend) and the closing price (close), as well as the relationship between the trend line and the trend moving average (trendMA). If the trend line is above the closing price and the trend moving average is also above the closing price, the bars are colored fuchsia, indicating a potential bullish trend. If the trend line is below the closing price and the trend moving average is also below the closing price, the bars are colored lime, indicating a potential bearish trend. If neither of these conditions is met, the bars are colored yellow, representing a neutral or indecisive market condition.
-- Moving Average Color : The maColor variable determines the color of the filled area between the trend line and the trend moving average. If the trend line is above the trend moving average, the area is filled with a lime color with 70% opacity, indicating a potential bullish trend. Conversely, if the trend line is below the trend moving average, the area is filled with a fuchsia color with 70% opacity, indicating a potential bearish trend. This coloration helps traders visually identify the relationship between the trend line and the trend moving average.
-- highColor and lowColor : The highColor and lowColor variables determine the colors of the high Donchian band (hhigh) and the low Donchian band (llow), respectively. These bands represent dynamic levels of resistance and support. If the highest point in the previous Donchian period (hhigh) is above the upper band, the highColor is set to olive with 90% opacity, indicating a potential resistance level. On the other hand, if the lowest point in the previous Donchian period (llow) is below the lower band, the lowColor is set to red with 90% opacity, suggesting a potential support level. These colorations help traders quickly identify important price levels and assess their significance in relation to the bands.
By incorporating coloration, the Multi-Band Breakout Indicator provides visual cues to traders, making it easier to interpret the relationships between various components and assisting in identifying potential trend changes and breakout opportunities. Traders can use these color cues to quickly assess the prevailing market conditions and make informed trading decisions.
Adjusting Parameters:
The Multi-Band Breakout Indicator offers flexibility through parameter adjustments. Traders can customize the indicator based on their preferences and trading style. The length parameter controls the sensitivity to price changes, with higher values capturing longer-term trends, while lower values focus on shorter-term price movements. By adjusting the parameters, such as the ATR length, multiplier, Donchian length, and MA length, traders can customize the indicator to suit different timeframes and trading strategies. For shorter timeframes, smaller values for these parameters may be more suitable, while longer timeframes may require larger values.
Potential Applications:
The Multi-Band Breakout Indicator can be applied in various trading strategies. It helps identify potential breakout opportunities, allowing traders to enter trades in the direction of the breakout. Traders can use the indicator to initiate trades when the price moves above the upper band or below the lower band, confirming a potential breakout and providing a signal to enter a trade. Additionally, the indicator can be combined with other technical analysis tools, such as support and resistance levels, candlestick patterns, or trend indicators, to increase the probability of successful trades. By incorporating the Multi-Band Breakout Indicator into their trading approach, traders can gain a better understanding of market trends and capture potential profit opportunities.
Limitations:
While the Multi-Band Breakout Indicator is a useful tool, it has some limitations that traders should consider. The indicator performs best in trending markets where price movements are relatively strong and sustained. During ranging or choppy market conditions, the indicator may generate false signals, leading to potential losses. It is crucial to use the indicator in conjunction with other analysis techniques and risk management strategies to enhance its effectiveness. Additionally, traders should consider external factors such as market news, economic events, and overall market sentiment when interpreting the signals generated by the indicator.
By combining multiple bands and moving averages, this indicator offers valuable insights into the underlying trend and helps traders make informed trading decisions. With customization options and careful interpretation, this indicator can be a valuable addition to any trader's toolkit, assisting in identifying potential breakouts, capturing profitable trades, and enhancing overall trading performance.
DMMAverages and IMAThis puts away multiple moving averages. The moving average line that this draws is calculated from the closing price, but it uses a slightly different method to determine if the moving average line is heard, and if the closing price is between the high and low moving averages, it counts. The ratio of each count is calculated and the rate of change (variance) is calculated. This value is used as the basis for the assistance. If the variance is high, it means that this average line is working. It also draws a label and displays its value. This value will change to the color of the moving average you are currently listening to. When you change the color yourself, it is indefinite.
RSI Multi Timeframe Based on Moving Average By Alireza PhoenixHi. I have prepared for you the multi-time frame RSI indicator based on moving average
You can use it in three different time frames
Open the settings and put the value you want in the Time 1 and Time 2 fields
In the fast and slow section, specify the length of the moving period of fast and slow origins as desired
In the offset section, you can add or reduce the time interval as you wish
This indicator shows you the RSI index in three different time frames along with two different lengths of the moving average based on the RSI index.
You can use this indicator in all financial, forex or crypto markets
The crossing of RSI and moving average lines in different time frames and lengths will give you a buy or sell signal.
Whenever the faster line or smaller RSI total frame succeeds in breaking the slower line or the RSI time is higher than the low, a free signal is issued and vice versa.
I do not guarantee that 100% of the issued signals are accurate and correct, and I have coded this indicator only for your convenience.
I hope you can get help from this indicator and make profit
Love From IRAN
Market Smith IndicatorsMarket Smith has a collection of tools that are useful for identifying stocks. On their charts they have a 21/50/200 day moving averages, high and low pivot points, a relative strength line, and a relative strength rating. This script contains indicators for the following:
21/50/200 Day Moving Averages
High and Low pivot points
A Relative Strength line
A Relative Strength rating
21/50/200 Day Moving Averages
The 21/50/200 Day moving averages are simple moving averages. They are visible in any chart increment but to use them properly you need to set you charts to be by day. Labels will appear on the right of the lines to show that they are representative of 21/50/200 day moving averages.
High and Low pivot points
The High and Low pivot points are green for high pivot points and red for low points. They are show in the Market Smith style with the numbers simply above the pivot points.
Relative Strength line
The Relative Strength line is a line that shows the strength of the stock compared to the S&P 500. In this case we utilize the SPX ticker to compare the stock to. This line is almost identical to the Market Smith tool and is an excellent tool to determine how a stock is doing compared to the market. When movements in the stock and shown with sideways trending of the RS line that means that the stock is following the market. When a stock is outperforming the market the RS line will follow.
Relative Strength rating
Thank you to ©Fred6724 for the RS Rating inspiration. They wrote excellent open source code for a RS Rating comparable to Market Smith. As the RS Rating in Market Smith is not open source it is difficult to know exactly how it is being calculated. After simplifying Fred's code and building upon a few ideas I had I compared the RS Rating to multiple Market Smith Ratings. The rating is close but often off by multiple points. If there is anyone who has a better idea on how to get this rating or how to improve on the code please send me a PM or fork this project. This rating is a good indicator to see how a certain stock compares to other stocks in the market. In Market Smith they are able to utilize their database to compare it to all other stocks. Since we do not have access to the same tools we are only able to compare it to the percentage of stocks above the 200, 150, 100, 50, and 20 day moving average.
Using these tools together are a small fraction what make people like Bill O'neill and Jim Roppel so successful. I plan on updating the RS Rating as I continue to work on this project so if there is anyone who has ideas then please send me a PM. Ultimately the goal of this project is to have a solution that is identical to Market Smith.
RAINBOW AVERAGES - INDICATOR - (AS) - 1/3
-INTRODUCTION:
This is the first of three scripts I intend to publish using rainbow indicators. This script serves as a groundwork for the other two. It is a RAINBOW MOVING AVERAGES indicator primarily designed for trend detection. The upcoming script will also be an indicator but with overlay=false (below the chart, not on it) and will utilize RAINBOW BANDS and RAINBOW OSCILLATOR. The third script will be a strategy combining all of them.
RAINBOW moving averages can be used in various ways, but this script is mainly intended for trend analysis. It is meant to be used with overlay=true, but if the user wishes, it can be viewed below the chart. To achieve this, you need to change the code from overlay=true to false and turn off the first switch that plots the rainbow on the chart (or simply move the indicator to a new pane below). By doing this, you will be able to see how all four conditions used to detect trends work on the chart. But let's not get ahead of ourselves.
-WHAT IS IT:
In its simplest form, this indicator uses 10 moving averages colored like a rainbow. The calculation is as follows:
MA0: This is the main moving average and can be defined with the type (SMA, EMA, RMA, WMA, SINE), length, and price source. However, the second moving average (MA1) is calculated using MA0 as its source, MA2 uses MA1 as the data source, and so on, until the last one, MA9. Hence, there are 10 moving averages. The first moving average is special as all the others derive from it. This indicator has many potential uses, such as entry/exit signals, volatility indication, and stop-loss placement, but for now, we will focus on trend detection.
-TREND DETECTION:
The indicator offers four different background color options based on the user's preference:
0-NONE: No background color is applied as no trend detection tools is being used (boring)
1-CHANGE: The background color is determined by summing the changes of all 10 moving averages (from two bars). If the sum is positive and not falling, the background color is GREEN. If the sum is negative and not rising, the background color is RED. From early testing, it works well for the beginning of a movement but not so much for a lasting trend.
2-RAINBW: The background color is green when all the moving averages are in ascending order, indicating a bullish trend. It is red when all the moving averages are in descending order, indicating a bearish trend. For example, if MA1>MA2>MA3>MA4..., the background color is green. If MA1 threshold, and red indicates width < -threshold.
4-DIRECT: The background color is determined by counting the number of moving averages that are either above or below the input source. If the specified number of moving averages is above the source, the background color is green. If the specified number of moving averages is below the source, the background color is red. If all ten MAs are below the price source, the indicator will show 10, and if all ten MAs are above, it will show -10. The specific value will be set later in the settings (same for 3-TSHOLD variant). This method works well for lasting trends.
Note: If the indicator is turned into a below-chart version, all four color options can be seen as separate indicators.
-PARAMETERS - SETTINGS:
The first line is an on/off switch to plot the skittles indicator (and some info in the tooltip). The second line has already been discussed, which is the background color and the selection of the source (only used for MA0!).
The line "MA1: TYP/LEN" is where we define the parameters of MA0 (important). We choose from the types of moving averages (SMA, EMA, RMA, WMA, SINE) and set the length.
Important Note: It says MA1, but it should be MA0!.
The next line defines whether we want to smooth MA1 (which is actually MA0) and the period for smoothing. When smoothing is turned on, MA0 will be smoothed using a 3-pole super smoother. It's worth noting that although this only applies to MA0, as the other MAs are derived from it, they will also be smoothed.
In the line below, we define the type and length of MAs for MA2 (and other MAs except MA0). The same type and length are used for MA1 to MA9. It's important to remember that these values should be smaller. For example, if we set 55, it means that MA1 is the average of 55 periods of MA0, MA2 will be 55 periods of MA1, and so on. I encourage trying different combinations of MA types as it can be easily adjusted for ur type of trading. RMA looks quirky.
Moving on to the last line, we define some inputs for the background color:
TSH: The threshold value when using 3-TSHOLD-BGC. It's a good idea to change the chart to a pane below for easier adjustment. The default values are based on EURUSD-5M.
BG_DIR: The value that must be crossed or equal to the MA score if using 4-DIRECT-BGC. There are 10 MAs, so the maximum value is also 10. For example, if you set it to 9, it means that at least 9 MAs must be below/above the price for the script to detect a trend. Higher values are recommended as most of the time, this indicator oscillates either around the maximum or minimum value.
-SUMMARY OF SETTINGS:
L1 - PLOT MAs and general info tooltip
L2 - Select the source for MA0 and type of trend detection.
L3 - Set the type and length of MA0 (important).
L4 - Turn smoothing on/off for MA0 and set the period for super smoothing.
L5 - Set the type and length for the rest of the MAs.
L6 - Set values if using 4-DIRECT or 3-TSHOLD for the trend detection.
-OTHERS:
To see trend indicators, you need to turn off the plotting of MAs (first line), and then choose the variant you want for the background color. This will plot it on the chart below.
Keep in mind that M1 int settings stands for MA0 and MA2 for all of the 9 MAs left.
Yes, it may seem more complicated than it actually is. In a nutshell, these are 10 MAs, and each one after MA0 uses the previous one as its source. Plus few conditions for range detection. rest is mainly plots and colors.
There are tooltips to help you with the parameters.
I hope this will be useful to someone. If you have any ideas, feedback, or spot errors in the code, LET ME KNOW.
Stay tuned for the remaining two scripts using skittles indicators and check out my other scripts.
-ALSO:
I'm always looking for ideas for interesting indicators and strategies that I could code, so if you don't know Pinescript, just message me, and I would be glad to write your own indicator/strategy for free, obviously.
-----May the force of the market be with you, and until we meet again,
Moving Average With Risk:Reward**Title: A Detailed Guide to Using the Moving Average With Risk:Reward Indicator**
The dynamic world of financial markets offers a myriad of opportunities for market participants to make profitable trades. However, to unlock these opportunities, traders require reliable tools to guide their decisions, tools such as technical indicators. One such indicator is the 'Moving Average With Risk:Reward' Indicator, a versatile tool that combines the simple moving average (SMA), exponential moving average (EMA), Average True Range (ATR) indicator, and automated entry, stop-loss, and take-profit markers to provide a comprehensive analysis of market trends. This article aims to detail the use and interpretation of this indicator.
**Understanding the Building Blocks**
1. **Moving Averages (SMA & EMA):**
Moving averages are arguably some of the most common tools used by traders worldwide. They help smooth out price data to form a trend following indicator. Our custom indicator utilizes both a 21-period SMA, which averages the closing prices of the past 21 periods, and a 9-period EMA, which gives more weight to recent prices. The difference in sensitivity between these two moving averages forms the basis of our trade signals.
2. **Average True Range (ATR):**
The ATR is an essential component of our indicator. It measures market volatility by decomposing the entire range of an asset price for that period. It plays a critical role in determining the stop loss and take profit levels in our indicator, as detailed later.
**How the Indicator Works**
Our custom indicator works by generating buy or sell signals based on crossover and crossunder events between the SMA and EMA. A crossover occurs when the EMA (more sensitive to recent prices) crosses above the SMA, indicating upward momentum and hence triggering a buy signal. Conversely, a crossunder, where the EMA moves below the SMA, indicates increasing downward momentum and generates a sell signal.
Upon the generation of a signal, the indicator draws lines on the chart to represent the entry point, stop loss, and take profit levels. The user has the freedom to adjust the color of these lines for visual clarity. The script will also delete previous lines whenever a new signal is generated to avoid clutter and confusion.
**Determining the Stop Loss and Take Profit Levels**
Our custom indicator uses the ATR and a predetermined multiplier to calculate stop loss and take profit levels, thus incorporating market volatility into these critical decisions. The user can input their preferred multiplier for both stop loss and take profit.
Stop Loss (SL): SL is set at a level that is the ATR value multiplied by the stop-loss multiplier subtracted from (for a long position) or added to (for a short position) the closing price.
Take Profit (TP): Conversely, TP is set at a level that is the ATR value multiplied by the take-profit multiplier added to (for a long position) or subtracted from (for a short position) the closing price.
These SL and TP levels get plotted as horizontal lines on the chart, extending to the right. Labels are also placed to easily identify these levels.
**Making the Most of the Indicator**
A significant advantage of this indicator lies in its simplicity and clarity. Traders can clearly see the entry point, stop loss, and take profit levels on the chart. They can modify these levels based on their risk tolerance or trading strategy.
The combination of SMA and EMA offers the best of both worlds, with SMA providing a lagging, stable trend indication and EMA offering a more responsive indication to recent price changes. The indicator's use of ATR for SL and TP settings also ensures that these levels adapt to changing market volatility.
It is essential to remember that while this indicator can be an invaluable tool in a trader's arsenal, it is not infallible. Markets can often behave unpredictably, and even the most robust and reliable indicators can occasionally generate false signals. Therefore, traders should always employ sound money management strategies and use this indicator in conjunction with other technical analysis tools and fundamental analysis to confirm signals and make informed trading decisions.
In conclusion, the Moving Average With Risk:Reward indicator provides a comprehensive and versatile tool that can significantly enhance trading strategies. Its integration of trend-following moving averages, volatility-adjusted stop loss and take profit levels, and clear chart visualizations make it a potent tool in the financial markets. By fully understanding how to interpret and utilize this indicator, traders can navigate the markets with increased confidence and precision.
Higher Fibonacci EMAOverall image:
If the closing price is higher than the three Fibonacci EMAs (uptrend):
Thanks to @ZenAndTheArtOfTrading and his indicator "Higher Timeframe EMA", URL =
This is a trend-discriminating indicator that uses 3 EMAs.
The Williams Alligator is the underlying philosophy, and we have applied it to capture the larger trend.
It is set up for the current time frame + 2 higher time frames.
One of the upper time legs has a daily EMA length of 13 Fibonacci numbers.
The top-level time leg has a weekly EMA with a length of 5 Fibonacci.
If the current closing price of the ticker leg is higher than these three EMAs, the bar color will be green. If it is lower, it will be red. If it is neither, it will be gray.
If the bar color is green, it suggests that the trend is upward. If it is red, you can consider entering short. If it is gray, it is best not to enter anything.
All in One EMA indicator with Average EMA Calculations The Indicator displays multiple exponential moving averages (EMAs) on the chart. The six available options will let you adjust and set ]exponential moving averages ( EMAS) as per your choice. Additionally I have added an Average ema which will calculate the average of all the emas that you have selected. This average ema works very strong and greatly to find potential zone of dynamic supports and resistance as well as to gauge the overall trend .. The average ema will also allow you to keep your chart clean and you wont have to add too many emas together.
The average of the selected EMAs are displayed as a single line. This helps identify trends and potential reversals in the market. i hope this indicator will help you with trading...
Plz use the chart BINANCE:LINKBTC as reference, for back testing and educational purposes only.
Thumbs up if you liked the script.
Happy trading..
EMA 08:00// Some traders prefer to start the charts at 8am in the morning.
// This chart setting is not possible as of today, but the following script lets you calculate ema for a defined time range.
// Right now it is set to include bars from 08:00 to 23:59, meaning that early pre market 04:00 to 07:59 is left out.
Disparity IndexThe Disparity Index is a technical momentum indicator that measures the relative position of the most recent closing price to a selected moving average. It calculates the percentage difference between the closing price and the moving average, providing insights into price momentum and potential reversals.
The formula for the Disparity Index is: * 100, where Close is the most recent closing price and n-period MA is the chosen moving average over n periods.
The Disparity Index can be used in various ways:
Trend Identification: The Disparity Index helps identify the relationship between the price and a chosen moving average. A positive value indicates that the price is above the moving average, suggesting bullish momentum, while a negative value suggests bearish momentum.
Overbought and Oversold Conditions: The Disparity Index can be used to identify potential overbought and oversold conditions. When the index reaches an extremely high value, it may indicate an overbought condition, implying a possible price correction. Conversely, an extremely low value can signal an oversold condition, indicating a potential price rebound.
Divergence: Traders can use the Disparity Index to identify divergence between the price and the indicator. Divergence occurs when the price and the Disparity Index move in opposite directions, potentially signaling an upcoming price reversal.
Personal Strategy: When the Disparity Index generates a green background, it suggests a potential bullish signal. This occurs when the Disparity Index crosses above the oversold threshold or exhibits a bullish reversal pattern. The green background signifies an area where buyers may have gained control, indicating a favorable environment for initiating long positions. This approach allows you to capitalize on potential upward price movements and join the uptrend.
On the other hand, when the Disparity Index generates a red background, it implies a potential bearish signal. This occurs when the Disparity Index crosses below the overbought threshold or exhibits a bearish reversal pattern. The red background highlights a zone where sellers might dominate, indicating a higher likelihood of downward price movements. By considering selling opportunities in these zones, you can position yourself to profit from potential downside moves and align with the prevailing downtrend.
The Disparity Index can be customized by using different types of moving averages such as simple moving averages (SMAs), exponential moving averages (EMAs), or weighted moving averages (WMAs). Additionally, it can be smoothed using another moving average to reduce noise and generate smoother signals, improving trend identification.
In trending markets, the Disparity Index is particularly effective as a trend indicator due to its ability to quickly capture price changes. It can provide early indications of trend strength and potential reversals, allowing traders to enter or exit positions in a timely manner. This advantage over traditional moving averages makes the Disparity Index a valuable tool for trend-following strategies.
Enjoy!
MOST + Moving Average ScreenerScreener version of Anıl Özekşi's Moving Stop Loss (MOST) Indicator:
USERS MAY SCREEN MOST WITH 11 DIFFERENT TYPES OF MOVING AVERAGES + THEY CAN ALSO SCREEN SIGNALS WITH THAT 11 MOVING AVERAGES INSTEAD OF USING MOST LINE.
Adjustable Moving Average Types:
SMA : Simple Moving Average
EMA : Exponential Moving Average
WMA : Weighted Moving Average
DEMA : Double Exponential Moving Average
TMA : Triangular Moving Average
VAR : Variable Index Dynamic Moving Average aka VIDYA
WWMA : Welles Wilder's Moving Average
ZLEMA : Zero Lag Exponential Moving Average
TSF : True Strength Force
HULL : Hull Moving Average
TILL : Tillson T3 Moving Average
About Screener Panel:
Users can explore 20 different and user-defined tickers, which can be changed from the SETTINGS (shares, crypto, commodities...) on this screener version.
The screener panel shows up right after the bars on the right side of the chart.
-In this screener version of MOST, users can define the number of demanded tickers (symbols) from 1 to 20 by checking the relevant boxes on the settings tab.
-All selected tickers can be screened in different timeframes.
-Also, different timeframes of the same Ticker can be screened.
IMPORTANT NOTICE:
Screener shows the results in 3 different logic:
1st LOGIC (Default Settings):
BUY AND SELL SIGNALS of MOST and MOVING AVERAGE LINE
Most Buy Signal: Moving Average Crosses ABOVE the MOST LINE
Most Sel Signal: Moving Average Crosses BELOW the MOST LINE
Tickers seen in green are the ones that are in an uptrend, according to MOST.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers before each Ticker indicate how many bars passed after MOST's last BUY or SELL signal.
For example, according to the indicator, when BTCUSDT appears (3) in GREEN, Bitcoin switched to a BUY signal 3 bars ago.
2nd LOGIC (Moving Average & Price Flips Screener Mode):
This mode can only be activated by checking the 'Activate Moving Average Screening Mode' box on the settings menu.
MOST line will be disappeared after checking the box.
Buy Signal: When the Selected Price crosses ABOVE the selected Moving Average.
Sell Signal: When the Selected Price crosses BELOW the selected Moving Average.
Tickers seen in green are the ones that are in an uptrend, according to Moving Average & Price Flips.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers before each Ticker indicate how many bars passed after the last BUY or SELL signal of Moving Average & Price Flips.
For example, according to the indicator, when BTCUSDT appears (3) in GREEN, Bitcoin switched to a BUY signal 3 bars ago.
3rd LOGIC (Moving Average Color Change Screener Mode):
Both 'Activate Moving Average Screening Mode' and 'Activate Moving Average Color Change Screening Mode' boxes must be checked in the settings tab.
Moving Average Line will turn out into two colors.
Green color means the moving average value is greater than the previous bar's value.
Red color means the moving average value is smaller than the previous bar's value.
Buy Signal: After the Selected Moving Average turns GREEN from red.
Sell Signal: After the Selected Moving Average turns RED from green.
-Screener shows the information about the color changes of the selected Moving Average with default settings.
If this option is preferred, users are advised to enlarge the length to have better signals.
Tickers seen in green are the ones that are in an uptrend, according to Moving Average Color.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers before each Ticker indicate how many bars passed after the last BUY or SELL signal of Moving Average Color Change.
For example, according to the indicator, when BTCUSDT appears (3) in GREEN, Bitcoin switched to a BUY signal 3 bars ago.
Advanced Volatility-Adjusted Momentum IndexAdvanced Volatility-Adjusted Momentum Index (AVAMI)
The AVAMI is a powerful and versatile trading index which enhances the traditional momentum readings by introducing a volatility adjustment. This results in a more nuanced interpretation of market momentum, considering not only the rate of price changes but also the inherent volatility of the asset.
Settings and Parameters:
Momentum Length: This parameter sets the number of periods used to calculate the momentum, which is essentially the rate of change of the asset's price. A shorter length value means the momentum calculation will be more sensitive to recent price changes. Conversely, a longer length will yield a smoother and more stabilized momentum value, thereby reducing the impact of short-term price fluctuations.
Volatility Length: This parameter is responsible for determining the number of periods to be considered in the calculation of standard deviation of returns, which acts as the volatility measure. A shorter length will result in a more reactive volatility measure, while a longer length will produce a more stable, but less sensitive measure of volatility.
Smoothing Length: This parameter sets the number of periods used to apply a moving average smoothing to the AVAMI and its signal line. The purpose of this is to minimize the impact of volatile periods and to make the indicator's lines smoother and easier to interpret.
Lookback Period for Scaling: This is the number of periods used when rescaling the AVAMI values. The rescaling process is necessary to ensure that the AVAMI values remain within a consistent and interpretable range over time.
Overbought and Oversold Levels: These levels are thresholds at which the asset is considered overbought (potentially overvalued) or oversold (potentially undervalued), respectively. For instance, if the AVAMI exceeds the overbought level, traders may consider it as a possible selling opportunity, anticipating a price correction. Conversely, if the AVAMI falls below the oversold level, it could be seen as a buying opportunity, with the expectation of a price bounce.
Mid Level: This level represents the middle ground between the overbought and oversold levels. Crossing the mid-level line from below can be perceived as an increasing bullish momentum, and vice versa.
Show Divergences and Hidden Divergences: These checkboxes give traders the option to display regular and hidden divergences between the AVAMI and the asset's price. Divergences are crucial market structures that often signal potential price reversals.
Index Logic:
The AVAMI index begins with the calculation of a simple rate of change momentum indicator. This raw momentum is then adjusted by the standard deviation of log returns, which acts as a measure of market volatility. This adjustment process ensures that the resulting momentum index encapsulates not only the speed of price changes but also the market's volatility context.
The raw AVAMI is then smoothed using a moving average, and a signal line is generated as an exponential moving average (EMA) of this smoothed AVAMI. This signal line serves as a trigger for potential trading signals when crossed by the AVAMI.
The script also includes an algorithm to identify 'fractals', which are distinct price patterns that often act as potential market reversal points. These fractals are utilized to spot both regular and hidden divergences between the asset's price and the AVAMI.
Application and Strategy Concepts:
The AVAMI is a versatile tool that can be integrated into various trading strategies. Traders can utilize the overbought and oversold levels to identify potential reversal points. The AVAMI crossing the mid-level line can signify a change in market momentum. Additionally, the identification of regular and hidden divergences can serve as potential trading signals:
Regular Divergence: This happens when the asset's price records a new high/low, but the AVAMI fails to follow suit, suggesting a possible trend reversal. For instance, if the asset's price forms a higher high but the AVAMI forms a lower high, it's a regular bearish divergence, indicating potential price downturn.
Hidden Divergence: This is observed when the price forms a lower high/higher low, but the AVAMI forms a higher high/lower low, suggesting the continuation of the prevailing trend. For example, if the price forms a lower low during a downtrend, but the AVAMI forms a higher low, it's a hidden bullish divergence, signaling the potential continuation of the downtrend.
As with any trading tool, the AVAMI should not be used in isolation but in conjunction with other technical analysis tools and within the context of a well-defined trading plan.
SMA mechanical swing tradeIndicator that compares the closing price of an asset vs a simple moving average as a mechanical swing trading strategy. It allows the user to set any asset and timeframe for the strategy, which can be different from those the user is currently viewing. The strategy also allows the user to set an upside and downside tolerance so that retests within a few % of the SMA get some space to breathe before flipping directional bias.
If the selected asset in the strategy is different from the one currently viewed, the indicator plots the MA for the currently viewed asset but keeps applying the directional bias colors from the strategy asset.
Some examples of recommended usage of this indicator: BTCUSD 120D, BTCUSD 120D applied on ETHUSD, AAVEUSD 365D.
Multi Kernel Regression [ChartPrime]The "Multi Kernel Regression" is a versatile trading indicator that provides graphical interpretations of market trends by using different kernel regression methods. It's beneficial because it smoothes out price data, creating a clearer picture of price movements, and can be tailored according to the user's preference with various options.
What makes this indicator uniquely versatile is the 'Kernel Select' feature, which allows you to choose from a variety of regression kernel types, such as Gaussian, Logistic, Cosine, and many more. In fact, you have 17 options in total, making this an adaptable tool for diverse market contexts.
The bandwidth input parameter directly affects the smoothness of the regression line. While a lower value will make the line more sensitive to price changes by sticking closely to the actual prices, a higher value will smooth out the line even further by placing more emphasis on distant prices.
It's worth noting that the indicator's 'Repaint' function, which re-estimates work according to the most recent data, is not a deficiency or a flaw. Instead, it’s a crucial part of its functionality, updating the regression line with the most recent data, ensuring the indicator measurements remain as accurate as possible. We have however included a non-repaint feature that provides fixed calculations, creating a steady line that does not change once it has been plotted, for a different perspective on market trends.
This indicator also allows you to customize the line color, style, and width, allowing you to seamlessly integrate it into your existing chart setup. With labels indicating potential market turn points, you can stay on top of significant price movements.
Repaint : Enabling this allows the estimator to repaint to maintain accuracy as new data comes in.
Kernel Select : This option allows you to select from an array of kernel types such as Triangular, Gaussian, Logistic, etc. Each kernel has a unique weight function which influences how the regression line is calculated.
Bandwidth : This input, a scalar value, controls the regression line's sensitivity towards the price changes. A lower value makes the regression line more sensitive (closer to price) and higher value makes it smoother.
Source : Here you denote which price the indicator should consider for calculation. Traditionally, this is set as the close price.
Deviation : Adjust this to change the distance of the channel from the regression line. Higher values widen the channel, lower values make it smaller.
Line Style : This provides options to adjust the visual style of the regression lines. Options include Solid, Dotted, and Dashed.
Labels : Enabling this introduces markers at points where the market direction switches. Adjust the label size to suit your preference.
Colors : Customize color schemes for bullish and bearish trends along with the text color to match your chart setup.
Kernel regression, the technique behind the Multi Kernel Regression Indicator, has a rich history rooted in the world of statistical analysis and machine learning.
The origins of kernel regression are linked to the work of Emanuel Parzen in the 1960s. He was a pioneer in the development of nonparametric statistics, a domain where kernel regression plays a critical role. Although originally developed for the field of probability, these methods quickly found application in various other scientific disciplines, notably in econometrics and finance.
Kernel regression became really popular in the 1980s and 1990s along with the rise of other nonparametric techniques, like local regression and spline smoothing. It was during this time that kernel regression methods were extensively studied and widely applied in the fields of machine learning and data science.
What makes the kernel regression ideal for various statistical tasks, including financial market analysis, is its flexibility. Unlike linear regression, which assumes a specific functional form for the relationship between the independent and dependent variables, kernel regression makes no such assumptions. It creates a smooth curve fit to the data, which makes it extremely useful in capturing complex relationships in data.
In the context of stock market analysis, kernel regression techniques came into use in the late 20th century as computational power improved and these techniques could be more easily applied. Since then, they have played a fundamental role in financial market modeling, market prediction, and the development of trading indicators, like the Multi Kernel Regression Indicator.
Today, the use of kernel regression has solidified its place in the world of trading and market analysis, being widely recognized as one of the most effective methods for capturing and visualizing market trends.
The Multi Kernel Regression Indicator is built upon kernel regression, a versatile statistical method pioneered by Emanuel Parzen in the 1960s and subsequently refined for financial market analysis. It provides a robust and flexible approach to capturing complex market data relationships.
This indicator is more than just a charting tool; it reflects the power of computational trading methods, combining statistical robustness with visual versatility. It's an invaluable asset for traders, capturing and interpreting complex market trends while integrating seamlessly into diverse trading scenarios.
In summary, the Multi Kernel Regression Indicator stands as a testament to kernel regression's historic legacy, modern computational power, and contemporary trading insight.
Webby's Tight IndicatorWebby's Tight Indicator is used to measure a securities volatility relative to itself over time. This is achieved by taking the average of three short term ATR's (average true range) and creating a ratio versus three longer term ATR's.
Mike Webster recently stated he is using the 3,5,8 for the short term ATR's and the 55,89,144 for the long term ATR's. All of the ATR lengths are part of the Fibonacci sequence.
The ratio of the ATR's is then calculated and plotted as a histogram with 0 representing the ATR's being equal. As a stocks short term ATR contracts the histogram will rise above 0 meaning volatility in the short term is contracting relative to long term volatility. On the other hand if the short ATR's are expanding versus the long term ATR's the histogram will fall below 0 and turn red, signifying short term volatility is greater than long term volatility.
The easy visualization of this indicator allows you to quickly see when a stock is in a tight range and could be ready for a potential breakout to the long side or breakdown to the short side.
In this example we see tight price action with a blue histogram followed by volatility to the upside coinciding with a breakout.
In this example we see volatility expanding as a stock continues to fall.
To help differentiate between trending contraction or expansion and just short term blips 5-day exponential moving average of the ratio is also plotted on the histogram and dynamically changes colors as it rises and falls.
Indicator options include:
Change histogram colors
Choose ema line width