Dashed DMI by Cryptos RocketThe Directional Movement Index (DMI) is a well-known indicator in technical analysis, created by J. Welles Wilder. It is designed to identify the strength of a trend in a given market, providing traders with insights into both the direction and momentum of price movements. This script is a custom implementation of the DMI that plots the ADX (Average Directional Index), +DI (Positive Directional Indicator), and -DI (Negative Directional Indicator).
Dashed DMI Key Features:
1. Directional Movement Indicators:
- The ADX line, shown in orange, helps determine the strength of the trend without indicating its direction. Values above 25 suggest a strong trend, while values below 20 indicate a weak trend.
- The +DI line, shown in green, measures the strength of upward movement in the price. It identifies if the market is experiencing a strong uptrend.
- The -DI line, shown in red, measures the strength of downward price movement. It signals when there is a strong downtrend.
2. Customizable Dashed Line:
- The script includes a customizable dashed line, which represents a critical level on the chart that traders can use as a reference. The dashed line is adjustable through the script’s settings, allowing the trader to set a desired level, color, style, and thickness. The default level is set to 30, a common threshold in trend-following systems, but users can change it according to their preferences.
- The dashed line’s transparency and visibility can be toggled using the input settings, making it adaptable to different trading strategies or visual preferences.
3. Alerts:
- The script provides customizable alert conditions based on the relationship between the ADX, +DI, and -DI lines with the dashed line. These alerts include:
- When ADX crosses above or below the dashed line, signaling a shift in trend strength.
- When +DI or -DI cross the dashed line, indicating a change in the trend's directionality (bullish or bearish).
- Alerts for crossovers (when one line crosses another) and crossunders (when one line falls below another), which provide key entry or exit signals for traders.
4. Customizable Visual Parameters:
- The script is designed with flexibility in mind. The user can modify the line styles, thickness, and colors. The ADX is plotted in orange with a thickness of 2, the +DI is plotted in green, and the -DI is plotted in red. These lines’ thicknesses can be customized, ensuring that they remain visible regardless of the timeframe or chart zoom level.
- The script also provides options to adjust the dashed line’s color and style (solid, dotted, or dashed), enabling a fully customized charting experience that suits individual preferences.
Understanding the Components of the DMI
1. ADX (Average Directional Index):
The ADX is a smoothed version of the difference between the +DI and -DI lines, used to measure the strength of a trend. It does not provide any directional indication but simply quantifies whether the trend is strong or weak.
- Strength Indicators: A rising ADX indicates a strengthening trend, while a falling ADX signals weakening trend strength. Traders often consider an ADX reading above 25 as an indication of a strong trend, either up or down, and readings below 20 as suggesting a lack of trend or a sideways market.
- The ADX is plotted in the script using an orange color, making it easy for traders to distinguish it from the directional lines.
2. +DI (Positive Directional Indicator):
The +DI line measures the strength of upward price movement. It rises when the market’s upward movement is stronger than its downward movement.
- A rising +DI is a signal that the market is moving in a bullish direction. When +DI crosses above the -DI, it can indicate the start of an uptrend.
- The +DI is plotted in green, representing bullish momentum.
3. -DI (Negative Directional Indicator):
The -DI line tracks the strength of downward price movement. It rises when the market’s downward movement is stronger than its upward movement.
- A rising -DI suggests bearish momentum, and when the -DI crosses above the +DI, it can signal the beginning of a downtrend.
- The -DI is plotted in red, symbolizing bearish momentum.
Customizable Inputs and Settings
This DMI script allows traders to adjust several parameters based on their preferences:
- ADX Smoothing (lensig): This setting controls the smoothing of the ADX line, with values ranging from 1 to 50. A larger smoothing value can help reduce noise in the ADX and make trends clearer, while a smaller value reacts more quickly to price changes.
- DI Length (len): This input controls the period used for calculating the +DI and -DI lines. A shorter period results in a more sensitive indicator, whereas a longer period produces smoother, more stable signals.
- Dashed Line Settings: Traders can choose to show or hide the dashed line and can adjust its level, color, thickness, and style. This customization allows traders to adapt the indicator to their specific strategies and charting preferences.
Alerts and Signals
With the alert conditions set up in the script, traders can receive notifications when critical events occur, such as:
- ADX Crossing Above/Below the Dashed Line: This is typically a signal of an emerging trend.
- +DI and -DI Crossovers and Crossunders: These are valuable signals for identifying potential entry and exit points in trending markets.
Conclusion
This custom DMI Pine Script provides traders with a powerful tool to analyze market trends in real-time. By visualizing the ADX, +DI, and -DI indicators with customizable inputs, this script enables traders to gauge the strength and direction of a trend and make informed decisions about their trading strategies. The ability to set alerts based on specific conditions adds another layer of automation, ensuring that traders never miss an important signal. The script’s flexibility allows it to be adapted for various trading styles and market conditions, making it an invaluable addition to any trader’s toolkit.
تحليل الاتجاه
Zone Master By SUWFYZThis Pine Script indicator is a comprehensive tool designed for advanced technical analysis and trading decisions. It combines several features to identify high-probability trading opportunities by analyzing key market dynamics. The indicator uses a combination of price action, trend analysis, volume, and other filters to generate buy and sell signals. This description details the core concepts and calculations used within the indicator.
Key Features :
Supply and Demand Zones:
Automatically detects and plots potential supply and demand zones based on price action patterns. Zones are categorized as "fresh" (untouched) or "tested" (previously interacted with). The script uses a combination of swing high/low identification and price retracement to identify these areas. The visualization dynamically removes invalidated zones to maintain chart clarity.
Breakout Detection:
Identifies breakouts using a configurable method chosen by the user: Average True Range (ATR), Standard Deviation, or Linear Regression. Breakouts are confirmed when price moves beyond a defined threshold based on the selected method. Users can customize the sensitivity of the breakout detection through parameters like slope multiplier and lookback period. Alerts can be enabled for both upward and downward breakouts.
Trend Analysis:
Employs Exponential Moving Average (EMA) crossovers to determine the prevailing trend. The script supports multi-timeframe EMA confirmation, allowing users to verify trend alignment across different timeframes. Consolidation periods are identified using an ATR-based filter, which measures price volatility. Low volatility periods are flagged as potential consolidation zones.
Multi-Timeframe Analysis: Analyzes trends across up to five user-selectable timeframes. A gradient visualization on the price bars represents the strength and direction of the trend on the current timeframe. A dashboard table displays the trend direction for each selected timeframe, providing a quick overview of the market's overall bias.
Candlestick Patterns: Recognizes specific candlestick patterns to confirm potential reversals or continuations.}
Technical Indicators: Includes optional filters based on RSI, MACD, Bollinger Bands, ADX. The specific calculations for these indicators are standard implementations and to ignore false signals during consolidation period
Time-Based Filtering: Filters signals during potential consolidation periods and outside of user-defined active trading sessions.
Delay Confirmation: Implements a delay confirmation logic to reduce false signals.
Buy/Sell Signals: Generates buy and sell signals based on the confluence of the above factors. The user can customize the signal logic by enabling or disabling specific filters and adjusting their parameters.
Delta Volume Analysis: Calculates and visualizes delta volume (the difference between buying and selling volume) on the chart. This provides insight into the relative strength of buyers and sellers and trader can take definitive decision based on this.
Visualization Enhancements: Features gradient-based candle coloring to visually represent trend direction and strength, a watermark for easy identification, and an interactive trend dashboard.
Customizable Settings:
The script offers extensive customization options, including:
Supply/Demand zone colors and styles.
Breakout and trendline settings (slope calculation method, line colors, widths).
Filter and indicator on/off toggles and parameter adjustments.
Multi-timeframe selection (up to five timeframes).
Use Case Scenarios :
This indicator can be used for various trading strategies:
Intraday Trading: Utilizing supply/demand zones and breakout signals for precise entries and exits.
Swing Trading: Analyzing multi-timeframe trends for alignment with higher timeframe market conditions.
Scalping: For quick decision-making based on short-term price action.
Volume Analysis: Identifying periods of high buyer/seller activity using delta volume.
How to Use:
Add the indicator to your TradingView chart.
Configure the inputs according to your trading strategy.
Analyze the plotted supply/demand zones.
Use the gradient candles and trend dashboard to determine directional bias.
Enable desired filters to refine signals.
Set up alerts for timely action.
TrendSlope FusionTrendSlope Fusion is a TradingView indicator that merges slope-based breakouts with a dynamic cloud to highlight buy/sell signals:
It draws diagonal slope lines from recent highs or lows. When price breaks one of these lines, you’ll see a potential Buy (if breaking upwards) or Sell (if breaking down).
A trend cloud on the chart changes color—green for bullish momentum, red for bearish—to help confirm these breakouts.
If price breaks a slope line and the cloud is green, you get a Buy signal in sync with the trend.
If the cloud is red and price breaks a support slope line downward, a Sell signal appears.
This alignment of slope breakouts + trend cloud aims to filter out false moves and highlight stronger trade setups.
You can turn on/off the cloud or slope lines in the settings, letting you customize how much detail you want.
Signals (Buy or Sell labels) pop up on your chart, and you can set alerts to get notified even if you’re away.
Example: On a 15-minute BTC/USD chart, watch for a slope line drawn under recent lows. If the cloud is green and price breaks above that line, TrendSlope Fusion shows a Buy signal—indicating potential upside momentum.
By checking both the breakout and cloud color, you reduce the chance of entering trades against the overall trend.
Overall, TrendSlope Fusion makes it easier to see when price action and trend momentum align, helping you spot higher-probability opportunities in real time.
TrendSlope FusionTrendSlope Fusion is a TradingView indicator that merges slope-based breakouts with a dynamic cloud to highlight buy/sell signals:
It draws diagonal slope lines from recent highs or lows. When price breaks one of these lines, you’ll see a potential Buy (if breaking upwards) or Sell (if breaking down).
A trend cloud on the chart changes color—green for bullish momentum, red for bearish—to help confirm these breakouts.
If price breaks a slope line and the cloud is green, you get a Buy signal in sync with the trend.
If the cloud is red and price breaks a support slope line downward, a Sell signal appears.
This alignment of slope breakouts + trend cloud aims to filter out false moves and highlight stronger trade setups.
You can turn on/off the cloud or slope lines in the settings, letting you customize how much detail you want.
Signals (Buy or Sell labels) pop up on your chart, and you can set alerts to get notified even if you’re away.
Example: On a 15-minute BTC/USD chart, watch for a slope line drawn under recent lows. If the cloud is green and price breaks above that line, TrendSlope Fusion shows a Buy signal—indicating potential upside momentum.
By checking both the breakout and cloud color, you reduce the chance of entering trades against the overall trend.
Overall, TrendSlope Fusion makes it easier to see when price action and trend momentum align, helping you spot higher-probability opportunities in real time.
Fibonacci 0.786 and Shark Fin FinderHere’s a description template for your **Fibonacci 0.786 and Shark Fin Finder** indicator or strategy to share with the TradingView community. The description emphasizes its purpose, features, and how others can benefit from using it.
---
**Fibonacci 0.786 and Shark Fin Finder**
**Overview**
The **Fibonacci 0.786 and Shark Fin Finder** are custom indicator designed to help traders identify high-probability trading opportunities by combining key Fibonacci retracement levels and momentum signals. It scans for price retracements to the critical 0.786 Fibonacci level and alerts users to potential "shark fin" patterns using RSI momentum. This is ideal for traders looking for precision entries in trending or consolidating markets.
---
**Key Features**
1. **Automatic Fibonacci 0.786 Level Detection:**
Automatically calculates the 0.786 retracement level based on recent price highs and lows.
plots the level on the chart for easy reference.
2. **Shark Fin RSI Alerts:**
Detects when the RSI forms a sharp reversal from overbought (>80) or oversold (<20) zones.
Great for identifying potential reversals or pullbacks.
3. **Customizable Inputs:**
Adjust the RSI period, overbought/oversold thresholds, and lookback length to suit your trading style.
Easily adaptable for different asset classes or timeframes.
4. **Alert System:**
Sends alerts when either the 0.786 Fibonacci retracement level is reached or a Shark Fin RSI pattern is detected.
Alerts can be sent via popup, email, SMS, or webhook for automation.
---
#### **Who Should Use This?**
- **Swing Traders:** Looking to identify retracement opportunities in trending markets.
- **Scalpers:** Catching short-term reversals or pullbacks using Shark Fin RSI signals.
- **Trend Traders:** Adding confluence to entries or exits by combining Fibonacci levels with RSI momentum.
---
**How to Use It**
1. Add the indicator to your chart.
2. Watch for price nearing the plotted 0.786 Fibonacci level.
3. Look for Shark Fin RSI patterns to confirm potential reversals.
4. Use the built-in alert system for automated notifications.
5. Combine it with other technical analysis tools like trendlines, support/resistance, or volume for enhanced accuracy.
---
**Example Settings**
RSI Length:** 14
Overbought Level:** 80
Oversold Level:** 20
Lookback Length for Fibonacci:** 14 bars
---
**Trading Tips**
Use the indicator on higher timeframes (4H, daily) for swing trades and lower timeframes (15m, 1H) for scalping.
Combine it with volume analysis or candlestick patterns for stronger confirmations.
Always practice proper risk management, such as setting stop-loss and take-profit levels.
---
**Disclaimer**
This indicator is a tool to support your analysis and is not a guarantee of profitable trades. Use it alongside your trading strategy and risk management plan.
Pat EMA SignalWIP
EMA 21 & 89 Crossover buy signals. Not completely finished yet
See information in WealthGroup discord for how to utilize whop.com
Liquitive Buy/Sell Dollar AveragerLiquitive Buy/Sell Dollar Averager Indicator
The "Liquitive Buy/Sell Dollar Averager" is a versatile trading tool designed for intraday and multi-timeframe analysis, combining advanced range-bound calculations, RSI normalization, volume spikes, and candle pattern recognition to identify optimal buy and sell conditions. This indicator is particularly suitable for traders employing strategies that focus on dollar-cost averaging, position scaling, and systematic buy/sell decision-making.
Key Features:
Adaptive RSI-Based Levels:
Dynamically calculates inner bounds (IB) and outer bounds (OB) using RSI and price ranges, helping to identify overbought and oversold conditions relative to the price action.
Normalizes RSI values to the price range for seamless visualization overlaid on the chart.
Volume and Candle Analysis:
Detects significant volume spikes relative to a moving average, signaling increased market activity.
Identifies spiking green/red candles to capture momentum-driven price movements.
Dynamic Support and Resistance:
Calculates and plots support and resistance levels based on recent swing highs and lows.
Median and boundary lines help visualize key price levels for decision-making.
Profitability Check:
Buy and Sell Signals:
Checks profitability thresholds based on percentage gains/losses.
Incorporates logic for "time to buy" and "time to sell" using target profit margins.
Implements average move percentage to define realistic thresholds for buy/sell actions.
Time-Based Trading Restrictions:
Configures trading logic to disallow trades after a specific time (e.g., 3:40 PM for intraday sessions).
Ensures logical entry and exit decisions are only made within active trading hours.
Color-Coded Visualization:
Background colors dynamically shift between green (bullish), red (bearish), and neutral, depending on RSI and price position relative to the inner bounds.
Opacity of the background adjusts based on normalized RSI differences to provide a visual cue of market strength.
Customizable Parameters:
Allows user input for key settings like lookback periods, RSI length, percent ranges, volume thresholds, and transparency levels, enabling flexible configuration tailored to individual strategies.
Actionable Alerts and Signals:
Plots "Open Position", "Add to Position", and "Close Position" markers directly on the chart, making it easy to follow systematic trading rules.
How It Works:
Buy Signals:
Triggered when price conditions, volume spikes, and RSI-based thresholds align with profitability metrics.
Designed for dollar-cost averaging, identifying opportunities to add to long positions or open new positions.
Sell Signals:
Evaluates profitability conditions to identify when to close or scale out of positions.
Incorporates real-time evaluation of market momentum and profitability.
BELIKENOOTHER34 UNLIMITEDEs un script basado en varios cci en diferentes temporalidades, el que tiene el color determina la tendencia y el otro que soplo es una linea indica la mayor probabilidad de entrada después del retroceso o corrección.
Emotion Oscillator### **How to Use the Emotion Oscillator**
The **Emotion Oscillator** is a momentum-based indicator designed to identify overbought and oversold conditions in the market and generate buy or sell signals based on emotional extremes. Here’s how to use it effectively:
---
### **Key Features:**
1. **Overbought & Oversold Levels:**
- The oscillator highlights two key levels:
- **Oversold Level (-50):** Indicates a potential buying opportunity as the market might be undervalued.
- **Overbought Level (50):** Indicates a potential selling opportunity as the market might be overvalued.
- Transparent green and red areas visually emphasize these levels.
2. **Buy Signal (💰):**
- Generated when:
- The oscillator (SMI) crosses above its signal line (EMA).
- The oscillator value is below **-30** (indicating an oversold condition).
- Use this signal to consider entering a **long position**.
3. **Sell Signal (🤑):**
- Generated when:
- The oscillator (SMI) crosses below its signal line (EMA).
- The oscillator value is above **30** (indicating an overbought condition).
- Use this signal to consider entering a **short position**.
4. **Dynamic Visuals:**
- Green and red lines represent the oscillator (SMI) and signal line (EMA), respectively.
- Unicode icons help identify clear buy/sell moments.
---
### **How to Trade with the Indicator:**
1. **Buy (Long):**
- Look for a **💰 Buy Signal** below the -30 threshold.
- Enter the trade after confirming the signal with price action or another indicator.
- Place a stop loss below the recent swing low to minimize risk.
2. **Sell (Short):**
- Look for a **🤑 Sell Signal** above the 30 threshold.
- Enter the trade after confirming the signal with price action or another indicator.
- Place a stop loss above the recent swing high to minimize risk.
3. **Avoid Signals:**
- Avoid relying on signals when the oscillator is near the zero line, as they may lack momentum.
---
### **Tips for Better Results:**
- **Combine with Other Indicators:** Use the Emotion Oscillator with trend-based indicators like moving averages or Bollinger Bands for confirmation.
- **Test on Different Timeframes:** Shorter timeframes can generate more signals, while longer timeframes may provide stronger confirmations.
- **Risk Management:** Always use a risk/reward ratio (e.g., 3:1) and position sizing to manage your trades effectively.
---
The Emotion Oscillator is a versatile tool that provides insights into market momentum and emotional extremes. It is best used in conjunction with other strategies for optimal performance.
TrendCheckerTrendChecker Indicator Description
TrendChecker is a versatile tool designed to identify market trends and key support/resistance levels using dynamic moving averages (EMAs) and long-term simple moving averages (SMAs).
Key Features:
Short-Term Moving Averages (EMAs):
Uses EMA 13 and EMA 20 to track short-term momentum.
EMA colors dynamically reflect the current trend direction.
Long-Term Moving Averages (SMAs):
SMA 50 (short-term trend, black).
SMA 200 (long-term trend, blue).
The filled area between SMA 50 and SMA 200 highlights key equilibrium zones in the trend.
Candle Colors:
Green candles: Price above SMA 50 – bullish trend.
Red candles: Price below SMA 50 – bearish trend.
Golden Cross and Death Cross:
Golden Cross: SMA 50 crosses above SMA 200 – a signal of a long-term bullish trend.
Death Cross: SMA 50 crosses below SMA 200 – a signal of a long-term bearish trend.
How to Use:
Trend Identification: Quickly determine if the market is in an uptrend or downtrend.
Entry and Exit Signals:
Candles and EMAs highlight optimal entry points.
SMA 50 and SMA 200 help filter false signals.
Momentum Monitoring: EMA 13 and EMA 20 capture short-term trend changes.
Recommendations:
Best suited for 15M, 1H, and 1D timeframes.
Fully customizable with editable colors and moving average lengths.
Open Close Cross Strategy R5.1 by JustUncleL only short directioAt the strategy from JustUnlceL it change directly from short to long. For Trading Bot's this will be a problem. This Strategy open the Trade in short direction and will close the order if the Strategy from JustUncleL will open in long direction.
Open Close Cross Strategy R5.1 by JustUncleL only long directionOpen Close Cross Strategy R5.1 by JustUncleL only in long direction.
At the strategy from JustUnlceL it change directly from long to short. For Trading Bot's this will be a problem. This Strategy open the Trade in Long direction and will close the order if the Strategy from JustUncleL will open in Short direction.
Gann Levels HTFGann Levels HTF
This script plots the key Gann levels on a chart based on a selected higher time frame (HTF), enabling traders to identify important support and resistance zones. It calculates the Gann levels as fractions of the price range between the high and low of the selected time frame.
Features:
Select any time frame (default is Monthly) to calculate Gann levels.
Gann levels are plotted as:
R3 (1/8 of the price range)
R2 (1/4 of the price range)
R1 (3/8 of the price range)
P (1/2 of the price range, mid-point)
S1 (5/8 of the price range)
S2 (3/4 of the price range)
S3 (7/8 of the price range)
The script uses a stepline plot style for visual clarity.
Labels are added at the last bar to indicate the corresponding Gann levels with colors to make them easily identifiable.
Blue for R3 and S3
Green for R2 and S2
Orange for R1 and S1
Red for P (the mid-point)
This script is especially useful for traders following the principles of Gann Theory, providing an easy-to-use tool for detecting key levels that may act as support or resistance.
Use it on lower Timeframes with selected Higher Timeframe
TEMA Strategy for GoldThis strategy attempts to apply a trendfollowing style to trading the gold instrument on a 5-minute timeframe. I used CHATGPT to write the script and made the necessary adjustments and fine-tuning to my prompts. I want to use the Triple EMA indicator (TEMA) on trading view but I can't seem to find the source code for the indicator. If you find it, and want to develop the strategy more, feel free to leave a message for me in my inbox. Thanks. I hope you enjoy using this!
TMA - RSI Divergence Indicator - upgraded to ver6 Pine EditorKey Features
Divergence Detection:
The indicator detects four types of divergences:
Regular Bullish Divergence: RSI forms a higher low while price forms a lower low.
Hidden Bullish Divergence: RSI forms a lower low while price forms a higher low.
Regular Bearish Divergence: RSI forms a lower high while price forms a higher high.
Hidden Bearish Divergence: RSI forms a higher high while price forms a lower high.
Customizable Inputs:
RSI Parameters:
len: RSI period.
src: RSI source (e.g., close price).
Pivot Lookback:
lbR and lbL: Lookback periods for identifying pivot points (used to determine divergences).
Lookback Range:
rangeUpper and rangeLower: Defines the maximum and minimum range for divergence detection.
Visualization:
Plots the RSI as a yellow line.
Optionally overlays a Smoothed Moving Average (SMMA) on the RSI for trend confirmation.
Marks divergence points with labels (Bull, H Bull, Bear, H Bear) and plots corresponding lines at detected pivots.
Alerts:
Alerts are generated for each type of divergence when they are detected.
Analysis of the Core Logic
1. RSI Calculation
RSI is computed using ta.rsi(src, len), where the source is user-defined (default: close price).
2. SMMA (Smoothed Moving Average)
A custom implementation of SMMA (exponential smoothing) is included for trend confirmation:
Properly initialized using ta.sma().
Subsequent values calculated iteratively.
3. Divergence Detection
Pivot Detection:
ta.pivotlow() and ta.pivothigh() identify pivot lows and highs in the RSI based on lbL (left lookback) and lbR (right lookback).
Conditions for Divergence:
The script checks whether RSI and price meet divergence criteria:
Regular Bullish: RSI higher low (oscHL), price lower low (priceLL).
Hidden Bullish: RSI lower low (oscLL), price higher low (priceHL).
Regular Bearish: RSI lower high (oscLH), price higher high (priceHH).
Hidden Bearish: RSI higher high (oscHH), price lower high (priceLH).
Lookback Range Enforcement:
_inRange() ensures divergence pivots are within the specified lookback range (rangeLower to rangeUpper).
Strengths
Comprehensive Divergence Detection:
Detects both regular and hidden divergences for bullish and bearish scenarios.
Customization:
Allows users to configure RSI parameters, lookback ranges, and divergence types to suit their trading strategies.
Visualization:
Clear labels and lines highlight divergence points.
Optional SMMA adds an additional trend-following component.
Alerts:
Automated alerts enable traders to react quickly to divergence signals.
Proper Use of Pine Script Features:
Efficient pivot and divergence detection using built-in functions (ta.pivotlow, ta.pivothigh, ta.barssince, etc.).
Potential Improvements
Dynamic Line Colors for RSI:
Change the RSI line color dynamically based on whether it's above or below the SMMA (currently always yellow).
Advanced Alerts:
Include additional information in the alert (e.g., time, price level, and divergence type).
Range Visualization:
Plot shaded regions or vertical lines to indicate the lookback range (rangeLower to rangeUpper) for better visual context.
Price Lines:
Draw price-based divergence lines on the chart overlay for easier comparison between price and RSI.
Filter Weak Signals:
Introduce a strength filter (e.g., minimum divergence magnitude or minimum RSI change) to reduce false positives.
Performance Optimization:
Refactor code to optimize for large datasets, especially the SMMA initialization and pivot-based lookbacks.
Use Cases
Trend Reversals:
Identify potential reversals by spotting divergences before they occur.
Trend Continuation:
Use hidden divergences to confirm the continuation of the existing trend.
Combination with Other Indicators:
Use alongside moving averages, Bollinger Bands, or MACD for additional confirmation.
TMA - RSI Divergence Indicator - upgraded to ver6 Pine EditorKey Features
Divergence Detection:
The indicator detects four types of divergences:
Regular Bullish Divergence: RSI forms a higher low while price forms a lower low.
Hidden Bullish Divergence: RSI forms a lower low while price forms a higher low.
Regular Bearish Divergence: RSI forms a lower high while price forms a higher high.
Hidden Bearish Divergence: RSI forms a higher high while price forms a lower high.
Customizable Inputs:
RSI Parameters:
len: RSI period.
src: RSI source (e.g., close price).
Pivot Lookback:
lbR and lbL: Lookback periods for identifying pivot points (used to determine divergences).
Lookback Range:
rangeUpper and rangeLower: Defines the maximum and minimum range for divergence detection.
Visualization:
Plots the RSI as a yellow line.
Optionally overlays a Smoothed Moving Average (SMMA) on the RSI for trend confirmation.
Marks divergence points with labels (Bull, H Bull, Bear, H Bear) and plots corresponding lines at detected pivots.
Alerts:
Alerts are generated for each type of divergence when they are detected.
Analysis of the Core Logic
1. RSI Calculation
RSI is computed using ta.rsi(src, len), where the source is user-defined (default: close price).
2. SMMA (Smoothed Moving Average)
A custom implementation of SMMA (exponential smoothing) is included for trend confirmation:
Properly initialized using ta.sma().
Subsequent values calculated iteratively.
3. Divergence Detection
Pivot Detection:
ta.pivotlow() and ta.pivothigh() identify pivot lows and highs in the RSI based on lbL (left lookback) and lbR (right lookback).
Conditions for Divergence:
The script checks whether RSI and price meet divergence criteria:
Regular Bullish: RSI higher low (oscHL), price lower low (priceLL).
Hidden Bullish: RSI lower low (oscLL), price higher low (priceHL).
Regular Bearish: RSI lower high (oscLH), price higher high (priceHH).
Hidden Bearish: RSI higher high (oscHH), price lower high (priceLH).
Lookback Range Enforcement:
_inRange() ensures divergence pivots are within the specified lookback range (rangeLower to rangeUpper).
Strengths
Comprehensive Divergence Detection:
Detects both regular and hidden divergences for bullish and bearish scenarios.
Customization:
Allows users to configure RSI parameters, lookback ranges, and divergence types to suit their trading strategies.
Visualization:
Clear labels and lines highlight divergence points.
Optional SMMA adds an additional trend-following component.
Alerts:
Automated alerts enable traders to react quickly to divergence signals.
Proper Use of Pine Script Features:
Efficient pivot and divergence detection using built-in functions (ta.pivotlow, ta.pivothigh, ta.barssince, etc.).
Potential Improvements
Dynamic Line Colors for RSI:
Change the RSI line color dynamically based on whether it's above or below the SMMA (currently always yellow).
Advanced Alerts:
Include additional information in the alert (e.g., time, price level, and divergence type).
Range Visualization:
Plot shaded regions or vertical lines to indicate the lookback range (rangeLower to rangeUpper) for better visual context.
Price Lines:
Draw price-based divergence lines on the chart overlay for easier comparison between price and RSI.
Filter Weak Signals:
Introduce a strength filter (e.g., minimum divergence magnitude or minimum RSI change) to reduce false positives.
Performance Optimization:
Refactor code to optimize for large datasets, especially the SMMA initialization and pivot-based lookbacks.
Use Cases
Trend Reversals:
Identify potential reversals by spotting divergences before they occur.
Trend Continuation:
Use hidden divergences to confirm the continuation of the existing trend.
Combination with Other Indicators:
Use alongside moving averages, Bollinger Bands, or MACD for additional confirmation.
Moving Average Distance between MA coloredThe distance between short and long moving average of prices MAD
Momentum
Predictor of equity returns
Mother Range by Ayush ShrivastavMother Range is a dynamic Indicator which works for analysing the morning sentiment or direction of the market movement. If it gives any entry setup on Mother resistance, support orr average it gives proper entry and you can add fib to predict the average targets after the market starts the momentum. If you can predict the Range of the day as Narrow or broader then you can create respective strategy as per your RR rules.
Mother Range by Ayush Shrivastav.It is a theory which gives various opportunities to track the market movement after 9:30 AM. If market give any retracement or consolidation on Mother Resistance, support or average you can execute buying or selling with your entry setup. and if it goes above or below you can stay in rally by maintaining mother last range as SL wrt to your entry level.
Mother Range by Ayush Shrivastav.It is a theory which gives various opportunities to track the market movement after 9:30 AM. If market give any retracement or consolidation on Mother Resistance, support or average you can execute buying or selling with your entry setup. and if it goes above or below you can stay in rally by maintaining mother last range as SL wrt to your entry level.
Special Forces Supertrend | JeffreyTimmermansSpecial Forces Supertrend Indicator
The "Special Forces Supertrend" is a cutting-edge trading indicator designed by Jeffrey Timmermans to provide traders with actionable insights into market trends. It combines advanced moving averages with dynamic range calculations to adapt to changing market conditions, ensuring clear and reliable trend identification.
Core Features
Trend Identification:
Integrates a customizable moving average (MA) with multiple types such as SMA, EMA, SMMA, WMA, VWMA, TEMA, DEMA, LSMA, HMA, or ALMA.
Employs a dynamic range calculation using the highest high over a user-defined period, modified by adjustable multipliers.
Offers the option to switch between average range and specific lookback periods for increased adaptability.
Signal Generation:
Scores are calculated based on price action relative to the moving average and dynamic range.
Generates bullish (long) and bearish (short) crossover signals using these scores.
Alerts for long and short conditions are integrated, ensuring traders never miss an opportunity.
Visual Indicators:
Candlestick Coloring: Trends are visually distinguished—greenish hues for bullish conditions and purplish hues for bearish conditions.
Moving Average Line: A semi-transparent, color-coded line dynamically adjusts to match the trend direction for improved clarity.
Range Visualization: A semi-transparent shaded area indicates potential support or resistance levels based on the average range calculation.
Customization Options
Range Settings:
Length: Determines the period for calculating the highest high.
Lookback Alpha & Beta: Enables varied lookback periods for range computation.
Multiplier Alpha & Beta: Fine-tune the range sensitivity using these multipliers.
Use Average Range: Toggle between average range or specific lookback periods for signal generation.
Source Input: Select a data source (e.g., close price) to adapt the range calculation for highly volatile assets.
Moving Average Settings:
Type MA: Choose from multiple moving average methods to suit different trading styles.
Length: Define the length for the moving average calculation.
Source: Specify the price source (default is close price).
Color Customization: Choose personalized colors for bullish and bearish trends to align with your trading environment.
Alerts:
Supertrend Long Alert: Notifies when a bullish crossover is detected.
Supertrend Short Alert: Notifies when a bearish crossover is detected.
How to Use
The Special Forces Supertrend indicator is a versatile tool that excels in identifying and confirming trends.
For optimal performance:
Use it in combination with other indicators or analysis methods to validate signals.
Adjust its parameters to align with specific market instruments or your trading strategy.
This indicator is tailored to meet the needs of both novice and experienced traders, providing flexibility, reliability, and clear visual cues for navigating complex market dynamics.
-Jeffrey
[𝐊𝖕𝖙-𝑨𝖍𝖆𝖇] Multicator Heatmap 1.0Various oscillators summarized in a trend heatmap
Configure different indicators individually.
Insert external indicators.
Equilibrium ZonesEquilibrium Zones
This script identifies equilibrium zones within a specified range of bars, providing valuable insights into potential support and resistance levels. By analyzing the highest and lowest prices over a user-defined range, the script calculates the equilibrium price and additional levels around it to highlight demand, supply, and resistance/support zones.
Features:
Equilibrium Zone:
Calculates the equilibrium price as the midpoint between the range's highest and lowest prices.
Highlights key levels around the equilibrium, such as primary and secondary support/resistance levels.
Visual Representation:
Displays horizontal lines for each level with customizable colors and styles.
Adds descriptive labels next to the lines for better clarity on the chart.
User Inputs:
Range Length: Specify the number of bars to analyze for calculating the range.
Offset: Adjust the label placement for better visibility.
Dynamic Updates:
Automatically updates lines and labels to keep the chart clean and focused.
How to Use:
Add the script to your chart.
Customize the Range Length and Offset inputs to fit your analysis style.
Observe the equilibrium zones and use them to identify potential breakout, reversal, or consolidation areas.