Swing-Based Fibonacci Zone + Divergence SignalSwing-Based Fibonacci Zone + Divergence
🗞️ Short Headline:
🔍 Dynamic Fib Zone Engine for Price Action Traders
🧾 Description:
This indicator dynamically draws Fibonacci-based support and resistance zones based on recent swing high and low points. It helps traders identify high-probability reversal, breakout, or scalping opportunities using adaptive price zones that update in real time. Integrated with divergence detection using RSI, it highlights potential bullish and bearish reversals with clean visual cues.
🔧 Key Features:
🔁 Auto-updating Fibonacci Zones (0%, 25%, 50%, 75%, 100%)
💡 Visual price level labels on the right side (customizable size/offset/color)
📉 Bearish RSI Divergence marker at top of the zone (100%)
📈 Bullish RSI Divergence marker at bottom of the zone (0%)
🎛️ Flexible configuration for zone styling and detection logic
⚡ Real-time updates – ideal for scalpers and intraday traders
🧠 Best Use Cases:
Identify scalping entries when price breaks and closes above/below 25/75 zones
Spot potential reversals using RSI divergence confirmations
Support other systems like Order Flow, Delta, or Volume Analysis
⏱️ Recommended Timeframes:
1min / 5min / 15min / 1H
指標和策略
High/Low last 1-3 candlesHere you can display the high and low of the last 1, 2 or 3 candles. The whole thing is updated with every new candle. you can also switch the lines on or off as you wish and adjust the colour of the lines. have fun with it
Liquidity Sweep Reversal [Grimoire]The Liquidity Sweep Reversal indicator is designed to spot potential turning points by watching for “liquidity sweeps” above key prior highs. Specifically, it marks when price briefly pushes above levels such as:
The high of the previous candle
The high of the prior trading day
The high of the previous week
These sweeps often trigger stop-hunts or liquidity hunts, after which price frequently reverses. By highlighting those moments, the indicator helps you anticipate and trade these reversal moves more easily.
AlphaTrend// This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// author © KivancOzbilgic
// developer © KivancOzbilgic
//@version=5
indicator('AlphaTrend', shorttitle='AT', overlay=true, format=format.price, precision=2, timeframe='')
coeff = input.float(1, 'Multiplier', step=0.1)
AP = input(14, 'Common Period')
ATR = ta.sma(ta.tr, AP)
src = input(close)
showsignalsk = input(title='Show Signals?', defval=true)
novolumedata = input(title='Change calculation (no volume data)?', defval=false)
upT = low - ATR * coeff
downT = high + ATR * coeff
AlphaTrend = 0.0
AlphaTrend := (novolumedata ? ta.rsi(src, AP) >= 50 : ta.mfi(hlc3, AP) >= 50) ? upT < nz(AlphaTrend ) ? nz(AlphaTrend ) : upT : downT > nz(AlphaTrend ) ? nz(AlphaTrend ) : downT
color1 = AlphaTrend > AlphaTrend ? #00E60F : AlphaTrend < AlphaTrend ? #80000B : AlphaTrend > AlphaTrend ? #00E60F : #80000B
k1 = plot(AlphaTrend, color=color.new(#0022FC, 0), linewidth=3)
k2 = plot(AlphaTrend , color=color.new(#FC0400, 0), linewidth=3)
fill(k1, k2, color=color1)
buySignalk = ta.crossover(AlphaTrend, AlphaTrend )
sellSignalk = ta.crossunder(AlphaTrend, AlphaTrend )
K1 = ta.barssince(buySignalk)
K2 = ta.barssince(sellSignalk)
O1 = ta.barssince(buySignalk )
O2 = ta.barssince(sellSignalk )
plotshape(buySignalk and showsignalsk and O1 > K2 ? AlphaTrend * 0.9999 : na, title='BUY', text='BUY', location=location.absolute, style=shape.labelup, size=size.tiny, color=color.new(#0022FC, 0), textcolor=color.new(color.white, 0))
plotshape(sellSignalk and showsignalsk and O2 > K1 ? AlphaTrend * 1.0001 : na, title='SELL', text='SELL', location=location.absolute, style=shape.labeldown, size=size.tiny, color=color.new(color.maroon, 0), textcolor=color.new(color.white, 0))
alertcondition(buySignalk and O1 > K2, title='Potential BUY Alarm', message='BUY SIGNAL!')
alertcondition(sellSignalk and O2 > K1, title='Potential SELL Alarm', message='SELL SIGNAL!')
alertcondition(buySignalk and O1 > K2, title='Confirmed BUY Alarm', message='BUY SIGNAL APPROVED!')
alertcondition(sellSignalk and O2 > K1, title='Confirmed SELL Alarm', message='SELL SIGNAL APPROVED!')
alertcondition(ta.cross(close, AlphaTrend), title='Price Cross Alert', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low, AlphaTrend), title='Candle CrossOver Alarm', message='LAST BAR is ABOVE ALPHATREND')
alertcondition(ta.crossunder(high, AlphaTrend), title='Candle CrossUnder Alarm', message='LAST BAR is BELOW ALPHATREND!')
alertcondition(ta.cross(close , AlphaTrend ), title='Price Cross Alert After Bar Close', message='Price - AlphaTrend Crossing!')
alertcondition(ta.crossover(low , AlphaTrend ), title='Candle CrossOver Alarm After Bar Close', message='LAST BAR is ABOVE ALPHATREND!')
alertcondition(ta.crossunder(high , AlphaTrend ), title='Candle CrossUnder Alarm After Bar Close', message='LAST BAR is BELOW ALPHATREND!')
Candle/Keltner Channels BUY SELLWhy Use Candlesticks?
They help traders visualize price action
Used in technical analysis and price pattern recognition (e.g., Doji, Engulfing, Hammer)
Assist in determining entry and exit points
Why Traders Use Keltner Channels?
Keltner Channels are widely used by traders for identifying trends, detecting volatility, and spotting trade opportunities.
1. Trend Identification
The middle line (EMA) shows the general trend.
If price consistently stays above the middle line, it indicates a strong uptrend.
If price stays below, it signals a downtrend.
Use: Traders follow the trend direction to enter trades in line with momentum.
2. Volatility Measurement
The width of the channel expands and contracts based on Average True Range (ATR).
Wider channels = high volatility, tighter channels = low volatility.
Use: Helps traders decide when to expect breakouts or calm periods.
3. Breakout Signals
A break above the upper band can signal a bullish breakout.
A break below the lower band can signal a bearish breakout.
Use: Traders use this for momentum trading and breakout entries.
4. Overbought/Oversold Conditions
Price touching or crossing the upper band may suggest it's overbought.
Price touching or crossing the lower band may suggest it's oversold.
Use: Traders combine this with RSI or MACD to confirm reversal setups.
5. Trade Entry and Exit
When price pulls back to the middle EMA during a trend, it may present a buy/sell opportunity.
Exits can also be planned if price returns inside the bands after a breakout.
Use: Helps with precise entry and exit timing.
6. Combines Well With Other Indicators
Commonly used with:
RSI (for confirmation)
MACD (for momentum)
Candlestick patterns (for price action signals)
Combining Candlestick Patterns with Keltner Channels gives traders a powerful method to confirm entries, spot reversals, and improve accuracy. Here’s why this combination works so well:
1. Context for Candlestick Signals
Candlestick patterns (like doji, engulfing, or pin bars) show potential price reversals, but they need context to be reliable. Keltner Channels provide that context:
A bullish candlestick near the lower band suggests a stronger buy signal.
A bearish candlestick near the upper band strengthens a sell signal.
2. Filtering False Signals
Candlestick patterns occur frequently, and not all are meaningful.
The location within the Keltner Channel helps filter out weak or false patterns.
Example: A bullish engulfing candle outside the lower band = high-probability reversal.
3. Improved Entry Timing
Traders wait for a candlestick pattern confirmation when price touches or crosses a Keltner band.
This avoids premature entries and allows tighter stop-losses.
4. Better Risk-Reward Setup
Candlestick entry near channel extremes (upper/lower band) lets traders place stop-losses just beyond recent highs/lows.
The target can be the opposite side of the channel or the middle EMA.
5. Visual Simplicity
Keltner Channels + Candles are visually intuitive.
Even beginner traders can easily recognize:
Overextended candles near channel edges.
Confirmed breakouts or reversals.
This Timeframe 5 min : XAUUSD
21-Day Trend Direction📈 21-Day Trend Direction Indicator
📊 How It Works:
🎯 Trend Detection Logic:
Analyzes last 21 daily candles
Calculates total price change from start to end
Compares against sideways threshold (default 2%)
Counts bullish vs bearish days
Tracks higher highs and lower lows
📈 Trend Classifications:
• 📈 UPTREND: Price change > +2% over 21 days
• 📉 DOWNTREND: Price change < -2% over 21 days
• ➡️ SIDEWAYS: Price change between -2% and +2%
💪 Trend Strength Levels:
• 🔥 Very Strong: >5% price change
• 💪 Strong: 3-5% price change
• 📊 Moderate: 1.5-3% price change
• 📉 Weak: <1.5% price change
🎨 Visual Features:
📋 Information Table Shows:
• Trend Direction with color coding
• Price Change % over 21 days
• Trend Strength classification
• Bull/Bear Days count
• Higher Highs/Lower Lows count
• Analysis Period (customizable)
📊 Chart Indicators:
• Trend Line (21-day moving average)
• Background Color for quick trend identification
• Trend Arrows (▲ ▼ ➡) on chart
• Customizable display options
⚙️ Customizable Settings:
🎯 Analysis Settings:
• Lookback Days: 5-50 days (default: 14)
• Sideways Threshold: 0.5-10% (default: 2%)
• Trend Strength: Low/Medium/High sensitivity
🎨 Display Options:
• Table Position: 9 different positions
• Table Size: Tiny to Large
• Show/Hide: Table, Trend Line, Background, Arrows
🚨 Alert Options:
• Trend Change to Uptrend
• Trend Change to Downtrend
• Trend Change to Sideways
This indicator gives you a clear, objective view of the 21-day trend with multiple confirmation signals! 🚀
OPR MATIN/APRÈS-MIDI/ASIA🔹 OPR Morning / Afternoon / Asia – Session High-Low Zones
This indicator automatically plots the high, low, and midline of three key trading sessions:
OPR Morning
OPR Afternoon
Asia Session
Each session is configurable with:
Custom time range (with automatic -2h adjustment using UTC+2)
Custom colors for lines and background
Adjustable line length and thickness
🔧 Perfect for identifying session-based market structure, key levels, and intraday zones of interest.
✅ Built with Pine Script v6
✅ Designed for scalpers and intraday traders
✅ Automatically adjusts time zones for consistency across platforms
Linda 3/10 by Paul Willy HammerUnfortunately, I was unable to locate the original 3/10 Oscillator by Linda Raschke, so I’ve created a new version based on Pine Script v6.
Please note that I’m not providing support for this script.
If you have questions about how to use it, I encourage you to do your own research.
The MACD line is displayed in green when rising and in red when falling.
GMMA + Fastest EMA Collapse/Expansion - Bold BUY/SELLA perfect blend of accurrate GMMA cross up and cross down giving direct buy and sell signals.
Dynamic Range Filter with Trend Candlesticks (Zeiierman)█ Overview
Dynamic Range Filter with Trend Candlesticks (Zeiierman) is a volatility-responsive trend engine that adapts in real-time to market structure, offering a clean and intelligent visualization of directional bias. It blends dynamic range calculation with customizable smoothing techniques and layered trend confirmation logic, making it ideal for traders who rely on clear trend direction, structural range analysis, and momentum-based candlestick signals.
By measuring scaled volatility over configurable lengths and applying advanced moving average techniques, this indicator filters out market noise while preserving true directional intent. Complementing this, a dual-trend system (range-based and candle-based) enhances clarity and responsiveness, particularly during shifting market conditions.
█ How It Works
⚪ Scaled Volatility Band Calculation
At the core lies a volatility engine that constructs adaptive range bands around price using smoothed high/low calculations. The bands are dynamically adjusted using:
High/Low Smoothing – Applies a moving average to the raw high and low data before calculating the range.
Scaled Range Volatility – A 2.618 multiplier scales the distance between smoothed highs and lows, forming a responsive volatility envelope.
Band Multiplier – Controls how wide the upper/lower range bands extend from the mean.
This filtering process minimizes false signals and highlights only structurally meaningful moves.
⚪ Multi-Type Smoothing Engine
Users can choose from a wide array of smoothing algorithms for trend construction, including:
HMA (default), SMA, EMA, RMA
KAMA – Adapts to market volatility using efficiency ratios.
VIDYA – Momentum-sensitive smoothing using CMO logic.
FRAMA – Dynamically adjusts to fractal dimension in price.
Super Smoother – Ideal for eliminating aliasing in range signals.
This provides the trader with fine-tuned control over reactivity vs. smoothness.
⚪ Trend Detection (Dual Engine)
The indicator includes two independent trend tracking systems:
Main Trend Filter – Based on adaptive volatility band shifts.
Candle Trend Filter – A second-tier confirmation using smoothed candle data, ideal for directional candles and confirmation entries.
█ How to Use
⚪ Trend Confirmation
Use the Trend Line and colored candlesticks for high-probability entries in the trend direction. The more trend layers that align, the higher the confidence.
⚪ Reversal Zones
When the price reaches the outer bands or fails to break them, look for candle color shifts or a crossover in the range to anticipate possible reversals or consolidations.
█ Settings
Scaled Volatility Length – Controls the lookback used to stabilize the base volatility band.
MA Type & Length – Choose and fine-tune the smoothing method (HMA, EMA, KAMA, etc.)
High/Low Smoother – Pre-smoothing for structural high/low banding.
Band Multiplier – Adjusts the width of the dynamic bands.
Trend Length (Candles) – Length used for candle-based trend confirmation.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Candle/RSI BUY SELLWhy Use Candlesticks?
They help traders visualize price action
Used in technical analysis and price pattern recognition (e.g., Doji, Engulfing, Hammer)
Assist in determining entry and exit points
Why Traders Use RSI:
To identify potential reversal zones
To confirm trend strength
To detect divergences between price and momentum
Why Combine Candlestick Patterns with RSI?
Using Candlestick patterns together with the Relative Strength Index (RSI) enhances trading decisions by combining price action and momentum analysis.
Conclusion:
Combining RSI with Candlestick patterns allows traders to:
Confirm potential reversals
Filter false signals
Improve entry and exit timing
Make more confident and accurate decisions
How It Works:
RSI Calculation
Custom RSI is calculated manually using Wilder's smoothing technique.
MA or BB Option
User can select whether to apply a smoothing MA or Bollinger Bands to RSI (useful for visual enhancements or custom strategies).
Buy/Sell Logic
check for:
Buy when the current candle is bullish (open <= close) and the previous candle was bearish (open >= close ), AND RSI is ≥ 50.
Sell when current candle is bearish and previous was bullish, AND RSI is ≤ 50.
Plot Buy/Sell Labels
Final Verdict
code is:
Valid (no syntax errors)
Useful (combines candlestick confirmation + RSI strength)
Extendable (can add divergence, alerts, etc.)
This Timeframe 5 min
Candle/RSI BUY SELLWhy Use Candlesticks?
They help traders visualize price action
Used in technical analysis and price pattern recognition (e.g., Doji, Engulfing, Hammer)
Assist in determining entry and exit points
Why Traders Use RSI:
To identify potential reversal zones
To confirm trend strength
To detect divergences between price and momentum
Why Combine Candlestick Patterns with RSI?
Using Candlestick patterns together with the Relative Strength Index (RSI) enhances trading decisions by combining price action and momentum analysis.
Conclusion:
Combining RSI with Candlestick patterns allows traders to:
Confirm potential reversals
Filter false signals
Improve entry and exit timing
Make more confident and accurate decisions
How It Works:
RSI Calculation
Custom RSI is calculated manually using Wilder's smoothing technique.
MA or BB Option
User can select whether to apply a smoothing MA or Bollinger Bands to RSI (useful for visual enhancements or custom strategies).
Buy/Sell Logic
check for:
Buy when the current candle is bullish (open <= close) and the previous candle was bearish (open >= close ), AND RSI is ≥ 50.
Sell when current candle is bearish and previous was bullish, AND RSI is ≤ 50.
Plot Buy/Sell Labels
Final Verdict
code is:
Valid (no syntax errors)
Useful (combines candlestick confirmation + RSI strength)
Extendable (can add divergence, alerts, etc.)
This Timeframe 5 min
email : dudedicate@gmail.com
📈 Supertrend + Volume Spike Strategy (AAPL Optimized)🚀 Overview
This strategy is specifically optimized for AAPL on the 45-minute timeframe, combining the Supertrend indicator with volume breakout confirmation and dynamic ATR-based trailing exits. Designed for high-frequency, low-drawdown performance, it maintains strong win rates with smart trade timing.
Whether you're trading tech stocks, indices, or crypto, this logic adapts well to trending markets and offers scalable position control for automated systems or manual traders.
🔍 How It Works
✅ Entry Conditions:
Supertrend flips bullish or bearish
Volume spike confirms move (volume > 1.3 × SMA(20))
Short cooldown to reduce noise
🔁 Exit Logic:
Trailing stop-loss based on ATR
Optional exit on opposite signal to lock gains or cut losses
📊 AAPL 45min Backtest Highlights
✅ Total P&L: +$278,454.67
✅ Profit Factor: 7.384
✅ Win Rate: 98.72%
✅ Drawdown: 1.15%
✅ Total Trades: 2,658
✅ Timeframe: 45-minute
✅ Symbol: AAPL (NASDAQ)
📌 Settings may be fine-tuned per asset or timeframe for maximum edge.
💡 Strategy Settings
ATR Period: 10
Supertrend: ATR = 10, Factor = 3.0
Volume Spike Threshold: 1.3 × SMA(20)
Cooldown Between Trades: 2 bars
Trailing Stop: 1.2 × ATR with offset
🧠 Generated by AI
This strategy was developed using an AI Pine Script Generator, trained to optimize trade logic for trend-based setups with visual clarity and risk control.
It combines real-time analytics with consistent logic tested across various assets and sessions.
🛠 How to Use
Add the script to AAPL 45m or similar trending asset
Adjust cooldown or trailing multiplier as needed
Enable alerts or automation for live setups
Test across assets like TSLA, BTC, QQQ, or ETHUSDT
💬 Final Thoughts
This system is ideal for trend-followers, breakout traders, and semi-automated setups. Use it as-is or evolve it with your own filters or dashboards.
Feedback and ideas are welcome — comment or reach out!
BTC vs XAU Divergenz SetupWenn Gold sich stark bewegt und Bitcoin nicht – dann sei bereit für eine Bewegung bei BTC.
ADX+ Oscillator📈 ADX+ Oscillator — Enhanced Trend Strength Indicator
🔹 Description:
A modified oscillator based on the ADX (Average Directional Index), providing both visual and digital interpretation of trend strength and direction. A powerful tool for filtering sideways markets and identifying strong impulses across any timeframe.
🔹 Features:
• ADX line to assess trend strength
• DI+ and DI− lines to determine trend direction
• Colored background zones:
• Gray: ranging market (ADX < 20)
• Orange: transition zone (20 ≤ ADX < 25)
• Green: strong trend (ADX ≥ 25)
• Digital value labels for ADX / DI+ / DI− on the latest candle
• Signal arrows when DI+ crosses DI− and vice versa
🔹 Why use it:
• Signal filtering: avoid trades in flat markets (ADX < 20)
• Trend confirmation: enter only when ADX is rising above 25
• Directional guidance via DI+ and DI− behavior
🔹 Best for:
• Scalping (1m, 5m)
• Intraday trading (15m, 1h)
• Swing trading (4h and above)
• Breakout and pullback strategies
Support/Resistance Zones + Volume**Strategy**: Identify dynamic support/resistance zones with volume confirmation
**Signals**: Bounce from tested zones + breakout with high volume
**Win Rate**: \~72% | R/R: 1:3
**Ideal for**: Swing trading with precise entries at key levels.
RSI + EMA Crossover Strategy**Indicator 1: RSI + EMA Crossover (1H)**
* **Strategy**: Combines RSI for optimal timing with EMA crossover for trend direction
* **Signals**: Buy when RSI exits oversold with bullish EMA trend, Sell when RSI exits overbought with bearish EMA trend
* **Win Rate**: ~65% | **R/R**: 1:2
* **Ideal for**: Day trading on short-medium timeframes
Best FracktalsKey Features:
Fractal Detection: The script detects both top and bottom fractals using custom logic based on candle body highs and lows, not wicks.
Customizable Parameters:
Number of candles (len) to check on each side of the central bar to determine if it forms a fractal.
Number of fractals (fractalCount) to remember and draw lines for.
Visual Indicators:
A red downward triangle marks top fractals above the bar.
A green upward triangle marks bottom fractals below the bar.
Fractal Lines:
Draws up to fractalCount horizontal lines across the chart at the levels of the most recent fractals.
Lines update dynamically as new fractals are detected.
Logic Overview:
Top Fractal: The central candle has a higher body high than surrounding candles.
Bottom Fractal: The central candle has a lower body low than surrounding candles.
Ensures no duplicate fractals are marked on equal highs or lows.
ATR scalping-YT)Zone ATR Condition Background Color (bgcolor) Meaning
🔵 Light Blue ATR < low threshold (lowVol) color.new(color.blue, 80) Volatility too low → sluggish market, best to avoid scalping
🟢 Light Green low threshold ≤ ATR ≤ high threshold color.new(color.green, 80) Ideal volatility → optimal zone for scalping
🔴 Light Red ATR > high threshold (highVol) color.new(color.red, 80) Volatility too high → erratic market, higher risk
Zen Lab Checklist - FNSThe Zen Lab Checklist - FNS is a simple yet powerful visual trading assistant designed to help traders maintain discipline and consistency in their trading routines. This provides a customizable on-screen checklist. This indicator allows traders to verify key conditions before entering a trade which will help identify trade quality and promote structured trading habits. This indicator is ideal for discretionary traders who follow a consistent set of entry rules.
✅ Key Features
Customizable Checklist Items:
Define up to 6 checklist labels with on/off toggle switches to track your trade criteria.
Visual Feedback:
Each checklist item displays a ✅ checkmark when conditions are met or a ❌ cross when not. Colors are visually distinct — green for confirmed, red for not confirmed.
Progress Tracker:
A "Trade Score" footer calculates a "trade score" percentage, helping you quickly assess the trade idea quality and readiness.
Table Position Control:
Easily adjust the table’s position on your chart (e.g., top-right, middle-center, bottom-left) using a dropdown menu.
Custom Styling Options:
- Change background and font color of checklist rows.
- Set font size (tiny to huge).
- Set the header and footer colors separately for visual contrast. (default is green background with white font)
📌 How to Use
- Open the indicator settings.
- Label your checklist items to match your personal or strategy-specific rules.
- Toggle the corresponding switches based on your trade setup conditions.
- Review the on-chart checklist and "Trade Score" to confirm your trade decision.
🎯 Why Use This?
- Discipline: Keeps you aligned with your trading plan.
- Clarity: Clear visual indicator of trade readiness.
- Efficiency: Saves time by centralizing your checklist visually on your chart.
- Custom Fit: Adapt the labels and styling to match your strategy or preferences.
⚠️ Notes
This is a manual checklist, meaning you control the toggle switches based on your judgment.
Ideal for discretionary traders who follow a consistent set of entry rules.
Trend Surge with Pullback FilterTrend Surge with Pullback Filter
Overview
Trend Surge with Pullback Filter is a price action-based strategy designed to enter strong trends not at the breakout, but at the first controlled pullback after a surge. It filters out noise by requiring momentum confirmation and low volatility conditions, aiming for better entry prices and reduced risk exposure.
How It Works
A strong upward trend is identified when the Rate of Change (ROC) exceeds a defined percentage (e.g., 2%).
Instead of jumping into the trend immediately, the strategy waits for a pullback: the price must drop at least 1% below its recent high (over the past 3 candles).
A low volatility environment is also required for entry — measured using ATR being below its 20-period average multiplied by a safety factor.
If all three conditions are met (trend + pullback + quiet volatility), the system enters a long position.
The trade is managed using a dynamic ATR-based stop-loss and a take-profit at 2x ATR.
An automatic exit occurs after 30 bars if neither SL nor TP is hit.
Key Features
- Momentum-triggered trend detection via ROC
- Smart pullback filter avoids overbought entries
- Volatility-based filter to eliminate noise and choppy conditions
- Dynamic risk-reward ratio with ATR-driven exit logic
- Time-limited exposure using bar-based exit
Parameter Explanation
ROC Length (10): Looks for short-term price surges
ROC Threshold (2.0%): Trend is considered valid if price increased more than 2%
Pullback Lookback (3): Checks last 3 candles for price retracement
Minimum Pullback % (1.0%): Entry only if price pulled back at least 1%
ATR Length (14): Measures current volatility
Low Volatility Multiplier (1.2): ATR must be below this multiple of its 20-period average
Risk-Reward (2.0): Target is set at 2x the stop-loss distance
Max Bars (30): Trade is closed automatically after 30 bars
Originality Statement
This strategy doesn’t enter at the trend start, unlike many momentum bots. Instead, it waits for the first market hesitation — a minor pullback under low volatility — before entering. This logic mimics how real traders often wait for a better entry after a breakout, avoiding emotional overbought buys. The combined use of ROC, dynamic pullback detection, and ATR-based environment filters makes it both practical and original for real-world trading.
Disclaimer
This strategy is intended for educational and research purposes. Backtest thoroughly and understand the logic before using with real capital.