Zigzag3 -Invincible3Description:
Zigzag3 - Invincible3 is a powerful and flexible support and resistance indicator for TradingView. Utilizing an enhanced ZigZag algorithm and Dow Theory principles, it detects price pivots, higher highs (HH), lower highs (LH), higher lows (HL), and lower lows (LL). The indicator draws lines and labels to visualize these pivots, making it easier to identify market structure, trends, and potential reversal points.
The Length input allows traders to control the sensitivity of pivot detection.
Support and Resistance Lines:
Displays dotted and solid SR lines based on significant pivots to highlight key market zones.
Option to extend support/resistance lines dynamically with real-time progression for the latest pivot.
Labels for Dow Theory Points:
Mark higher highs, lower highs, higher lows, and lower lows with customizable colors.
Identifies market direction and potential breakout levels with visual clarity.
ZigZag Line Visualization:
Toggle the ZigZag lines to connect pivots for a better understanding of price movement.
Dynamic Dotted Line Progression:
A dotted line extends in real-time from the most recent significant pivot point, aiding in quick analysis.
This indicator is ideal for traders looking to analyze market structure, identify trends, and spot potential reversals. It can be used as a standalone tool or in combination with other strategies for enhanced precision.
Indicators and strategies
Support & Resistance with Buy/Sell signal -DHJ
Features: Support & Resistance with Buy/Sell signal -
EMA 9 and EMA 21: These two EMAs are calculated and plotted on the chart. They are commonly used to identify short-term and medium-term trends.
Dynamic EMA Color: The colors of the EMAs change dynamically depending on their current direction. If an EMA is rising, it turns green (uptrend), and if it is falling, it turns red (downtrend). The user can toggle this feature on or off.
User Customization: Users can define custom colors for both EMAs and toggle the dynamic color feature on/off via input options.
Crossover and Crossunder Signals:
Crossover Signal (Long Condition): A Buy signal is generated when EMA 9 crosses above EMA 21.
Crossunder Signal (Short Condition): A Sell signal is generated when EMA 9 crosses below EMA 21.
The signals are displayed as up and down arrows below or above the bars.
Support and Resistance Levels:
Pivot Points: The script calculates pivot highs and lows to identify potential support and resistance levels in the market.
Volume-Weighted Support/Resistance: Support and resistance levels are filtered based on volume. Stronger support levels are identified when volume is high, while weaker resistance levels are marked when volume is low.
Boxes for Support/Resistance: The support and resistance levels are drawn as colored boxes with adjustable width. These boxes represent significant price levels where the price might reverse or face resistance.
Dynamic Color of Boxes: The color of the support box turns green when the price is above the support, and it turns red when the price breaks below it. Similarly, the resistance box color changes based on the price interaction.
Breakout/Breakdown Alerts:
Breakout Signals: The script tracks price movements that break support or resistance levels. If the price breaks above a resistance level, the support box is marked as a breakout, and if the price breaks below a support level, the resistance box is marked as a breakdown.
Visual Alerts: Breakouts and breakdowns are visually indicated using "Break Sup" and "Break Res" labels at the relevant price levels. These labels are drawn on the chart, and users can quickly identify price movements through these markers.
Previous Day High and Low:
The Previous Day High and Low levels are plotted on the chart as horizontal lines. These levels serve as reference points for potential price reactions and market sentiment, often acting as dynamic support and resistance levels.
Volume Analysis:
The script includes a volume-based filter, where high volume is used to identify stronger support levels, and low volume is used to mark potential resistance zones. The volume filter helps to confirm the strength of the identified support and resistance levels.
Customizable Settings:
Lookback Period: Users can adjust the lookback period to define how far back the script should look to identify pivot points and support/resistance levels.
Volume Length: The script allows users to modify the length used in the volume analysis to filter out low-volume levels.
Box Width Adjustment: The width of the support and resistance boxes can be customized to adjust their visibility based on the user's preferences.
Visual Enhancements:
The chart is clutter-free with support and resistance levels drawn only when they are significant. The boxes are dynamic, resizing as new data is processed, ensuring that they remain relevant to the current price action.
Buy/Sell Signals are shown using plotshape(), with green arrows for long positions and red arrows for short positions.
Use Case:
Trend Following: The script is ideal for traders who follow trends. The EMAs help identify the prevailing market trend, while the crossover signals can be used to enter trades at the right moment.
Breakout Trading: The support and resistance levels, along with the breakout labels, help traders spot when a price is likely to make a significant move beyond key levels.
Volume Confirmation: The inclusion of volume analysis adds another layer of decision-making, helping traders confirm the strength of support or resistance levels based on trading volume.
Previous Day Levels: The inclusion of previous day high/low levels can act as critical reference points for price action and help traders anticipate future market behavior.
This script offers an all-in-one solution for analyzing trend direction, support/resistance levels, and potential breakout opportunities, making it a powerful tool for technical traders.
Adaptive DEMA Momentum Oscillator (ADMO)Overview:
The Adaptive DEMA Momentum Oscillator (ADMO) is an open-source technical analysis tool developed to measure market momentum using a Double Exponential Moving Average (DEMA) and adaptive standard deviation. By dynamically combining price deviation from the moving average with normalized standard deviation, ADMO provides traders with a powerful way to interpret market conditions.
Key Features:
Double Exponential Moving Average (DEMA):
The core calculation of the indicator is based on DEMA, which is known for being more responsive to price changes compared to traditional moving averages. This makes the ADMO capable of capturing trend momentum effectively.
Standard Deviation Integration:
A normalized standard deviation is used to adaptively weight the oscillator. This makes the indicator more sensitive to market volatility, enhancing responsiveness during high volatility and reducing sensitivity during calmer periods.
Oscillator Representation:
The final oscillator value is derived from the combination of the DEMA-based Z-score and the normalized standard deviation. This final value is visualized as a color-coded histogram, reflecting bullish or bearish momentum.
Color-Coded Histogram:
Bullish Momentum: Values above zero are colored using a customizable bullish color (default: light green).
Bearish Momentum: Values below zero are colored using a customizable bearish color (default: red).
How It Works:
Inputs:
DEMA Length: Defines the period used for calculating the Double Exponential Moving Average. It can be adjusted from 1 to 200 to suit different trading styles.
Standard Deviation Length: Sets the lookback period for standard deviation calculations, which influences the responsiveness of the oscillator.
Standard Deviation Weight (StdDev Weight): Controls the weight given to the normalized standard deviation, allowing customization of the oscillator's sensitivity to volatility.
Calculation Steps:
Double Exponential Moving Average Calculation:
The DEMA is calculated using two exponential moving averages, which helps in reducing lag compared to a simple moving average.
Z-score Calculation:
The Z-score is derived by comparing the difference between the DEMA and its smoothed average (LSMA) to the standard deviation. This indicates how far the current value is from the mean in units of standard deviation.
Normalized Standard Deviation:
The standard deviation is normalized by subtracting the mean standard deviation and dividing by the standard deviation of the values. This helps to make the oscillator adaptive to recent changes in volatility.
Final Oscillator Value:
The final value is calculated by multiplying the Z-score with a factor based on the normalized standard deviation, resulting in a momentum indicator that adapts to different market conditions.
Visualization:
Histogram: The oscillator is plotted as a histogram, with color-coded bars showing the strength and direction of market momentum.
Positive (bullish) values are shown in green, indicating upward momentum.
Negative (bearish) values are shown in red, indicating downward momentum.
Zero Line: A zero line is plotted to provide a reference point, helping users quickly determine whether the current momentum is bullish or bearish.
Example Use Cases:
Momentum Identification:
ADMO helps identify the current market momentum by dynamically adapting to changes in market volatility. When the histogram is above zero and green, it indicates bullish conditions, whereas values below zero and red suggest bearish momentum.
Volatility-Adjusted Signals:
The normalized standard deviation weighting allows the ADMO to provide more reliable signals during different market conditions. This makes it particularly useful for traders who want to be responsive to market volatility while avoiding false signals.
Trend Confirmation and Divergence:
ADMO can be used to confirm the strength of a trend or identify potential divergences between price and momentum. This helps traders spot potential reversal points or continuation signals.
Summary:
The Adaptive DEMA Momentum Oscillator (ADMO) offers a unique approach by combining momentum analysis with adaptive standard deviation. The integration of DEMA makes it responsive to price changes, while the standard deviation adjustment helps it stay relevant in both high and low volatility environments. It's a versatile tool for traders who need an adaptive, momentum-based approach to technical analysis.
Feel free to explore the code and adapt it to your trading strategy. The open-source nature of this tool allows you to adjust the settings and visualize the output to fit your personal trading preferences.
alertsLibrary "alerts"
The library provides options to run alert() calls in loop without worrying about limitations of frequency options.
When an alert statement is called within a loop,
it will fire just once per bar irrespective of how many iterations allowed when fequency is set to alert.freq_once_per_bar or alert.freq_once_per_bar_close
it will fire continuously till it breaks when frequency is set to alert.freq_all
The function helps overcome this issue by using varip key array which resets on every bar
method alert(message, key)
Enhanced alert which can be used in loops
Namespace types: series string, simple string, input string, const string
Parameters:
message (string) : Alert message to be fired
key (string) : Key to be checked to avoid repetitive alerts
Returns: array containing id of already fired alerts
method updateAlertTemplate(this, template)
Updates alert template with given keys and values
Namespace types: map
Parameters:
this (map) : map containing key value pair
template (string) : Alert message template
Returns: updated alert message
Stochastic RSI + AlertThe **Stochastic RSI** indicator combines the Stochastic Oscillator and RSI to measure momentum and identify overbought or oversold conditions. It calculates the RSI first and then applies the Stochastic formula to it. Key levels are 80 (overbought) and 20 (oversold), where potential reversal signals may occur. This script adds visual labels and alerts for clear entry or exit points. It’s suitable for traders seeking precise momentum-based trading signals.
Algo 5- Auto (Optimized Version with RSI, ATR, and Time Filter)1. Script Title: Algo 5 - Auto (Optimized Version with RSI, ATR, and Time Filter) - Enhanced Entry Conditions for Increased Flexibility
2. Originality and Usefulness
2.1. Integrates multiple indicators: RSI, ATR, EMA, Bollinger Bands, and SSL Channels.
2.2. Provides highly adaptive trade entry and exit strategies through multiple confirmation signals.
2.3. Ensures flexibility across various market conditions.
3. Strategy Results
3.1. Backtesting Highlights:
Net Profit: +332,950 USDT (33.30% gain).
Win Rate: 81.82%, indicating strong reliability.
Profit Factor: 6.122, ensuring an optimal risk-to-reward ratio.
Maximum Loss Per Trade: 8.70%, adhering to sustainable risk levels.
Average Trade Holding Time: 318 bars, suitable for short-to-medium term traders.
3.2. Key Advantages:
Provides both Partial Take Profit and Full Take Profit levels for enhanced risk management.
Dynamically adjusts to market volatility using ATR for stop-loss and take-profit targets.
Combines trend confirmation and momentum-based signals to minimize false positives.
4. Indicators and Their Roles
4.1. SSL Channel:
Defines market trends through SMA-based crossovers.
Enhances sensitivity to market reversals with higher crossover frequency.
4.2. Relative Strength Index (RSI):
Identifies overbought/oversold zones with flexible thresholds (85/15).
Bullish and bearish divergence markers improve trend detection.
4.3. Average True Range (ATR):
Dynamically sets stop-loss and take-profit targets based on market volatility.
Ensures adaptability to different trading conditions.
4.4. Exponential Moving Averages (EMA):
Combines short-term (9), mid-term (15), and long-term (21) EMAs to confirm trends.
Reduces lag for better trend alignment.
4.5. Bollinger Bands:
Tracks price volatility and identifies breakout opportunities or range-bound movements.
Provides additional confirmation for entries.
5. How to Use This Script
5.1. Parameter Adjustments:
Customize RSI thresholds, SSL periods, ATR multipliers, and Bollinger Band deviations to suit specific conditions.
5.2. Trading Signals:
Long Entry: SSL indicates an uptrend, RSI confirms non-overbought conditions, and EMAs align upward.
Short Entry: SSL indicates a downtrend, RSI confirms overbought conditions, and EMAs align downward.
5.3. Stop-Loss and Take-Profit Logic:
Partial Take Profit: Closes part of the position at a predefined ATR level.
Full Take Profit: Closes the remaining position at a higher ATR threshold.
Dynamic Risk Management: Adapts to market fluctuations to minimize unexpected losses.
5.4. Compatibility:
Ideal for 30-minute to 1-hour timeframes.
Works well with volatile assets like SOLUSDT or forex pairs.
6. Additional Features
6.1. Visual Clarity:
SSL Channel Lines: Green and red lines clearly indicate uptrends and downtrends.
RSI Divergence Labels: Bullish and bearish markers help identify potential reversals.
Trade Signals on Chart: Visualizes long/short entries and partial/full exits for better understanding.
6.2. Risk-Reward Optimization:
Enables fine-tuning of the risk percentage per trade for capital preservation while maximizing profits.
7. Important Notes
7.1. Practice First: Thoroughly backtest the script before live trading.
7.2. Market Uncertainty: Past performance is not indicative of future results. Trade cautiously.
7.3. Open Source: Published under the Mozilla Public License 2.0. Users can study or modify the script responsibly.
© xxxaak
Flag Screener [QuantVue]Flag Screener is a screening tool that identify bull and bear flags in up to 40 different symbols.
The indicator takes a comma separated list of symbols and then scans the symbols in real time to detect bull or bear flags.
What are flags
Flags are continuation patterns that occur within the general trend of the security. A bull flag represents a temporary pause or consolidation before price resumes it's upward movement, while a bear flag occurs before price continues its downward movement.
Both flag patterns consist of two components:
The Pole
The Flag
The pole is the initial strong upward surge or decline that precedes the flag. The pole is usually a fast move accompanied by heavy volume signaling significant buying or selling pressure.
The flag is then formed as price consolidates after the initial surge or decline from the pole. For a bull flag price will drift slightly downward to sideways, a bear flag will drift upward to sideways. The best flags often see volume dry up during this phase of the pattern.
Indicator Settings
Both components are fully customizable in the indicator so the user can adjust for any time frame or volatility. Select the minimum and maximum accepted limits from the % gain loss required for the pole, the maximum acceptable flag depth or rally and the minimum and maximum number of bars for each component.
Liquidity Swings & Range Detector [MED89]### Trading Strategy Using the **Liquidity Swings & Range Detector** Indicator
The provided indicator is designed to identify liquidity swings (highs and lows) and detect trading ranges. Below is a step-by-step strategy to utilize it effectively in trading:
---
### 1. **Understanding the Indicator**
- **Liquidity Swings:**
- **Swing Highs:** These represent significant price resistance levels and are highlighted as peaks.
- **Swing Lows:** These represent significant price support levels and are highlighted as troughs.
- **Range Detector:**
- It identifies price ranges where the market is consolidating, using a combination of moving averages and ATR-based thresholds to define the range.
---
### 2. **The Trading Strategy**
#### A) **Buying Opportunities (Long Entries):**
1. **Breakout above Swing Highs:**
- When the price breaks above a recent **Swing High**:
- Confirm the breakout with volume or momentum indicators (e.g., RSI or MACD).
- Enter a long position.
- Place a stop-loss below the previous **Swing High** level.
2. **Within a Range:**
- Buy near the **Bottom Range** (the lower boundary of the detected range).
- Place a stop-loss slightly below the range.
#### B) **Selling Opportunities (Short Entries):**
1. **Breakdown below Swing Lows:**
- When the price breaks below a recent **Swing Low**:
- Confirm the breakdown with volume or momentum indicators.
- Enter a short position.
- Place a stop-loss above the previous **Swing Low** level.
2. **Within a Range:**
- Sell near the **Top Range** (the upper boundary of the detected range).
- Place a stop-loss slightly above the range.
---
### 3. **Range-Based Trading:**
- When the indicator detects a trading range:
- **Buy** at the lower boundary (**Bottom Range**).
- **Sell** at the upper boundary (**Top Range**).
- Avoid trading if the price is moving in the middle of the range unless confirmed by strong directional momentum.
---
### 4. **Risk Management**
- **Position Sizing:** Limit your risk to 2-3% of your capital per trade.
- **Take Profits:** Use the **Swing High** or **Swing Low** levels as logical profit targets.
- **Stop-Loss Placement:** Always place stop-loss orders based on recent **Swing Highs** or **Swing Lows**, depending on your trade direction.
---
### 5. **Additional Tips**
- Test the indicator on a demo account to fine-tune the settings.
- Use other complementary indicators like RSI, MACD, or volume to confirm trade signals.
- Stay updated on market news and events that might cause sudden price movements.
---
BY AHMED ELMORTADA
RSI Strategy With TP/SLThis Pine Script™ strategy combines RSI-based entries with automated Take Profit (TP) and Stop Loss (SL) levels to manage risk effectively. The strategy is designed to enter trades based on the Relative Strength Index (RSI) signals, allowing traders to choose between long-only, short-only, or both directions. Positions are entered when RSI conditions are met, with customizable parameters for RSI length, buy/sell thresholds, take profit, and stop loss percentages.
A notable feature is the comprehensive monthly performance table from @MAURYA_ALGO_TRADER, helping traders visualize their profit/loss over time. Alerts are integrated to notify traders of buy and sell opportunities, as well as TP/SL triggers. This strategy is suitable for traders looking for automated entries with a clear risk management approach, accompanied by helpful monthly performance tracking.
PSP Indicator [Elbaz]Precision Swing Point or PSP is a unique technical analysis tool designed to compare the price action of three tickers that are in sync.
It highlights moments when the price structure diverges between the markets, identifying ideal entry points for trades - We would like to enter a trade when we found PSP and one of the tickers took the wick while others didn't.
This strategy provides an edge by focusing on periods of desynchronization between the indices, where one index may be showing strength while another is lagging. The idea is to find the moments where the candle colors (bullish or bearish) differ across the markets, then wait for one of the tickers to "take" the wick of the PSP while other didn't and enter a trade.
Once a divergence is detected, the indicator plots an arrow on the chart, signaling a potential trade entry. To minimize risk, a good place to put stop loss will at the end of the wick of the PSP — the high or low wick of the candle where the divergence occurs.
The PSP Indicator allows for several custom inputs:
- Tickers: Customize the tickers to compare. The default values are S&P 500 E-mini, NASDAQ E-mini, and Dow Jones E-mini, if you trade Crypto you might want to use BTC, ETH, TOTAL3.
- Lookback Period: The lookback input defines how far back the indicator should evaluate to calculate the price structure point.
- Highlight Bar Times: Users can specify particular times during the trading day to highlight, such as the market open or significant news events. This helps traders focus on key trading windows.
Yakloft Support and Resistance LevelsYakloft Support and Resistance Levels Indicator
The Yakloft Support and Resistance Levels indicator is a powerful tool designed to help traders identify key support and resistance levels on a price chart. By leveraging advanced pivot point calculations and customizable settings, this indicator provides clear visual cues for potential price reversals and market trends.
Key Features
Automatic Support and Resistance Levels:
Dynamic Calculation: The indicator automatically identifies and plots significant support and resistance levels based on pivot highs and lows.
Customizable Strength: Adjust the S/R Strength parameter to filter levels according to their significance. Higher values display fewer but more robust levels.
Zones Around Levels:
Support and Resistance Zones: Create zones around each support and resistance level to highlight areas of interest rather than exact price points.
High/Low Zones: Plot zones around the highest and lowest price levels within a specified period, providing additional context for potential breakouts or reversals.
Zone Width Adjustment: Customize the width of the zones using the Zone Width % parameter, calculated as a percentage of the price range over the last 300 bars.
Line Styles and Fills:
Customizable Appearance: Modify line colors, styles (Solid, Dotted, Dashed), and widths to match your chart preferences.
Line Fills: Enhance visual clarity by filling zones with semi-transparent colors, making it easier to distinguish between support and resistance areas.
Dynamic Line Management:
Automatic Line Removal: To keep your chart uncluttered, the indicator removes a support or resistance line after the price crosses it twice. This feature helps you focus on the most relevant and current levels.
Expandable Lines:
Line Extension: Choose to extend lines both forward and backward in time with the Expand S/R Lines option, providing a comprehensive view of historical support and resistance.
How It Works
The indicator analyzes price data to identify pivot highs and lows over a specified lookback period. These pivot points are potential areas where the price may reverse or experience significant support or resistance. By filtering these points based on the S/R Strength parameter, the indicator ensures that only the most significant levels are displayed.
Once the levels are identified:
Support Levels: Plotted when the price shows potential to stop falling and possibly start rising.
Resistance Levels: Plotted when the price may stop rising and potentially start falling.
The indicator enhances these levels by:
Adding Zones: By creating a buffer around each level, traders can see areas where the price might interact with support or resistance, rather than focusing on a single price point.
Line Fills: The zones are filled with a semi-transparent color corresponding to support or resistance, improving visual distinction.
Input Parameters
Enable Support & Resistance: Toggle the entire indicator on or off.
Support Color: Choose the color for support lines and fills.
Resistance Color: Choose the color for resistance lines and fills.
S/R Strength: Set the sensitivity of level detection. Higher values result in fewer, more significant levels.
Line Style: Select the style of the support and resistance lines (Solid, Dotted, Dashed).
S/R Line Width: Adjust the thickness of the support and resistance lines.
Enable Zones: Toggle the display of zones around each level.
Enable High/Low Zones: Toggle the display of zones around the highest and lowest price levels.
Zone Width %: Define the width of the zones as a percentage of the price range over the last 300 bars.
Expand S/R Lines: Choose whether to extend the lines across the entire chart or limit them to recent data.
Using the Indicator
Identifying Key Levels:
Use the plotted support and resistance levels to identify potential entry and exit points.
Pay attention to the zones, as they represent areas where the price is more likely to react.
Monitoring Price Interaction:
Observe how the price behaves around the support and resistance levels.
The automatic removal of lines after two crossings helps focus on active levels.
Customizing for Clarity:
Adjust the visual settings to match your trading style and improve chart readability.
Experiment with the S/R Strength and Zone Width % to fine-tune the indicator to different market conditions.
Best Practices
Combine with Other Analysis Tools:
Use the indicator alongside other technical analysis tools like trend lines, moving averages, and oscillators for a more comprehensive market view.
Adjust for Different Timeframes:
The indicator works on various timeframes. Adjust the parameters when switching between short-term and long-term charts to maintain effectiveness.
Stay Updated with Market Conditions:
Market volatility can affect the significance of support and resistance levels. Regularly adjust the S/R Strength parameter to align with current market dynamics.
Limitations
Not a Standalone Solution:
While the indicator provides valuable insights, it should not be used in isolation. Always consider broader market analysis and risk management practices.
Historical Data Dependency:
The accuracy of the levels depends on the availability of sufficient historical data. Ensure your chart includes enough data for the indicator to perform effectively.
FluidTrades - SMC Lite with EMAs by ARANاین اندیکاتور هم تنظیمات EMA را دارد هم اوردر بلاک های معتبر را نشان میدهد
FRAMA Channel [BigBeluga]This is a trend-following indicator that utilizes the Fractal Adaptive Moving Average (FRAMA) to create a dynamic channel around the price. The FRAMA Channel helps identify uptrends, downtrends, and ranging markets by examining the relationship between the price and the channel's boundaries. It also marks trend changes with arrows, optionally displaying either price values or average volume at these key points.
🔵 IDEA
The core idea behind the FRAMA Channel indicator is to use the fractal nature of markets to adapt to different market conditions. By creating a channel around the FRAMA line, it not only tracks price trends but also adapts its sensitivity based on market volatility. When the price crosses the upper or lower bands of the channel, it signals a potential shift in trend direction. If the price remains within the channel and crosses over the upper or lower bands without a breakout, the market is likely in a ranging phase with low momentum. This adaptive approach makes the FRAMA Channel effective in both trending and ranging market environments.
🔵 KEY FEATURES & USAGE
◉ Dynamic FRAMA Channel with Trend Signals:
The FRAMA Channel uses a fractal-based moving average to create an adaptive channel around the price. When the price crosses above the upper band, it signals an uptrend and plots an upward arrow with the price (or average volume) value. Conversely, when the price crosses below the lower band, it signals a downtrend and marks the point with a downward arrow. This dynamic adaptation to market conditions helps traders identify key trend shifts effectively.
◉ Ranging Market Detection:
If the price remains within the channel, and only the high crosses the upper band or the low crosses the lower band, the indicator identifies a ranging market with low momentum. In this case, the channel turns gray, signaling a neutral trend. This is particularly useful for avoiding false signals during periods of market consolidation.
◉ Color-Coded Candles and Channel Bands:
Candles and channel bands are color-coded to reflect the current trend direction. Green indicates an upward trend, blue shows a downward trend, and gray signals a neutral or ranging market. This visual representation makes it easy to identify the market condition at a glance, helping traders make informed decisions quickly.
◉ Customizable Display of Price or Average Volume:
On trend change signals, the indicator allows users to choose whether to display the price at the point of trend change or the average volume of 10 bars. This flexibility enables traders to focus on the information that is most relevant to their strategy, whether it's the exact price entery or the volume context of the market shift. Displaying the average volume allows to see the strength of the trend change.
Price Data:
Average Volume of points:
🔵 CUSTOMIZATION
Length & Bands Distance: Adjust the length for the FRAMA calculation to control the sensitivity of the channel. A shorter length makes the channel more reactive to price changes, while a longer length smooths it out. The Bands Distance setting determines how far the bands are from the FRAMA line, helping to define the breakout and ranging conditions.
Signals Data: Choose between displaying the price or the average volume on trend change arrows. This allows traders to focus on either the exact price level of trend change or the market volume context.
Color Settings: Customize the colors for upward momentum, downward momentum, and neutral states to suit your charting preferences. You can also toggle whether to color the candles based on the momentum for a clearer visual of the trend direction.
The FRAMA Channel indicator adapts to market conditions, providing a versatile tool for identifying trends and ranging markets with clear visual cues.
Simple Moving Average with Regime Detection by iGrey.TradingThis indicator helps traders identify market regimes using the powerful combination of 50 and 200 SMAs. It provides clear visual signals and detailed metrics for trend-following strategies.
Key Features:
- Dual SMA System (50/200) for regime identification
- Colour-coded candles for easy trend visualisation
- Metrics dashboard
Core Signals:
- Bullish Regime: Price < 200 SMA
- Bearish Regime: Price > 200 SMA
- Additional confirmation: 50 SMA Cross-over or Cross-under (golden cross or death cross)
Metrics Dashboard:
- Current Regime Status (Bull/Bear)
- SMA Distance (% from price to 50 SMA)
- Regime Distance (% from price to 200 SMA)
- Regime Duration (bars in current regime)
Usage Instructions:
1. Apply the indicator to your chart
2. Configure the SMA lengths if desired (default: 50/200)
3. Monitor the color-coded candles:
- Green: Bullish regime
- Red: Bearish regime
4. Use the metrics dashboard for detailed analysis
Settings Guide:
- Length: Short-term SMA period (default: 50)
- Source: Price calculation source (default: close)
- Regime Filter Length: Long-term SMA period (default: 200)
- Regime Filter Source: Price source for regime calculation (default: close)
Trading Tips:
- Use bullish regimes for long positions
- Use bearish regimes for capital preservation or short positions
- Consider regime duration for trend strength
- Monitor distance metrics for potential reversals
- Combine with other systems for confluence
#trend-following #moving average #regime #sma #momentum
Risk Management:
- Not a standalone trading system
- Should be used with proper position sizing
- Consider market conditions and volatility
- Always use stop losses
Best Practices:
- Monitor multiple timeframes
- Use with other confirmation tools
- Consider fundamental factors
Version: 1.0
Created by: iGREY.Trading
Release Notes
// v1.1 Allows table overlay customisation
// v1.2 Update to v6 pinescript
Customizable Psychological LevelsThe Customizable Psychological Levels indicator is designed to simplify the process of marking psychological levels on your chart without the need to manually add lines. Psychological levels are critical price zones where market participants often make decisions, such as round numbers or price levels that align with key technical analysis thresholds.
This indicator offers a fully automated way to plot these levels, with customizable options for intervals, colors, line thickness, and styles. Traders can focus more on their analysis and decision-making while relying on this tool to display consistent and accurate psychological levels across different timeframes.
Key Features:
Automated Level Drawing:
Major, intermediate, and minor levels are plotted automatically based on user-defined intervals.
No need to draw lines manually, saving time and ensuring precision.
Customizable Settings:
Choose intervals for each level type (major, intermediate, minor).
Select unique colors, line thickness, and styles (solid, dashed, or dotted) to distinguish levels visually.
Non-Overlapping Levels:
Includes an option to prevent overlapping levels, ensuring a clean and organized chart.
Dynamic or Fixed Levels:
Levels adjust dynamically to the chart’s price range, making them suitable for various instruments and timeframes.
Benefits:
Enhances productivity by automating the process of marking psychological levels.
Offers a highly customizable and visually appealing solution for traders who rely on psychological levels in their trading strategies.
Helps traders quickly identify critical price zones and make informed decisions.
This tool is perfect for both beginner and experienced traders who want to streamline their workflow while maintaining a professional and systematic approach to technical analysis.
ICT Candle Block (fadi)ICT Candle Block
When trading using ICT concepts, it is often beneficial to treat consecutive candles of the same color as a single entity. This approach helps traders identify Order Blocks, liquidity voids, and other key trading signals more effectively.
However, in situations where the market becomes choppy or moves slowly, recognizing continuous price movement can be challenging.
The ICT Candle Block indicator addresses these challenges by combining consecutive candles of the same color into a single entity. It redraws the resulting candles, making price visualization much easier and helping traders quickly identify key trading signals.
FVGs and Blocks
In the above snapshot, FVGs/Liquidity Voids, Order Blocks, and Breaker Blocks are easily identified. By analyzing the combined candles, traders can quickly determine the draw on liquidity and potential price targets using ICT concepts.
Unlike traditional higher timeframes that rigidly combine lower timeframe candles based on specific start and stop times, this indicator operates as a "mixed timeframe." It combines all buying and all selling activities into a single candle, regardless of when the transactions started and ended.
Limitations
There are currently TradingView limitations that affect the functionality of this indicator:
TradingView does not have a Candle object; therefore, this indicator relies on using boxes and lines to mimic the candles. This results in wider candles than expected, leading to misalignment with the time axis below (plotcandle is not the answer).
There is a limit on the number of objects that can be drawn on a chart. A maximum of 500 candles has been set.
A rendering issue may cause a sideways box to appear across the chart. This is a display bug in TradingView; scroll to the left until it clears.
Ichimoku Cloud +Ichimoku Cloud Plus - Advanced Technical Analysis Indicator
Ichimoku Cloud Plus is an advanced technical analysis tool that combines the traditional Ichimoku Cloud system with Pearson correlation analysis and multi-timeframe momentum tracking. This innovative approach provides traders with a comprehensive view of market trends, momentum, and potential reversal points across multiple time frames.
Core Components
Enhanced Ichimoku Cloud Analysis
The traditional Ichimoku Cloud components have been preserved and enhanced with customizable visual parameters:
The indicator includes:
- Conversion Line (Tenkan-sen) - Short-term trend identifier
- Base Line (Kijun-sen) - Medium-term trend identifier
- Leading Span A and B (Senkou Span A and B) - Future cloud projections
- Lagging Span (Chikou Span) - Historical price momentum confirmation
The cloud (Kumo) formations provide dynamic support and resistance levels, with color-coding to instantly identify bullish and bearish market conditions.
Pearson Correlation Analysis
A sophisticated Pearson correlation coefficient calculation has been integrated to provide statistical validation of trend strength and direction. This component:
- Calculates correlation between price movement and time
- Provides real-time correlation coefficients
- Identifies trend strength through correlation thresholds
- Generates signals for trend changes and potential reversals
Multi-Timeframe Momentum Tracking
The indicator incorporates a unique multi-timeframe analysis system that:
- Displays momentum calculations across five timeframes (15m, 30m, 1h, 4h, 1d)
- Provides percentage-based momentum values
- Includes volatility adjustment capabilities
- Offers volume-weighted calculations for enhanced accuracy
Advanced Features
Statistical Analysis Panel
A comprehensive statistical panel provides real-time analysis including:
- Current Pearson coefficient value
- Correlation strength classification
- Trend direction identification
- Analysis period information
Dynamic Alert System
The indicator includes sophisticated alert conditions for:
- Bearish trend initiation (positive correlation threshold breach)
- Bullish trend initiation (negative correlation threshold breach)
- Trend direction changes (zero-line crossovers)
Visual Optimization
Advanced visualization features include:
- Customizable color schemes for all components
- Adjustable label sizes and positions
- Transparency controls for better chart visibility
- Warning indicators for potential trend weakening
Technical Implementation
The indicator combines multiple calculation methods:
- Donchian Channel calculations for Ichimoku components
- Pearson correlation coefficient computation with customizable periods
- EMA smoothing for momentum calculations
- Volume-weighted averaging capabilities
- Volatility adjustment mechanisms
Trading Applications
This indicator is particularly effective for:
1. Trend Direction Confirmation
- Multiple timeframe analysis provides comprehensive trend validation
- Pearson correlation adds statistical confidence to trend identification
- Ichimoku cloud formations confirm support and resistance levels
2. Entry and Exit Point Identification
- Cloud breakouts combined with correlation strength indicate potential entry points
- Multi-timeframe momentum alignment helps identify high-probability trades
- Warning indicators assist in timing market exits
3. Risk Management
- Dynamic support and resistance levels from the cloud
- Statistical trend strength measurement
- Multi-timeframe confirmation reduces false signals
Performance Considerations
The indicator uses efficient calculations to maintain good performance while providing comprehensive analysis. The smoothing parameters and analysis periods can be adjusted to balance between responsiveness and reliability.
Future Applications and Research
This combination of indicators opens possibilities for:
- Machine learning integration for pattern recognition
- Additional statistical measures for trend validation
- Enhanced alert systems based on multiple condition combinations
- Further optimization of calculation methods
The innovative combination of traditional Ichimoku analysis with modern statistical methods and multi-timeframe momentum tracking provides traders with a powerful tool for market analysis and decision-making.
Supertrend with Bollinger BandsThe indicator combines Bollinger Bands and Supertrend.
Hope it helps traders make profits from the market.
Algo Market Structure Nic_FXLa natura è un insieme straordinario di armonia e bellezza. Ogni elemento, dalle montagne maestose agli alberi che si stagliano verso il cielo, contribuisce a creare un equilibrio perfetto. Il suono di un ruscello che scorre o il canto degli uccelli all'alba ci ricordano la semplicità della vita. Spesso, nella frenesia quotidiana, dimentichiamo quanto sia importante fermarsi e osservare. Prendersi del tempo per apprezzare la natura ci aiuta a riconnetterci con noi stessi e a ritrovare pace. L'ambiente è un tesoro che va preservato per le generazioni future, affinché possano anch'esse godere di questa magnificenza.
USDT.D Volatility TrackerUSDT.D Volatility Tracker
Description:
This script is designed to track the volatility of USDT.D (US Dollar in cryptocurrency) on the TradingView platform. It uses a moving average and deviation from it to generate buy and sell signals, helping traders visualize changes in volatility and make informed decisions.
Input Parameters:
maPeriod: The period of the moving average (default 120). This parameter allows users to adjust the length of the period used to calculate the moving average.
devThreshold: The deviation threshold (default 0.6). This parameter defines the level of deviation that will trigger buy or sell signals.
Data Request:
The script requests closing data for USDT.D using the request.security function, allowing it to retrieve up-to-date data on the selected timeframe.
Moving Average and Deviation Calculation:
An exponential moving average (EMA) is used to calculate the deviation from the moving average, enabling the identification of current volatility.
Deviation Line Display:
The deviation rate line is displayed on the chart, allowing users to visually track changes in volatility.
Signal Generation:
If the deviation exceeds the set threshold (devThreshold), a buy signal is generated (green background).
If the deviation falls below the negative threshold (-devThreshold), a sell signal is generated (red background).
Visual Signals:
Buy signals are displayed on the chart as green triangles, while sell signals are displayed as red triangles. This helps traders quickly identify potential entry and exit points.
Buy/Sell Indicator with RSI and SMC by Ghassu//@version=5
indicator("Buy/Sell Indicator with RSI and SMC by Ghassu", overlay=true)
// User-defined inputs
maPeriod = input.int(9, title="SMA Period", minval=1)
rsiPeriod = input.int(14, title="RSI Period", minval=1)
rsiOverbought = input.int(80, title="RSI Overbought Level", minval=1)
rsiOversold = input.int(10, title="RSI Oversold Level", minval=1)
stopLossPip = input.float(30, title="Stop Loss in Pips", minval=1)
takeProfitPip = input.float(60, title="Take Profit in Pips", minval=1)
timeFrame = input.timeframe("60", title="Time Frame")
// Calculate Simple Moving Averages (SMA)
smaOpen = ta.sma(open, maPeriod)
smaClose = ta.sma(close, maPeriod)
// Calculate RSI
rsi = ta.rsi(close, rsiPeriod)
// Define conditions for overbought and oversold levels
isOverbought = rsi > rsiOverbought
isOversold = rsi < rsiOversold
// Conditions for Buy and Sell signals
buyCondition = ta.crossover(smaClose, smaOpen) and close > smaClose and not isOverbought
sellCondition = ta.crossunder(smaClose, smaOpen) and close < smaClose and not isOversold
// Plot Moving Averages
plot(smaOpen, title="SMA Open", color=color.blue, linewidth=2)
plot(smaClose, title="SMA Close", color=color.green, linewidth=2)
// Plot RSI for reference
hline(rsiOverbought, "RSI Overbought", color=color.red)
hline(rsiOversold, "RSI Oversold", color=color.green)
plot(rsi, title="RSI", color=color.orange, linewidth=2, style=plot.style_line)
// Plot Buy and Sell icons with background colors
bgcolor(buyCondition ? color.new(color.green, 90) : na, title="Buy Background")
bgcolor(sellCondition ? color.new(color.red, 90) : na, title="Sell Background")
// Plot Buy and Sell icons as triangles
plotshape(series=buyCondition, style=shape.triangleup, location=location.belowbar, color=color.green, size=size.small, title="Buy Signal")
plotshape(series=sellCondition, style=shape.triangledown, location=location.abovebar, color=color.red, size=size.small, title="Sell Signal")
// Stop Loss and Take Profit calculation
var float stopLossLevel = na
var float takeProfitLevel = na
stopLossPips = stopLossPip * syminfo.mintick
takeProfitPips = takeProfitPip * syminfo.mintick
// Create lines for Stop Loss and Take Profit based on the conditions
if (buyCondition)
stopLossLevel := close - stopLossPips
takeProfitLevel := close + takeProfitPips
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.white, textcolor=color.green, size=size.small)
line.new(bar_index , close, bar_index, close, color=color.green, width=2)
line.new(bar_index, stopLossLevel, bar_index + 1, stopLossLevel, color=color.red, width=1)
line.new(bar_index, takeProfitLevel, bar_index + 1, takeProfitLevel, color=color.green, width=1)
if (sellCondition)
stopLossLevel := close + stopLossPips
takeProfitLevel := close - takeProfitPips
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.white, textcolor=color.red, size=size.small)
line.new(bar_index , close, bar_index, close, color=color.red, width=2)
line.new(bar_index, stopLossLevel, bar_index + 1, stopLossLevel, color=color.green, width=1)
line.new(bar_index, takeProfitLevel, bar_index + 1, takeProfitLevel, color=color.red, width=1)
// Plot Take Profit and Stop Loss as lines
plot(stopLossLevel, color=color.red, linewidth=1, title="Stop Loss Line")
plot(takeProfitLevel, color=color.green, linewidth=1, title="Take Profit Line")