KSMT Toolbox - MidTFThis tool allows you to quickly identify the macro and micro trend's direction and enter and exit position at a more favorable price.
When the pink lines are angled up you should look for a long position and enter only when the candles are colored green.
And when the pink lines are angled down you should look for a short position and enter only when the candles are colored red.
This tool is only meant to be a practice tool and should be used to train your eye on candle movements to gain a sense of when you should enter/exit.
Practice is what differentiates a good trader and a bad one.
#KSMT #KSMT_Armenia
Bands and Channels
[blackcat] L1 Visual Volatility IndicatorHey there! Let's get into the details about dynamic rate indicators, how they work, their importance, usage, and benefits in trading.
Dynamic rate indicators are essential in trading as they help traders assess the volatility and risk level of the market, so they can make the right trading strategies and risk management measures.
When it comes to the importance of dynamic rate indicators, they provide critical information about market volatility, which is super important for traders. Traders can use this information to understand the risk level of the market, determine market stability and instability, and adjust trading strategies based on volatility changes.
Now let's talk about the usage of dynamic rate indicators. They have different usage times for different trading strategies and market environments. Generally, when market volatility is low, traders can take advantage of the opportunity to do trend tracking or oscillating trades. When market volatility is high, traders can take a more conservative approach, such as using stop-loss orders or reducing position sizes.
Using dynamic rate indicators can bring several benefits. First, they can help traders evaluate the risk level of the market, so they can develop suitable risk management strategies. Traders can adjust stop-loss and take-profit levels based on changes in volatility to control risk. Second, dynamic rate indicators provide information about market trends and price fluctuations, helping traders make wiser trading decisions. Traders can determine entry and exit points based on the signals of dynamic rate indicators. Lastly, dynamic rate indicators play a significant role in option pricing. Implied volatility helps traders evaluate option prices and market expectations for future volatility, so they can carry out option trades or hedging operations.
In conclusion, dynamic rate indicators are essential for traders as they help assess market volatility and risk levels, develop suitable trading strategies and risk management measures, and increase trading success and profitability. Remember that different indicators are suitable for different types of markets, so it is essential to choose the right one for your specific trading needs.
This indicator is a powerful tool for traders who want to stay ahead of the market and make informed trading decisions. By analyzing trends in volatility, this indicator can provide valuable insights into market sentiment and help traders identify potential trading opportunities.
One of the key advantages of the L1 Visual Volatility Indicator is its ability to adapt to changing market conditions. The channel structure it constructs based on ATR characteristics provides a framework for tracking volatility that can be adjusted to different timeframes and asset classes. This allows traders to customize the indicator to their specific needs and trading style, making it a versatile tool for a wide range of trading strategies.
Another advantage of this indicator is its use of gradient colors to differentiate between Bullish and Bearish volatility. This provides a visual representation of market sentiment that can help traders quickly identify potential trading opportunities and make informed decisions. Additionally, the use of Fibonacci's long-term moving average to define the sideways consolidation area provides a reliable framework for identifying key levels of support and resistance, further enhancing the indicator's usefulness in trading.
In conclusion, the L1 Visual Volatility Indicator is a powerful tool for traders looking to stay ahead of the market and make informed trading decisions. Its ability to adapt to changing market conditions and use of gradient colors to differentiate between Bullish and Bearish volatility make it a versatile and effective tool for a wide range of trading strategies. By incorporating this indicator into their trading arsenal, traders can gain valuable insights into market sentiment and improve their chances of success in the markets.
Kviateq - Session Opening RangesThis indicator plots the opening range for each of the market sessions.
Users can chose the length of the opening range, as well as change the time for each of the sessions.
This script is based on opening range breakout strategies, which entail taking a long/short depending on which way the price breaks out.
To trade it, we wait for the session opening range to print, and then we enter upon a candle close.
It's meant to be used on lower timeframes, ideally one hour or lower.
It can be used by itself, but it works even better in combination with other indicators, like moving averages.
Enjoy
Regression Line (Log)This indicator is based on the "Linear Regression Channel (Log)," which, in turn, is derived from TradingView's "Linear Regression Channel."
The "Regression Line (Log)" indicator is a valuable tool for traders and investors seeking to gain insights into long-term market trends. This indicator is personally favored for its ability to provide a comprehensive view of price movements over extended periods. It offers a unique perspective compared to traditional linear regression lines and moving averages, making it a valuable addition to the toolkit of experienced traders and investors.
Indicator Parameters:
Before delving into the details, it's worth noting that the chosen number of periods (2870) is a personal preference. This specific value is utilized for the S&P 500 index due to its alignment with various theories regarding the beginning of the modern economic era in the stock market. Different analysts propose different starting points, such as the 1950s, 1970s, or 1980s. However, users are encouraged to adjust this parameter to suit their specific needs and trading strategies.
How It Works:
The "Regression Line (Log)" indicator operates by transforming the closing price data into a logarithmic scale. This transformation can make the linear regression more suitable for data with exponential trends or rapid growth. Here's a breakdown of its functioning and why it can be advantageous for long-term trend analysis:
1. Logarithmic Transformation : The indicator begins by applying a logarithmic transformation to the closing price. This transformation helps capture price movements proportionally, making it especially useful for assets that exhibit exponential or rapid growth. This transformation can render linear regression more suitable for data with exponential or fast-paced trends.
2. Linear Regression on Log Scale : After the logarithmic transformation, the indicator calculates a linear regression line (lrc) on this log-transformed data. This step provides a smoother representation of long-term trends compared to a linear regression line on a linear scale.
3. Exponential Reversion : To present the results in a more familiar format, the indicator reverts the log-transformed regression line back to a linear scale using the math.exp function. This final output is the "Linear Regression Curve," which can be easily interpreted on standard price charts.
Advantages:
- Long-Term Trend Clarity : The logarithmic scale better highlights long-term trends and exponential price movements, making it a valuable tool for investors seeking to identify extended trends.
- Smoothing Effect : The logarithmic transformation and linear regression on a log scale smooth out price data, reducing noise and providing a clearer view of underlying trends.
- Adaptability : The indicator allows traders and investors to customize the number of periods (length) to align with their preferred historical perspective or trading strategy.
- Complementary to Other Tools : While not meant to replace other technical indicators, the "Regression Line (Log)" indicator complements traditional linear regression lines and moving averages, offering an alternative perspective for more comprehensive analysis.
Conclusion:
In summary, the "Regression Line (Log)" indicator is a versatile tool that can enhance your ability to analyze long-term market trends. Its logarithmic transformation provides a unique perspective on price data, particularly suited for assets with exponential growth patterns. While the choice of the number of periods is a personal one, it can be adapted to fit various historical viewpoints. This indicator is best utilized as part of a well-rounded trading strategy, in conjunction with other technical tools, to aid in informed decision-making.
Fibonacci Structure & Trend Channel (Expo)█ Overview
The Fibonacci Structure & Trend Channel (Expo) is designed to identify trend direction and potential reversal levels and offer insights into price structure based on Fibonacci ratios. The algorithm plots a Fibonacci channel, making it easier for traders to identify potential retracement points. Additionally, the Fibonacci market structure is plotted to enhance traders' understanding of the underlying order flow.
█ How to Use
Identify Trends
Use the plotted Fibonacci Trend Line to identify the direction of the market trend. A green line typically signifies a bullish trend, while a red line signifies a bearish trend.
Retracement Levels
The plotted Fibonacci levels can act as potential support or resistance levels. Look for price action signs at these levels for entry or exit points.
Channel Trading
If you enable the Fibonacci channel, the upper and lower bounds can act as overbought or oversold levels.
Market Structure
The plotted Fibonacci market structure serves as a valuable tool for dissecting the underlying order flow and gauging the strength or weakness of a trend. By analyzing these structures, traders can identify key levels where supply and demand intersect, which often act as pivotal points for trend reversals or accelerations. This visual representation simplifies complex market dynamics. Whether you're looking to catch a new trend early or seeking confirmation for a potential reversal, understanding the market structure plotted by the Fibonacci ratios can provide actionable insights for various trading strategies.
Use the Table
The information table can provide quick insights into the current trend and when it started.
█ Settings
The Fibonacci settings allow traders to specify the Fibonacci retracement levels that will be used to calculate the trend and its channel.
The Fibonacci Structure Trend Channel structure settings enable traders to fine-tune how the indicator identifies and plots the underlying price structure.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems 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.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
TP-Plus IndicatorThis indicator calculates the current price range.
Calculate the slope or angle of the price velocity for both the fast and the slow period.
You can use it to spot the top and bottom of the range and wait for the price to break out of either level.
Once above the level top level or below bottom level, the price would move approximately the same distance as the height of the range.
Moving Average and RSI Crossovertry it.only take buy and sell signal according support and resistance and look at rsi bull or bear cross over.
Moving Average and RSI CrossoverThis script can give fantastic result with support and resistance and rsi.
Ichimoku MA BandsThis indicator is based on the price average of the Ichimoku Strategy taking into account the last twenty five bars.
The blue band represents an upward momentum whereas the white band represents a downward momentum.
The red line is the 50 EMA which is used as a dynamic support resistance level for this strategy.
This indicator also has alerts that can be enabled by the user.
Disclaimer :
The current script should be used in confluence with other trading strategies and not in isolation. The scripts works best on 5M and 15M Timeframes and should be used with caution on lower timeframes.
This indicator is not intended to give exact entry or exit points for a trade but to provide a general idea of the trend & determine a good range for entering or exiting the trade. Please DYOR
Credit & References :
This script uses the default technical analysis reference library provided by PineScript (denoted as ta)
Amols Magic LevelsThis Script showing Levels determined by previous day data. and its open for educational purpose.
Combined Indicator by rocky vermaThe combined indicator you've provided consists of three different indicator logics. Here's how to use it:
1. **Indicator 1: Trend Trader AVR Strategy**
- This indicator is based on the Trend Trader AVR Strategy.
- It uses three input parameters: `Length1`, `LengthMA1`, and `Multiplier1`.
- The indicator plots a moving average (`nResMA1`) and changes the bar color based on certain conditions.
- The conditions for changing the bar color are defined in the `pos1` variable.
2. **Indicator 2: HYE Trend Hunter**
- This indicator is based on the HYE Trend Hunter strategy.
- It uses various input parameters such as `slowtenkansenPeriod`, `slowkijunsenPeriod`, `fasttenkansenPeriod`, and `fastkijunsenPeriod`.
- The logic of this indicator is not fully provided in your code snippet, but it seems to calculate various values related to the HYE Trend Hunter strategy.
3. **Indicator 3: Phenom**
- This indicator provides EMA (Exponential Moving Average) lines with different lengths.
- It allows you to configure whether to display EMA lines and their colors.
- Additionally, it provides options to display stop loss levels based on ATR (Average True Range).
To use this combined indicator:
- Apply it to a chart in TradingView by copying the entire code snippet and pasting it into the Pine Script editor.
- Configure the input parameters for each of the three indicator logics as desired. You can adjust the input values in the indicator's settings panel on the chart.
- You can also modify the indicator's appearance by changing the plot colors or turning on/off specific components.
- Once you have configured the input parameters and appearance settings to your liking, you can then interpret the signals and information provided by the three indicator logics on the chart.
Keep in mind that this is a basic combination of the three indicators you provided, and it may require further customization to meet your specific trading strategy and preferences. Additionally, ensure you thoroughly understand the strategies and conditions used by each of the indicators to make informed trading decisions.
IV Squeeze - Sunil Bhave This script calculates both Bollinger Bands and Keltner Channels on a 5-minute chart. It identifies IV squeeze conditions when the lower Bollinger Band is above the lower Keltner Channel and the upper Bollinger Band is below the upper Keltner Channel. When a squeeze is detected, it plots a red triangle below the chart bars and alerts you with a message.
Please note that this script is for educational purposes only.
GoodServant indicatorsUsed for GoodServant trading system. Used to catch scalps inside the White BB and swings accross the Orange BB.
TrendCylinder (Expo)█ Overview
The TrendCylinder is a dynamic trading indicator designed to capture trends and volatility in an asset's price. It provides a visualization of the current trend direction and upper and lower bands that adapt to volatility changes. By using this indicator, traders can identify potential breakouts or support and resistance levels. While also gauging the volatility to generate trading ranges. The indicator is a comprehensive tool for traders navigating various market conditions by providing a sophisticated blend of trend-following and volatility-based metrics.
█ How It Works
Trend Line: The trend line is constructed using the closing prices with the influence of volatility metrics. The trend line reacts to sudden price changes based on the trend factor and step settings.
Upper & Lower Bands: These bands are not static; they are dynamically adjusted with the calculated standard deviation and Average True Range (ATR) metrics to offer a more flexible, real-world representation of potential price movements, offering an idea of the market's likely trading range.
█ How to Use
Identifying Trends
The trend line can be used to identify the current market trend. If the price is above the trend line, it indicates a bullish trend. Conversely, if the price is below the trend line, it indicates a bearish trend.
Dynamic Support and Resistance
The upper and lower bands (including the trend line) dynamically change with market volatility, acting as moving targets of support and resistance. This helps set up stop-loss or take-profit levels with a higher degree of accuracy.
Breakout vs. Reversion Strategies
Price movements beyond the bands could signify strong trends, making it ideal for breakout strategies.
Fakeouts
If the price touches one of the bands and reverses direction, it could be a fakeout. Traders may choose to trade against the breakout in such scenarios.
█ Settings
Volatility Period: Defines the look-back period for calculating volatility. Higher values adapt the bands more slowly, whereas lower values adapt them more quickly.
Trend Factor: Adjusts the sensitivity of the trend line. Higher values produce a smoother line, while lower values make it more reactive to price changes.
Trend Step: Controls the pace at which the trend line adjusts to sudden price movements. Higher values lead to a slower adjustment and a smoother line, while lower values result in quicker adjustments.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems 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.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Volume Based RSI with ADXThe RSI indicator is a powerful tool that utilizes both volume and time to determine market trends. When there is a low volume of trades in a short period of time, but the trading activity is high, it is considered bullish or bearish. In the case of a bullish trend, the RSI indicator will display a green color, while a bearish trend will be represented by a red color. If there is no trading activity, the indicator will display a gray color. Additionally, if the ADX level meets the threshold level, the indicator will display a blue color. However, if the ADX level does not meet the threshold level, the indicator will revert back to displaying a gray color.
Z-Score Based Momentum Zones with Advanced Volatility ChannelsThe indicator "Z-Score Based Momentum Zones with Advanced Volatility Channels" combines various technical analysis components, including volatility, price changes, and volume correction, to calculate Z-Scores and determine momentum zones and provide a visual representation of price movements and volatility based on multi timeframe highest high and lowest low values.
Note: THIS IS A IMPROVEMNT OF "Multi Time Frame Composite Bands" INDICATOR OF MINE WITH MORE EMPHASIS ON MOMENTUM ZONES CALULATED BASED ON Z-SCORES
Input Options
look_back_length: This input specifies the look-back period for calculating intraday volatility. correction It is set to a default value of 5.
lookback_period: This input sets the look-back period for calculating relative price change. The default value is 5.
zscore_period: This input determines the look-back period for calculating the Z-Score. The default value is 500.
avgZscore_length: This input defines the length of the momentum block used in calculations, with a default value of 14.
include_vc: This is a boolean input that, if set to true, enables volume correction in the calculations. By default, it is set to false.
1. Volatility Bands (Composite High and Low):
Composite High and Low: These are calculated by combining different moving averages of the high prices (high) and low prices (low). Specifically:
a_high and a_low are calculated as the average of the highest (ta.highest) and lowest (ta.lowest) high and low prices over various look-back periods (5, 8, 13, 21, 34) to capture short and long-term trends.
b_high and b_low are calculated as the simple moving average (SMA) of the high and low prices over different look-back periods (5, 8, 13) to smooth out the trends.
high_c and low_c are obtained by averaging a_high with b_high and a_low with b_low respectively.
IDV Correction Calulation : In this script the Intraday Volatility (IDV) is calculated as the simple moving average (SMA) of the daily high-low price range divided by the closing price. This measures how much the price fluctuates in a given period.
Composite High and Low with Volatility: The final c_high and c_low values are obtained by adjusting high_c and low_c with the calculated intraday volatility (IDV). These values are used to create the "Composite High" and "Composite Low" plots.
Composite High and Low with Volatility Correction: The final c_high and c_low values are obtained by adjusting high_c and low_c with the calculated intraday volatility (IDV). These values are used to create the "Composite High" and "Composite Low" plots.
2. Momentum Blocks Based on Z-Score:
Relative Price Change (RPC):
The Relative Price Change (rpdev) is calculated as the difference between the current high-low-close average (hlc3) and the previous simple moving average (psma_hlc3) of the same quantity. This measures the change in price over time.
Additionally, std_hlc3 is calculated as the standard deviation of the hlc3 values over a specified look-back period. The standard deviation quantifies the dispersion or volatility in the price data.
The rpdev is then divided by the std_hlc3 to normalize the price change by the volatility. This normalization ensures that the price change is expressed in terms of standard deviations, which is a common practice in quantitative analysis.
Essentially, the rpdev represents how many standard deviations the current price is away from the previous moving average.
Volume Correction (VC): If the include_vc input is set to true, volume correction is applied by dividing the trading volume by the previous simple moving average of the volume (psma_volume). This accounts for changes in trading activity.
Volume Corrected Relative Price Change (VCRPD): The vcrpd is calculated by multiplying the rpdev by the volume correction factor (vc). This incorporates both price changes and volume data.
Z-Scores: The Z-scores are calculated by taking the difference between the vcrpd and the mean (mean_vcrpd) and then dividing it by the standard deviation (stddev_vcrpd). Z-scores measure how many standard deviations a value is away from the mean. They help identify whether a value is unusually high or low compared to its historical distribution.
Momentum Blocks: The "Momentum Blocks" are essentially derived from the Z-scores (avgZScore). The script assigns different colors to the "Fill Area" based on predefined Z-score ranges. These colored areas represent different momentum zones:
Positive Z-scores indicate bullish momentum, and different shades of green are used to fill the area.
Negative Z-scores indicate bearish momentum, and different shades of red are used.
Z-scores near zero (between -0.25 and 0.25) suggest neutrality, and a yellow color is used.
Bitcoin to GOLD [presentTrading]**Introduction and How it is Different**
Unlike traditional indicators, the BTGR offers a unique perspective on market sentiment and asset valuation by juxtaposing two seemingly disparate assets: Bitcoin, the digital gold, and Gold, the traditional store of value. This article introduces an advanced version of this ratio, complete with upper and lower bands calculated using standard deviations. These bands add an extra layer of analytical depth, allowing for more nuanced trading strategies.
BTCUSD 12h bigger picture
**Economic Principles**
The BTGR is rooted in the economic principles of asset valuation and market sentiment. Gold has long been considered a safe haven asset, a place where investors park their money during times of economic uncertainty. Bitcoin, on the other hand, is often viewed as a high-risk, high-reward investment. By comparing the two, the BTGR provides insights into the broader market sentiment.
- Risk Appetite: A high BTGR indicates a bullish sentiment towards riskier assets like Bitcoin.
- Market Uncertainty: A low BTGR suggests a bearish sentiment and a flight to the safety of Gold.
- Asset Diversification: The BTGR can be used as a tool for portfolio diversification, helping investors balance risk and reward.
**How to Use It**
Setting Up the Indicator
- Platform: The indicator is designed for use on TradingView.
- Time Frame: A 480-minute time frame is recommended for more accurate signals.
- Parameters: The moving average is set at 200 periods, and the standard deviation is calculated over the same period.
**Trading Signal**
Long Entry: Consider going long when the BTGR crosses above the upper band.
Short Entry: Consider going short when the BTGR crosses below the lower band.
Note: Due to the issue that the number of trading is less than about 100 times, the corresponding strategy is not allowed to publish.
Gaussian RibbonThe Gaussian Ribbon utilizes two "Arnaud Legoux" moving averages with the same length to identify changes in trend direction. The plotted channel consists of two lines, one based on the default offset and sigma values, and the other with slightly adjusted customizable parameters.
ALMA is a type of moving average that is related to the Gaussian function through its mathematical formula and the concept of weighted averages.
The ALMA is designed to reduce lag in moving averages and provide more timely responses to price changes. It achieves this by applying a Gaussian distribution (bell-shaped curve) as a weighting function to the price data.
The Gaussian function is used to calculate the weights in the ALMA formula. These weights give more importance to recent price data while gradually reducing the influence of older data points. This results in a smoother and more responsive moving average.
In summary, the Gaussian Ribbon uses the offset and power of the second ALMA to create a lag that still calculates using the same length.
Robust Bollinger Bands with Trend StrengthThe "Robust Bollinger Bands with Trend Strength" indicator is a technical analysis tool designed assess price volatility, identify potential trading opportunities, and gauge trend strength. It combines several robust statistical methods and percentile-based calculations to provide valuable information about price movements with Improved Resilience to Noise while mitigating the impact of outliers and non-normality in price data.
Here's a breakdown of how this indicator works and the information it provides:
Bollinger Bands Calculation: Similar to traditional Bollinger Bands, this indicator calculates the upper and lower bands that envelop the median (centerline) of the price data. These bands represent the potential upper and lower boundaries of price movements.
Robust Statistics: Instead of using standard deviation, this indicator employs robust statistical measures to calculate the bands (spread). Specifically, it uses the Interquartile Range (IQR), which is the range between the 25th percentile (low price) and the 75th percentile (high price). Robust statistics are less affected by extreme values (outliers) and data distributions that may not be perfectly normal. This makes the bands more resistant to unusual price spikes.
Median as Centerline: The indicator utilizes the median of the chosen price source (either HLC3 or VWMA) as the central reference point for the bands. The median is less affected by outliers than the mean (average), making it a robust choice. This can help identify the center of price action, which is useful for understanding whether prices are trending or ranging.
Trend Strength Assessment: The indicator goes beyond the standard Bollinger Bands by incorporating a measure of trend strength. It uses a robust rank-based correlation coefficient to assess the relationship between the price source and the bar index (time). This correlation coefficient, calculated over a specified length, helps determine whether a trend is strong, positive (uptrend), negative (down trend), or non-existent and weak. When the rank-based correlation coefficient shifts it indicates exhaustion of a prevailing trend. Trend Strength" indicator is designed to provide statistically valid information about trend strength while minimizing the impact of outliers and data distribution characteristics. The parameter choices, including a length of 14 and a correlation threshold of +/-0.7, considered to offer meaningful insights into market conditions and statistical validity (p-value ,0.05 statistically significant). The use of rank-based correlation is a robust alternative to traditional Pearson correlation, especially in the context of financial markets.
Trend Fill: Based on the robust rank-based correlation coefficient, the indicator fills the area between the upper and lower Bollinger Bands with different colors to visually represent the trend strength. For example, it may use green for an uptrend, red for a down trend, and a neutral color for a weak or ranging market. This visual representation can help traders quickly identify potential trend opportunities. In addition the middle line also informs about the overall trend direction of the median.
Williams %R with EMA'sThe provided Pine Script code presents a comprehensive technical trading strategy on the TradingView platform, incorporating the Williams %R indicator, exponential moving averages (EMAs), and upper bands for enhanced decision-making. This strategy aims to help traders identify potential buy and sell signals based on various technical indicators, thereby facilitating more informed trading decisions.
The key components of this strategy are as follows:
**Williams %R Indicator:** The Williams %R, also known as the "Willy," is a momentum oscillator that measures overbought and oversold conditions. In this code, the Williams %R is calculated with a user-defined period (default 21) and smoothed using an exponential moving average (EMA).
**Exponential Moving Averages (EMAs):** Two EMAs are computed on the Williams %R values. The "Fast" EMA (default 8) responds quickly to price changes, while the "Slow" EMA (default 21) provides a smoother trend-following signal. Crossovers and divergences between these EMAs can indicate potential buy or sell opportunities.
**Candle Color Detection:** The code also tracks the color of candlesticks, distinguishing between green (bullish) and red (bearish) candles. This information is used in conjunction with other indicators to identify specific trading conditions.
**Additional Upper Bands:** The script introduces upper bands at various levels (-5, -10, -20, -25) to create zones for potential buy and sell signals. These bands are visually represented on the chart and can help traders gauge the strength of a trend.
**Alert Conditions:** The code includes several alert conditions that trigger notifications when specific events occur, such as %R crossing certain levels, candle color changes within predefined upper bands, and EMA crossovers.
**Background Highlighting:** The upper bands and the zero line are visually highlighted with different colors, making it easier for traders to identify critical price levels.
This code is valuable for traders seeking a versatile technical strategy that combines multiple indicators to improve trading decisions. By incorporating the Williams %R, EMAs, candlestick analysis, and upper bands, it offers a holistic approach to technical analysis. Traders can customize the parameters to align with their trading preferences and risk tolerance. The use of alerts ensures that traders are promptly notified of potential trade setups, allowing for timely execution and risk management. Overall, this code serves as a valuable tool for traders looking to make more informed decisions in the dynamic world of financial markets.
Dynamic GANN Square Of 9 BandsDynamic GANN Square Of 9 Bands
Created on 3 Sept 2023
Adjust Increment Value:
Customize increment to match symbol and price characteristics for accuracy.
Green Line:
200 EMA. Identifies trend direction; moves with the prevailing trend.
Red Lines:
Mark prominent reversal levels closer to the red range; ideal for mean reversion strategies.
Crossing red levels may indicate trend continuation to the next red level.
Grey Lines:
Show immediate target reversal levels; watch for potential reversals.
Key Features:
Levels are different from Standard Deviation Lines.
Levels remain fixed and parallel, unaffected by volatility.
Despite its dynamism, it can serve as a leading indicator, revealing potential trend changes.
Primarily designed for trend-following strategies.
Additional Tips:
Use additional confirmations
Manage predefined risk and quantity
Additional Resources:
GANN Square Of 9 Pivots:
Trade Tool VDWMA + OI RSI BasedThis indicator works only for symbols where open interest data is available.
The idea was to create a combination of Volume Delta, Open Interest, RSI, Moving Average and Support / Resistance as a unified tool.
I created a Weighted Moving Average based on the Volume Delta (VDWMA). The idea behind this was to reflect the moving average on the difference between buy and sell volume.
There are two VDWMA to determine a trend. Fast and Slow. The principle is the same as with conventional moving averages. For visualization, the candles are colored based on the following logic:
up trend = Fast VDWMA is above the Slow VDWMA and the price is above the Fast VWDWMA.
down Trend = Fast VDWMA is below the Slow VDWMA and the Short is below the Fast VDWMA
Further, support and resistance zones were defined based on the close and high prices as well as close and low prices.
A simple logic looks for divergences between RSI and price to generate first signals for possible price reversals.
Another RSI was created based on the open interest.
In combination with the conventional RSI, oversold and overbought zones were defined based on the following logic, which are marked by vertical zones on the chart.
Oversold zone = RSI is below 30 and OI RSI is above 70 or below 30 and OI opening is not greater than OI closing price
Overbought zone = RSI is above 70 and OI RSI is above 70 or below 30 and OI opening is not smaller than OI closing price
Based on this, buy and sell signals were defined.
First, the support or resistance zone must remain the same for two candles, which signals that the zone has not been breached. In addition, a divergence must occur in the RSI and the price must bounce.
newsell = resistance == resistance and high >= resistance and close < resistance and bearishDiv
newbull = support == support and low <= support and close > support and bullishDiv
The OI signaling was deliberately not included as well as the trend function. The tool should be suitable for scalping as well as for swinging. Thus, depending on the tradestyle itself to decide which points you want to trade.
Have fun with it
Bitcoin Market Cap wave model weeklyThis Bitcoin Market Cap wave model indicator is rooted in the foundation of my previously developed tool, the : Bitcoin wave model
To derive the Total Market Cap from the Bitcoin wave price model, I employed a straightforward estimation for the Total Market Supply (TMS). This estimation relies on the formula:
TMS <= (1 - 2^(-h)) for any h.This equation holds true for any value of h, which will be elaborated upon shortly. It is important to note that this inequality becomes the equality at the dates of halvings, diverging only slightly during other periods.
Bitcoin wave model is based on the logarithmic regression model and the sinusoidal waves, induced by the halving events.
This chart presents the outcome of an in-depth analysis of the complete set of Bitcoin price data available from October 2009 to August 2023.
The central concept is that the logarithm of the Bitcoin price closely adheres to the logarithmic regression model. If we plot the logarithm of the price against the logarithm of time, it forms a nearly straight line.
The parameters of this model are provided in the script as follows: log(BTCUSD) = 1.48 + 5.44log(h).
The secondary concept involves employing the inherent time unit of Bitcoin instead of days:
'h' denotes a slightly adjusted time measurement intrinsic to the Bitcoin blockchain. It can be approximated as (days since the genesis block) * 0.0007. Precisely, 'h' is defined as follows: h = 0 at the genesis block, h = 1 at the first halving block, and so forth. In general, h = block height / 210,000.
Adjustments are made to account for variations in block creation time.
The third concept revolves around investigating halving waves triggered by supply shock events resulting from the halvings. These halvings occur at regular intervals in Bitcoin's native time 'h'. All halvings transpire when 'h' is an integer. These events induce waves with intervals denoted as h = 1.
Consequently, we can model these waves using a sin(2pih - a) function. The parameter determining the time shift is assessed as 'a = 0.4', aligning with earlier expectations for halving events and their subsequent outcomes.
The fourth concept introduces the notion that the waves gradually diminish in amplitude over the progression of "time h," diminishing at a rate of 0.7^h.
Lastly, we can create bands around the modeled sinusoidal waves. The upper band is derived by multiplying the sine wave by a factor of 3.1*(1-0.16)^h, while the lower band is obtained by dividing the sine wave by the same factor, 3.1*(1-0.16)^h.
The current bandwidth is 2.5x. That means that the upper band is 2.5 times the lower band. These bands are forming an exceptionally narrow predictive channel for Bitcoin. Consequently, a highly accurate estimation of the peak of the next cycle can be derived.
The prediction indicates that the zenith past the fourth halving, expected around the summer of 2025, could result in Total Bitcoin Market Cap ranging between 4B and 5B USD.
The projections to the future works well only for weekly timeframe.
Enjoy the mathematical insights!