My Strategy fo CashNot sure how it works but works excellent on NQ Futures on a 9 minute chart. Im still trying to automate. No experience there. Todays its 5/20/25 and the profit was 5k with only using 1 contract at a time. drawdown was 1500 or .1%. If you have any thoughts on automating please let me know. ill start researching t now, because with back testing it was profitable for the last 3 years. Thanks!
Indicators and strategies
AltCoin Index Correlation🧠 AltCoin Index Correlation — Strategy Overview
AltCoin Index Correlation is a dynamic EMA-based trading strategy designed primarily for altcoins, but also adaptable to stocks and indices, thanks to its flexible reference index system.
🧭 Strategy Philosophy
The core idea behind this strategy is simple yet powerful:
Price action becomes more meaningful when it aligns with broader market context.
This script analyzes the correlation between the asset’s trend and a reference index trend, using dual EMA (Exponential Moving Average) crossovers for both.
When both the altcoin and the reference index (e.g. Altcoin Dominance, BTC Dominance, Total Market Cap, or even indices like the NASDAQ 100 or S&P 500) are aligned in trend direction, the script considers it a high-confidence setup.
It also includes:
Optional inverse correlation logic (for contrarian setups)
Custom leverage settings (e.g., 1x, 1.8x, etc.)
A dynamic scale-out mechanism during weakening trends
Date filtering for controlled backtests
A live performance dashboard with equity, PnL, win rate, drawdown, APR, and more
⚙️ Default Settings & Backtest Results
Timeframe tested: 1H
Test date: May 20, 2025
Sample: 100 high-cap altcoins
Reference index: CRYPTOCAP:OTHERS.D (Altcoin Dominance)
Leverage: 1.8x (180% of capital used)
📊 With default settings:
Win rate: ~80%
Higher profits, due to increased exposure
Best suited for confident trend followers with higher risk tolerance
📉 With fixed capital or 1x leverage:
Win rate improves to ~90%
Lower returns, but greater capital preservation
Ideal for conservative or risk-managed trading styles
🔄 Versatility
While tailored for altcoins, this strategy supports traditional markets as well:
Easily switch the reference index to OANDA:NAS100USD or S&P 500 for stock correlation trading
Adjust EMA lengths and leverage to match the asset class and volatility profile
🧩 Suggested Use
Best used on trending markets (not sideways)
Ideal for 1H timeframes, but adjustable
Suitable for traders who want a rules-based, macro-aware entry/exit system
Try it out, customize it to your style, try different settings and share your results with the community!
Feedback is welcome — and improvements are always in progress.
🚀 ### Check my profile for other juicy hints and original strategies. ### 🚀
V2_Livermore-Seykota Breakout)V2_ Livermore-Seykota Breakout Strategy
Objective: Execute breakout trades inspired by Jesse Livermore, filtered by trend confirmation (Ed Seykota) and risk-managed with ATR (Paul Tudor Jones style).
Entry Conditions:
Long Entry:
Close price breaks above recent pivot high.
Price is above main EMA (EMA50).
EMA20 > EMA200 (uptrend confirmation).
Current volume > 20-period SMA (volume confirmation).
Short Entry:
Close price breaks below recent pivot low.
Price is below main EMA (EMA50).
EMA20 < EMA200 (downtrend confirmation).
Current volume > 20-period SMA.
Exit Conditions:
Stop-loss: ATR × 3 from entry price.
Trailing stop: activated with offset of ATR × 2.
Strengths:
Trend-aligned entries with volume breakout confirmation.
Dynamic ATR-based risk management.
Inspired by principles of three legendary traders.
Supertrend + RSI Combo BotSupertrend + RSI Combo Bot – Momentum & Trend Alignment Strategy
This strategy combines two powerful technical indicators — Supertrend and Relative Strength Index (RSI) — to create a hybrid entry model that filters trades by both trend direction and momentum strength. The goal is to only participate in trades that align with the prevailing trend and have momentum confirmation.
🔍 Indicator Breakdown:
Supertrend Indicator:
Built on ATR-based trailing stop logic, Supertrend defines whether the current market condition is in an uptrend or downtrend using:
ATR Length (default: 14)
Multiplier (default: 7.0)
RSI (Relative Strength Index):
Measures momentum and overbought/oversold zones with a configurable length (default: 14).
Overbought threshold = 70
Oversold threshold = 30
✅ Entry Logic:
Long Entry:
Triggered when:
Supertrend indicates an uptrend (direction == 1)
RSI is above the overbought level (indicating strong bullish momentum)
Short Entry:
Triggered when:
Supertrend signals a downtrend (direction == -1)
RSI is below the oversold level (indicating strong bearish momentum)
This means the strategy enters only when both trend and momentum agree.
📌 Visual Features:
Supertrend line plotted directly on the chart, changing color:
Green in uptrends
Red in downtrends
No unnecessary chart clutter — clean and focused
🕒 Suggested Timeframes:
Most effective on 1h, 4h, and daily charts. Can be backtested across various assets including crypto, forex, and stocks.
⚠️ Final Notes:
This strategy helps avoid counter-trend traps by requiring directional agreement between a trend indicator (Supertrend) and a momentum oscillator (RSI). However, in highly choppy markets, filters may delay signals. Always test across different assets.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Scalping EMA + RSI Strategy (Long & Short)Scalping EMA with RSI Strategy.
Entry Criteria: Indicators, price action, or patterns triggering entries.
Stop Loss (SL): Fixed pips, ATR-based, or swing low/high.
Take Profit (TP): Fixed reward, trailing stop, or dynamic levels.
RRR Target: e.g., 1:1.5 or 1:2.
Twin Range Filter StrategyThis is the strategy version of the popular Twin Range Filter by colinmck.
Recommended use with Renko Candlesticks.
Source:
Dual Timeframe DMI + StochRSI StrategyThis strategy works on the principle that there's a higher probability of accuracy if the LTF follows the HTF trend.
The HTF DMI plus Stochastic RSI cross will trigger a reaction on the LTF.
There's a quick 2:1 scalp on the 2m timeframe.
Smart Trading System v3This strategy is a precision-based trend-following system that leverages multi-timeframe alignment and momentum signals. Entry decisions are made using a blend of moving average pullbacks and oscillator crossovers, triggered only during active trading hours. Exits are governed by trailing volatility thresholds or key indicator reversals, adapting intelligently to the instrument’s behavior while managing risk through position sizing and drawdown constraints.
My strategy"SCALPERS MOVE
"Printes the scalp before the scalp.Blue arrow up(bullish).Red arrow down (bearish)
Ichimoku Cloud Breakout Only LongThis is a very simple trading strategy based exclusively on the Ichimoku Cloud. There are no additional indicators or complex rules involved. The key condition is that we only open long positions when the price is clearly above the cloud — indicating a bullish trend.
For optimal results, the recommended timeframes are 1D (daily) or 1W (weekly) charts. These higher timeframes help filter out market noise and provide more reliable trend signals.
We do not short the market under any circumstances. The focus is purely on riding upward momentum when the price breaks out or stays above the cloud.
This strategy works best when applied to growth stocks with strong upward trends and good fundamentals — such as Google (GOOGL), Tesla (TSLA), Apple (AAPL), or NVIDIA (NVDA).
SMA + Range Breakout StrategySimple Moving Average with Range Breakout with RSI confirmation having Trailing Stop Loss
Trailing Stop-Loss
RSI Confirmation Filter
Breakout Alerts
8/21 EMA Crossover + VWAP + 200 EMA8/21 EMA crossover with VWAP and slow moving average confirmation
Liquidity Grab Strategy (Volume Trap)🧠 Strategy Logic:
Liquidity Grab Detection:
The script looks for a sharp drop in price (bearish engulfing or breakdown candle).
However, volume remains flat (within 5% of the 20-period moving average), suggesting the move is manipulated, not genuine.
Fair Value Gap Confirmation (FVG):
It confirms that a Fair Value Gap exists — a gap between recent candle bodies that price is likely to retrace into.
This gap represents a high-probability entry zone.
Trade Setup:
A limit BUY order is placed at the base of the FVG.
Stop Loss (SL) is placed below the gap.
Take Profit (TP) is placed at the most recent swing high.
📈 How to Use It:
Add the strategy to your TradingView chart (1–5 min or 15 min works well for intraday setups).
Look for green BUY labels and plotted lines:
💚 Green = Entry price
🔴 Red = Stop loss
🔵 Blue = Take profit
The script will automatically simulate entries when conditions are met and exit either at TP or SL.
Use TradingView’s Strategy Tester to review:
Win rate
Net profit
Risk-adjusted performance
Trend Revisit Pullback Strategy (Final Working Box)📈 Trend Revisit Pullback Strategy
This TradingView Pine Script strategy identifies strong trend breakouts and accounts for natural pullbacks by:
Entering long or short on strong 1-bar breakouts
Allowing for pullback averaging if price retraces after entry
Expecting a revisit to the original entry price within 15 bars
Automatically exiting at break-even or using a custom TP/SL
Drawing a visual trade zone (entry → SL → revisit window) for easy reference
Optional labels and color-coded boxes to track each trade’s lifecycle
Ideal for trend traders who anticipate a pullback and prefer to manage risk with break-even exits or reward-to-risk parameters.
BankNifty 9:15 Breakout - Fixed Qty 30. 🎯 Strategy Objective
To trade the Bank Nifty Futures based on the breakout of the 9:15 AM candle (15-min) using a fixed quantity of 30 lots, with intraday reversal and exit logic.
RSI + MACD Cross StrategyRSI + MACD Cross Strategy (No Trailing SL)
When your trade goes into profit, the best thing to do is to move your Stop Loss to a logical point behind the most recent swing low or swing high, depending on whether you're in a Buy or Sell position. This way, if the market reverses, you’ll at least secure the profit you had up to that point.
Volatility Expansion Breakout Bot📈 Volatility Expansion Breakout Bot – Compression-to-Expansion Momentum Strategy
This strategy is designed to detect volatility expansions following periods of compression and combine that with price momentum confirmation to enter trades during explosive breakout phases. It’s based on the idea that low volatility clusters are often followed by high volatility moves, making it ideal for breakout traders who seek to enter early in strong moves.
🔍 Volatility Logic:
Current Volatility (volNow):
Calculated using the ATR (Average True Range) over a short-term window (default: 14)
Base Volatility (volBase):
Smoothed using a longer SMA of ATR (default: 20) to represent the average volatility during compression phases
Expansion Signal:
Triggered when current volatility exceeds the base by a factor (default: 0.5×)
→ This defines the breakout condition
✅ Entry Conditions:
Bullish Breakout Entry:
When:
Volatility expands (current ATR > base × threshold)
Price shows upward momentum for 2 consecutive candles
Position is flat or short (in which case the short is closed)
Bearish Breakout Entry:
When:
Volatility expands
Price shows downward momentum
Position is flat or long (in which case the long is closed)
🔁 Flip Logic:
Built-in auto flip mechanism:
If a position in the opposite direction is open during a new breakout signal, it is closed immediately and flipped to the new direction.
📌 Visual Aids:
Orange line: Current volatility (ATR-based)
Gray line: Volatility compression average
These provide a visual reference for how volatility behaves around entry signals.
⚙️ Strategy Parameters:
Volatility Length: Short-term ATR for real-time responsiveness
Compression Window: Smoothing window to define base volatility
Pyramiding: Allows 2 active positions for scaling in
Commission: Modeled at 0.05% per trade
🕒 Recommended Use:
Works best on 15m, 1h, or 4h charts for breakout-prone markets like crypto, indices, or high-volume stocks. Ideal for detecting strong trend initiations after prolonged low-volatility zones.
⚠️ Final Notes:
Volatility-based breakout strategies can capture early-stage momentum moves but may produce false signals in range-bound or fakeout-prone markets. It's highly recommended to backtest with asset-specific settings and consider combining with additional filters.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Gap Fill Mean Reversion Bot Gap Fill Mean Reversion Bot – Daily Gap Reversion Strategy
This strategy identifies and trades opening price gaps, anticipating a return (or “fill”) back to the previous day’s close. It is built around the idea that markets often retrace toward unfilled price imbalances, especially after emotional or illiquid opens. Ideal for daily charts and markets with frequent gaps such as stocks, indices, or specific crypto pairs.
🔍 Strategy Logic:
Gap Up:
Occurs when current open > previous close,
AND the difference exceeds a user-defined threshold (default: 3%)
Gap Down:
Occurs when current open < previous close,
AND the drop exceeds the same threshold
Once a gap is detected, the bot enters a position in the opposite direction, aiming to "fill" the gap and revert to the previous close level.
✅ Entry Conditions:
Long Entry:
When a gap down is detected and no active position exists
Short Entry:
When a gap up is detected and no active position exists
🎯 Exit Logic:
The position is closed when the price returns to (or beyond) the previous close, effectively “filling” the gap.
This keeps the logic simple, mechanical, and focused purely on price reversion.
📌 Visual Features:
Gray line: Previous day’s close
Green label (Gap↓): Gap down detected
Red label (Gap↑): Gap up detected
These visuals provide an at-a-glance view of gap zones and trade activity.
⚙️ Strategy Details:
Minimum Gap %: Customizable threshold (default 3%)
Pyramiding: Off by default — only 1 position at a time
Commission: Includes 0.05% for realistic modeling
🕒 Suggested Use Cases:
Best suited for daily timeframes (1D candles)
Most effective in assets where gaps occur frequently, such as:
Stocks (especially post-earnings or macro news)
Indices (e.g., SPX, NASDAQ)
Crypto pairs with strong overnight volatility
⚠️ Final Notes:
While gap fills can offer high-probability setups, not every gap gets filled — especially during trending markets or news-driven moves. It’s essential to test each asset individually and consider stop-loss logic if needed.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Inside Bar Breakout BotInside Bar Breakout Bot – Price Compression to Expansion Strategy
This strategy focuses on one of the most fundamental market patterns: the Inside Bar. It seeks to exploit volatility compression followed by a directional breakout, often occurring before significant price movements. With a configurable breakout buffer and auto flip logic, this bot is ideal for intraday or swing trading setups.
🔍 Pattern Logic:
Inside Bar Definition:
A candle is considered an "inside bar" if its high is lower than the previous candle’s high and its low is higher than the previous candle’s low. This structure often signals market indecision and upcoming expansion.
Breakout Confirmation (1-bar delay):
Trade is not taken during the inside bar, but only on the next candle, if the price:
Breaks above the high of the inside bar + configurable buffer
Breaks below the low of the inside bar – configurable buffer
Breakout Buffer (%):
A small margin (e.g., 0.01%) is added to reduce noise and avoid false triggers.
✅ Entry & Flip Logic:
Long Entry:
Triggered if previous bar is an inside bar and current close > inside high × buffer.
If currently short, the position is flipped.
Short Entry:
Triggered if previous bar is an inside bar and current close < inside low × buffer.
If currently long, the position is flipped.
Position Flip Mechanism:
The bot can automatically switch direction by closing the opposite position first before entering the new trade.
📌 Visual Features:
Entry signals are marked on chart:
Green triangle below bar → long breakout
Red triangle above bar → short breakout
Clean, minimal interface — ideal for active monitoring or backtesting.
⚙️ Strategy Settings:
Default Position Size: 50% of equity
Pyramiding: Up to 5 layered entries allowed
Commission: Includes 0.05% realistic fee modeling
🕒 Best Use Cases:
Performs best on 15m, 1h, or 4h timeframes. Particularly useful during consolidation phases, news-driven compression, or after high-volatility expansions. Works on crypto, forex, indices, and stocks.
⚠️ Final Notes:
Inside bar breakouts offer excellent risk-to-reward setups, but not every breakout leads to continuation. For added robustness, users can combine this with volatility filters or higher timeframe trend checks.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
3-Bar Reversal Detection Bot🔄 3-Bar Reversal Detection Bot – Multi-Candle Pattern + ATR Trailing Strategy
This strategy identifies potential short-term reversals using a 4-candle price pattern: 3 consecutive candles in the same direction followed by a strong reversal signal. It combines classic price action logic with ATR-based trailing exits for dynamic profit locking.
🧩 Core Logic:
Reversal Pattern Structure:
Bullish Setup:
3 consecutive bearish candles, followed by 1 strong bullish candle
Bearish Setup:
3 consecutive bullish candles, followed by 1 strong bearish candle
Candle Strength Filter:
The 4th candle must have a body size greater than a specified minimum % threshold (default: 3%) relative to the open price — helping to eliminate weak or indecisive reversals.
✅ Entry Logic:
Long Entry:
After 3 red candles, if a strong green candle appears that meets the body size criteria → enter long.
Short Entry:
After 3 green candles, if a strong red candle appears → enter short.
The strategy does not require prior trend confirmation and is designed to operate in choppy or swing environments.
🎯 Exit Strategy – ATR-Based Dynamic Trailing:
ATR (Average True Range) is used to:
Define when to start trailing (e.g., price has moved 1.5×ATR in favor)
Dynamically adjust the trailing stop at a configurable offset (e.g., 1.0×ATR) behind recent highs/lows
This enables smart, adaptive exits that respond to volatility while preserving profits.
📌 Visual Cues:
Bullish reversals plotted with green triangle (below bar)
Bearish reversals plotted with red triangle (above bar)
Cleanly coded without requiring exotic chart types
⚙️ Strategy Parameters:
Min Body Size (%): Filters low-conviction candles
ATR Length: For trailing range and volatility adaptation
Pyramiding: Up to 5 entries allowed
Commission: Includes realistic 0.05% fee simulation
🕒 Suggested Use:
Best used on 15m, 1h, or 4h charts for crypto, forex, or indices. Suitable for mean-reverting or swing conditions, not optimized for fast breakouts or strong trending environments.
⚠️ Final Notes:
The 3-bar reversal is a well-known price action pattern, but its effectiveness varies depending on volatility, time of day, and asset class. Always validate with backtesting and forward analysis.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Session-Based Momentum Bot⚡ Session-Based Momentum Bot – Time-Filtered Volume Spike Strategy
This intraday strategy captures high-momentum moves during specific market sessions by filtering for explosive volume spikes and strong price candles. By limiting entries to a defined trading window and enforcing strict volume and price action filters, it seeks to enter only during moments of clear market intent.
🕒 Time-Filtered Execution:
Session Start & End Times (UTC):
Trades only between user-defined hours (default: 08:00–20:00 UTC)
No trades outside this window — helps avoid low-volume chop and overnight noise.
Session Highlight:
The active trading session is visually marked on the chart with an orange background, providing clear context for when trades can occur.
🔍 Entry Conditions:
In Active Session:
Trade signals are only valid within the session window.
Volume Spike Filter:
Current bar's volume must exceed a multiple (default: 3×) of the average volume over the past 20 bars. This ensures participation during aggressive institutional moves.
Strong Price Momentum:
Candle body must exceed a certain % threshold (default: 2%) relative to its open — confirming meaningful movement.
Direction Check:
Long: Candle closes above its open
Short: Candle closes below its open
Flat Only Entries:
Bot enters only if no position is currently held.
🔁 Exit Logic:
Time-Based Exit:
At the end of the session, any open position is automatically closed, securing gains (or cutting losses) before session close.
⚙️ Strategy Highlights:
Targets short bursts of momentum during active trading periods
Avoids sideways/range conditions by requiring volume breakout + price action alignment
Works on standard candles, not dependent on exotic chart types
Includes realistic conditions:
Commission: 0.05%
Pyramiding: Up to 5 positions allowed
🕒 Best Use Cases:
Performant on 15-minute, 30-minute, and 1-hour charts in fast-moving markets such as crypto, forex, or indices. Perfect for London/New York overlap or asset-specific high-volume windows.
⚠️ Final Notes:
This strategy is designed to capture rapid expansions in volatility, but may underperform in low-volume or slow trending markets. Session and threshold parameters must be aligned with asset-specific behavior.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
ADX Trend Strength Entry Bot📈 ADX Trend Strength Entry Bot – Directional Movement Index (DMI) Based Trend Strategy
This strategy utilizes the Average Directional Index (ADX) along with +DI / -DI cross-comparisons to identify trend strength and enter trades only when the market shows directional clarity. It’s ideal for traders who prefer to avoid noise and whipsaws by focusing on confirmed, strong trends.
🔍 Indicator Logic:
ADX (Average Directional Index):
Measures the strength of a trend, regardless of direction. Higher values mean stronger trends.
Default length: 14, with a customizable minimum threshold (default: 25) to define what qualifies as "strong."
+DI (Positive Directional Index) vs -DI (Negative Directional Index):
These values define trend direction:
+DI > -DI → Bullish momentum
-DI > +DI → Bearish momentum
✅ Entry Logic:
Long Entry:
Occurs when:
ADX is above the threshold, confirming trend strength
+DI > -DI, indicating bullish control
No open position exists
Short Entry:
Occurs when:
ADX is above the threshold
-DI > +DI, indicating bearish control
No open position exists
🔁 Exit Logic:
Exit Long:
If -DI overtakes +DI, signaling potential bearish reversal
Exit Short:
If +DI overtakes -DI, signaling bullish pressure building up
This allows for responsive exits based on dynamic trend changes, minimizing exposure during weak reversals.
⚙️ Strategy Features:
Filtered Trend Entries: No trades during choppy or low-ADX conditions
Auto Flip via Exit Logic: Position reversals are handled cleanly using DI dominance shifts
Clean & Lightweight: No clutter — just logic and momentum
Realistic Settings: Includes 0.05% commission and up to 5 entries (pyramiding)
🕒 Suggested Timeframes:
Works well on 1h, 4h, and daily timeframes, especially for assets prone to long trend phases such as major forex pairs, crypto majors, and high-volume stocks.
⚠️ Final Notes:
The ADX is a powerful trend strength tool but may lag in fast-moving markets. This strategy mitigates noise with strict entry rules but still requires tuning based on asset behavior.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Heikin-Ashi Trend Follower📊 Heikin-Ashi Trend Follower – Smoothed Momentum Strategy on Standard Candles
This strategy simulates the logic of Heikin-Ashi candlestick trend detection, but it is applied directly on standard chart candles, allowing traders to benefit from trend-following logic without switching chart types. It looks for smooth transitions in price sentiment by detecting two consecutive directional Heikin-Ashi candles and follows the trend accordingly.
🔍 Strategy Framework:
Heikin-Ashi Logic, Normal Candles:
Although the logic is derived from Heikin-Ashi formulas, the script does not require a Heikin-Ashi chart. It calculates Heikin-Ashi candles internally and uses those values while the script is applied on standard candles.
Trend Detection:
Heikin-Ashi Close = Average of open, high, low, and close
Heikin-Ashi Open = Midpoint of the previous HA open and close
These synthetic candles are then analyzed for consecutive direction.
✅ Entry Logic:
Long Entry:
Triggered after two consecutive Heikin-Ashi bullish candles, indicating upward momentum.
Trade is entered only if no existing position is open.
Short Entry:
Triggered after two consecutive Heikin-Ashi bearish candles, signaling downward trend continuation.
🔄 Exit Strategy:
If a position is open and a Heikin-Ashi candle in the opposite direction appears, the position is closed.
Bullish HA while short → close short
Bearish HA while long → close long
📌 Strategy Features:
Clean Trend Logic: Filters noise with synthetic HA candles.
Multi-Asset Compatible: Can be applied to any chart type — works on standard candles.
Visual Signals: Entry points are marked with up/down triangles for quick visual confirmation.
Pyramiding Enabled: Up to 5 positions allowed for scaling.
🕒 Suggested Timeframes:
Performs well on 1h, 4h, and daily timeframes. Ideal for identifying sustained directional moves while avoiding whipsaws in ranging markets.
⚠️ Final Notes:
While Heikin-Ashi candles can help filter noise, their lagging nature may delay entries and exits. This strategy adapts the concept without requiring users to change chart types.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.
Daily Open Range Breakout Bot🕒 Daily Open Range Breakout Bot – Intraday Momentum Breakout Strategy
This strategy is built around the concept of a Daily Opening Range, a powerful framework used by institutional and intraday traders to identify key breakout levels. The bot defines a specific time window each day to calculate a price range, then enters trades when price breaks out of this range, confirming momentum.
🔍 How It Works:
Opening Range Definition:
Starts at a user-defined hour (default: 21:00)
Lasts for a user-defined duration in minutes (default: 1440, i.e., full day)
During this time, the highest high and lowest low form the opening range
Breakout Logic:
Long Entry: When the current price breaks above the range high
Short Entry: When the current price breaks below the range low
If already in a position, it will flip sides upon breakout in the opposite direction
✅ Strategy Features:
Dynamic Daily Reset:
Each new day resets the range values, ensuring fresh breakout levels for each session.
Position Flip Capability:
Automatically closes current positions if the opposite breakout occurs — especially useful in volatile markets.
Next-Day Exit Rule:
If a trade is still open on the following day and it's profitable, the bot exits the position, locking in gains.
Pyramiding Allowed:
Up to 5 concurrent positions can be opened for scaling during strong trends.
Visual Guidance:
Range High plotted in green
Range Low plotted in red
Easy visual tracking of current breakout thresholds.
🕒 Suggested Timeframes:
Designed to operate best on 15-minute, 30-minute, or 1-hour charts, depending on how you configure the rangeLength. Works well for crypto, forex, and high-volume stocks.
⚠️ Final Notes:
Open Range Breakout strategies are widely used for good reason — they combine structure with momentum. However, performance may vary depending on the asset’s volatility and your defined range window. Testing and fine-tuning are essential.
Note: Different assets may require specific parameter adjustments. Users are responsible for optimizing the strategy settings for the asset they trade. Please ensure you fine-tune the parameters according to your trading pair.