Heiken Ashi Ribbon [UkutaLabs]█ OVERVIEW
The Heiken Ashi Ribbon is a powerful trading tool that creates a strong ribbon that indicates market strength. This ribbon is created using four moving averages that use Heiken Ashi values (high, low, open and close) as its input values.
The ribbon will also be colored green, red or grey depending on whether or not its direction aligns with current market strength.
█ USAGE
The Heiken Ashi Ribbon is created using a series of four moving averages that uses values from the Heiken Ashi bars as its inputs. The user has the ability to select whether the moving averages are EMAs or SMAs, as well as the ability to control the period of the moving averages.
If the moving average calculated using the Heiken Ashi Open is below the moving average calculated using the Heiken Ashi Close, the ribbon will be colored green, indicating a bullish trend. If the moving average calculated using the Heiken Ashi Open is above the moving average calculated using the Heiken Ashi Open, the ribbon will be colored red, indicating a bearish trend.
This indicator also uses a series of hidden EMAs to determine market strength. If these EMAs do not align with the direction of the Heiken Ashi Ribbon, the Ribbon will instead be colored grey, indicating uncertainty in the market, as well as a possible reversal.
█ SETTINGS
Configuration
• Moving Average Type: Determines whether or not the Heiken Ashi Moving Averages will be drawn as EMAs or SMAs.
• Moving Average Period: Determines the period of the Heiken Ashi Moving Averages.
Moving Average
• Moving Average Input: Determines the input values for the hidden EMAs.
移动平均线
GMMA Toolkit [QuantVue]The GMMA Toolkit is designed to leverage the principles of the Guppy Multiple Moving Average (GMMA). This indicator is equipped with multiple features to help traders identify trends, reversals, and periods of market compression.
The Guppy Multiple Moving Average (GMMA) is a technical analysis tool developed by Australian trader and author Daryl Guppy in the late 1990s.
It utilizes two sets of Exponential Moving Averages (EMAs) to capture both short-term and long-term market trends. The short-term EMAs represent the activity of traders, while the long-term EMAs reflect the behavior of investors.
By analyzing the interaction between these two groups of EMAs, traders can identify the strength and direction of trends, as well as potential reversals.
Due to the nature of GMMA, charts can become cluttered with numerous lines, making analysis challenging.
However, this indicator simplifies visualization by using clouds to represent the short-term and long-term EMA groups, determined by filling the area between the maximum and minimum EMAs in each group.
The GMMA Toolkit goes a step further and includes an oscillator that measures the difference between the average short-term and long-term EMAs, providing a clear visual representation of trend strength and direction.
The farther the oscillator is from the 0 level, the stronger the trend. It is plotted on a separate panel with values above zero indicating bullish conditions and values below zero indicating bearish conditions.
The inclusion of the oscillator in the GMMA Toolkit allows traders to identify earlier buy and sell signals based on the GMMA oscillator crossing the zero line compared to traditional crossover methods.
Lastly, the GMMA Toolkit features compression dots that indicate periods of market consolidation.
By measuring the spread between the maximum and minimum EMAs within both short-term and long-term groups, the indicator identifies when these spreads are significantly narrower than average by comparing the current spread to the average spread over a lookback period.
This visual cue helps traders anticipate potential breakout or breakdown scenarios, enhancing their ability to react to imminent trend changes.
By simplifying the visualization of the Guppy Multiple Moving Averages with clouds, providing earlier buy and sell signals through the oscillator, and highlighting periods of market consolidation with compression dots, this toolkit offers traders insightful tools for navigating market trends and potential reversals.
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers!
Filtered MACD with Backtest [UAlgo]The "Filtered MACD with Backtest " indicator is an advanced trading tool designed for the TradingView platform. It combines the Moving Average Convergence Divergence (MACD) with additional filters such as Moving Average (MA) and Average Directional Index (ADX) to enhance trading signals. This indicator aims to provide more reliable entry and exit points by filtering out noise and confirming trends. Additionally, it includes a comprehensive backtesting module to simulate trading strategies and assess their performance based on historical data. The visual backtest module allows traders to see potential trades directly on the chart, making it easier to evaluate the effectiveness of the strategy.
🔶 Customizable Parameters :
Price Source Selection: Users can choose their preferred price source for calculations, providing flexibility in analysis.
Filter Parameters:
MA Filter: Option to use a Moving Average filter with types such as EMA, SMA, WMA, RMA, and VWMA, and a customizable length.
ADX Filter: Option to use an ADX filter with adjustable length and threshold to determine trend strength.
MACD Parameters: Customizable fast length, slow length, and signal smoothing for the MACD indicator.
Backtest Module:
Entry Type: Supports "Buy and Sell", "Buy", and "Sell" strategies.
Stop Loss Types: Choose from ATR-based, fixed point, or X bar high/low stop loss methods.
Reward to Risk Ratio: Set the desired take profit level relative to the stop loss.
Backtest Visuals: Display entry, stop loss, and take profit levels directly on the chart with
colored backgrounds.
Alerts: Configurable alerts for buy and sell signals.
🔶 Filtered MACD : Understanding How Filters Work with ADX and MA
ADX Filter:
The Average Directional Index (ADX) measures the strength of a trend. The script calculates ADX using the user-defined length and applies a threshold value.
Trading Signals with ADX Filter:
Buy Signal: A regular MACD buy signal (crossover of MACD line above the signal line) is only considered valid if the ADX is above the set threshold. This suggests a stronger uptrend to potentially capitalize on.
Sell Signal: Conversely, a regular MACD sell signal (crossunder of MACD line below the signal line) is only considered valid if the ADX is above the threshold, indicating a stronger downtrend for potential shorting opportunities.
Benefits: The ADX filter helps avoid whipsaws or false signals that might occur during choppy market conditions with weak trends.
MA Filter:
You can choose from various Moving Average (MA) types (EMA, SMA, WMA, RMA, VWMA) for the filter. The script calculates the chosen MA based on the user-defined length.
Trading Signals with MA Filter:
Buy Signal: A regular MACD buy signal is only considered valid if the closing price is above the MA value. This suggests a potential uptrend confirmed by the price action staying above the moving average.
Sell Signal: Conversely, a regular MACD sell signal is only considered valid if the closing price is below the MA value. This suggests a potential downtrend confirmed by the price action staying below the moving average.
Benefits: The MA filter helps identify potential trend continuation opportunities by ensuring the price aligns with the chosen moving average direction.
Combining Filters:
You can choose to use either the ADX filter, the MA filter, or both depending on your strategy preference. Using both filters adds an extra layer of confirmation for your signals.
🔶 Backtesting Module
The backtesting module in this script allows you to visually assess how the filtered MACD strategy would have performed on historical data. Here's a deeper dive into its features:
Backtesting Type: You can choose to backtest for buy signals only, sell signals only, or both. This allows you to analyze the strategy's effectiveness in different market conditions.
Stop-Loss Types: You can define how stop-loss orders are placed:
ATR (Average True Range): This uses a volatility measure (ATR) multiplied by a user-defined factor to set the stop-loss level.
Fixed Point: This allows you to specify a fixed dollar amount or percentage value as the stop-loss.
X bar High/Low: This sets the stop-loss at a certain number of bars (defined by the user) above/below the bar's high (for long positions) or low (for short positions).
Reward-to-Risk Ratio: Define the desired ratio between your potential profit and potential loss on each trade. The backtesting module will calculate take-profit levels based on this ratio and the stop-loss placement.
🔶 Disclaimer:
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Moving Average Exponential-DonCHI-SUPERTRENDThe "Moving Average Exponential-DonCHI-SUPERTREND" is a trading strategy or indicator that combines three distinct technical analysis tools:
Moving Average Exponential (EMA): This is a type of moving average that gives more weight to recent prices, making it more responsive to price changes compared to a simple moving average.
Donchian Channels (DonCHI): These are bands that are plotted above and below the recent price highs and lows. They help identify the current price volatility and potential breakout points.
SUPERTREND: This is a trend-following indicator that uses the average true range (ATR) to determine the direction of the trend. It provides signals similar to moving averages but with less lag.
Consecutive Closes Above/Below 3 SMA with Z-Score BandsA simple indicator that measures consecutive closes above & below the 3-period simple moving average. An upper and lower Z-score has been calculated to indicate where the 4 standard deviations of the last 60 bars sits.
Useful for identifying directional runs in price.
USD(Uncle Super Trend)The Super Trend Indicator Adopts a Breakthrough Trading Strategy with Resonance of Large and Small Periods, Combining Tools Such as Moving Averages, Bollinger Bands, and ATR to Determine Market Trends and Generate Trading Signals, Helping You Better Grasp Long and Short Trading Opportunities.
Usage Tips:
A long position in the large period MA indicates an upward trend, and a short position in the large period MA indicates a downward trend.
In an upward trend, only go long and not short. A 🚀 icon indicates a long signal, and a 🎉 icon indicates a closing signal.
In a downward trend, only go short and not long. A 📉 icon indicates a short signal, and a 🎉 icon indicates a closing signal.
Moving Averages (MA) Settings:
Users can choose to display two moving averages (MA1 and MA2) and configure their type (SMA, EMA, SMMA, WMA, VWMA), period, data source, and color.
When MA1 is greater than MA2, the area is filled with red; otherwise, it is filled with green.
Bollinger Bands:
Calculate the upper and lower Bollinger Bands (BBUpper and BBLower) based on the user's input period and standard deviation.
Use color to fill the Bollinger Bands area.
ATR Filter:
Set a filter using the Average True Range (ATR) to determine the position of the trend line.
Users can choose whether to use the ATR filter.
Trend Line:
Calculate and draw the trend line based on Bollinger Bands signals (BBSignal) combined with the ATR filter.
Generate buy or sell signals when the price breaks through the upper or lower Bollinger Bands.
Buy/Sell Signals:
Generate a buy signal when the trend direction changes from negative to positive, and a sell signal when it changes from positive to negative.
Use icons to represent buy/sell signals, with the display of icons depending on user configuration.
Smoothed Heiken Ashi Candles with Delayed SignalsThis is a trend-following approach that uses a modified version of Heiken Ashi candles with additional smoothing. Here are the key components and features:
1. Heiken Ashi Modification: The strategy starts by calculating Heiken Ashi candles, which are known for better trend visualization. However, it modifies the traditional Heiken Ashi by using Exponential Moving Averages (EMAs) of the open, high, low, and close prices.
2. Double Smoothing: The strategy applies two layers of smoothing. First, it uses EMAs to calculate the Heiken Ashi values. Then, it applies another EMA to the Heiken Ashi open and close prices. This double smoothing aims to reduce noise and provide clearer trend signals.
3. Long-Only Approach: As the name suggests, this strategy only takes long positions. It doesn't short the market during downtrends but instead exits existing long positions when the sell signal is triggered.
4. Entry and Exit Conditions:
- Entry (Buy): When the smoothed Heiken Ashi candle color changes from red to green (indicating a potential start of an uptrend).
- Exit (Sell): When the smoothed Heiken Ashi candle color changes from green to red (indicating a potential end of an uptrend).
5. Position Sizing: The strategy uses a percentage of equity for position sizing, defaulting to 100% of available equity per trade. This should be tailored to each persons unique approach. Responsible trading would use less than 5% for each trade. The starting capital used is a responsible and conservative $1000, reflecting the average trader.
This strategy aims to provide a smooth, trend-following approach that may be particularly useful in markets with clear, sustained trends. However, it may lag in choppy or ranging markets due to its heavy smoothing. As with any strategy, it's important to thoroughly back test and forward test before using it with real capital, and to consider using it in conjunction with other analysis tools and risk management techniques.
Other smoothed Heiken Ashi indicators do not provide buy and sell signals, and only show the change in color to dictate a change in trend. By adding buy and sell signals after the close of the changing candle, alerts can be programmed, which helps this be a more hands off protocol to experiment with. Other smoothed Heiken Ashi indicators do not allow for alarms to be set.
This is a unique HODL strategy which helps identify a change in trend, without the noise of day to day volatility. By switching to a line chart, it removes the candles altogether to avoid even more noise. The goal is to HODL a coin while the color is bullish in an uptrend, but once the indicator gives a sell signal, to sell the holdings back to a stable coin and let the chart ride down. Once the chart gives the next buy signal, use that same capital to buy back into the asset. In essence this removes potential losses, and helps buy back in cheaper, gaining more quantitity fo the asset, and therefore reducing your average initial buy in price.
Most HODL strategies ride the price up, miss selling at the top, then riding the price back down in anticipation that it will go back up to sell. This strategy will not hit the absolute tops, but it will greatly reduce potential losses.
Smoothed Heiken Ashi Strategy Long OnlyThis is a trend-following approach that uses a modified version of Heiken Ashi candles with additional smoothing. Here are the key components and features:
1. Heiken Ashi Modification: The strategy starts by calculating Heiken Ashi candles, which are known for better trend visualization. However, it modifies the traditional Heiken Ashi by using Exponential Moving Averages (EMAs) of the open, high, low, and close prices.
2. Double Smoothing: The strategy applies two layers of smoothing. First, it uses EMAs to calculate the Heiken Ashi values. Then, it applies another EMA to the Heiken Ashi open and close prices. This double smoothing aims to reduce noise and provide clearer trend signals.
3. Long-Only Approach: As the name suggests, this strategy only takes long positions. It doesn't short the market during downtrends but instead exits existing long positions when the sell signal is triggered.
4. Entry and Exit Conditions:
- Entry (Buy): When the smoothed Heiken Ashi candle color changes from red to green (indicating a potential start of an uptrend).
- Exit (Sell): When the smoothed Heiken Ashi candle color changes from green to red (indicating a potential end of an uptrend).
5. Position Sizing: The strategy uses a percentage of equity for position sizing, defaulting to 100% of available equity per trade. This should be tailored to each persons unique approach. Responsible trading would use less than 5% for each trade. The starting capital used is a responsible and conservative $1000, reflecting the average trader.
This strategy aims to provide a smooth, trend-following approach that may be particularly useful in markets with clear, sustained trends. However, it may lag in choppy or ranging markets due to its heavy smoothing. As with any strategy, it's important to thoroughly backtest and forward test before using it with real capital, and to consider using it in conjunction with other analysis tools and risk management techniques.
This has been created mainly to provide data to judge what time frame is most profitable for any single asset, as the volatility of each asset is different. This can bee seen using it on AUXUSD, which has a higher profitable result on the daily time frame, whereas other currencies need a higher or lower time frame. The user can toggle between each time frame and watch for the higher profit results within the strategy tester window.
Other smoothed Heiken Ashi indicators also do not provide buy and sell signals, and only show the change in color to dictate a change in trend. By adding buy and sell signals after the close of the candle in which the candle changes color, alerts can be programmed, which helps this be a more hands off protocol to experiment with. Other smoothed Heiken Ashi indicators do not allow for alarms to be set.
This is a unique HODL strategy which helps identify a change in trend, without the noise of day to day volatility. By switching to a line chart, it removes the candles altogether to avoid even more noise. The goal is to HODL a coin while the color is bullish in an uptrend, but once the indicator gives a sell signal, to sell the holdings back to a stable coin and let the chart ride down. Once the chart gives the next buy signal, use that same capital to buy back into the asset. In essence this removes potential losses, and helps buy back in cheaper, gaining more quantitity fo the asset, and therefore reducing your average initial buy in price.
Most HODL strategies ride the price up, miss selling at the top, then riding the price back down in anticipation that it will go back up to sell. This strategy will not hit the absolute tops, but it will greatly reduce potential losses.
NEXT Volatility-Momentum Moving Average (VolMo MA)Overview
Volatility-Momentum Moving Average (VolMo MA) incorporates two key market dynamics into its price averaging formula: volatility and momentum. Traditional MAs, like EMA, often lag in volatile markets or during strong price moves. By integrating volatility (price range variability) and momentum (rate of price change), we developed a more adaptive and responsive MA.
Key Concepts
Volatility Calculation: Average True Range (ATR) used to quantify market volatility. ATR measures the average price range over a specified period.
Momentum Calculation: Relative Strength Index (RSI) applied to assess market momentum. RSI evaluates the speed and magnitude of price movements.
Moving Average Adjustment: Dynamically weight EMA based on volatility and momentum metrics. When volatility is high, the MA's responsiveness increases. Similarly, strong momentum accelerates the MA adjustment.
Input Parameters:
Length - length of Volatility-Momentum Moving Average (VolMo MA). This input also affects how far back momentum and volatility are considered. Experimentation is highly encouraged.
Sensitivity - controls the Volatility-Momentum adjustment rate applied to the MA. Default is 50, but experimentation is highly encouraged.
Source - data used for calculating the MA, typically Close, but can be used with other price formats and data sources as well. A lot of potential here.
Note: The VolMo MA Indicator plots, both, the Volatility-Momentum Moving Average and EMA for base comparison. You can disable EMA by unticking it under Style tab.
NASDAQ 100 Futures ( CME_MINI:NQ1! ) 1-minute
The following example compares VolMo MA (blue) to EMA (green). Length set to 34, Sensitivity to 40. Notice the difference in responsiveness as price action consolidates and breaks out. The VolMo MA can be used for scalping at lower Length values and 40-60 Sensitivity or as a dynamic support/resistance line at higher Length values.
Alerts
Here is how to set price crossing VolMo MA alerts: open a TradingView chart, attach NEXT NEXT Volatility-Momentum Moving Average (VolMo MA), right-click on chart -> Add Alert. Condition: Symbol (e.g. NQ) >> Crossing >> NEXT Volatility-Momentum Moving Average (VolMo MA) >> VolMo MA >> Once Per Bar Close.
Development Roadmap
Our initial research shows plenty of edge potential for the VolMo MA when used, both, by itself, or interacting with other indicators. To that end, we'll be adding the following features over the next few months:
Visual signal generation via interaction with EMA, price action, and other MAs and indicators - you can already do alerts with TradingView's built-in Alert functionality
Addition of a second, fully configurable VolMo MA for a Double VolMo MA cross strategy
VolMo MA MACD
Automation and Backtesting via Strategy
Uptrick: Comprehensive Market Sentiment DashboardIntroducing "Uptrick: Comprehensive Market Sentiment Dashboard"—an advanced trading indicator designed to provide traders with a complete and detailed overview of market conditions for multiple assets at a glance. This sophisticated tool is engineered to enhance your trading decisions by consolidating key technical indicators into a single, easy-to-read dashboard. Perfect for both novice and experienced traders, the Uptrick Dashboard is built to offer a competitive edge in the dynamic world of trading.
### Purpose
The primary goal of the Uptrick Dashboard is to equip traders with a powerful, all-in-one solution that streamlines market analysis. By combining multiple technical indicators and presenting their outputs in a cohesive format, this dashboard eliminates the need to toggle between different charts and tools. It delivers a clear, immediate understanding of market sentiment across various assets, enabling faster and more informed trading decisions.
### Features and Inputs
The Uptrick Dashboard integrates several widely-used technical indicators, each customizable to fit your specific trading strategy. Here’s a detailed breakdown of the features and input parameters:
1. **Exponential Moving Average (EMA)**
- **Input Parameter:** EMA Length
- **Purpose:** Tracks the asset’s price trend by smoothing out price data over a specified period.
2. **Simple Moving Average (SMA)**
- **Input Parameter:** SMA Length
- **Purpose:** Provides a simpler, more straightforward calculation of price trends compared to EMA.
3. **Relative Strength Index (RSI)**
- **Input Parameter:** RSI Length
- **Purpose:** Measures the magnitude of recent price changes to evaluate overbought or oversold conditions.
4. **Moving Average Convergence Divergence (MACD)**
- **Input Parameters:** MACD Fast Length, MACD Slow Length, MACD Signal Length
- **Purpose:** Identifies changes in the strength, direction, momentum, and duration of a trend.
5. **Bollinger Bands (BB)**
- **Input Parameters:** BB Length, BB StdDev
- **Purpose:** Provides a visual representation of volatility and relative price levels over a specified period.
6. **Ichimoku Cloud**
- **Input Parameters:** Ichimoku Tenkan Length, Ichimoku Kijun Length, Ichimoku Span A Length, Ichimoku Span B Length
- **Purpose:** Offers a comprehensive view of support and resistance levels, momentum, and trend direction.
7. **Supertrend**
- **Input Parameters:** Supertrend ATR Length, Supertrend Multiplier
- **Purpose:** Combines trend direction and volatility to provide buy and sell signals.
8. **Symbols Input**
- **Input Parameter:** Symbols (comma separated)
- **Purpose:** Allows users to specify and monitor multiple assets simultaneously.
### Customization and Flexibility
Each indicator within the Uptrick Dashboard is fully customizable, allowing you to adjust parameters to align with your trading strategy. Whether you prefer short-term trading with faster indicators or long-term analysis with slower, more reliable data, this dashboard can be tailored to meet your needs.
### Key Differentiators
What sets the Uptrick Dashboard apart from other market sentiment tools is its unparalleled integration of multiple technical indicators into a single, comprehensive view. This consolidation not only saves time but also provides a more holistic understanding of market conditions. Here’s what makes the Uptrick Dashboard unique:
- **Integrated Analysis:** Combines multiple indicators to provide a unified market sentiment.
- **Customizable Inputs:** Each indicator can be adjusted to suit your specific trading strategy.
- **Multi-Asset Monitoring:** Track and analyze several assets simultaneously.
- **User-Friendly Interface:** Designed for ease of use, presenting data in an organized, visually appealing format.
- **Real-Time Updates:** Continuously updates to reflect the latest market data.
### Future Updates
We are committed to continually improving the Uptrick Dashboard to ensure it remains a valuable tool in your trading arsenal. Users can expect regular updates that will introduce new features, enhance existing functionalities, and incorporate user feedback. Future updates may include:
- **Additional Indicators:** Introducing new technical indicators to provide even deeper insights.
- **Enhanced Visualization:** Improved graphical representations for better data interpretation.
- **Automation Features:** Tools to automate certain trading strategies based on indicator outputs.
- **User Customization:** More options for personalizing the dashboard to fit individual preferences.
### How It Works
The Uptrick Dashboard operates by calculating key technical indicators for each specified asset and displaying the results in a neatly organized table. Here’s a closer look at how it works:
1. **Input Parameters:** Users input their preferred settings for each indicator, including the list of assets to monitor.
2. **Data Retrieval:** The dashboard retrieves real-time market data for each specified asset.
3. **Indicator Calculation:** Using the input parameters, the dashboard calculates the values for each technical indicator.
4. **Visual Display:** Results are displayed in a table format, highlighting key information such as price, 24-hour change, and sentiment indicators (e.g., MACD, RSI, Bollinger Bands).
5. **Final Position:** The dashboard calculates an overall market position (Long, Short, or Neutral) based on the combined outputs of the individual indicators.
### Conclusion
The "Uptrick: Comprehensive Market Sentiment Dashboard" is a must-have tool for traders seeking a streamlined, efficient way to monitor market conditions across multiple assets. By integrating essential technical indicators into a single, customizable dashboard, it provides a comprehensive view of market sentiment, facilitating quicker and more informed trading decisions. Stay ahead of the market with Uptrick and experience the difference that a well-designed, all-in-one trading tool can make.
With regular updates and a commitment to excellence, the Uptrick Dashboard is poised to evolve continually, adapting to the changing needs of traders and the dynamics of the market. Whether you’re a seasoned trader or just starting out, the Uptrick Dashboard offers the insights and flexibility needed to enhance your trading strategy. Invest in the Uptrick Dashboard today and take your trading to the next level.
MA DifferenceThe MA Difference indicator shows 3 histograms representing differences in moving averages between a base MA (10) and 3 MA's: short (20), medium (50), and long (200). It also shows an exponentially weighted trend line which can indicate breakout opportunities, has alerts on all base <-> X crossovers, and shows potential consolidation zones where MA differences are below a user-defined tolerance.
The suggested way to use this indicator is to place a trade when the trend line is above the histogram (and filling the space between them). This indicates that the current MA values are significantly above or below the expected range and that prices are in the midst of breaking out. You may also consult the consolidation zones to eliminate false breakouts and momentary changes in trend. You may also consult the various short, medium, and long crossovers and crossunders to time entries and exits accordingly.
Histograms
The 3 histograms represent the differences between:
Base MA (10) and Short MA (20)
Base MA (10) and Medium MA (50)
Base MA (10) and Long MA (200)
All 4 moving average values can be configured in the indicator's settings. Consistency in direction and color of the histogram indicates a consistent trend across the various moving averages.
Trend Line
The trend line is an exponentially weighted average of the 3 moving averages, scaled by a factor configurable in the settings. When using the trend line, shading will be applied to the difference between the extremes of the histogram and the trend line to indicate that the chart is in a "breakout zone" and is beyond the normal, gradual sway of price action.
Crossovers/Crossunders
You may optionally turn on crossovers and crossunders in the indicator's settings to display when a short, medium, or long crossover occurs against the base moving average. Likewise, alerts are available for each crossover and crossunder for each of the 3 moving average convergences.
Consolidation Zones
Consolidation zones, as well as a line representing the current amount of consolidation, can also be optionally drawn on the chart. These indicate when a security is likely in consolidation, according to the spread of various MA values.
TradeTale 1 Min Nifty/Banknifty/Crypto F&O ScalperThis script explains how 'MACD' along with Avg of Simple Moving Averages can be used to catch trend.
Simple Moving Average (MA):-
A simple moving average (SMA) is used in technical analysis, used to help smooth out price data by creating a constantly updated average price. A rising moving average indicates that the security is in an uptrend, while a declining moving average indicates a downtrend. here in this indicator we have used average of various SMA's.
Moving Average Convergence/Divergence (MACD):-
MACD is a technical indicator to identify price trends, measure trend momentum, and identify market entry points for bullish or bearish trend. Moving average convergence/divergence (MACD) is a trend-following momentum indicator that shows the relationship between two exponential moving averages (EMAs) of a security’s price. MACD traditional default settings is 26/12/9. Where MACD line is calculated by subtracting the 26 period exponential moving average (EMA) from the 12 period EMA and the signal line is a 9 period EMA of the MACD line. But in this indicator we have used modified values of MACD.
Logic of this indicator:-
Long signals when MACD is in Uptrend and is above Avg of SMA's. (also other calculations are used)
Short signals when MACD is in Downtrend and is below Avg of SMA's. (also other calculations are used)
How to Use:-
Long: when Long appears + Bullish Candles + price above Avg SMA Line. (Bullish Entry/ Bear Exit)
Short: when Short appears + Bearish Candles + price below Avg SMA Line. (Bearish Entry/ Bull Exit)
Chart Timeframe:-
Scalping on 1 Minute Chart. But this Indicator works on all timeframes.
Traders should set stop loss and take profit levels as per risk reward ratio.
Note:
- Hide the actual candles for better view from chart setting.
- User can also adjust the sensitivity of the indicator from the setting. Default value is "3"
Like other technical indicators, This indicator also is not a holy grail. It can only assist you in building a good strategy. You can only succeed with proper position sizing, risk management and following correct trading Psychology (No overtrade, No greed, No revenge trade etc).
THIS INDICATOR IS FOR EDUCATIONAL PURPOSE AND PAPER TRADING ONLY. YOU MAY PAPER TRADE TO GAIN CONFIDENCE AND BUILD FURTHER ON THESE. PLEASE CONSULT YOUR FINANCIAL ADVISOR BEFORE INVESTING. WE ARE NOT SEBI REGISTERED.
Hope you all like it
happy learning.
FVG Positioning Average with 200EMA Auto Trading [Pakun]Description
Strategy Name and Purpose
FVG Positioning Average with 200EMA Auto Trading
This strategy uses Fair Value Gaps (FVG) combined with a 200-period Exponential Moving Average (EMA) and Average True Range (ATR) to generate trend-based trading signals. It is designed to help traders identify high-probability entry points by leveraging the gaps between fair value prices and current market prices.
Originality and Usefulness
This script combines multiple indicators to create a cohesive trading strategy that is greater than the sum of its parts. While FVG is a powerful tool on its own, combining it with the EMA and ATR adds layers of confirmation and risk management, enhancing its effectiveness. Here’s how the components work together:
Fair Value Gap (FVG): Identifies gaps in the market where price action has not fully filled, indicating potential reversal or continuation points.
200-period Exponential Moving Average (EMA): Acts as a trend filter to ensure trades are taken in the direction of the overall trend, improving the probability of success.
Average True Range (ATR): Used to filter out insignificant gaps and set dynamic stop-loss levels based on market volatility, enhancing risk management.
Entry Conditions
Long Entry
The close price crosses above the downtrend FVG.
The close price, FVG up average, and down average are all above the 200 EMA, indicating a strong bullish trend.
Short Entry
The close price crosses below the uptrend FVG.
The close price, FVG up average, and down average are all below the 200 EMA, indicating a strong bearish trend.
Exit Conditions
For long positions, the stop loss is set at the recent low, and the take profit is set at a point with a risk-reward ratio of 1:1.5.
For short positions, the stop loss is set at the recent high, and the take profit is set at a point with a risk-reward ratio of 1:1.5.
Risk Management
Account Size: 1,000,000 yen
Commission and Slippage: 2 pips commission and 1 pip slippage per trade
Risk per Trade: 10% of account equity
The stop loss is based on the recent low or recent high, ensuring trades are exited when the market moves against the position.
Settings Options
FVG Lookback: Set the lookback period for calculating FVGs.
Lookback Type: Choose the type of lookback (Bar Count or FVG Count).
ATR Multiplier: Set the multiplier for ATR to filter significant gaps.
EMA Period: Set the period for the EMA to adjust the trend filter sensitivity.
Show FVGs on Chart: Choose whether to display FVGs on the chart for visual confirmation.
Bullish/Bearish Color: Set the color for bullish and bearish FVGs to distinguish them easily.
Show Gradient Areas: Choose whether to display gradient areas to highlight the zones of interest.
Sufficient Sample Size
The strategy has been backtested with 113 trades, providing a sufficient sample size to evaluate its performance.
Notes
This strategy is based on historical data and does not guarantee future results.
Thoroughly backtest and validate results before using in live trading.
Market volatility and other external factors can affect performance and may not yield expected results.
Acknowledgment
This strategy uses the FVG Positioning Average Strategy indicator. Thanks to for their contribution.
Clean Chart Explanation
The script is published with a clean chart to ensure that its output is readily identifiable and easy to understand. No other scripts are included on the chart, and any drawings or images used are specifically to illustrate how the script works.
D2MAThe script is called "D2MA" (Distance to Moving Average). It calculates the distance between the closing price and a user-selected type of moving average (MA). It also plots this distance on a chart, allowing users to see how far the price is from the chosen moving average. Users can choose to display this distance as either an absolute value or as a percentage.
Input Parameters
Length (len): The number of bars (or periods) used to calculate the moving average.
Source (src): The price data used for calculations, typically the closing price.
Percentage Distance (pc): A boolean option to display the distance as a percentage instead of an absolute value.
MA Type (maType): The type of moving average to use.
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Hull Moving Average (HMA)
Arnaud Legoux Moving Average (ALMA)
Triple Exponential Moving Average (T3)
Power Weighted Moving Average (PWMA)
The script includes functions to calculate different types of moving averages:
The difference between the source price (e.g., closing price) and the calculated moving average. if Distance as Percentage , the distance expressed as a percentage of the moving average value.
Plotting the Data
Signal Line: The signal line changes colour (green or red) based on whether the distance is increasing or decreasing.
Visual Representation
How to Use
Identify Trends: By seeing how far the price is from a selected moving average, traders can gauge the strength of a trend.
Spot Reversals: Significant deviations from the moving average can signal potential reversals.
Hourly Trading System (Zeiierman)█ Overview
The Hourly Trading System (Zeiierman) is designed to enhance your trading by highlighting critical price levels and trends on an hourly basis. This indicator plots the open prices of hourly and 4-hour candles, visualizes retests, displays average price lines, and overlays higher timeframe candlesticks. It is particularly beneficial for intraday traders seeking to capitalize on short-term price movements and volume patterns.
█ How It Works
This indicator works by plotting significant price levels and zones based on hourly and 4-hour candle opens. It also includes functionalities for identifying retests of these levels, calculating and displaying average prices, and showing high and low labels for each hour.
█ Timeframe
The Hourly Trading System is designed to be used on the 1-minute or 5-minute timeframe. This system is tailored for intraday trading, allowing traders to find optimal entries around hourly opening levels and providing an easy method to identify the hourly trend. It works effectively on any market.
█ How to Use
Trend Analysis
Quickly gauge where the current price stands relative to key hourly and 4-hour levels. The plotted lines and zones serve as potential support and resistance areas, helping traders identify crucial points for entry or exit.
Utilize the 1-hour average and higher timeframe candles to understand the overall market trend. Aligning intraday strategies with larger trends can enhance trading decisions.
Use the bar coloring to quickly gauge the 1-hour trend on a lower timeframe. The bar colors indicate whether the hourly trend is bullish (green) or bearish (red), helping traders make quicker decisions in alignment with the overall trend.
Retest Identification
Enable retest signals to see where the price retested the hourly open levels. These retest points often signal strong price reactions, offering opportunities for trades based on support/resistance flips.
One effective strategy to incorporate is looking for price flips when a new hour starts. This approach involves monitoring price action at the beginning of each hour. If the price breaks and retests the hourly open level with strong momentum, it could indicate a potential trend reversal or continuation. This strategy is effective in volatile markets where price movements are significant at the start of each new hour.
Liquidity Sweep Strategy
Another common and effective strategy is the liquidity sweep. This involves identifying key levels where liquidity is likely to accumulate, such as previous hour highs and lows, and observing how the price interacts with these price levels. When the price sweeps through these levels, triggering stop-loss orders or pending orders, it often results in a sharp price movement followed by a reversal. Traders can capitalize on these movements by entering trades in the direction of the reversal once the liquidity sweep has occurred.
Equal Highs and Lows Strategy
The Equal Highs and Lows strategy leverages the concept of identifying levels where the price forms multiple highs or lows at the same level over different hourly periods. These equal highs and lows often indicate strong support or resistance levels where liquidity is accumulated. When the price approaches these levels, it is likely to trigger stop-loss orders and lead to significant price movements. Traders can look for breakouts or reversals around these levels to enter trades with higher probability setups.
█ Settings
Zone Width: Specifies the width of the zone around the 1-Hour Open as a percentage. Adjust this to widen or narrow the zone.
Show Retests: Enables or disables the display of retest markers. Retest markers show where the price has retested the 1-Hour Open line.
Number of Retests: Sets the number of retests to display. Adjust this to see more or fewer retest markers.
Volume Filter: Enables or disables the volume filter for retests. Use this to highlight retests with significant volume.
Volume Filter Length: Sets the length of the volume filter, smoothing the volume data to reduce noise.
1-Hour Average Line: Enables or disables the 1-hour average price line. This line shows the average price over the past hour.
Hourly High & Low Labels: Enables or disables the display of hourly high and low labels, marking the highest and lowest prices within each hour.
Candlesticks: Enables or disables the display of candlesticks on the chart, providing a detailed view of price action.
Bar Color: Enables or disables bar coloring based on price direction, with up bars in green and down bars in red.
Timeframe: Sets the timeframe for higher timeframe candles. Adjust this to match the period you want to analyze.
Number of Candles: Sets the number of higher timeframe candles to display. Increase this to see more candles on the chart.
Location: Sets the location for higher timeframe candles, allowing you to position them left or right on the chart.
-----------------
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!
Exponential Smoothing FilterThe digital exponential filter, in finance known as Exponential Moving Average (EMA) , can be used as a technical indicator for chart analysis to visualize uptrends and downtrends in the market. Unlike the classic simple moving average, the EMA requires only two values for its calculation: the last calculated exponential average price and the current price. This is a simple and fast calculation - even for wide smoothing windows. For further details and the math please refer to the "exponential smoothing" article on Wikipedia.
Here are some additional key points about the exponential moving average:
The EMA can react more quickly to price changes because it can give more weight to current prices - depending on your parameter settings.
Short-term, disruptive price fluctuations are smoothed out well, making prevailing trends more visible.
Despite good smoothing properties, it delays the input values slightly, so it can follow sudden trend changes well.
The EMA is well suited to dynamic markets and trading strategies.
The filter is a good basis for further processing such as gradient analysis.
How to use
When you add the script to your charts, you'll immediately see a thin orange line across your time series, smoothing out price fluctuations.
There are only two parameters to set
smoothing factor between 0.0000 = no smoothing and 0.9999 = strong smoothing
input source : open, high, low, close hl2, etc.
Chart output
In the example chart above, you can see that the orange line follows the highs and lows better than the blue line , which is a simple moving average (SMA).
Additionally, the orange line has a shorter lag, or reacts faster when the trend of the original price data suddenly changes. These characteristics are critical for buying and selling decisions: quickly reacting and tracking highs and lows while providing a smooth line that filters out distracting noise.
Ripster MTF CloudsDescription:
MTF EMA Cloud By Ripster
EMA Cloud System is a Trading System Invented by Ripster where areas are shaded between two desired EMAs. The concept implies the EMA cloud area serves as support or resistance for Intraday & Swing Trading. This can be utilized effectively on 10 Min for day trading and 1Hr/Daily for Swings. Ripster himself utilizes various combinations of the 5-12, 34-50, 8-9, 20-21 EMA clouds but the possibilities are endless to find what works best for you.
“Ideally, 5-12 or 5-13 EMA cloud acts as a fluid trendline for day trades. 8-9 EMA Clouds can be used as pullback Levels –(optional). Additionally, a high level price over or under 34-50 EMA clouds confirms either bullish or bearish bias on the price action for any timeframe” – Ripster
This indicator is an extension of the Ripster EMA Clouds. It allows you to visualize Exponential Moving Average (EMA) clouds from any time frame on your current chart, regardless of the chart's own time frame. This functionality is especially useful for traders who want to monitor higher time frame trends and support/resistance levels while trading on lower time frames.
What does this code do?
The Ripster MTF Clouds indicator displays two sets of EMA clouds. Each set consists of a short EMA and a long EMA. By default, the indicator uses Daily 20/21 and 50/55 EMAs, but you can customize these settings to fit your trading strategy. The EMAs are plotted on your chart along with their corresponding clouds, colored for easy differentiation:
EMA 1 (default 50/55): Plotted in blue.
EMA 2 (default 20/21): Plotted in teal.
The indicator uses the security function to fetch EMA values from higher time frames and plots them on your current chart, allowing you to see how these higher time frame EMAs interact with your current time frame's price action.
How to use this indicator:
Adjust Resolution:
Set the "Resolution" input to the time frame from which you want to fetch EMA values. For example, set it to "1H" if you want to see 1-hour EMAs on your current chart.
Customize EMAs:
Modify the "EMA 1 Short Length" and "EMA 1 Long Length" inputs to change the default 50/55 EMAs.
Adjust the "EMA 2 Short Length" and "EMA 2 Long Length" inputs to change the default 20/21 EMAs.
Monitor Clouds:
The indicator fills the area between the short and long EMAs, creating a cloud that helps visualize the trend. A blue cloud indicates the area between the EMA 1 pair, while a teal cloud indicates the area between the EMA 2 pair.
Use Multiple Instances:
You can add multiple instances of this indicator to your chart to monitor multiple higher time frames simultaneously. For instance, one instance can show daily clouds while another shows hourly clouds.
Integration with Trading Strategy:
Use this indicator to identify higher time frame trends and support/resistance levels, which can help improve your trading decisions on lower time frames.
For example, you can go long when the stock is above the 50-55 EMA clouds and 20-21 EMA clouds with daily resolution on a 10-minute chart and short when it is below it.
Similarly, you can short a stock under the 1-hour 34/50 EMA clouds while still trading on a 10-minute chart.
Uptrick: Hull Suite IndicatorThe "Uptrick: Hull Suite Indicator" is a powerful technical analysis tool designed to identify trends and potential buy or sell signals in the financial markets. This indicator leverages the Hull Moving Average (HMA), known for its superior smoothness and reduced lag compared to traditional moving averages, making it a preferred choice for traders seeking more accurate trend detection.
Purpose
The primary purpose of the Uptrick: Hull Suite Indicator is to provide traders with a clear visual representation of the market trend and to generate actionable signals for trading decisions. It achieves this by:
Smoothing Price Data: Using the Hull Moving Average (HMA) to smooth price data, reducing noise and highlighting the underlying trend.
Trend Identification: Coloring the HMA line green or red based on its slope to indicate uptrends and downtrends respectively.
Signal Generation: Offering optional signal lines and background highlights to emphasize bullish or bearish conditions.
Actionable Alerts: Placing 'Buy' and 'Sell' labels directly on the chart when specific conditions are met, helping traders make timely decisions.
Key Features and Benefits
Advanced Smoothing Technique: The HMA is calculated using weighted moving averages, which smooths price data more effectively than simple or exponential moving averages, resulting in a more responsive and accurate trend line.
Dynamic Trend Coloring: The HMA line changes color based on its slope (green for upward, red for downward), providing an immediate visual cue of the current trend direction.
Signal Line Option: Traders can enable a signal line that represents a simple moving average of the HMA, offering an additional layer of trend confirmation.
Background Highlighting: The background color changes to a brighter shade when the HMA is above or below the signal line, highlighting trending periods and making it easier to spot potential trading opportunities.
Zero Line Reference: A horizontal zero line is included to give traders a reference point, aiding in the analysis of the HMA's position and slope.
Buy and Sell Labels: Automatic labeling of 'Buy' and 'Sell' signals based on HMA crossovers, providing clear entry and exit points.
Superior Performance
The Uptrick: Hull Suite Indicator stands out from other moving average-based indicators due to its:
Reduced Lag: By utilizing the Hull Moving Average, it minimizes lag while maintaining smoothness, allowing traders to react more quickly to market changes.
Enhanced Clarity: The combination of dynamic coloring, signal lines, and background highlights ensures that trends and signals are easy to identify, even for novice traders.
Customizability: Input parameters for HMA length, signal length, and signal line visibility allow traders to tailor the indicator to their specific trading style and preferences.
Overall, the Uptrick: Hull Suite Indicator is an exceptional tool for traders seeking a reliable and visually intuitive method to analyze market trends and make informed trading decisions. Its advanced features and superior smoothing capabilities provide a distinct advantage over traditional moving averages, making it an indispensable part of any trader's toolkit.
Uptrick : HMA Adaptive Trend and Volatility BandsThis proprietary trading indicator, named "Uptrick: HMA Adaptive Trend and Volatility Bands," offers a sophisticated blend of trend detection and volatility measurement for financial markets. Designed to overlay directly on the price chart, it leverages a variety of technical analysis tools to provide clear visual signals and comprehensive market insights.
Key Features:
Hull Moving Average (HMA) with Volatility Bands:
HMA Calculation: Utilizes the Hull Moving Average (HMA) for smooth trend identification, applied to the average price of high and low (hl2).
Adaptive Volatility Bands: Incorporates bands around the HMA based on a responsive standard deviation adjusted by an Exponential Moving Average (EMA). These bands dynamically expand and contract with market volatility.
Parameters:
Length: Configurable period for the HMA and standard deviation (default 14).
Multiplier: Determines the width of the bands (default 2.0).
MACD (Moving Average Convergence Divergence):
MACD Calculation: Includes fast and slow EMA periods with a signal line to detect trend direction and strength.
Histogram: Difference between MACD line and signal line to visualize momentum.
Parameters:
Fast Length: Short-term EMA period (default 6).
Slow Length: Long-term EMA period (default 13).
Signal Length: Signal line EMA period (default 5).
Relative Strength Index (RSI):
RSI Calculation: Measures the speed and change of price movements to identify overbought or oversold conditions.
Parameter:
RSI Length: Period for RSI calculation (default 10).
Average True Range (ATR):
ATR Calculation: Evaluates market volatility by considering the true range over a specified period.
Parameter:
ATR Length: Period for ATR calculation (default 7).
Volume and Liquidity Analysis:
Volume: Directly incorporated into the indicator to gauge market activity.
Liquidity: Assessed using the HMA of volume to determine the ease of trade execution.
Parameter:
Liquidity Length: Period for HMA of volume calculation (default 14).
Trend Identification:
Uptrend Conditions: A combination of positive MACD histogram, RSI above 50, ATR above its HMA, and volume exceeding liquidity.
Downtrend Conditions: Negative MACD histogram, RSI below 50, ATR above its HMA, and volume exceeding liquidity.
Visual Cues: Color-coded background (green for uptrend, red for downtrend) with corresponding labels on the price chart to indicate trend shifts.
Additional Moving Averages and Bollinger Bands:
SMA (Simple Moving Average): Includes 50 and 200-period SMAs for long-term trend analysis.
EMA (Exponential Moving Average): Includes a 20-period EMA for short-term trend analysis.
Bollinger Bands: Standard deviation bands around a 20-period SMA to measure market volatility and identify potential breakout points.
Information Table:
Real-Time Data Display: An optional table that provides current values for key metrics such as price, volume, liquidity, ATR, RSI, MACD histogram, SMAs, EMA, Buy+Sell Pressure, ATH, Global liquidity, Distance from ATH and Bollinger Bands, offering traders a comprehensive snapshot of market conditions.
Visualization:
Upper and Lower Bands: Clearly plotted with distinct colors (blue for upper, red for lower) to highlight volatility boundaries.
Trend Labels: Automatic annotations on the chart to signal uptrend and downtrend conditions.
Background Highlighting: Subtle shading to visually emphasize prevailing trend conditions.
This indicator is designed for traders seeking an advanced tool to detect trends, measure volatility, and make informed trading decisions based on comprehensive technical analysis. By integrating multiple technical indicators and providing clear visual signals, it aims to enhance trading accuracy and market insight.
No-Lag MA Crossover ScalperThe No Lag Crossover Scalper aims to capitalize on short-term trends using a combination of Hull Moving Average (HMA) for trend detection and multiple indicators for generating buy and sell signals. Here’s an overview of its components and approach:
1. Trend Detection with Hull Moving Averages (HMA) :
- Dual Hull MA Setup : Uses two Hull Moving Averages (HMA) to detect crossovers and crossunders, which are signals of short-term trend changes.
- No Lag Nature : HMAs are chosen for their ability to reduce lag compared to traditional moving averages, providing quicker responses to price movements.
2. Indicators for Signal Generation :
- Relative Strength Index (RSI) : Detects overbought and oversold conditions, generating signals when price movements diverge from RSI readings.
- Moving Average Convergence Divergence (MACD) : Provides signals based on the convergence and divergence of two moving averages, indicating potential trend reversals.
- Stochastic Oscillator (Stoch) : Identifies momentum shifts by comparing the current closing price to its range over a specific period.
- On-Balance Volume (OBV) : Measures buying and selling pressure based on volume flow, signaling potential changes in price direction.
- RSI Divergence : Looks for discrepancies between price action and RSI values, suggesting weakening trends and possible reversals.
3. Signal Generation Logic :
- Buy Signals : Generated when both HMAs cross over, supported by bullish indications from RSI, MACD, Stoch, OBV, or RSI divergence. At least 2 indicators must be true to generate a signal.
- Sell Signals : Triggered when HMAs cross under, complemented by bearish signals from the mentioned indicators.
4. Implementation and Optimization :
- Parameter Optimization : Fine-tuning of indicator periods and sensitivity settings to balance signal accuracy and responsiveness.
- Confirmation Mechanisms : Use of multiple indicators to confirm signals, reducing false positives and enhancing reliability.
Overall, the No Lag Crossover Scalper combines the speed of Hull Moving Averages with the reliability of multiple indicators to identify short-term trends effectively. By focusing on no lag indicators and confirming signals with diverse technical tools, it aims to capitalize on rapid market movements while managing risk through disciplined execution.
Credits: used TradingView ta library for a lot of the built-in indicators.
Disclaimer: This is still experimental beta version so use at your own risk.
HRC - Hash Rate Capitulation [Da_Prof]The HRC (Hash Rate Capitulation) indicator is a measure of hash rate trend strength. It is the fractional difference between a long and a short simple moving average (SMA) of the bitcoin hash rate. Historically, the 21-day and 105-day SMA work well for this indicator. The hash rate generally increases over time, but when the short SMA crosses below the longer-term SMA, it shows that miners are removing significant hash from the system. This state can be considered a miner "capitulation". Historically, this has marked depressed BTC prices and has led to higher prices within some months. Shout out to foosmoo, the hash rate oscillator indicator prompted this presentation.
Uptrick: Supply and Demand Zones with RSI, MACD and TP signalsUptrick: Supply and Demand Zones with RSI, MACD Signals and TP Signals
This script is a comprehensive technical analysis indicator for the TradingView platform, combining multiple strategies and indicators to assist traders in making informed decisions. The script incorporates supply and demand zones, Relative Strength Index (RSI), Moving Average Convergence Divergence (MACD) signals, and trend and take profit signals. Below is a detailed explanation of each feature, its purpose, how to use it, and how it differs from other indicators.
Key Features
Supply and Demand Zones:
Purpose: Identify key price levels where buying (demand) or selling (supply) pressure has historically been strong.
Inputs:
supplySwingLength (Default: 20): Determines the number of bars to consider for identifying swing highs for supply zones.
demandSwingLength (Default: 20): Determines the number of bars to consider for identifying swing lows for demand zones.
zoneExtensionBars (Default: 50): Specifies how many bars to extend the zones to the right for visibility.
Usage: The indicator highlights these zones on the chart, making it easier for traders to spot potential reversal points.
Relative Strength Index (RSI) and Moving Average of RSI:
Purpose: RSI measures the speed and change of price movements, helping to identify overbought or oversold conditions. The moving average of RSI smoothens the RSI values to reduce noise.
Inputs:
lengthrsi (Default: 14): The period for calculating RSI.
lengthrsima (Default: 8): The period for calculating the moving average of RSI.
Usage: Buy and sell signals are generated when the RSI crosses above or below the 50 level, respectively, indicating potential entry or exit points.
MACD (Moving Average Convergence Divergence):
Purpose: MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
Inputs:
macdFastLength (Default: 12): The short period for the fast EMA.
macdSlowLength (Default: 26): The long period for the slow EMA.
macdSignalSmoothing (Default: 9): The period for the signal line.
Usage: Buy and sell signals are generated when the MACD line crosses above or below the signal line, respectively. This is an optional feature that can be enabled or disabled.
Signal Type Selection:
Purpose: Allows the trader to choose between RSI signals or supply/demand zone signals.
Inputs:
signalType (Default: "RSI"): Options are "RSI" or "Supply/Demand".
Usage: The chosen signal type determines the logic for plotting buy and sell signals on the chart.
Take Profit Signals:
Purpose: Provide take profit signals based on statistical volatility.
Inputs:
TheLength (Default: 20): The period for calculating the basis SMA and standard deviation.
tpmult (Default: 2.5): The multiplier for the standard deviation to set the take profit levels.
Usage: Generates buy and sell take profit signals when the price crosses over or under the calculated levels.
Detailed Explanation
Supply and Demand Zones Logic:
Swing High and Swing Low:
Functions isSwingHigh and isSwingLow determine whether the current high or low is the highest or lowest within a specified length, indicating potential supply or demand zones.
Zone Visualization:
When a new swing high or low is detected, a box is drawn from the identified bar and extended to the right for visibility. This helps traders visually identify these critical zones.
The boxes are updated dynamically as new swings are detected, ensuring the most relevant zones are always displayed.
RSI and MACD Signals:
RSI Calculation:
The script calculates the RSI using the specified period and then smooths it using an exponential moving average.
Buy and sell signals are generated based on the RSI's crossover with the 50 level.
MACD Calculation:
The MACD line and signal line are calculated using the specified periods.
Buy and sell signals are generated based on crossovers between the MACD line and the signal line.
These signals can be enabled or disabled based on user preference.
Trend Detection and Take Profit Signals:
Trend Detection:
The script calculates the basis (SMA) and upper and lower bands based on the standard deviation.
It determines the trend strength and direction by comparing the current price to these bands.
Take Profit Levels:
Take profit levels are set by multiplying the standard deviation by a user-defined multiplier.
Signals are plotted when the price crosses these take profit levels, indicating potential exit points.
Differences from Other Indicators
Combination of Multiple Indicators:
This script integrates supply and demand zones with RSI and MACD signals, offering a comprehensive tool for technical analysis.
Most other indicators focus on a single strategy, whereas this script provides a holistic view by combining multiple strategies.
Customizable Inputs:
The script offers a high degree of customization, allowing traders to adjust various parameters to suit their trading style and preferences.
Many indicators have fixed settings, limiting their adaptability to different market conditions.
Dynamic Zone Visualization:
The supply and demand zones are dynamically updated, providing real-time insights into key price levels.
This feature is not commonly found in other indicators, which may rely on static levels or less visually intuitive methods.
Usage Guide
Setup:
Add the script to your TradingView chart.
Adjust the input parameters as needed to match your trading strategy.
Interpreting Signals:
Supply and Demand Zones: Look for potential reversal points at these zones.
RSI and MACD Signals: Use these signals to identify potential entry and exit points.
Take Profit Signals: Set take profit levels based on the calculated signals to manage risk and lock in profits.
Combining Signals:
Combine signals from different features to increase the reliability of your trading decisions.
For example, a buy signal from RSI combined with a price approaching a demand zone may indicate a stronger buy opportunity.
Inputs Explained
Supply and Demand Zones:
supplySwingLength: The length of bars to consider for identifying swing highs.
demandSwingLength: The length of bars to consider for identifying swing lows.
zoneExtensionBars: The number of bars to extend the zones to the right.
RSI:
lengthrsi: The period for calculating the RSI.
lengthrsima: The period for calculating the EMA of the RSI.
MACD:
macdFastLength: The short period for the fast EMA.
macdSlowLength: The long period for the slow EMA.
macdSignalSmoothing: The period for the signal line.
Signal Type:
signalType: Choose between "RSI" and "Supply/Demand" signals.
Take Profit:
TheLength: The period for calculating the basis SMA and standard deviation.
tpmult: The multiplier for the standard deviation to set the take profit levels.
Conclusion
The "Uptrick: Supply and Demand Zones with RSI, MACD Signals and TP signals" script is a powerful and versatile indicator that combines multiple strategies to provide traders with a comprehensive analysis tool. Its detailed visualization of supply and demand zones, coupled with RSI and MACD signals, and trend-based take profit signals, makes it an invaluable tool for both novice and experienced traders. By understanding and utilizing its features effectively, traders can make more informed and confident trading decisions.
Flush Percent RangeFans of Woodies CCI may recognize the approach to this one. This is my attempt at using the same methods but for taking the highs and lows into account without the standard deviation of the CCI. The smoothness of other oscillators may not be ideal however the Williams Percent Range is a fast stochastic that also operates within a channel. This provides an alternative yet still complex view for the virtuoso. A unique feature is total utilization of the weighted moving average, from the standard to the more complex. A fun fact is the Hull Moving Average is actually calculated using weighted moving averages.
How to use:
The base length is for accuracy, the fast length is for catching all the moves(even the wrong ones sometimes.)
The bars back option will not flip the histogram/base trend to its bullish/bearish alternative until the base plot remains on the latter half of the oscillator for a certain number of bars. This can be set to zero if desired.
The factor controls the chop on the various levels. A higher number will increase it.
The oscillator levels are measuring slope, price relative to the average, and a summation of percent changes between the two. Both the baseline/histogram and the levels have color coding for bullishness, bearishness, and indecision(depending on the factor.) The fast line matches the indecision color by default. This is all customizable.
There are many potential ways to trade with this indicator. From hooks back toward the trend and range line crossovers to divergence and reversals. It's important to note the current performance of the oscillator levels. Time cycles may come in handy along with other forecasting tools.
Lastly, there are optional linear regression lines plotted on the chart. They're synchronized to the lengths in the oscillator. This is an additional visual aid to provide context to the direction of the channel.
Overall the Flush Percent Range is for analyzing multiple regression models within a single price channel. No smoothing, fast averages, and specified timeframes of highs/lows. Credit to Larry Williams for the original calculation and Ken Woods for design/methodology inspiration.