INDICES Fibonacci Channel (3650 SMA with Labels)INDICES ONLY
This script dynamically combines Fibonacci levels with the 3650-period simple moving average (SMA), offering a powerful tool for identifying high-probability support and resistance zones. By adjusting to the changing 3650 SMA, the script remains relevant across different market phases.
Key Features:
Dynamic Fibonacci Levels:
The script automatically calculates Fibonacci retracements and extensions relative to the 3650 SMA.
These levels adapt to market trends, offering more relevant zones compared to static Fibonacci tools.
Support and Resistance Zones:
In uptrends, price often respects retracement levels above the 3650 SMA (e.g., 38.2%, 50%, 61.8%).
In downtrends, price may interact with retracements and extensions below the 3650 SMA (e.g., 23.6%, 1.618).
Customizable Confluence Zones:
Key levels such as the golden pocket (61.8%–65%) are highlighted as high-probability zones for reversals or continuations.
Extensions (e.g., 1.618) can serve as profit targets or bearish continuation points.
Practical Applications:
Identifying Reversal Zones:
Look for confluence between Fibonacci levels and the 3650 SMA to identify potential reversal points.
Example: A pullback to the 61.8%–65% golden pocket near the 3650 SMA often signals a bullish reversal.
Trend Confirmation:
In uptrends, price respecting Fibonacci retracements above the 3650 SMA (e.g., 38.2%, 50%) confirms strength.
Use Fibonacci extensions (e.g., 1.618) as profit targets during strong trends.
Dynamic Risk Management:
Place stop-losses just below key Fibonacci retracement levels near the 3650 SMA to minimize risk.
Bearish Scenarios:
Below the 3650 SMA, Fibonacci retracements and extensions act as resistance levels and bearish targets.
How to Use:
Volume Confirmation: Watch for volume spikes near Fibonacci levels to confirm support or resistance.
Price Action: Combine with candlestick patterns (e.g., engulfing candles, pin bars) for precise entries.
Trend Indicators: Use in conjunction with shorter moving averages or RSI to confirm market direction.
Example Setup:
Scenario: Price retraces to the 61.8% Fibonacci level while holding above the 3650 SMA.
Confirmation: Volume spikes, and a bullish engulfing candle forms.
Action: Enter long with a stop-loss just below the 3650 SMA and target extensions like 1.618.
Key Takeaways:
The 3650 SMA serves as a reliable long-term trend anchor.
Fibonacci retracements and extensions provide dynamic zones for trade entries, exits, and risk management.
Combining this tool with volume, price action, or other indicators enhances its effectiveness.
Penunjuk dan strategi
Bollinger Bands Reversal Strategy Analyzer█ OVERVIEW
The Bollinger Bands Reversal Overlay is a versatile trading tool designed to help traders identify potential reversal opportunities using Bollinger Bands. It provides visual signals, performance metrics, and a detailed table to analyze the effectiveness of reversal-based strategies over a user-defined lookback period.
█ KEY FEATURES
Bollinger Bands Calculation
The indicator calculates the standard Bollinger Bands, consisting of:
A middle band (basis) as the Simple Moving Average (SMA) of the closing price.
An upper band as the basis plus a multiple of the standard deviation.
A lower band as the basis minus a multiple of the standard deviation.
Users can customize the length of the Bollinger Bands and the multiplier for the standard deviation.
Reversal Signals
The indicator identifies potential reversal signals based on the interaction between the price and the Bollinger Bands.
Two entry strategies are available:
Revert Cross: Waits for the price to close back above the lower band (for longs) or below the upper band (for shorts) after crossing it.
Cross Threshold: Triggers a signal as soon as the price crosses the lower band (for longs) or the upper band (for shorts).
Trade Direction
Users can select a trade bias:
Long: Focuses on bullish reversal signals.
Short: Focuses on bearish reversal signals.
Performance Metrics
The indicator calculates and displays the performance of trades over a user-defined lookback period ( barLookback ).
Metrics include:
Win Rate: The percentage of trades that were profitable.
Mean Return: The average return across all trades.
Median Return: The median return across all trades.
These metrics are calculated for each bar in the lookback period, providing insights into the strategy's performance over time.
Visual Signals
The indicator plots buy and sell signals on the chart:
Buy Signals: Displayed as green triangles below the price bars.
Sell Signals: Displayed as red triangles above the price bars.
Performance Table
A customizable table is displayed on the chart, showing the performance metrics for each bar in the lookback period.
The table includes:
Win Rate: Highlighted with gradient colors (green for high win rates, red for low win rates).
Mean Return: Colored based on profitability (green for positive returns, red for negative returns).
Median Return: Colored similarly to the mean return.
Time Filtering
Users can define a specific time window for the indicator to analyze trades, ensuring that performance metrics are calculated only for the desired period.
Customizable Display
The table's font size can be adjusted to suit the user's preference, with options for "Auto," "Small," "Normal," and "Large."
█ PURPOSE
The Bollinger Bands Reversal Overlay is designed to:
Help traders identify high-probability reversal opportunities using Bollinger Bands.
Provide actionable insights into the performance of reversal-based strategies.
Enable users to backtest and optimize their trading strategies by analyzing historical performance metrics.
█ IDEAL USERS
Swing Traders: Looking for reversal opportunities within a trend.
Mean Reversion Traders: Interested in trading price reversals to the mean.
Strategy Developers: Seeking to backtest and refine Bollinger Bands-based strategies.
Performance Analysts: Wanting to evaluate the effectiveness of reversal signals over time.
Dev-Automatic Trendline & Pattern DetectorIndicator Name: Automatic Trendline & Pattern Detector
Purpose: This indicator is designed to automatically identify key price action patterns and draw relevant trendlines on your chart. It simplifies technical analysis by providing visual cues for common patterns like higher highs (HH), higher lows (HL), triangles, bullish flags, and bearish flags.
Features:
Trendline Detection:
Automatically detects and draws trendlines connecting key price points like higher highs, higher lows, and other patterns.
Higher Highs (HH) & Higher Lows (HL):
Marks higher highs and higher lows on the chart with labeled points.
Draws a connecting trendline to visualize the overall trend.
Triangle Patterns:
Identifies potential triangle patterns by finding the highest high and lowest low within a specified range.
Draws trendlines to connect these levels, helping identify breakout opportunities.
Bullish and Bearish Flags:
Detects flag patterns within price movements.
Automatically draws parallel trendlines to visualize consolidation zones.
Customization Options:
Allows users to enable or disable specific features, such as higher highs/lows, triangles, or flags.
Adjustable length parameter to control the sensitivity of pattern detection.
Benefits:
Saves time for traders by automating the process of identifying patterns and drawing trendlines.
Enhances chart analysis by providing a clear visual representation of trends and consolidation zones.
Helps traders spot potential breakout opportunities and key levels of support and resistance.
How to Use:
Add the indicator to your chart in TradingView.
Customize the settings to suit your trading strategy:
Adjust the length parameter for pattern sensitivity.
Toggle on/off specific patterns like HH/HL, triangles, or flags.
Observe the automatically drawn trendlines and use them as part of your technical analysis.
Combine this indicator with other tools or strategies for enhanced decision-making.
Note: While this indicator provides automated insights, it should be used in conjunction with proper risk management and other analysis techniques.
Emergent Rays - NovaTheMachineEmergent Rays
An emergent ray is a refracted ray of light that exits a medium or channel. Emergent rays can be created when light passes through a prism, glass slab, or mirror
This visual indicator has been designed to aid in developing psychological understanding of price action. Many traders often struggle with developing strategy that they can act on, repeatedly. The difference between gambling and trading successfully comes down to following a plan, that you have tested and determined to be profitable over the long term.
Some traders experience anxiety when trading trends, trying to time a reversal, or entering a trade based on emotions and are unsure where they should place a stop - if they bother to place one at all.
I developed this indicator to help traders practice responsible trading practices and develop discipline. When applied to a chart an array of light rays will be plotted, similarly to those that are emitted from light passing through a medium such as a prism. These rays are a series of EMAs high & low values, filled with an assigned color.
The indicator does not suggest an entry or exit, it allows for freedom of user interpretation, however - when in a trending market you may notice that the rays are tested multiple times when the market is trending in the same direction. When trading trends it makes sense to enter at the discounted value (pullbacks) and exit on extensions. There are two main reasons for this; first is manage risk, second is to profit from a successful trade.
To practice discipline and remove emotions from trading, one must be willing to accept the outcome of a trade - regardless of whether it was profitable or not, based on their strategy.
The visual gradient of the rays signifies the pullback to stoploss risk. As price expands it is clear to see that the distance from red to blue rays increases, which means entering a trade on a touch of the red ray requires a larger stoploss than entering a pullback to the green or blue rays. When price closes on the opposite side of a ray from where it was trending - we accept the trend may have ended and must wait for the next trend cycle. If the price action is range bound we will notice the rays melting together to create a grey ray that signifies this is not the best place to be trading any type of trend following strategy.
Using this indicator in an uptrend (price expansion upwards), we look to enter long positions of retests (pullbacks) into the rays - with a stoploss set below the lowest rays; as we do not believe the uptrend is over until the trend has been broken.
Using this indicator in a downtrend (price expansion downwards), we look to enter short positions of retests (pullbacks) into the rays - with a stoploss set below the lowest rays; as we do not believe the uptrend is over until the trend has been broken.
When price is range bound or consolidating, we do not enter trades; wait for clear trend to be established.
By practicing discipline, we are able to overcome the emotions involved with trading, remove hesitation, and trade our plans more confidently through appropriate risk management and radical acceptance.
Money Maykah -- MA slopesThe idea behind this script is to play with the idea of summing integration (IT) and differentiation (DT) of a T3 signal (smoothed with sma or ema). The sum is IT + DT.
Obviously this is not exactly these mathematical concepts, but what occurs is that it generates an oscillator that somewhat gets rid of skew in the oscillations in the market.
There is a signal IDE which sums the full IT + DT which shows a longer term oscillation. This will have a much larger range of numbers in amplitude so it may be a little annoying to move the scale around by hand. I don't care to fix this right now but I'm sure it can be done quite easily for someone else.
I was also playing with the idea of using a Normalization oscillator with this and seeing how the two compare and whether they could be used in some sort of strategy. Both have unpredictable behaviors but hey the market is unpredictable so have at it!
Ultimate Precision Buy/Sell Signals - Advanced Edition V1.01Ultimate Precision Buy/Sell Signals - Advanced Edition V1.01
Overview
This powerful TradingView indicator is designed for maximum precision in trading by utilizing a combination of EMA, RSI, ATR, ADX, Fibonacci extensions, and divergence detection to identify optimal buy and sell opportunities. The script is designed to help traders maximize profits while minimizing risk with advanced risk calculations and stop-loss mechanisms.
How to Use the Indicator
1. Buy and Sell Signals
BUY Signal (Green Label Below Candles):
RSI crosses above 30 (indicating an oversold recovery).
Price is below the EMA (indicating undervaluation).
ADX confirms a strong trend (if enabled).
📌 Action: Open a long position and set a stop-loss based on the risk level.
SELL Signal (Red Label Above Candles):
RSI crosses below 70 (indicating an overbought condition).
Price is above the EMA (indicating overextension).
ADX confirms a strong trend (if enabled).
📌 Action: Open a short position and set a stop-loss based on the risk level.
2. Risk and Profit Calculations
Risk Level is determined using ATR × Risk Multiplier.
Potential Profit is calculated as Risk Level × Risk-Reward Ratio.
These values are displayed in a floating label to help manage your trades efficiently.
📌 Tip: A higher Risk Multiplier means wider stop-losses, useful for volatile markets.
3. Trend Confirmation (ADX Filter)
If trend filtering is enabled, buy/sell signals will only appear in strong trends.
ADX must be above 25 to confirm that the market is trending.
📌 Tip: Use this to avoid false signals in ranging markets.
4. Divergence Detection
Bullish Divergence (Blue Circle Below Candles): Indicates a potential reversal upwards.
Bearish Divergence (Orange Circle Above Candles): Indicates a potential downward reversal.
📌 Tip: Divergences provide early warnings before market reversals.
5. Heatmap Visualization
Green Background: Indicates a high-confidence buy zone.
Red Background: Indicates a high-confidence sell zone.
📌 Tip: Use heatmaps to spot high-conviction trades.
6. Fibonacci-Based Take Profit (Optional)
If enabled, the script will use Fibonacci extensions instead of fixed risk-reward levels.
📌 Tip: Fibonacci-based TP works well in trending markets.
7. Alerts (No Need to Stare at the Charts!)
Set alerts for BUY and SELL signals.
TradingView will notify you when a perfect trade setup appears.
📌 Tip: Enable alerts in TradingView settings.
Socials & Live Stream Promotion 🚀
If you love this indicator and want to see it in action, check out my live trading sessions and content here:
🎥 YouTube: www.YouTube.com
🎮 Kick: www.Kick.com
🎥 Twitch: twitch.tv
👀 Follow me for more trading insights, strategies, and live action!
Funny Trading Joke to Brighten Your Day 😆
💬 Trader: "I lost my whole account today!"💬 Friend: "What happened?!"💬 Trader: "Well... I kept seeing those green candles and thought they were money-growing trees. Turns out they were just market traps!"😂😂😂
🚀 Smash that FOLLOW button if this indicator helps your trading! Let’s dominate the markets together! 📈🔥
4 Bar Momentum Reversal strategy█ STRATEGY DESCRIPTION
The "4 Bar Momentum Reversal Strategy" is a mean-reversion strategy designed to identify price reversals following a sustained downward move. It enters a long position when a reversal condition is met and exits when the price shows strength by exceeding the previous bar's high. This strategy is optimized for indices and stocks on the daily timeframe.
█ WHAT IS THE REFERENCE CLOSE?
The Reference Close is the closing price from X bars ago, where X is determined by the Lookback period. Think of it as a moving benchmark that helps the strategy assess whether prices are trending upwards or downwards relative to past performance. For example, if the Lookback is set to 4, the Reference Close is the closing price 4 bars ago (`close `).
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The close price has been lower than the Reference Close for at least `Buy Threshold` consecutive bars. This indicates a sustained downward move, suggesting a potential reversal.
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 bar (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Buy Threshold: The number of consecutive bearish bars needed to trigger a Buy Signal. Default is 4.
Lookback: The number of bars ago used to calculate the Reference Close. Default is 4.
Start Time and End Time: The time window during which the strategy is allowed to execute trades.
█ PERFORMANCE OVERVIEW
This strategy is designed for trending markets with frequent reversals.
It performs best in volatile conditions where price movements are significant.
Backtesting results should be analysed to optimize the Buy Threshold and Lookback parameters for specific instruments.
Supertrend with 3 TimeframesFor intraday & positional
entry condition when all trends align with momentum
Dynamic Label Update ProLive Trading with Dynamic Label Update Pro: A Game-Changing Tool
The markets move fast, and trading tools need to keep up. Dynamic Label Update is designed to deliver real-time insights with 7 integrated features, helping traders make smarter decisions in live market conditions.
What’s New?
Dynamic Label Update brings cutting-edge innovation to your charts:
Live Buy/Sell Labels: Stop guessing—get clear, actionable signals based on momentum, volume, and trends.
Multi-Layer Confirmation: Combines 7 key features like EMA, RSI, MFI, and Rolling Volume into one cohesive system.
Adaptive Market Analysis: Say goodbye to outdated static tools—dynamic updates ensure you’re always working with the most accurate, up-to-date data.
✨ Dynamic Label Update with 7 Key Features
Experience a cutting-edge script that streamlines your trading analysis with real-time, dynamic updates and these 7 core features:
1. EMA with RSI and Rolling Volume: Identify trend strength and potential reversals.
2. ADL with MFI and Rolling Volume: Track accumulation/distribution trends to reveal market sentiment.
3. Swing High/Low with MFI and Rolling Volume: Highlight key price action zones for smarter entries and exits.
4. RSI Overbought/Oversold with MFI and Rolling Volume: Pinpoint momentum extremes to capture high-probability moves.
5. MFI Overbought/Oversold with Rolling Volume: Detect potential turning points and divergences with precision.
6. Swing High/Low with ADL and Rolling Volume: Add depth to price action analysis for a complete market view.
7. Live Buy/Sell Label Updates: Stay ahead of the market with dynamic, actionable trade signals.
Why It Works
Dynamic Label Update is built for traders who demand:
Real-time precision: Instantly adapt to momentum shifts and market changes.
Multi-layer insights: Combine trend, volume, and momentum into one system for unparalleled clarity.
Clarity and speed: Stay ahead of the competition with live updates that adjust to current conditions.
This free trial version offers a glimpse into the power of Dynamic Label Update. Explore its 7 layers of confirmation and experience how real-time updates can transform your trading approach.
Disclaimer:
This script and its underlying logic are protected under Patent Pending status. Any unauthorized use, replication, or modification of its functionality may result in legal action.
This script is provided for informational purposes only and does not constitute financial or investment advice. Users assume full responsibility for their trading decisions and associated risks. Past performance is not indicative of future results.
This script is intended for personal use only. Any commercial use, resale, or redistribution without explicit permission from the creator is prohibited.
This publication complies with TradingView’s platform guidelines.
Bollingers Bands Fibonacci ratios_copy of FOMOBollinger Bands Fibonacci Ratios (FiBB)
This TradingView script is a powerful tool that combines the classic Bollinger Bands with Fibonacci ratios to help traders identify potential support and resistance zones based on market volatility.
Key Features:
Dynamic Fibonacci Levels: The script calculates additional levels around a Simple Moving Average (SMA) using Fibonacci ratios (default: 1.618, 2.618, and 4.236). These levels adapt to market volatility using the Average True Range (ATR).
Customizable Parameters: Users can modify the length of the SMA and the Fibonacci ratios to fit their trading strategy and time frame.
Visual Representation: The indicator plots three upper and three lower bands, with color-coded transparency for easy interpretation.
Central SMA Line: The core SMA line provides a baseline for price movement and trend direction.
Shaded Range: The script visually fills the area between the outermost bands to highlight the overall range of price action.
How to Use:
Use the upper bands as potential resistance zones and the lower bands as potential support zones.
Look for price interactions with these levels to identify opportunities for breakout, trend continuation, or reversal trades.
Combine with other indicators or price action analysis to enhance decision-making.
This script is ideal for traders who want a unique blend of Fibonacci-based analysis and Bollinger Bands to better navigate market movements.
NWELux Algo Nadaraya Watson Envelope, simply modified to add alert for whenever it prints a label. All credit for Pine Script and indicator to Lux Algo.
Squeeze Momentum BUY SELL - CryptoBoostSqueeze momentum con Cipher pro para activar ordenes de compra y de venta. Modificado para la estrategia que usamos en nuestro fondo de inversiones
Metaphor Vigour Ratio### **Script Name:** Metaphor Vigour Ratio
**Short Title:** Metaphor Vigour Ratio
**Author:** Sovit Manjani, CMT
**Description:**
The Metaphor Vigour Ratio (MVRatio) is a powerful Relative Strength Indicator designed for assessing normalized relative strength. It is versatile and can be applied to any script or used to rank symbols based on their intermarket relative strength.
---
### **Features:**
1. **Bullish and Bearish Signals:**
- **Above 100:** Indicates a bullish trend.
- **Below 100:** Indicates a bearish trend.
2. **Trend Analysis with Slope:**
- **Slope Rising:** Suggests bullish momentum.
- **Slope Falling:** Suggests bearish momentum.
3. **Stock Selection Strategy:**
- Identify and rank stocks based on the MVRatio. For example, buy the top 10 stocks of Nifty with the highest MVRatio values for strong performance potential.
---
### **Inputs:**
1. **Fast EMA Period (RSEMAFast):** Default set to 10. Controls the sensitivity of the Fast Moving Average.
2. **Slow EMA Period (RSEMASlow):** Default set to 30. Provides a stable trend base with the Slow Moving Average.
3. **Smooth EMA Period (SmoothEMA):** Default set to 3. Smooths the MVRatio for better clarity.
4. **Close Source:** Default is the closing price, but it can be customized as needed.
5. **Comparative Symbol (ComparativeTickerId):** Default is "NSE:NIFTY," allowing comparison against a benchmark index.
---
### **Calculation Logic:**
1. **Relative Strength (RS):**
- Calculated as the ratio of the base symbol's price to the comparative symbol's price.
2. **Exponential Moving Averages (FastMA and SlowMA):**
- Applied to the RS to smooth and differentiate trends.
3. **Metaphor Vigour Ratio (MVRatio):**
- Computed as the ratio of FastMA to SlowMA, scaled by 100, and further smoothed using SmoothEMA.
---
### **Visualization:**
1. **MVRatio Plot (Blue):**
- Represents the relative strength dynamics.
2. **Reference Line at 100 (Gray):**
- Helps quickly identify bullish (above 100) and bearish (below 100) zones.
---
### **How to Use:**
1. Add the indicator to your chart from TradingView's Pine Script editor.
2. Compare the performance of any symbol relative to a benchmark (e.g., Nifty).
3. Analyze trends, slopes, and ranking based on MVRatio values to make informed trading decisions.
---
**Note:** This indicator is for educational purposes and should be used alongside other analysis methods to make trading decisions.
Lê Đức HiểnTối 4/3, Đen chính thức phát hành sản phẩm âm nhạc Nhạc Của Rừng. Trong ca khúc mới, Đen còn kết hợp cùng Hiền VK (tên thật Nguyễn Thu Hiền), một cô giáo thanh nhạc và thành viên của nhóm bè VK, gây ấn tượng bởi giọng ca thánh thót, trong trẻo.
MV Nhạc Của Rừng được thực hiện bởi đạo diễn Thành Đồng, mang màu sắc tươi mới, sống động nhằm cổ vũ mọi người góp sức bảo vệ thiên nhiên và dành sự quan tâm cho các vấn đề nóng về môi trường.
High Volume Box & Pry day OHCLvolume count at support & resistance and ,
pre day open, high, low,close
Turn around Tuesday on Steroids Strategy█ STRATEGY DESCRIPTION
The "Turn around Tuesday on Steroids Strategy" is a mean-reversion strategy designed to identify potential price reversals at the start of the trading week. It enters a long position when specific conditions are met and exits when the price shows strength by exceeding the previous bar's high. This strategy is optimized for ETFs, stocks, and other instruments on the daily timeframe.
█ WHAT IS THE STARTING DAY?
The Starting Day determines the first day of the trading week for the strategy. It can be set to either Sunday or Monday, depending on the instrument being traded. For ETFs and stocks, Monday is recommended. For other instruments, Sunday is recommended.
█ SIGNAL GENERATION
1. LONG ENTRY
A Buy Signal is triggered when:
The current day is the first day of the trading week (either Sunday or Monday, depending on the Starting Day setting).
The close price is lower than the previous day's close (`close < close `).
The previous day's close is also lower than the close two days ago (`close < close `).
The signal occurs within the specified time window (between `Start Time` and `End Time`).
If the MA Filter is enabled, the close price must also be above the 200-period Simple Moving Average (SMA).
2. EXIT CONDITION
A Sell Signal is generated when the current closing price exceeds the high of the previous bar (`close > high `). This indicates that the price has shown strength, potentially confirming the reversal and prompting the strategy to exit the position.
█ ADDITIONAL SETTINGS
Starting Day: Determines the first day of the trading week. Options are Sunday or Monday. Default is Sunday.
Use MA Filter: Enables or disables the 200-period SMA 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 markets with frequent weekly reversals.
It performs best in volatile conditions where price movements are significant at the start of the trading week.
Backtesting results should be analysed to optimize the Starting Day and MA Filter settings for specific instruments.
Buy/Sell Indicator + SMA 5/8/21/200This Buy Sell Indicator uses price action calculations to determine the bullish or bearish nature of the current market and then calculates if the price action is strong enough to give a signal. Also you can plot 4 simple moving averages with this script.
Special thanks to script coders in Trading view from whom i have learnt the scripting and customized my script accordingly.
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.