Bollinger Bands StrategyBollinger Bands Mean Reversion Strategy
1. Strategy Concept
This is a mean reversion strategy that assumes stock prices will return to their historical average after extreme moves. We use Bollinger Bands to identify when an asset is overbought or oversold:
• If the price drops below the lower Bollinger Band, it’s considered oversold, and we buy (expecting a rebound).
• If the price rises above the upper Bollinger Band, it’s considered overbought, and we sell (expecting a pullback).
2. Indicators Used
• 20-day Moving Average (MA20): Represents the mean price over 20 days.
• Upper Band: MA20 + 2 standard deviations (defines overbought conditions).
• Lower Band: MA20 - 2 standard deviations (defines oversold conditions).
3. Trading Rules
• Buy when the price drops below the lower Bollinger Band (oversold).
• Sell when the price rises above the upper Bollinger Band (overbought).
• Exit the position when the price returns to the moving average (mean reversion).
4. Example Scenario
1. The stock price falls sharply below the lower Bollinger Band → Buy signal.
2. The price gradually moves back toward the 20-day moving average → Exit (take profit).
3. If the price breaks above the upper Bollinger Band → Sell signal.
4. The price moves back down to the mean → Exit short position.
5. Strengths of This Strategy
✅ Systematic approach (eliminates emotions).
✅ Works well in sideways (range-bound) markets where prices oscillate around a mean.
✅ Simple and easy to implement with minimal parameters.
6. Weaknesses & Risks
⚠️ Doesn’t work well in strong trends (if the price keeps falling, a buy might be too early).
⚠️ False signals can occur in volatile markets.
⚠️ Needs proper risk management (stop-loss placement is crucial).
Would you like to backtest this strategy to see how profitable it is over time?
Indicators and strategies
On Balance Volume with DivergenceModified On Balance Volume indicator
Modifications:
Added regular and hidden divergence indications using dual adjustable lookback periods
Added option to show standard deviation bands no matter what MA type you use
ATR with 20MAthis is an ATR with an overlay of 20MA
this helps us predict whatever and whenever we want
prediction, prediction prediction...
wow
much prediction
content for tradingview
ATR with 20MAOverall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
ATR with 20MAOverall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Overall change of velocity of volatility.
Fractal_Alligator_AO_AC_Zone_ATR_SMA by PiroozTraderFractal_Alligator_Awesome_Accelerator_TradingZone_ATR_SMA Indicator
By: Pirooz_Trader
Version: 2
Date: 08-02-2025
Introduction
The Fractal_Alligator_Awesome_Accelerator_ATR_SMA indicator is a powerful and comprehensive trading tool designed for TradingView. It combines multiple technical analysis components, including the Alligator, Fractals, Awesome Oscillator (AO), Accelerator Oscillator (AC), ATR Trailing Stop , and SMA , to provide traders with precise entry and exit signals. This indicator is inspired by the trading strategies outlined in Bill Williams' book, New Trading Dimensions, and has been enhanced with additional features to improve its functionality and accuracy.
The original version of this indicator was created by JustUncleL (available ). I have expanded its capabilities by adding new features such as the ATR Indicator, SMA Indicator, Awesome Oscillator, Accelerator Oscillator , and Zone Trading . These additions make the indicator more versatile and suitable for a wider range of trading strategies.
-------------------------------------------------------------------------------------------------------------
Key Features
1. Alligator Indicator
The Alligator consists of three lines: Jaw, Teeth, and Lips, which are calculated using Smoothed Moving Averages (SMMA).
These lines help identify the market trend:
Bullish Trend
: Lips > Teeth > Jaw
Bearish Trend
: Lips < Teeth < Jaw
Consolidatio
n: Lines are intertwined
2. Fractals
Fractals are used to identify potential reversal points in the market.
Two primary strategies are implemented:
Fractal Reversal
: Detects trend reversals based on fractal formations and their position relative to the Alligator lines.
Fractal Breakout
: Identifies breakout opportunities when price moves beyond fractal levels.
3. Awesome Oscillator (AO)
The AO measures the difference between two SMAs (fast and slow) to gauge market momentum.
It provides insights into the strength of the trend:
AO > 0 and Rising
: Bullish momentum
AO < 0 and Falling
: Bearish momentum
4. Accelerator Oscillator (AC)
The AC measures the acceleration or deceleration of the AO.
It confirms the strength of the momentum:
AC > 0 and Rising
: Strong bullish momentum
AC < 0 and Falling
: Strong bearish momentum
5. ATR Trailing Stop
The ATR Trailing Stop uses the Average True Range (ATR) to calculate a dynamic stop-loss level.
It helps traders protect profits and manage risk by adjusting the stop-loss based on market volatility.
6. SMA (Simple Moving Average)
A customizable SMA (default length: 200) is included to identify long-term trends.
It serves as a trend filter to confirm signals generated by other components.
7. Zone Trading
The indicator includes a unique Zone Trading feature that colors candles based on the alignment of the AO and AC:
Green Zone
: Both AO and AC are green (bullish momentum).
Red Zone
: Both AO and AC are red (bearish momentum).
Gray Zone
: AO and AC have conflicting signals (neutral or indecision).
-------------------------------------------------------------------------------------------------------------
How It Works
The indicator integrates multiple components to generate high-probability trading signals:
- Trend Identification : The Alligator and SMA help identify the overall market trend.
- Momentum Confirmation : The AO and AC confirm the strength and direction of the momentum.
- Reversal and Breakout Signals : Fractals are used to detect potential reversals and breakouts.
- Risk Management : The ATR Trailing Stop ensures that traders can manage risk effectively.
- Visual Clarity : The Zone Trading feature provides a clear visual representation of market conditions.
-------------------------------------------------------------------------------------------------------------
Trading Signals
The indicator generates three main types of signals:
1. Fractal Reversal
. Triggered when a fractal forms and price shows reversal conditions relative to the Alligator lines.
. Ideal for identifying trend reversals.
2. Fractal Breakout
. Triggered when price breaks through a fractal level, confirming a potential trend continuation.
. Suitable for breakout trading strategies.
3. Awesome Breakout
. Triggered when the AO confirms strong momentum (e.g., AO > 0 and rising) and price crosses the Lips line.
. Designed for momentum-based trading.
-------------------------------------------------------------------------------------------------------------
Customization Options
The indicator offers extensive customization, allowing traders to:
Show or hide specific components (e.g., Alligator, Fractals, AO, AC, ATR, SMA).
Adjust parameters for each component (e.g., lengths, offsets, multipliers).
Enable or disable alerts for specific signals.
-------------------------------------------------------------------------------------------------------------
Alerts
The indicator includes pre-configured alerts for:
Fractal Reversal (Long/Short)
Fractal Breakout (Long/Short)
Awesome Breakout (Long/Short)
-------------------------------------------------------------------------------------------------------------
Disclaimer
This indicator is provided for educational and informational purposes only. It should not be considered financial advice. Trading involves significant risk, and you should only trade with money you can afford to lose. The creator of this indicator is not responsible for any losses incurred as a result of using this tool.
-------------------------------------------------------------------------------------------------------------
Credits
Original concept by JustUncleL (TradingView Profile).
Inspired by Bill Williams' book, New Trading Dimensions.
Enhanced and expanded by Pirooz_Trader.
-------------------------------------------------------------------------------------------------------------
Feedback
Your feedback is invaluable! If you have any suggestions, questions, or issues, please feel free to share them. Your input will help improve the functionality and accuracy of this indicator.
Happy trading! 🚀
Updated 5 EMA sagar1️⃣ Uses a 5 EMA instead of 10 EMA.
2️⃣ Identifies divergence candles where price does not touch the EMA.
3️⃣ Buy Signal: Triggers when price breaks the high of a divergence candle formed below the 5 EMA.
4️⃣ Sell Signal: Triggers when price breaks the low of a divergence candle formed above the 5 EMA.
5️⃣ 1:3 Risk-Reward Ratio applied to exits.
Adjusted Hammer (with Special Cond.)This is an updated version of Hammer, which highlights particular hammers only. You can look for buying opportunity if scripts close above the highlighted hammers
x1Multi Time Frame RSI Panel", designed to monitor the Relative Strength Index (RSI) across multiple timeframes and generate buy and sell alerts based on predefined RSI thresholds. Here's a breakdown of its functionality:
Key Features:
Multi-Timeframe RSI Calculation:
Fetches RSI values from various timeframes, including 1m, 3m, 5m, 7m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M.
Allows users to select which timeframes they want to display.
RSI Thresholds for Buy and Sell Alerts:
Allows users to configure RSI thresholds for different timeframes.
Buy and sell conditions are determined based on RSI crossovers and crossunders.
Customizable Settings:
Dark Mode option for better visibility.
Adjustable RSI period.
Custom upper and lower RSI thresholds for each timeframe.
Alert Conditions:
Buy Alert:
RSI crossover for the 1-minute timeframe.
RSI values within predefined thresholds for 3m, 15m, 30m, and 60m.
Sell Alert:
RSI crossunder for the 1-minute timeframe.
RSI values below predefined thresholds for 3m, 15m, 30m, and 60m.
Alerts are triggered visually on the chart and through TradingView's alert system.
vikee MA Crossover Strategy with resistancethis stratigy Moving Average (MA) Crossover Strategy for TradingView, designed to identify potential buying opportunities when a short-term moving average (5-period) crosses above a long-term moving average (60-period). This event, known as a golden crossover, signals a potential uptrend in price action. The script also plots a support/resistance line at the high of the monthly candlestick following the crossover and generates a trade entry when the price crosses this line.
These moving averages help smooth out price fluctuations, making it easier to identify trend reversals and momentum shifts.
A crossover suggests that short-term bullish momentum is increasing, potentially leading to a price uptrend.
After detecting a crossover, the script stores the high of the current monthly candlestick as a key reference level.
is initialized as not available (na) and is updated to the high of the monthly candlestick when a crossover occurs.
This line acts as a support/resistance level for future price movements.
Once a golden crossover occurs, the script plots a dashed black horizontal line at the trade line level
This resistance line helps traders determine whether the price breaks out above it (confirming a bullish trend) or reverses downward.
A long trade signal is generated when the closing price crosses above the trade line
Finally, the script plots the moving averages on the chart
Detecting golden crossovers between the 5 MA and 60 MA,
Establishing key resistance levels at the high of the monthly candlestick, and
Executing trades only when price breaks above this level,
the strategy aims to capture strong upward momentum while reducing false signals. Traders can fine-tune the script by adjusting the moving average lengths, modifying the trade entry logic, or incorporating additional filters (e.g., volume or RSI confirmation) to enhance performance.
MAMasterThe most updated version of the script relating to study of Moving Averages of eight different lengths. Users have option to choose out of four different moving averages - Simple, Exponential, Hull and McGinley Dynamic. It also provides a possible interpretation of current market trend. Happy Trading.
GFS2k25Multi Time Frame RSI Panel", designed to monitor the Relative Strength Index (RSI) across multiple timeframes and generate buy and sell alerts based on predefined RSI thresholds. Here's a breakdown of its functionality:
Key Features:
Multi-Timeframe RSI Calculation:
Fetches RSI values from various timeframes, including 1m, 3m, 5m, 7m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M.
Allows users to select which timeframes they want to display.
RSI Thresholds for Buy and Sell Alerts:
Allows users to configure RSI thresholds for different timeframes.
Buy and sell conditions are determined based on RSI crossovers and crossunders.
Customizable Settings:
Dark Mode option for better visibility.
Adjustable RSI period.
Custom upper and lower RSI thresholds for each timeframe.
Alert Conditions:
Buy Alert:
RSI crossover for the 1-minute timeframe.
RSI values within predefined thresholds for 3m, 15m, 30m, and 60m.
Sell Alert:
RSI crossunder for the 1-minute timeframe.
RSI values below predefined thresholds for 3m, 15m, 30m, and 60m.
Alerts are triggered visually on the chart and through TradingView's alert system.
indicatorindicator for every average and resistance.The good indicators guide
This PDF discusses how indicators can be used to understand, improve, and monitor systems
Indicators of inputs, activities, outputs, outcomes and impacts in
This PDF discusses how indicators can be used to measure achievement, performance, and more
An IntroductIon to IndIcAtors
This PDF discusses how indicators can be used to compare data over time and across different areas
Outputs, outcomes and indicators
This PDF discusses how indicators can be used to determine if an outcome has occurred and by how much
Indicators Definition
This PDF discusses how indicators can be used to formulate plans for overall objectives, project purposes, and results
Annex A: Examples of impacts and indicators
This PDF discusses how indicators can be used to measure impacts on commerce, the economy, and more
new advnteghAYN Custom Indicator – Buy, Sell, Trend, and Swing Signals with Auto Fibonacci
The AYN Custom Indicator is a powerful multi-functional trading tool designed to help traders identify market trends, generate buy and sell signals, and utilize automated Fibonacci retracements for enhanced technical analysis. This indicator is built using Pine Script 5 for TradingView and combines several key features to assist traders in making informed trading decisions.
Key Features:
Trend Detection Across Multiple Timeframes:
The indicator uses three different moving averages (short-term, mid-term, and long-term) to analyze price trends.
Candlesticks are dynamically colored based on the trend direction, making it easy to visualize momentum shifts.
Short-term trend: Uses a 20-period Simple Moving Average (SMA).
Mid-term trend: Uses a 50-period SMA.
Long-term trend: Uses a 200-period SMA.
If the price is above a moving average, the trend is considered bullish; if below, it is considered bearish.
Buy & Sell Signal Generation:
The indicator provides clear entry and exit signals based on moving average crossovers.
A buy signal is generated when the short-term SMA crosses above the mid-term SMA.
A sell signal is generated when the short-term SMA crosses below the mid-term SMA.
These signals are plotted as green (BUY) and red (SELL) arrows on the chart for easy recognition.
Automatic Fibonacci Retracement Levels:
The indicator automatically plots Fibonacci retracement levels upon detecting a bullish trend reversal.
It calculates the highest high and lowest low within a specified lookback period (default: 200 candles).
Fibonacci levels such as 0.236, 0.382, 0.5, 0.618, and 0.786 are drawn dynamically.
These levels help traders identify potential support and resistance zones, increasing the probability of successful trades.
Candle Coloring for Market Sentiment:
The indicator changes the color of the candlesticks based on trend conditions:
Lime (Bright Green): Strong bullish trend (short-term uptrend).
Green: Bullish momentum (mid-term uptrend).
Blue: Long-term bullish trend.
Fuchsia (Pink): Short-term bearish trend.
Red: Mid-term bearish momentum.
Maroon: Long-term bearish trend.
This visual representation makes it easy to spot trend reversals and potential trade opportunities.
User-Customizable Parameters:
Traders can adjust the lengths of the moving averages to fine-tune trend detection.
Fibonacci levels can be modified based on individual trading strategies.
Alerts and notifications can be integrated to provide real-time buy and sell alerts.
How to Use the AYN Indicator for Trading:
Trend Following Strategy:
Look for green candlesticks when the price is above moving averages to confirm an uptrend.
Look for red candlesticks when the price is below moving averages to confirm a downtrend.
Stronger trends appear when multiple timeframes align in the same direction.
Buy & Sell Signal Strategy:
Enter long (buy) positions when a buy signal arrow appears.
Exit or go short (sell) when a sell signal arrow appears.
Use stop-loss and take-profit levels based on Fibonacci retracement zones.
Fibonacci-Based Support & Resistance Strategy:
Watch for price reactions at Fibonacci levels (0.382 and 0.618 are the most important).
A bounce from these levels indicates potential entry or exit points.
If price breaks below 0.786, the trend might be weakening.
Conclusion:
The AYN Custom Indicator is an all-in-one trading tool that combines trend detection, buy/sell signals, automated Fibonacci retracements, and candlestick coloring to provide traders with a clear picture of market movements. Whether you are a trend follower, swing trader, or Fibonacci enthusiast, this indicator offers highly accurate signals to enhance your trading strategy.
💡 Pro Tip: Use this indicator in combination with volume analysis and support/resistance levels to maximize trade accuracy! 🚀
Vertical Lines & MACD High/Low amThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.ammmmmmmmmmm
MACD, RSI, EMAScript with MACD, RSI and EMA all in one.
Features:
✅ MACD (Moving Average Convergence Divergence) – Identifies trend direction and momentum shifts using the MACD line, signal line, and histogram.
✅ RSI (Relative Strength Index) – Helps spot overbought/oversold conditions and potential reversals.
✅ EMA (Exponential Moving Average) – Smooths price action to highlight the prevailing trend and dynamic support/resistance levels.
This indicator is perfect for traders who want clear trend confirmation, momentum insights, and dynamic entry/exit points—all in a single tool!
Try it out and enhance your trading strategy! Let me know your feedback in the comments.
Vertical Lines & MACD High/Low pmThis indicator tracks the MACD phase changes and identifies the highest and lowest prices within each phase. It updates the highest and lowest values for each MACD phase and displays labels directly on the candlesticks at those price points. Whenever the MACD crosses over or under the signal line, it marks the end of the previous phase and the beginning of a new one. The labels show the high and low prices as "🔺" for the peak and "🔻" for the trough. This process occurs continuously across the entire 1-minute chart.
Candle Pattern ArrowsThis Pine Script code is designed to identify specific candlestick patterns and draw boxes on the chart to highlight them. Here's a detailed explanation:
1. Purpose: The script detects two specific candlestick patterns:
- A red candle followed by two green candles with no price overlap between the first and third candles.
- A green candle followed by two red candles with no price overlap between the first and third candles.
2. Conditions:
- For the first pattern, the script checks if:
- The candle two bars ago is red (close < open ).
- The next two candles are green (close > open and close > open).
- There is no price overlap between the first and third candles (high < low ).
- For the second pattern, the script checks if:
- The candle two bars ago is green (close > open ).
- The next two candles are red (close < open and close < open).
- There is no price overlap between the first and third candles (low > high ).
3. Drawing Boxes:
- When the first pattern is detected, a red box is drawn:
- The box starts from the red candle and extends 10 bars to the right.
- The height of the box spans from the highest price of the red candle (high ) to the lowest price of the third candle (low ).
- When the second pattern is detected, a green box is drawn:
- The box starts from the green candle and extends 10 bars to the right.
- The height of the box spans from the lowest price of the green candle (low ) to the highest price of the third candle (high ).
4. Box Appearance:
- The boxes have semi-transparent borders and backgrounds to ensure visibility of the underlying candles.
- The border color is set with 50% transparency, and the background color is set with 90% transparency.
5. Positioning:
- The bar_index variable is used to accurately position the boxes on the chart.
- The starting point of the box is set to the bar index of the initial candle (bar_index - 2), and it extends 10 bars to the right.
6. Customization:
- The colors and transparency levels of the boxes can be customized by adjusting the rgb and transp values in the box.new function.
7. Historical Data:
- The script works based on historical data and does not predict future patterns.
- The boxes are drawn only after the three-candle pattern is fully formed.
This script is useful for traders who want to visually identify specific candlestick patterns on their charts, helping them make more informed trading decisions.
Indicator Values Display with ADX, SMA & Custom Crypto PricesThis indicator will help you save time and nerves by displaying multiple values in one window.
In the settings, you can view the values of indicators such as RSI, MACD, and ADX.
You can also select multiple cryptocurrencies to track their prices.
Additionally, you have the option to add up to three SMA lines.
Enjoy using the indicator, and don’t forget to check the settings!
MAStudyOne indicator studying eight different lengths of time for selected moving average. The moving averages that can be opted are Simple Moving Average, Exponential Moving Average, Hull Moving Average and McGinley Dynamic.
Cryptelo - Multi-Indicator Trend Shift DetectorThis "Multi-Indicator Trend Shift Detector" combines four key technical indicators—RSI, Money Flow Index (MFI), VWAP, and MACD—to pinpoint potential trend reversals. It works by:
RSI & MFI: Evaluating momentum, where values above 50 suggest bullish strength and below 50 indicate bearish pressure.
VWAP: Providing a daily average price reference that resets each day, helping to gauge if the price is trading above (bullish) or below (bearish) its volume-weighted average.
MACD: Confirming momentum through the relationship between the MACD line and its signal line.
When all these conditions align, the indicator identifies a trend shift and plots an arrow on the chart, making it easier for traders to spot entry or exit opportunities.
Unmitigated 50% of the RangeThis indicator is designed to display unmitigated 50% zones of price ranges within two swing (High and Low) points. The 50% level serves as a probable target for retracements before the price resumes its movement in the direction of the most recent swing. The underlying theory is that Price Action tends to correct unbalanced price zones by returning to 50% of the range.
The indicator identifies highs and lows utilizing the “Left Swing Sensitivity” setting, which detects the high/low points within the specified number of bars. It then ensures that the zone meets a minimum size requirement, configured via the “Minimum Leg Size” setting, to filter out smaller legs/zones that would not provide sufficient profit and loss opportunities for entries at 50% and take profit at the most recent swing point.
To prevent duplication of zones when the price is gradually moving up, an "Auto Adjust Levels" setting is available. Enabled by default, this feature automatically cleans up smaller zones, retaining only the primary zone between the most recent swing point and the outer swing.
Additionally, the indicator automatically removes mitigated zones where the price has returned to the 50% level, thus maintaining clean charts.
There are several visualization settings available, offering comprehensive control over what is displayed on the charts:
Control the color and style of the lines representing the 1, 0, and 50% levels.
Choose whether to display labels and if they should show the price at the rendered levels.
Optionally extend the lines/labels to the right for each level.