Coppock Curve
The Coppock Curve is a long-term momentum indicator, also known as the "Coppock Guide," used to identify potential long-term market turning points, particularly major downturns and upturns, by smoothing the sum of 14-month and 11-month rates of change with a 10-month weighted moving average.
Here's a more detailed breakdown:
What it is:
The Coppock Curve is a technical indicator designed to identify long-term buy and sell signals in major stock market indices and related ETFs.
How it's calculated:
Rate of Change (ROC): The indicator starts by calculating the rate of change (ROC) for 14 and 11 periods (usually months).
Sum of ROCs: The ROC for the 14-period and 11-period are summed.
Weighted Moving Average (WMA): A 10-period weighted moving average (WMA) is then applied to the sum of the ROCs.
Interpreting the Curve:
Buy Signals: A buy signal is often generated when the Coppock Curve crosses above the zero line, suggesting a potential transition from a bearish to a bullish phase.
Sell Signals: While primarily designed to identify market bottoms, some traders may interpret a cross below the zero line as a sell signal or a bearish warning.
Origin and Purpose:
The Coppock Curve was introduced by economist Edwin Coppock in 1962.
It was originally designed to help investors identify opportune moments to enter the market.
Coppock's inspiration came from the Episcopal Church's concept of the average mourning period, which he believed mirrored the stock market's recovery period.
Limitations:
The Coppock Curve is primarily used for long-term analysis and may not be as effective for short-term or intraday trading.
It may lag in rapidly changing markets, and its signals may not always be reliable.
Indicators and strategies
RSI + VWAP + MA + Volume Signalsa script using a good level of rsi with much filtrations from MA and vwap
VWAP with EMA Cross + Dynamic Colorupdated version of the vwap plus with 9ema cross and changes color based on if price is above or blow vwap . and a floating bullish or bearish sign to stay on right side of market
Extended Hour Range with Midline – All SessionsThe extended hour range indicator plots the range in the extended hour and the 2x projections
Nifty 1H Pure Supertrend + EMA StrategyThis is weekly Nifty Strategy. Every Entry exit based on Closing of 1HR TF.
For Long Entry condition- Sell PE of 40Delta and Buy PE of 25 delta.
For Short Entry Condition - Sell CE of 40D and buy CE of 25D.
Exit - If ST turns Red for Long and Green for Short Entry.
If Entry Signal on Thurs or Fri - Sell Current Week Expiry option.
If Entry Signal on Mon, Tue of Wed sell Next Week Expiry Option.
MTF MACD Histogram ROC - Custom 3 TimeframesBelow is a description of the "MTF MACD Histogram ROC - Custom 3 Timeframes" indicator, along with instructions on how to use it in TradingView. This assumes the latest corrected code I provided.
---
### Indicator Description: MTF MACD Histogram ROC - Custom 3 Timeframes
The "MTF MACD Histogram ROC - Custom 3 Timeframes" is a multi-timeframe (MTF) technical indicator designed for TradingView (Pine Script v5). It leverages the Moving Average Convergence Divergence (MACD) Histogram and its Rate of Change (ROC) to highlight potential bullish momentum across three user-defined timeframes simultaneously. Instead of plotting the MACD lines or histogram directly, it uses background colors to visually indicate when specific conditions are met on your chart, making it a clean and intuitive tool for traders.
#### How It Works
For each of the three customizable timeframes:
1. **MACD Histogram Calculation**: The indicator computes the MACD Histogram, which is the difference between the MACD Line (fast EMA - slow EMA) and the Signal Line (EMA of the MACD Line).
2. **Rate of Change (ROC)**: It calculates the ROC of the Histogram as the difference between the current Histogram value and the previous bar’s value.
3. **Condition for Highlighting**: The chart background is highlighted with a user-selected color when:
- The MACD Histogram is positive (above zero), indicating bullish momentum.
- The Histogram ROC is positive (increasing), suggesting accelerating bullish strength.
4. **Multi-Timeframe**: The indicator evaluates these conditions independently for three timeframes, each with its own background color, allowing you to monitor momentum across different resolutions on a single chart.
#### Key Features
- **Custom Timeframes**: Choose three timeframes from a dropdown (e.g., 1-minute, 5-minute, 15-minute, etc.).
- **Flexible Price Input**: Select the price type (e.g., close, high, low, open, etc.) used for MACD calculations.
- **Adjust
Smoothed EMA Heiken AshiSmoothed EMA Heikinashi for trading.
Default is : (Before HA) 10 / (After HA) 10
Swing Trading is : 20 / 20 * Only a recommendation
Scalping is: 5 / 5 * Only a recommendation
Market Sessions & LevelsOverview
This Pine Script indicator identifies key trading levels and market sessions, making it easier for traders to analyze price movements. It highlights the previous day's high and low, tracks premarket price action, and marks the first 5-minute high and low after the market opens.
Features
✅ Identifies Market Sessions:
Pre-Market Session (4:30 AM - 9:30 AM EST)
Regular Market Session (9:30 AM - 4:00 PM EST)
✅ Tracks Key Levels:
Previous Day’s High & Low
Premarket High & Low
First 5-Minute High & Low after market open
✅ Visual Cues for Easy Analysis:
Plots horizontal lines for each level with distinct colors
Displays labels for key price levels on the chart
How It Helps Traders
📊 Pre-Market Preparation: Helps traders spot key resistance/support levels before the market opens.
🚀 Momentum Trading: The first 5-minute high/low can act as breakout or reversal zones.
📉 Historical Price Context: Uses the previous day's high/low to gauge market sentiment.
Customization
The script can be easily modified to adjust session timings, colors, or additional levels based on your trading strategy.
💡 How to Use:
Apply the script to a 1-minute or 5-minute chart for the most accurate premarket and first 5-minute tracking.
Look for price reactions at the plotted levels to determine potential trade setups.
Market Bias with Multiple TimeframesLets you choose multiple Market bias in multi timeframe way. Enjoy.
Candle Body PercentageShow you the candle percentage that you can use.
Perfect to know strength candle.
H12 Candle DirectionDisplays a green dot if the preceding H12 candle closed bullish or red if it was bearish.
Supertrend Fix1. Strategy Concept:
A. Ema Crossover of 20 and 50
B. Supertrend signal
C. Volume breakout of before 20 candles
Whenever ema crossed above and supertrend gives buy signal and Volume breaks out it will take a buy trade and in opposite scenario it will take a short trade.
2. Indicators Used: Ema 20 and Ema 50, Volume, supertrend.
3. Buy/Sell Conditions: Only when all 3 conditions satisfys then take entry.
4. Timeframe: 5m
🟢 Continuous 5:30 PM IST Session High/LowThis indicator plots previous session's high and low levels based on a custom session window:
🕔 5:30 PM IST to 5:30 PM IST (next day) — regardless of the chart’s timezone or resolution.
How it works:
At exactly 5:30 PM IST (== 12:00 UTC), the script captures the high and low of the entire previous session
These levels are then plotted as continuous lines, similar to Supertrend
When a new session completes, the levels update automatically, keeping the view clean and dynamic
VWAP + 2-Bar 9 EMA + Secondary MA System✅1. VWAP + 9 EMA Trend System
Detects when the 9 EMA crosses above or below the VWAP.
Bullish cross (9 EMA above VWAP with price confirmation) triggers a green vertical line and "VWAP BUY" label.
Bearish cross triggers a red vertical line and "VWAP SELL" label.
Use this to identify major trend shifts and momentum changes.
✅2-Bar EMA Signal System (Clean Entry/Exit Triggers)
Buy signal: When the previous two closes are above the 9 EMA.
Sell signal: When the previous two closes are below the 9 EMA.
One signal per direction: Prevents clutter by avoiding duplicate signals during trend continuation.
Great for cleaner entries after confirmation or for short-term directional bias.
✅3. Secondary Moving Average (Optional)
Select from SMA, EMA, WMA, VWMA, or RMA.
Customize the length (commonly used for 100 or 200 MA).
Use as a long-term trend filter or additional confluence.
🎛 Customization Options:
Toggle each system on or off independently
Choose secondary MA type and length
View or hide individual lines: VWAP, 9 EMA, secondary MA
Alert-ready for all buy/sell signals
🧠 Ideal For:
Trend traders
Reversal traders
Confirmation-based entries
Intraday and swing trading
VIDYA Auto-Trading(Reversal Logic)Overview
This script is a dynamic trend-following strategy based on the Variable Index Dynamic Average (VIDYA). It adapts in real time to market volatility, aiming to enhance entry precision and optimize risk management.
⚠️ This strategy is intended for educational and research purposes. Past performance does not guarantee future results. All results are based on historical simulations using fixed parameters.
Strategy Objectives
The objective of this strategy is to respond swiftly to sudden price movements and trend reversals, providing consistent and reliable trade signals under historical testing conditions. It is designed to be intuitive and efficient for traders of all levels.
Key Features
Momentum Sensitivity via VIDYA: Reacts quickly to momentum shifts, allowing for accurate trend-following entries.
Volatility-Based ATR Bands: Automatically adjusts stop levels and entry conditions based on current market volatility.
Intuitive Trend Visualization: Uptrends are marked with green zones, and downtrends with red zones, giving traders clear visual guidance.
Trading Rules
Long Entry: Triggered when price crosses above the upper band. Any existing short position is closed.
Short Entry: Triggered when price crosses below the lower band. Any existing long position is closed.
Exit Conditions: Positions are reversed based on signal changes, using a position reversal strategy.
Risk Management Parameters
Market: ETHUSD(5M)
Account Size: $3,000 (reasonable approximation for individual traders)
Commission: 0.02%
Slippage: 2 pip
Risk per Trade: 5% of account equity (adjusted to comply with TradingView guidelines for realistic risk levels)
Number of Trades: 251 (based on backtest over the selected dataset)
⚠️ The risk per trade and other values can be customized. Users are encouraged to adapt these to their individual needs and broker conditions.
Trading Parameters & Considerations
VIDYA Length: 10
VIDYA Momentum: 20
Distance factor for upper/lower bands: 2
Source: close
Visual Support
Trend zones, entry points, and directional shifts are clearly plotted on the chart. These visual cues enhance the analytical experience and support faster decision-making.
Visual elements are designed to improve interpretability and are not intended as financial advice or trade signals.
Strategy Improvements & Uniqueness
Inspired by the public work of BigBeluga, this script evolves the original concept with meaningful enhancements. By combining VIDYA and ATR bands, it offers greater adaptability and practical value compared to conventional trend-following strategies.
This adaptation is original work and not a direct copy. Improvements are designed to enhance usability, risk control, and market responsiveness.
Summary
This strategy offers a responsive and adaptive approach to trend trading, built on momentum detection and volatility-adjusted risk management. It balances clarity, precision, and practicality—making it a powerful tool for traders seeking reliable trend signals.
⚠️ All results are based on historical data and are subject to change under different market conditions. This script does not guarantee profit and should be used with caution and proper risk management.
2013-2025 EclipsesIndicator Description: 2013-2025 Eclipses
This Pine Script (version 5) indicator overlays solar and lunar eclipse events on a TradingView chart, covering the period from 2013 to 2025. It is designed for traders and astrology enthusiasts who wish to visualize these significant astronomical events alongside price action, potentially identifying correlations with market movements or key turning points.
Features:
Eclipses:
Visualization: Displayed as a semi-transparent aqua background highlight across the chart.
Data: Includes 48 specific eclipse dates (both solar and lunar) from April 25, 2013, to September 21, 2025.
Purpose: Highlights dates of eclipses, which are often considered powerful astrological events associated with sudden changes, revelations, or significant shifts in energy and market sentiment.
Technical Details:
Overlay: The indicator is set to overlay=true, ensuring it displays directly on the price chart rather than in a separate pane.
Date Matching: Utilizes a helper function is_date(y, m, d) to determine if the current chart date matches any of the predefined eclipse dates, using TradingView's year, month, and dayofmonth variables.
Visualization Method:
bgcolor: Applies a light aqua background (using color.new(color.aqua, 85)) on the specific dates of eclipses. The transparency level of 85 allows price action to remain visible through the highlight.
Time Range: Spans from April 2013 to September 2025, covering a 12+ year period of eclipse events.
Usage:
Add the script to your TradingView chart to see eclipse dates highlighted with an aqua background on your chosen symbol and timeframe.
The background highlight appears only on the exact dates of eclipses, making it easy to spot these events amidst price data.
Ideal for those incorporating astrological analysis into trading or studying the potential impact of eclipses on financial markets.
Notes:
The script uses a single-line definition for eclipse_dates to ensure compatibility with Pine Script v5 syntax and avoid line continuation errors.
The aqua color matches the original circle-based visualization, with transparency adjustable via the color.new(color.aqua, 85) parameter (0 = fully opaque, 100 = fully transparent).
Works best on daily or higher timeframes for clear visibility of individual eclipse dates, though it functions on any TradingView-supported timeframe.
Eclipse dates should be cross-checked with astronomical sources for critical applications, as the script relies on the provided data accuracy.
Purpose:
This indicator provides a straightforward way to track eclipses over a 12-year period, offering a visual representation of these potent celestial events. By using a background highlight instead of markers, it maintains chart clarity while emphasizing the specific days when eclipses occur, potentially aiding in the analysis of their influence on market behavior or personal trading strategies.
2013-2025 Moon Phases & Mercury RetrogradesIndicator Description: 2013-2025 Moon Phases & Mercury Retrogrades
This Pine Script (version 5) indicator overlays key astrological events on a TradingView chart, specifically tracking full moons, new moons, and Mercury retrograde periods from 2013 to 2025. It is designed to help traders and astrology enthusiasts visualize these celestial events alongside price action, potentially identifying correlations or patterns.
Features:
New Moons:
Visualization: Plotted as small white circles above the price bars.
Data: Includes 156 specific new moon dates from January 11, 2013, to December 20, 2025.
Purpose: Marks the start of the lunar cycle, often associated with new beginnings or shifts in energy.
Full Moons:
Visualization: Plotted as small orange circles above the price bars.
Data: Includes 157 specific full moon dates from January 27, 2013, to December 15, 2025.
Purpose: Highlights the peak of the lunar cycle, often linked to heightened emotions or market volatility in astrological analysis.
Mercury Retrogrades:
Visualization: Displayed as a light red background highlight across the chart.
Data: Covers 39 Mercury retrograde periods, with precise start and end timestamps from February 23, 2013, to November 29, 2025.
Purpose: Indicates periods traditionally associated with communication issues, delays, or reversals, which some traders monitor for potential market impacts.
Technical Details:
Overlay: The indicator is set to overlay=true, meaning it displays directly on the price chart rather than in a separate pane.
Date Matching: Uses a helper function is_date(y, m, d) to check if the current chart date matches any of the predefined event dates, leveraging TradingView's year, month, and dayofmonth variables.
Visualization Methods:
plotshape: Used for new moons (white circles) and full moons (orange circles), positioned above bars for clear visibility.
bgcolor: Used for Mercury retrograde periods, applying a semi-transparent red highlight (transparency level 85) to the background during active retrograde periods.
Time Range: Spans from January 2013 to December 2025, providing a comprehensive 13-year view of these astrological events.
Usage:
Add the script to your TradingView chart to see new moons, full moons, and Mercury retrograde periods overlaid on your chosen symbol and timeframe.
The white and orange circles appear on specific dates, while the red background highlights extend across the duration of each Mercury retrograde period.
Useful for traders incorporating astrology into their analysis or anyone interested in tracking these celestial events alongside financial data.
Notes:
The script assumes accurate date data as provided; users should verify dates against astronomical sources if precision is critical.
The transparency of the Mercury retrograde background can be adjusted by modifying the value in color.new(color.red, 85) (0 = fully opaque, 100 = fully transparent).
Best viewed on daily or higher timeframes for clarity, though it works on any timeframe supported by TradingView.
This indicator provides a visual tool to explore the potential influence of lunar phases and Mercury retrograde periods on market behavior, blending astrology with technical analysis in a clear, customizable format.
Moving AveragesThis script contains the most important averages, which are:
- EMA 20
- EMA 50
- EMA 100
- EMA 200
- SMA 200
Trendingline ZMDConfirming the Breakout
To avoid false breakouts, consider these confirmation signals:
A candle close beyond the trendline.
Increased volume during the breakout.
Retesting the trendline as support/resistance.
Trading the Breakout
Entry: Enter a trade after confirmation signals.
Stop Loss: Place a stop loss slightly beyond the trendline to limit risk.
Take Profit: Set profit targets based on support/resistance levels or Fibonacci extensions.
Trendline Retest Strategy
After breaking a trendline, the price often retests the broken trendline before continuing in the new direction. If the price respects the trendline as a new support/resistance, it adds further confirmation.
By following these steps, traders can effectively use trendline breakouts to identify high-probability trading opportunities.
Engulfing Candle Indicator with Single AlertEngulfing Candle Indicator with Alerts
This custom Pine Script indicator identifies Bullish and Bearish Engulfing Candles on the price chart, which are key reversal patterns. A Bullish Engulfing occurs when a smaller bearish candle is completely engulfed by a subsequent bullish candle, signaling a potential upward trend. Conversely, a Bearish Engulfing happens when a bullish candle is engulfed by a following bearish candle, indicating a possible downward trend.
The indicator highlights these patterns on the chart with green arrows for Bullish Engulfing and red arrows for Bearish Engulfing. It also includes an alert system that notifies the user whenever either of these patterns occurs.
The script uses an Average True Range (ATR) filter to ensure that the engulfing candles have sufficient size relative to market volatility. Additionally, users can adjust the minimum engulfing size to fine-tune the signal.