3min Breakout StrategyBreakout Strategy - Publication Notes
Overview
A Pine Script v5 strategy using multi-timeframe analysis to trade breakouts. Identifies peaks and dips on the 3-minute chart and enters trades on the 1-minute chart with momentum confirmation.
Key Features
Multi-Timeframe: Combines 3-minute trend analysis with 1-minute entries.
EMA-Based: Uses a 60-period EMA (3-min) for trend and key levels.
Peak/Dip Logic: Detects swing highs (peaks) and lows (dips).
Momentum: Confirms entries with RSI and EMA signals.
Stop Loss: Exits at the dip level.
How It Works
3-Minute: Tracks peaks above the EMA and dips below it (3+ bearish candles).
1-Minute: Enters long on a breakout above the peak with rising EMA and RSI; exits below the dip.
Candlestick analysis
SMA 22 with Color ChangeThis TradingView indicator plots a 22-period Simple Moving Average (SMA) with dynamic color changes based on its slope direction:
Green when the SMA is rising.
Red when the SMA is falling.
💡 Key Features:
Customizable SMA length (default: 22).
Visual color feedback to easily identify uptrends and downtrends.
Ideal for spotting momentum shifts and trend direction at a glance.
👉 This script enhances the default SMA indicator by adding color-coded slope visualization, making it easier to interpret price trends.
Overextension Oscillator [by MR_LUCAS_01]The Overextension Oscillator is a custom TradingView indicator designed to detect market overextension by analyzing swing highs/lows, price distance from swings, and momentum shifts. It helps traders identify potential reversal zones where price is likely to retrace after an overextended move.
---
Key Features:
✅ Swing High/Low Detection – Identifies key pivot points to measure market extension.
✅ Overextension Calculation – Measures how far price has moved from recent swings.
✅ Oscillator with Smoothing – Uses EMA-based smoothing to generate reliable signals.
✅ Buy & Sell Signals – Highlights potential entry points when price reaches extreme zones.
✅ Color-Coded Candle Plotting – Enhances visibility of bullish and bearish zones.
✅ Threshold-Based Alerts – Notifies traders when price extends beyond a calculated limit.
---
How It Works:
1. Swing Point Detection:
Detects pivot highs/lows over a defined number of bars.
Measures the percentage difference between recent swing highs and lows.
2. Overextension Calculation:
Determines how far price has moved from the last significant swing.
Compares this movement to historical averages to assess overextension.
3. Oscillator Processing:
Creates an oscillator with smoothing to filter noise.
Highlights when price moves too far from equilibrium.
4. Buy & Sell Signal Generation:
Buy Signal: Price falls below a threshold relative to the last swing low.
Sell Signal: Price rises above a threshold relative to the last swing high.
Includes a cooldown period to avoid rapid repeated signals.
---
Visualization:
Bullish & Bearish Candles:
Green candles indicate bullish overextensions (potential reversals up).
Red candles indicate bearish overextensions (potential reversals down).
Signal Line (Neutral Color):
Plots a smoothed oscillator to track overextension movements.
Reference Levels:
0 Line: Center equilibrium.
+20 & -20 Bands: Indicate potential reversal zones.
Buy & Sell Signal Markers:
Green circles (Buy Signals) at oversold conditions.
Red circles (Sell Signals) at overbought conditions.
---
Customization Options:
Swing Detection Lengths – Adjust bar lookback periods for pivots.
Oscillator Smoothing – Modify EMA lengths for signal clarity.
Threshold Sensitivity – Fine-tune overextension criteria.
Cooldown Period – Prevent excessive signals in rapid moves.
---
Use Cases:
✔ Reversal Traders – Identify overextended price action for mean reversion trades.
✔ Trend Traders – Use as a filter to confirm pullback entries in trends.
✔ Scalpers & Swing Traders – Find quick reversals in volatile markets.
---
Conclusion:
The Overextension Oscillator is a powerful tool that helps traders identify extreme price movements and anticipate potential reversals. By combining swing analysis, distance measurements, and smoothed oscillations, it provides clear buy/sell signals in overextended markets.
Buy and Sell Signals (London & New York Opens)this is the indicator only helpful in 5 min time frame when previous day candle is in sell direction only take sell signal as entry uncheck buy option in settings and when previous day candle is in buy direction only take buy signal then uncheck sell option risk is swing high reward is 2 times to risk
Three Red WicksThe indicator will mark spots on your chart where three red candles appear in a row. You can modify the marker's color, shape, or position by adjusting the plotshape parameters if desired.
Would you like me to modify anything in this indicator, like changing the marker style or adding additional conditions?
Advanced Multi-Indicator Strategy"Advanced Multi-Indicator Strategy" is a sophisticated trading strategy designed to analyze multiple market indicators and provide buy and sell signals based on a combination of technical factors. The strategy uses various indicators, including moving averages, momentum oscillators, trend-following indicators, and price patterns to create a robust entry and exit framework for trading.
Key Components:
Price Action and Trend Indicators:
The strategy considers the price action by ensuring that the closing price is greater than the opening price (bullish indication) and the closing price is above 1.
It also incorporates a set of Exponential Moving Averages (EMAs) of various periods (EMA3, EMA5, EMA8, EMA13, EMA21, EMA55, EMA100) to confirm the trend direction. A buy signal is generated only when all EMAs are aligned in a bullish sequence, i.e., the shorter-period EMAs are above the longer-period EMAs.
Momentum Indicators:
MACD: The strategy uses the MACD to confirm momentum. A buy signal is generated when the MACD value is positive and the MACD signal line is below the MACD line, indicating bullish momentum.
RSI (Relative Strength Index): The strategy checks that the RSI is below 70, ensuring that the market is not overbought, and room remains for upward movement.
Rate of Change (ROC): This is used to identify the speed of price movement. A ROC value less than 100 is required to avoid excessive price volatility.
Commodity Channel Index (CCI): A positive CCI indicates the market is in an uptrend.
Money Flow Index (MFI): The strategy ensures that the MFI is below 80, indicating that there is no excessive buying pressure.
Volume and Market Strength:
The On-Balance Volume (OBV) indicator is used to ensure that the volume is confirming the price movement. A positive OBV is required for a buy signal.
Additionally, the strategy checks that the volume multiplied by the closing price is greater than 10 million, ensuring there is substantial market activity backing the move.
Pattern Recognition:
Stochastic RSI: The Stochastic RSI values (%K and %D) are monitored to ensure the market is not in an overbought or oversold condition.
Parabolic SAR: The strategy ensures that the SAR (Stop-and-Reverse) is below the current price, confirming an uptrend.
Hanging Man Candlestick: The strategy checks for a Hanging Man candlestick pattern as a potential sell signal if detected during a price move.
ADX (Average Directional Index):
The ADX and its components (+DI and -DI) are used to confirm the strength of the trend. The strategy ensures that +DI is above the ADX and -DI, indicating a strong upward trend.
Buy Condition:
A buy signal is generated when:
The closing price is greater than the opening price.
The EMAs are in a bullish sequence (shorter EMAs above longer EMAs).
The MACD is above 0, and the MACD line crosses above the signal line.
The RSI is below 70 (avoiding overbought conditions).
Aroon values suggest a strong uptrend.
The Bollinger Bands upper band is above the close price.
On-Balance Volume (OBV) confirms buying volume.
The ADX confirms the trend strength.
Additional filters such as ROC, CCI, MFI, and Stochastic RSI ensure market conditions are favorable for a buy.
Sell Condition:
The strategy considers a sell signal when:
The EMA5 crosses below EMA8 (a trend reversal).
There have been three consecutive bearish candles (close < open).
A Hanging Man candlestick pattern is detected.
ADX or +DI / -DI values indicate weakening trend strength.
Indicator Plots:
EMAs (3, 5, 8, 13, 21, 55, 100) are plotted on the main chart to visualize trend direction.
Bollinger Bands upper band is plotted to confirm overbought conditions.
ADX, +DI, and -DI are plotted in a separate subchart to monitor trend strength.
Stochastic RSI values (%K and %D) are plotted in a separate subchart to analyze momentum.
This strategy combines multiple indicators to generate reliable buy and sell signals, making it suitable for traders who prefer a multi-faceted approach to market analysis, ensuring better decision-making and potentially higher profitability in trending markets.
Reversal & Breakout Strategy with ORB### Reversal & Breakout Strategy with ORB
This strategy combines three distinct trading approaches—reversals, trend breakouts, and opening range breakouts (ORB)—into a single, cohesive system. The goal is to capture high-probability setups across different market conditions, leveraging a mashup of technical indicators for confirmation and risk management. Below, I’ll explain why this combination works, how the components interact, and how to use it effectively.
#### Why the Mashup?
- **Reversals**: Identifies overextended moves using RSI (overbought/oversold) and SMA50 crosses, filtered by VWAP and SMA200 trend direction. This targets mean-reversion opportunities in trending markets.
- **Breakouts**: Uses EMA9/EMA20 crossovers with VWAP and SMA200 confirmation to catch momentum-driven trend continuations.
- **Opening Range Breakout (ORB)**: Detects early momentum by breaking the high/low of a user-defined opening range (default: 15 bars) with volume confirmation. This adds a time-based edge, ideal for intraday trading.
The synergy comes from blending these methods: reversals catch pullbacks, breakouts ride trends, and ORB exploits early volatility—all filtered by trend (SMA200) and anchored by VWAP for context.
#### How It Works
1. **Indicators**:
- **EMA9/EMA20**: Fast-moving averages for breakout signals.
- **SMA50**: Medium-term trend filter for reversals.
- **SMA200**: Long-term trend direction to align trades.
- **RSI (14)**: Measures overbought (>70) or oversold (<30) conditions.
- **VWAP**: Acts as a dynamic support/resistance level.
- **ATR (14)**: Sets stop-loss distance (default: 1.5x ATR).
- **Volume**: Confirms ORB breakouts (1.5x average volume of opening range).
2. **Entry Conditions**:
- **Long**: Triggers on reversal (SMA50 cross + RSI < 30 + below VWAP + uptrend), breakout (EMA9 > EMA20 + above VWAP + uptrend), or ORB (break above opening range high + volume).
- **Short**: Triggers on reversal (SMA50 cross + RSI > 70 + above VWAP + downtrend), breakout (EMA9 < EMA20 + below VWAP + downtrend), or ORB (break below opening range low + volume).
3. **Risk Management**:
- Risks 5% of equity per trade (based on the initial capital set in the strategy tester).
- Stop-loss: Based on lowest low/highest high over 7 bars ± 1.5x ATR.
- Targets: Two exits at 1:1 and 1:2 risk:reward (50% of position at each).
- Break-even: Stop moves to entry price after the first target is hit.
4. **Backtesting Settings**:
- Commission: Hardcoded at 0.1% per trade (realistic for most brokers).
- Slippage: Hardcoded at 2 ticks (realistic for most markets).
- Tested on datasets yielding 100+ trades (e.g., 2-min or 5-min charts over months).
#### How to Use It
- **Timeframe**: Works best on intraday (2-min, 5-min) or daily charts. Adjust `Opening Range Bars` (e.g., 15 bars = 30 min on 2-min chart) for your timeframe.
- **Settings**:
- Set your initial equity in the TradingView strategy tester’s "Properties" tab under "Initial Capital" (e.g., $10,000). The script automatically risks 5% of this equity per trade.
- Adjust `Stop Loss ATR Multiplier` or `Risk:Reward Targets` based on your risk tolerance.
- Note that commission (0.1%) and slippage (2 ticks) are fixed in the script for backtesting consistency.
- **Execution**: Enter on signal, monitor plotted stop (red) and targets (green/blue). The strategy supports pyramiding (up to 2 positions) for scaling into trends.
#### Backtesting Notes
Results are realistic with commission (0.1%) and slippage (2 ticks) included. For a sufficient sample, test on volatile instruments (e.g., stocks, forex) over 3-6 months on lower timeframes. The default 1.5x ATR stop may seem wide, but it’s justified to avoid premature exits in volatile markets—feel free to tweak it with justification. The script assumes an initial capital of $10,000 in the strategy tester for the 5% risk calculation (e.g., $500 risk per trade); adjust this in the "Properties" tab as needed.
This mashup isn’t just a random mix; it’s a deliberate fusion of complementary strategies, offering traders flexibility across market phases. Questions? Let me know!
PSP - Precision CandlePSP Precision Spotting Points (PSP) Indicator
The PSP Precision Spotting Points (PSP) Indicator is designed for traders seeking to identify high-probability reversal zones by detecting PSP setups with precision. PSPs are Potential Swing Points that often precede market reversals or significant price reactions. This indicator simplifies the process of spotting these opportunities by highlighting areas of interest based on market structure, correlation imbalances, and wick rejections.
📌 Key Features:
PSP Detection: Accurately identifies Potential Swing Points by scanning for candle patterns that suggest a shift in momentum.
Precision Entry Zones: Marks areas where price is likely to react, offering clear visual cues for optimal trade execution.
Smart Filtering: Filters out low-quality signals using advanced volatility and liquidity analysis.
Wick Confirmation: Validates PSP setups using wick rejections and correlation cracks, enhancing the probability of a successful trade.
Customizable Alerts: Stay informed with real-time notifications when a PSP is detected.
🛠️ How It Works:
Candle Analysis: Scans for specific price action patterns where candle body-to-wick ratios and volatility suggest a Potential Swing Point.
Correlation Cracks: Detects discrepancies between correlated instruments, adding confluence to PSP setups.
POI Alignment: Highlights areas near Points of Interest (POIs) like Fair Value Gaps (FVGs), previous highs/lows, and session kill zones.
Rejection Confirmation: Ensures PSPs are validated through wick-based rejection patterns, minimizing false signals.
SMA7 Tail Reversal📌 Description:
The SMA7 Tail Reversal indicator is designed to identify potential counter-trend trading opportunities by checking if candle wicks (tails) respect a key moving average level (SMA7).
This indicator highlights price action where candles are clearly separated from the moving average, suggesting a possible reversal or temporary correction.
📌 How It Works:
Moving Average Calculation:
Calculates a simple moving average (SMA) of length 7 to act as the primary trend filter.
Candle Classification:
Bullish Candle: A candle where the closing price is higher than the opening price, with a short upper wick.
Bearish Candle: A candle where the closing price is lower than the opening price, with a short lower wick.
Conditions for Coloring Candles:
Long Condition (Green Candle):
High & Low are both below the SMA7 line.
Volume is above the 20-period average.
A bullish candle is detected.
Short Condition (Red Candle):
High & Low are both above the SMA7 line.
Volume is above the 20-period average.
A bearish candle is detected.
📌 Visual Representation:
Green Candles: Potential long signals when price action stays below the SMA7 line.
Red Candles: Potential short signals when price action stays above the SMA7 line.
Yellow Line: SMA7, used as the dynamic threshold for signal generation.
📌 Usage:
Best applied to volatile markets with clear trends.
Effective in detecting counter-trend opportunities where price diverges from the SMA7 line.
Works well with additional confirmation tools for better accuracy.
NakInvest - Inside Bar no Eden dos Traders (Stormer)📌 NakInvest - Inside Bar Detector (Éden dos Traders Enhanced Detection)
This indicator is designed to identify Inside Bars that occur during strong trending conditions, following the popular Éden dos Traders strategy by Stormer, famous brazilian trader. It uses the relationship between two EMAs (Short EMA & Long EMA) to determine whether the market is in a bullish or bearish trend, and highlights Inside Bars that meet specific criteria.
⸻
🔍 What This Indicator Does:
1. EMA-Based Trend Detection:
• Identifies Uptrends when the Short EMA is above the Long EMA.
• Identifies Downtrends when the Short EMA is below the Long EMA.
2. Inside Bar Detection:
• An Inside Bar is detected when the entire candle (body & wicks) is contained within the body of the previous candle.
• This pattern suggests consolidation and potential breakouts, especially when found within a strong trend.
3. Debug Mode for Transparency:
• When enabled, provides visual markers to indicate when the conditions for trend detection and Inside Bars are met.
• Helps traders understand why certain candles are detected and others are not.
⸻
📈 How to Use:
• Apply this indicator to any market and timeframe, but it’s most effective on higher timeframes (H1, H4, Daily).
• Ideal for traders looking for trend-continuation setups or reversal signals after periods of consolidation.
• Combine this indicator with other tools (e.g., Volume Analysis, Price Action Patterns) for greater accuracy.
⸻
⚙️ Indicator Settings:
1. Short EMA Length: The period for the fast-moving average (default: 8).
2. Long EMA Length: The period for the slow-moving average (default: 80).
3. Enable Debug Mode: Toggle visibility of debug markers to better understand condition logic.
⸻
📢 Alerts:
This script includes labels for:
• IB (Up): Inside Bar detected during an uptrend.
• IB (Down): Inside Bar detected during a downtrend.
⸻
📌 Disclaimer:
This indicator is intended for educational purposes only and is not financial advice. Always perform your own research and consult with a financial professional before making any trading decisions.
Full Breakout Alert (Yesterday’s Open & Close)For this Script
Horizontal 1 will be your resistance from the opening candle of yesterday
Horizontal 2 will be your support from the closing candle of yesterday
If you manually input the value, the line will change. Then you can add alert and it will just trigger if the Body and the Wick is above/below (whatever you choose from) from the value itself
Demo GPT - Gaussian Channel Strategy v3.1 AdaptedGaussian Channel Strategy v3.1 Adapted
An automated trading strategy combining Gaussian Channel, Stochastic RSI, and SMA for trend filtering.
Overview
This strategy uses a dynamic Gaussian Channel to identify price channels, Stochastic RSI for overbought/oversold conditions, and a 50-period SMA as a trend filter. It enters long/short positions based on price breaking channel bands, Stochastic RSI signals, and SMA alignment.
Key Components
Gaussian Channel
Source : Midpoint price (hlc3).
Parameters :
N: Number of poles (1-9) controlling channel smoothness.
per: Sampling period (default 100) for dynamic lag adjustment.
mult_base: Multiplier for channel width (default 1.5), scaled by ATR for volatility adaptation.
Features :
Reduces lag when modeLag is enabled.
Faster response when modeFast is enabled.
Channels :
filt: Central filter line (midpoint of the channel).
hband/lband: Upper/lower bands = filt ± (ATR × mult_base).
Stochastic RSI
Parameters :
RSI Length: 10.
Stochastic Length: 10.
Smooth K/D: 5 periods.
Signals :
Overbought: K > 80 (long bias).
Oversold: K < 20 (short bias).
Trend Filter (SMA 50)
Confirms bullish trend when close > SMA50 (long entry).
Confirms bearish trend when close < SMA50 (short entry).
Trade Logic
Long Entry Conditions :
Channel Uptrend : filt > previous filt (rising channel midline).
Price Break : close > hband (price exceeds upper channel band).
Stochastic RSI : K > 80 (overbought) or K < 20 (oversold rebound).
Trend Filter : close > SMA50.
Short Entry Conditions :
Channel Downtrend : filt < previous filt (falling channel midline).
Price Break : close < lband (price falls below lower band).
Stochastic RSI : K < 20 (oversold) or K > 80 (overbought reversal).
Trend Filter : close < SMA50.
Exit Conditions :
Automatic Exit :
strategy.exit with trailing stop (trail_offset=1000, trail_points=5000).
Immediate Close :
Long: close crosses below hband.
Short: close crosses above lband.
Parameters & Settings
Initial Capital : $100,000.
Commission : 0.1% per trade.
Position Sizing : 75% of equity per trade.
Pyramiding : Max 1 open position.
Date Range : Adjustable (default 2025–2069 for backtesting).
Risk Notes
Volatility Sensitivity : Channel width adjusts with ATR; may widen during volatile markets.
Overlapping Signals : Stochastic RSI allows entries at both extremes (overbought/oversold), which may lead to whipsaws.
SMA Lag : Trend filter may delay entries during rapid price moves.
Optimization Tips
Adjust mult_base to control channel width based on asset volatility.
Test N and per for smoother or more responsive channels.
Refine Stochastic RSI parameters for fewer false signals.
Triangle Reversal Indicator v3With this new script you can remove the triangle on top or at the bottom and you can directly color the body of the bar. For example using a black and white color for the candle and a green color for the bullish engulfing and a red color for the bearish engulfing
Reversal Candles + RSI Divergence + Volume Filter + DashboardFinds 3 types of candles. Hammer , reversal hammer, and star.
Enhanced Candlestick Pattern & Next Move Prediction✅ Added More Patterns:
Morning Star 🌅
Evening Star 🌆
Three White Soldiers 📈
Three Black Crows 📉
Piercing Line 🔼
Dark Cloud Cover 🔽
✅ More Accurate Next Candle Prediction:
Combines RSI, MACD, EMA, and Volume Strength
Filters out weak signals
✅ Customizable Settings:
Adjustable pattern sensitivity
Toggle different candlestick patterns
✅ Compact Visualization:
Smaller shape markers to prevent chart clutter
Trend bar for overall market sentiment
✅ Improved Alerts for Traders 🚨
🔹 What's New?
🔼 Added More Candlestick Patterns for higher accuracy
🔼 Dynamic Trend Filtering to avoid weak signals
🔼 Compact Visualization using smaller markers
🔼 Trend Signal Bar shows market sentiment clearly
🔼 Fully Customizable Inputs to show/hide specific patterns
Dynamic CCI-BOLLThis indicator combines the characteristics of the CCI indicator and those of the Bollinger Bands, and clearly indicates the buy and sell signals. "B" stands for buying, and "S" stands for selling. Buy in batches and sell in batches. Don't carry out a full-position transaction all at once.
Master Buy/Sell Signal with S/R & SuperTrend Highlights of Script:
Good use of var to store persistent support and resistance.
Clear conditions combining multiple indicators for stronger signals.
Sensitivity control for S/R validations is a nice touch.
Clean plotting and label placement
EMA + RSI + Volume SignalEMA + RSI + Volume Signal
When the chart background turns green, it is a BUY signal.
When the chart background turns red, it is a SELL signal.
The BUY arrow appears when there is a buy signal, and the SELL arrow appears when there is a sell signal.
🔹 Note: This is a support tool; you should still combine it with other technical analysis methods to improve accuracy.
High / Low (Patron 3 Velas)👌 Creator By Sebastian Garcia . Strategy Obtained By Trader Jose Bartolome .
Use only in UTC-4 Works Only For Trader Jose's Strategy.
<50% Body CandleThis TradingView indicator highlights candlesticks where the body is less than 50% of the total range (high-low) by placing a small white dot at the center of the candle body.
Features:
✅ Identifies low-body candles (common in indecision or reversal points)
✅ Customizable body threshold (default: 50%)
✅ Stable dot placement for consistent visualization
✅ Lightweight & non-intrusive
Usage:
Helps spot Doji or weak momentum candles.
Useful for trend reversals & consolidation detection.
Works seamlessly on any timeframe & market.
🚀 Try it out and enhance your candlestick analysis!
Optimized WPR Strategy with Filters (Debug)Identifying Market Trends:
The 200-period EMA is used to determine the short-term trend of the market.
When the price is above the 200-period EMA, it suggests a potential bullish market and an uptrend, and the strategy will only look for buying opportunities.
When the price is below the 200-period EMA, it suggests a potential bearish market and a downtrend, and the strategy will only look for selling opportunities.
When the 200-period EMA intersects with the price, it indicates that the market may be in a directionless consolidation phase.
Identifying Potential Reversal Points:
The strategy employs two Williams %R (WPR) indicators: one with a 9-period (fast WPR) and another with a 28-period (slow WPR).
WPR is a momentum indicator used to identify overbought and oversold conditions in the market. Its value oscillates between -100 and 0, with values near -100 indicating oversold conditions and values near 0 indicating overbought conditions.
In an uptrend (when the price is above the 200 EMA), the strategy seeks buying opportunities when both WPR indicators cross above -80 (the oversold zone) from below. This is considered a bullish signal, suggesting the market may be about to rebound. Sell signals are ignored at this time.
In a downtrend (when the price is below the 200 EMA), the strategy seeks selling opportunities when both WPR indicators cross below -20 (the overbought zone) from above. This is considered a bearish signal, suggesting the market may be about to reverse downward. Buy signals are ignored at this time.
Summary:
In summary, this strategy first uses the 200-period EMA to determine the overall trend direction of the market. Then, within the confirmed trend direction, it utilizes the simultaneous crossing of the overbought or oversold zones by the dual WPR indicators to identify potential reversal points as entry signals for trading. The strategy emphasizes that trading signals are only valid when both WPR indicators meet the conditions.