Smoothed Heikin-Ashi Trend Strategy with SignalsbbSmoothed Heikin-Ashi Trend Strategy with Signalsbb
תבניות גרפים
Smoothed Heikin-Ashi Trend Strategy with SignalsaaSmoothed Heikin-Ashi Trend Strategy with Signalsaa
Zig Zag + RVI / Owl of ProfitZig Zag + Relative Vigor Index (RVI) Strategy
This strategy combines the Zig Zag indicator for identifying trends and the Relative Vigor Index (RVI) for momentum-based entry and exit signals.
Features:
Zig Zag Indicator:
Helps identify major price trends and reversals.
Threshold: 5% (default) to filter out minor price movements.
Dynamically tracks highs and lows to determine the direction of the trend.
Relative Vigor Index (RVI):
Measures market momentum based on closing and opening prices relative to the range.
Length: 14 (default).
Overbought Level: 60 (default).
Oversold Level: 40 (default).
Entry and Exit Logic:
Long Condition:
Zig Zag trend is up.
RVI crosses above the oversold level (40).
Short Condition:
Zig Zag trend is down.
RVI crosses below the overbought level (60).
Exit Long:
Zig Zag trend reverses to down.
OR RVI crosses below the overbought level (60).
Exit Short:
Zig Zag trend reverses to up.
OR RVI crosses above the oversold level (40).
Visualization:
Zig Zag Lines:
Green lines for uptrends and red lines for downtrends plotted on the price chart.
RVI:
Plotted in blue with horizontal overbought (60) and oversold (40) levels for reference.
Customization:
Adjustable Zig Zag percentage threshold for filtering trend reversals.
Configurable RVI levels and length to fit various market conditions.
This strategy is ideal for traders looking to combine trend identification with momentum-based signals for precise entries and exits.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
MA 50 + MA 200 / Owl of ProfitMA 50 + MA 200 Strategy
This simple strategy leverages the crossover of two moving averages — the 50-period and 200-period Simple Moving Averages (SMA) — to identify trend reversals and generate buy and sell signals.
Features:
Moving Average Calculation:
MA 50: Represents the short-term trend.
MA 200: Represents the long-term trend.
Crossover Logic:
Bullish Crossover: When MA 50 crosses above MA 200, indicating a potential upward trend.
Bearish Crossover: When MA 50 crosses below MA 200, indicating a potential downward trend.
Entry and Exit Logic:
Long Condition:
Triggered when MA 50 crosses above MA 200.
Closes any short position before opening (or adding to) a long position.
Short Condition:
Triggered when MA 50 crosses below MA 200.
Closes any long position before opening (or adding to) a short position.
Visualization:
MA 50 (Short-Term): Plotted on the chart as a dynamic line for short-term trend analysis.
MA 200 (Long-Term): Plotted on the chart to reflect the long-term trend.
Crossover points are visually indicated by the trade entry/exit markers on the chart.
This strategy is ideal for traders who prefer a simple and effective trend-following approach based on moving averages. Use it for backtesting and adaptation to your trading style.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
Breakout Pivot High-LowThis strategy uses a breakout approach by identifying the Previous Pivot High as the entry signal. The strategy calculates Pivot High/Low using a customizable LENGTH LEFT/RIGHT parameter, allowing flexibility in defining the number of candles for the calculation. To manage risk, it uses position sizing based on Trailing Stop or Previous Pivot Low. Specifically, the Trailing Stop is calculated using the ATR of the last 10 candles multiplied by 2.3.
The reason for using ATR Trailing Stop in position sizing is that it generally creates a narrower price range compared to Previous Pivot Low. This allows for a larger position size, which can lead to higher profits for each trade.
The exit condition is determined by the price closing below the Previous Pivot Low. This indicates a potential shift in market structure from an uptrend to a downtrend, making it a logical point to close the order.
The backtesting period can be set in the Backtest Settings, with the default range from 1/1/2012 to the present. The strategy’s exit rules are designed to trigger when the price breaks either the Middle Line or the Previous Pivot Low.
This script is intended to help traders manage breakout opportunities effectively while maintaining risk control through customizable parameters. It is particularly suitable for traders who prefer a structured and adaptive approach to trading. All default settings are carefully optimized for realistic trading scenarios, but they can be fully adjusted to meet individual trading preferences.
$TRUMPT 多空策略分享【$TRUMP多空策略分享】
这是一个结合趋势跟随和波段交易的策略,通过多重技术指标确认入场,配合动态仓位管理和灵活止盈机制。
策略核心逻辑:
入场信号
多头:快速EMA上穿慢速EMA + MACD金叉 + RSI<70
空头:快速EMA下穿慢速EMA + MACD死叉 + RSI>30
风险管理
止损:5%
第一止盈:8%
第二止盈:12%
杠杆:3倍
仓位管理
基于ATR动态调整仓位大小
单笔最大风险控制在5%
最大仓位不超过40%账户权益
回测数据:
净利润:145.37 USDT (14.56%)
交易次数:164次
胜率:39.02%
盈亏比:1.468
最大回撤:84.43 USDT (6.90%)
平均每笔:0.89 USDT
策略特点:
多重指标过滤,提高交易质量
分批止盈,动态调整目标位
完善的风控体系,确保长期稳定
适合波动性较大的币种
注意:回测表现不代表未来收益,请理性对待,严格执行风控。
EMA 21/50 Buy Strategy//@version=5
strategy("EMA 21/50 Buy Strategy", overlay=true)
// Input for EMA lengths
ema21Length = input.int(21, title="EMA 21 Length")
ema50Length = input.int(50, title="EMA 50 Length")
// Stop loss and take profit in pips
stopLossPips = input.int(50, title="Stop Loss (pips)")
takeProfitPips = input.int(100, title="Take Profit (pips)")
// Convert pips to price (adjust for pip value based on market type)
pipValue = syminfo.mintick
stopLossPrice = stopLossPips * pipValue
takeProfitPrice = takeProfitPips * pipValue
// Calculate EMAs
ema21 = ta.ema(close, ema21Length)
ema50 = ta.ema(close, ema50Length)
// Bullish crossover condition
bullishCrossover = ta.crossover(ema21, ema50)
// Strategy entry logic
if (bullishCrossover)
strategy.entry("Buy", strategy.long)
strategy.exit("Take Profit", from_entry="Buy", limit=close + takeProfitPrice, stop=close - stopLossPrice)
// Plot the EMAs
plot(ema21, color=color.blue, title="EMA 21")
plot(ema50, color=color.red, title="EMA 50")
IME-Bands with RSI Strategy//@version=5
strategy("IME-Bands with RSI Strategy", overlay=true)
// === INPUTS ===
src = close
emaS_value = input.int(50, minval=1, title="EMA Small - Value") // 50 EMA
emaB_value = input.int(100, minval=1, title="EMA Big - Value") // 100 EMA
rsi_length = input.int(14, title="RSI Length")
rsi_source = input.source(close, title="RSI Source")
rsi_overbought = input.int(70, title="RSI Overbought Level")
rsi_oversold = input.int(30, title="RSI Oversold Level")
// === CALCULATIONS ===
// EMAs
emaS = ta.ema(close, emaS_value)
emaB = ta.ema(close, emaB_value)
// RSI
rsi = ta.rsi(rsi_source, rsi_length)
// IME-Band Cross Conditions
isGreenCrossover = emaS > emaB // Green band
isRedCrossover = emaS < emaB // Red band
// Track Green Cross Confirmation
var bool isGreenConfirmed = false
if (isGreenCrossover and not isGreenCrossover ) // First green crossover
isGreenConfirmed := true
if (not isGreenCrossover)
isGreenConfirmed := false
// Entry Condition: RSI above 70 on second green candle
entryCondition = isGreenConfirmed and rsi > rsi_overbought and isGreenCrossover
// Exit Condition: Red band confirmed
exitCondition = isRedCrossover
// === STRATEGY RULES ===
// Stop Loss: Lowest point of crossover
var float stopLoss = na
if (isGreenCrossover and not isGreenCrossover )
stopLoss := emaB // Set stop loss to EMA Big (crossover point)
// Entry and Exit Trades
if (entryCondition)
strategy.entry("Buy", strategy.long)
stopLoss := na // Reset stop loss after entry
if (exitCondition)
strategy.close("Buy")
// Stop Loss logic
if (strategy.position_size > 0 and not na(stopLoss))
strategy.exit("Stop Loss", from_entry="Buy", stop=stopLoss)
// Plotting
plot(emaS, color=color.green, title="EMA Small (50)", linewidth=1)
plot(emaB, color=color.red, title="EMA Big (100)", linewidth=1)
hline(rsi_overbought, "RSI Overbought", color=color.new(color.red, 70), linestyle=hline.style_dotted)
plot(rsi, color=color.blue, title="RSI")
Ichimoku Cloud / Owl of ProfitIchimoku Cloud Strategy
This strategy uses the Ichimoku Cloud indicator to detect trend direction and momentum for generating entry and exit signals.
Features:
Ichimoku Cloud Components:
Tenkan-Sen (Conversion Line): Calculated as the midpoint of the highest high and lowest low over the past 9 periods (default).
Kijun-Sen (Base Line): Calculated as the midpoint of the highest high and lowest low over the past 26 periods (default).
Senkou Span A (Leading Span A): The average of Tenkan-Sen and Kijun-Sen, displaced 26 periods into the future.
Senkou Span B (Leading Span B): The midpoint of the highest high and lowest low over the past 52 periods, displaced 26 periods into the future.
Chikou Span (Lagging Span): The current close, displaced 26 periods into the past.
Entry Conditions:
Long: Price is above the cloud (Span A and Span B) and Tenkan-Sen is above Kijun-Sen.
Short: Price is below the cloud (Span A and Span B) and Tenkan-Sen is below Kijun-Sen.
Exit Conditions:
Positions are exited when the opposite signal is generated.
Visualization:
The Ichimoku Cloud (Kumo) is displayed with a green fill for bullish trends and a red fill for bearish trends.
Tenkan-Sen and Kijun-Sen are plotted as dynamic support and resistance levels.
This strategy is ideal for identifying strong trends and capturing momentum-based trade opportunities. Use it for backtesting and further adaptation to your trading preferences.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
BuyTheDips Trade on Trend and Fixed TP/SL
This strategy is designed to trade in the direction of the trend using exponential moving average (EMA) crossovers as signals while employing fixed percentages for take profit (TP) and stop loss (SL) to manage risk and reward. It is suitable for both scalping and swing trading on any timeframe, with its default settings optimized for short-term price movements.
How It Works
EMA Crossovers:
The strategy uses two EMAs: a fast EMA (shorter period) and a slow EMA (longer period).
A buy signal is triggered when the fast EMA crosses above the slow EMA, indicating a potential bullish trend.
A sell signal is triggered when the fast EMA crosses below the slow EMA, signaling a bearish trend.
Trend Filtering:
To improve signal reliability, the strategy only takes trades in the direction of the overall trend:
Long trades are executed only when the fast EMA is above the slow EMA (bullish trend).
Short trades are executed only when the fast EMA is below the slow EMA (bearish trend).
This filtering ensures trades are aligned with the prevailing market direction, reducing false signals.
Risk Management (Fixed TP/SL):
The strategy uses fixed percentages for take profit and stop loss:
Take Profit: A percentage above the entry price for long trades (or below for short trades).
Stop Loss: A percentage below the entry price for long trades (or above for short trades).
These percentages can be customized to balance risk and reward according to your trading style.
For example:
If the take profit is set to 2% and the stop loss to 1%, the strategy operates with a 2:1 risk-reward ratio. BINANCE:BTCUSDT
Bearish Wick Reversal█ STRATEGY OVERVIEW
The "Bearish Wick Reversal Strategy" identifies potential bullish reversals following significant bearish price rejection (long lower wicks). This counter-trend approach enters long positions when bearish candles show exaggerated downside wicks relative to closing prices, then exits on bullish confirmation signals. Includes optional EMA trend filtering for improved reliability.
█ What is a Bearish Wick?
A price rejection pattern where:
Bearish candle (close < open) forms with extended lower wick
Wick represents failed selloff: Low drops significantly below close
Measured as: (Low - Close)/Close × 100 (Negative percentage indicates downward extension)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Bearish candle forms with close < open
Lower wick exceeds user-defined threshold (Default: -1% of close price)
The signal occurs within the specified time window
If enabled, the close price must also be above the 200-period EMA (Exponential Moving Average)
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: Volatile instruments with frequent price rejections
Key Risk: False signals in sustained bearish trends
Optimization Tip: Test various thresholds
Filter Impact: EMA reduces trades but improves win rate and reduces drawdown
Gap Down Reversal Strategy█ STRATEGY OVERVIEW
The "Gap Down Reversal Strategy" capitalizes on price recovery patterns following bearish gap-down openings. This mean-reversion approach enters long positions on confirmed intraday recoveries and exits when prices breach previous session highs. This strategy is NOT optimized.
█ What is a Gap Down Reversal?
A gap down reversal occurs when:
An instrument opens significantly below its prior session's low (price gap)
Selling pressure exhausts itself during the session
Buyers regain control, pushing price back above the opening level
Creates a candlestick with:
• Open < Prior Session Low (true gap)
• Close > Open (bullish reversal candle)
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
Previous candle closes BELOW its opening price (bearish candle)
Current session opens BELOW prior candle's low (gap down)
Current candle closes ABOVE its opening price (bullish reversal)
Executes market order at session close
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ PERFORMANCE OVERVIEW
Ideal Market: High volatility instruments with frequent gaps
Key Risk: False reversals in sustained downtrends
Optimization Tip: Test varying gap thresholds (1-3% ranges)
ATR + Pivot Points / Owl of ProfitThis strategy combines ATR (Average True Range) and Pivot Points for trade entries and exits. It uses dynamic stop loss and take profit levels based on ATR, and incorporates daily Pivot Points as key levels for decision-making.
Features:
Pivot Points: Calculates standard daily Pivot Points (Pivot, R1, R2, S1, S2) for support and resistance levels.
ATR Integration: Uses ATR to dynamically set stop loss and take profit levels with customizable multipliers.
Entry Conditions:
Long: Price crosses above R1.
Short: Price crosses below S1.
Exit Conditions:
Optional closing of positions when crossing the main pivot point.
Fully visualized Pivot Points for easy reference on the chart.
Customization Options:
Adjust Pivot Points calculation period.
Modify ATR length and multiplier for tailored risk management.
Enable or disable Pivot Points visualization.
This strategy is designed for demonstration and educational purposes. Use it as a foundation for further backtesting and customization.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
3 Line Strike + EMA / Owl of ProfitThis script is based on the TMA Overlay by Arty and extended with an ATR and EMA filter for enhanced strategy conditions.
Features:
Detects Bullish and Bearish 3 Line Strike patterns:
Bullish: Three consecutive red candles followed by a large green engulfing candle.
Bearish: Three consecutive green candles followed by a large red engulfing candle.
Adds an EMA filter:
Bullish signals only trigger if the price is above the EMA.
Bearish signals only trigger if the price is below the EMA.
Uses ATR to calculate dynamic Take Profit (TP) and Stop Loss (SL) levels.
Includes alert conditions for automation or monitoring of key signals.
Strategy entries are based on combined candlestick patterns and trend validation.
Customization Options:
Adjust ATR and EMA lengths for flexibility.
Enable/disable specific signals (e.g., Bullish or Bearish 3 Line Strike).
This strategy is designed for educational and testing purposes. Use it as a foundation for further customization and backtesting on your preferred markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
3 Line Strike + ADX / Owl of ProfitThis script is based on the TMA Overlay by Arty and extended with an ATR and ADX filter for enhanced strategy conditions.
Features:
Detects Bullish and Bearish 3 Line Strike patterns:
Bullish: Three consecutive red candles followed by a large green engulfing candle.
Bearish: Three consecutive green candles followed by a large red engulfing candle.
Adds an ADX filter to ensure strong trend conditions before generating signals.
Uses ATR to calculate dynamic Take Profit (TP) and Stop Loss (SL) levels.
Includes alert conditions for automation or monitoring of key signals.
Strategy entries are based on combined candlestick patterns and trend strength.
Customization Options:
Adjust ATR and ADX lengths, as well as the ADX threshold for trend validation.
Enable/disable specific signals (e.g., Bullish or Bearish 3 Line Strike).
This strategy is designed for educational and testing purposes. Use it as a foundation for further customization and backtesting on your preferred markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
3 Line Strike (TheTrdFloor) / Owl of Profit remakeThis script is based on the TMA Overlay by Arty and converted to a simple strategy example. A huge thank you to TheTrdFloor for the inspiration!
Features:
Detects Bullish and Bearish 3 Line Strike patterns:
Bullish: Three consecutive red candles followed by a large green engulfing candle.
Bearish: Three consecutive green candles followed by a large red engulfing candle.
Identifies Bullish and Bearish Engulfing Candles (optional).
Includes alert conditions for all signals, supporting automation or monitoring.
Plots visual markers for signals, with an optional meme icon overlay.
Strategy entries are executed based on signal detections.
Customization Options:
Enable/disable specific patterns/signals (e.g., 3 Line Strike or Engulfing Candles).
Choose between meme icons or standard chart shapes.
This strategy is designed for educational and testing purposes. Use it as a foundation for further customization and backtesting on your preferred markets.
Visit my website for more tools and strategies: bybitindicators.com
Happy trading!
SPY/TLT Strategy█ STRATEGY OVERVIEW
The "SPY/TLT Strategy" is a trend-following crossover strategy designed to trade the relationship between TLT and its Simple Moving Average (SMA). The default configuration uses TLT (iShares 20+ Year Treasury Bond ETF) with a 20-period SMA, entering long positions on bullish crossovers and exiting on bearish crossunders. **This strategy is NOT optimized and performs best in trending markets.**
█ KEY FEATURES
SMA Crossover System: Uses price/SMA relationship for signal generation (Default: 20-period)
Dynamic Time Window: Configurable backtesting period (Default: 2014-2099)
Equity-Based Position Sizing: Default 100% equity allocation per trade
Real-Time Visual Feedback: Price/SMA plot with trend-state background coloring
Event-Driven Execution: Processes orders at bar close for accurate backtesting
█ SIGNAL GENERATION
1. LONG ENTRY CONDITION
TLT closing price crosses ABOVE SMA
Occurs within specified time window
Generates market order at next bar open
2. EXIT CONDITION
TLT closing price crosses BELOW SMA
Closes all open positions immediately
█ ADDITIONAL SETTINGS
SMA Period: Simple Moving Average length (Default: 20)
Start Time and End Time: The time window for trade execution (Default: 1 Jan 2014 - 1 Jan 2099)
Security Symbol: Ticker for analysis (Default: TLT)
█ PERFORMANCE OVERVIEW
Ideal Market Conditions: Strong trending environments
Potential Drawbacks: Whipsaws in range-bound markets
Backtesting results should be analyzed to optimize the MA Period and EMA Filter settings for specific instruments
Enhanced UT Bot with Long & Short TradesThis Pine Script implements a UT Bot Strategy based on ATR (Average True Range) trailing stop levels to generate buy and sell signals. It features:
Customizable Sensitivity:
Adjust the Key Value and ATR Period to control signal sensitivity.
Trailing Stop Logic:
A dynamic trailing stop tracks price movements based on ATR, switching between buy and sell zones.
Trade Automation:
Uses strategy.entry and strategy.close to automate long and short trades.
Triggers webhook alerts for buy and sell signals (UT Bot Buy and UT Bot Sell).
Visual Signals:
Displays trailing stop levels on the chart.
Plots buy/sell labels when crossover or crossunder events occur.
Webhook Integration:
Supports automated trade execution via webhook alerts.
Ideal for traders looking for a simple yet effective ATR-based trading strategy that works with automated systems like webhook triggers.
3 Down, 3 Up Strategy█ STRATEGY DESCRIPTION
The "3 Down, 3 Up Strategy" is a mean-reversion strategy designed to capitalize on short-term price reversals. It enters a long position after consecutive bearish closes and exits after consecutive bullish closes. This strategy is NOT optimized and can be used on any timeframes.
█ WHAT ARE CONSECUTIVE DOWN/UP CLOSES?
- Consecutive Down Closes: A sequence of trading bars where each close is lower than the previous close.
- Consecutive Up Closes: A sequence of trading bars where each close is higher than the previous close.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The price closes lower than the previous close for Consecutive Down Closes for Entry (default: 3) consecutive bars.
The signal occurs within the specified time window (between Start Time and End Time).
If enabled, the close price must also be above the 200-period EMA (Exponential Moving Average).
2. EXIT CONDITION
A Sell Signal is generated when the price closes higher than the previous close for Consecutive Up Closes for Exit (default: 3) consecutive bars.
█ ADDITIONAL SETTINGS
Consecutive Down Closes for Entry: Number of consecutive lower closes required to trigger a buy. Default = 3.
Consecutive Up Closes for Exit: Number of consecutive higher closes required to exit. Default = 3.
EMA Filter: Optional 200-period EMA filter to confirm long entries in bullish trends. Default = disabled.
Start Time and End Time: Restrict trading to specific dates (default: 2014-2099).
█ PERFORMANCE OVERVIEW
Designed for volatile markets with frequent short-term reversals.
Performs best when price oscillates between clear support/resistance levels.
The EMA filter improves reliability in trending markets but may reduce trade frequency.
Backtest to optimize consecutive close thresholds and EMA period for specific instruments.
Internal Bar Strength (IBS) Strategy█ STRATEGY DESCRIPTION
The "Internal Bar Strength (IBS) Strategy" is a mean-reversion strategy designed to identify trading opportunities based on the closing price's position within the daily price range. It enters a long position when the IBS indicates oversold conditions and exits when the IBS reaches overbought levels. This strategy was designed to be used on the daily timeframe.
█ WHAT IS INTERNAL BAR STRENGTH (IBS)?
Internal Bar Strength (IBS) measures where the closing price falls within the high-low range of a bar. It is calculated as:
IBS = (Close - Low) / (High - Low)
- **Low IBS (≤ 0.2)**: Indicates the close is near the bar's low, suggesting oversold conditions.
- **High IBS (≥ 0.8)**: Indicates the close is near the bar's high, suggesting overbought conditions.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The IBS value drops below the Lower Threshold (default: 0.2).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the IBS value rises to or above the Upper Threshold (default: 0.8). This prompts the strategy to exit the position.
█ ADDITIONAL SETTINGS
Upper Threshold: The IBS level at which the strategy exits trades. Default is 0.8.
Lower Threshold: The IBS level at which the strategy enters long positions. Default is 0.2.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for ranging markets and performs best when prices frequently revert to the mean.
It is sensitive to extreme IBS values, which help identify potential reversals.
Backtesting results should be analyzed to optimize the Upper/Lower Thresholds for specific instruments and market conditions.
Buy on 5 day low Strategy█ STRATEGY DESCRIPTION
The "Buy on 5 Day Low Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price drops below the lowest low of the previous five days. It enters a long position when specific conditions are met and exits when the price exceeds the high of the previous day. This strategy is optimized for use on daily or higher timeframes.
█ WHAT IS THE 5-DAY LOW?
The 5-Day Low is the lowest price observed over the last five days. This level is used as a reference to identify potential oversold conditions and reversal points.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price is below the lowest low of the previous five days (`close < _lowest `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the high of the previous day (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently oscillates around key support levels.
It is sensitive to oversold conditions, as indicated by the 5-Day Low, and overbought conditions, as indicated by the previous day's high.
Backtesting results should be analyzed to optimize the strategy for specific instruments and market conditions.
3-Bar Low Strategy█ STRATEGY DESCRIPTION
The "3-Bar Low Strategy" is a mean-reversion strategy designed to identify potential buying opportunities when the price drops below the lowest low of the previous three bars. It enters a long position when specific conditions are met and exits when the price exceeds the highest high of the previous seven bars. This strategy is suitable for use on various timeframes.
█ WHAT IS THE 3-BAR LOW?
The 3-Bar Low is the lowest price observed over the last three bars. This level is used as a reference to identify potential oversold conditions and reversal points.
█ WHAT IS THE 7-BAR HIGH?
The 7-Bar High is the highest price observed over the last seven bars. This level is used as a reference to identify potential overbought conditions and exit points.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price is below the lowest low of the previous three bars (`close < _lowest `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
If the EMA Filter is enabled, the close price must also be above the 200-period Exponential Moving Average (EMA).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the highest high of the previous seven bars (`close > _highest `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
MA Period: The lookback period for the 200-period EMA used in the EMA Filter. Default is 200.
Use EMA Filter: Enables or disables the EMA Filter for long entries. Default is disabled.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for mean-reverting markets and performs best when the price frequently oscillates around key support and resistance levels.
It is sensitive to oversold conditions, as indicated by the 3-Bar Low, and overbought conditions, as indicated by the 7-Bar High.
Backtesting results should be analyzed to optimize the MA Period and EMA Filter settings for specific instruments.