Bysq-Distance Reversal Entry - BTCUSDT (v6)Strategy Concept
This is a hybrid momentum-reversal strategy for BTC/USDT that combines:
A distance-based momentum approach (original Bysq-style)
A MACD crossover reversal system
The strategy uses technical indicators and statistical distance measurements to identify potential trend reversals and momentum shifts.
Jalur dan Saluran
⛅ CloudEdgeCloudEdge Strategy Description
This strategy uses key elements of the Ichimoku Cloud to analyze market trends and identify potential reversal signals. It incorporates the calculations of Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, and Chikou Span. Based on eight bullish signals—such as the price rising compared to its past level, the price trading above the Tenkan-sen, the Tenkan-sen crossing above the Kijun-sen, and recent crossovers involving the Chikou Span—the strategy determines entry and exit points.
When the number of bullish signals meets or exceeds a predefined threshold, a long (buy) position is entered and any short (sell) positions are closed.
Conversely, if the number of bullish signals falls below the specified bearish threshold, a short position is initiated and any long positions are closed.
The chart visually represents the strategy’s components by plotting the Ichimoku lines, the cloud (Kumo), signal markers, and a label displaying the count of bullish signals. This aids in understanding the underlying market structure and assessing the strategy's effectiveness.
Stochastic Overlay - Regression Channel (Zeiierman)█ Overview
The Stochastic Overlay – Regression Channel (Zeiierman) is a next-generation visualization tool that transforms the traditional Stochastic Oscillator into a dynamic price-based overlay.
Instead of leaving momentum trapped in a lower subwindow, this indicator projects the Stochastic oscialltor directly onto price itself — allowing traders to visually interpret momentum, overbought/oversold conditions, and market strength without ever taking their eyes off price action.
⚪ In simple terms:
▸ The Bands = The Stochastic Oscillator — but on price.
▸ The Midline = Stochastic 50 level
▸ Upper Band = Stochastic Overbought Threshold
▸ Lower Band = Stochastic Oversold Threshold
When the price moves above the midline → it’s the same as the oscillator moving above 50
When the price breaks above the upper band → it’s the same as Stochastic entering overbought.
When the price reaches the lower band →, think of it like Stochastic being oversold.
This makes market conditions visually intuitive. You’re literally watching the oscillator live on the price chart.
█ How It Works
The indicator layers 3 distinct technical elements into one clean view:
⚪ Stochastic Momentum Engine
Tracks overbought/oversold conditions and directional strength using:
%K Line → Momentum of price
%D Line → Smoothing filter of %K
Overbought/Oversold Bands → Highlight potential reversal zones
⚪ Volatility Adaptive Bands
Dynamic bands plotted above and below price using:
ATR * Stochastic Scaling → Creates wider bands during volatile periods & tighter bands in calm conditions
Basis → Moving average centerline (EMA, SMA, WMA, HMA, RMA selectable)
This means:
→ In strong trends: Bands expand
→ In consolidations: Bands contract
⚪ Regression Channel
Projects trend direction with different models:
Logarithmic → Captures non-linear growth (perfect for crypto or exponential stocks)
Linear → Classic regression fit
Adaptive → Dynamically adjusts sensitivity
Leading → Projects trend further ahead (aggressive mode)
Channels include:
Midline → Fair value trend
Upper/Lower Bounds → Deviation-based support/resistance
⚪ Heatmap - Bull & Bear Power Strength
Visual heatmeter showing:
% dominance of bulls vs bears (based on close > or < Band Basis)
Automatic normalization regardless of timeframe
Table display on-chart for quick visual insight
Dynamic highlighting when extreme levels are reached
⚪ Trend Candlestick Coloring
Bars auto-color based on trend filter:
Above Basis → Bullish Color
Below Basis → Bearish Color
█ How to Use
⚪ Trend Trading
→ Use Band direction + Regression Channel to identify trend alignment
→ Longs favored when price holds above the Basis
→ Shorts favored when price stays below the Basis
→ Use the Bull & Bear heatmap to asses if the bulls or the bears are in control.
⚪ Mean Reversion
→ Look for price to interact with Upper or Lower Band extremes
→ Stochastic reaching OB/OS zones further supports reversals
⚪ Momentum Confirmation
→ Crossovers between %K and %D can confirm continuation or divergence signals
→ Especially powerful when happening at band boundaries
⚪ Strength Heatmap
→ Quickly visualize current buyer vs seller control
→ Sharp spikes in Bull Power = Aggressive buying
→ Sharp spikes in Bear Power = Heavy selling pressure
█ Why It Useful
This is not a typical Stochastic or regression tool. The tool is designed for traders who want to:
React dynamically to price volatility
Map momentum into volatility context
Use adaptive regression channels across trend styles
Visualize bull vs bear power in real-time
Follow trends with built-in reversal logic
█ Settings
Stochastic Settings
Stochastic Length → Period of calculation. Higher = smoother, Lower = faster signals.
%K Smoothing → Smooths the Stochastic line itself.
%D Smoothing → Smooths the moving average of %K for slower signals.
Stochastic Band
Band Length → Length of the Moving Average Basis.
Volatility Multiplier → Controls band width via ATR scaling.
Band Type → Choose MA type (EMA, SMA, WMA, HMA, RMA).
Regression Channel
Regression Type → Logarithmic / Linear / Adaptive / Leading.
Regression Length → Number of bars for regression calculation.
Heatmap Settings
Heatmap Length → Number of bars to calculate bull/bear dominance.
-----------------
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.
Bollinger Bands Strategy Direction & VWAP This is an updated version of classic Bollinger bands. It adds the VWAP line for reference but does not include the bands usually associated with that. It also allows for the turning on and off of longs or shorts, and limiting the duration of trades by the number of days with the default being set to 4(2 seems to be the optimal) I tested this against crypto currency perpetual markets and it consistently wins more than 60 percent of the trades against the majors ( BTC, ETH, SOL) but doesn't seems to do well against some small cap Alts. Id love to hear your feedback
竖线标注工具V1Digital Time Theory that tells you what an algorithm might do at what time
The market price algorithm sets a clear time for when the price is going to consolidate, when it is going to manipulate, and when it is going to go to the next liquidity target
Since timeis timeisfractal, algorithms do the same thing in different time periods
Digital Time Theory个告诉你算法可能在什么时间做什么事情的理论
市场价格算法中对于价格什么时候要进行盘整积累,什么时候进行操纵,什么时候出发去下一个流动性目标设定了明确的时间
由于时间是分形的(timeisfractal)算法会在不同时间周期做相同的事情
Price Position Percentile (PPP)
Price Position Percentile (PPP)
A statistical analysis tool that dynamically measures where current price stands within its historical distribution. Unlike traditional oscillators, PPP adapts to market conditions by calculating percentile ranks, creating a self-adjusting framework for identifying extremes.
How It Works
This indicator analyzes the last 200 price bars (customizable) and calculates the percentile rank of the current price within this distribution. For example, if the current price is at the 80th percentile, it means the price is higher than 80% of all prices in the lookback period.
The indicator creates five dynamic zones based on percentile thresholds:
Extremely Low Zone (<5%) : Prices in the lowest 5% of the distribution, indicating potential oversold conditions.
Low Zone (5-25%) : Accumulation zone where prices are historically low but not extreme.
Neutral Zone (25-75%) : Fair value zone representing the middle 50% of the price distribution.
High Zone (75-95%) : Distribution zone where prices are historically high but not extreme.
Extremely High Zone (>95%) : Prices in the highest 5% of the distribution, suggesting potential bubble conditions.
Mathematical Foundation
Unlike fixed-threshold indicators, PPP uses a non-parametric approach:
// Core percentile calculation
percentile = (count_of_prices_below_current / total_prices) * 100
// Threshold calculation using built-in function
p_extremely_low = ta.percentile_linear_interpolation(source, lookback, 5)
p_low = ta.percentile_linear_interpolation(source, lookback, 25)
p_neutral_high = ta.percentile_linear_interpolation(source, lookback, 75)
p_extremely_high = ta.percentile_linear_interpolation(source, lookback, 95)
Key Features
Dynamic Adaptation : All zones adjust automatically as price distribution changes
Statistical Robustness : Works on any timeframe and any market, including highly volatile cryptocurrencies
Visual Clarity : Color-coded zones provide immediate visual context
Non-parametric Analysis : Makes no assumptions about price distribution shape
Historical Context : Shows how zones evolved over time, revealing market regime changes
Practical Applications
PPP provides objective statistical context for price action, helping traders make more informed decisions based on historical price distribution rather than arbitrary levels.
Value Investment : Identify statistically significant low prices for potential entry points
Risk Management : Recognize when prices reach historical extremes for profit taking
Cycle Analysis : Observe how percentile zones expand and contract during different market phases
Market Regime Detection : Identify transitions between accumulation, markup, distribution, and markdown phases
Usage Guidelines
This indicator is particularly effective when:
- Used across multiple timeframes for confirmation
- Combined with volume analysis for validation of extremes
- Applied in conjunction with trend identification tools
- Monitored for divergences between price action and percentile ranking
HTF Short/Long Alert V1thanks @Ozynation on X
📌 HTF Short/Long Alert Strategy V1
Timeframe: Primarily used on 1-hour charts (HTF).
Indicators Used:
EMA200 (200-period Exponential Moving Average)
Mid Bollinger Band (Mid BB) (Standard 20-period SMA, 2 standard deviations)
Parabolic SAR (Standard parameters: 0.02, 0.2, 0.2)
🔴 Short Entry Conditions:
Mid BB crosses below EMA200 (bearish cross).
Price attempts but fails to close above EMA200 (wicks above, candle closes below).
Parabolic SAR flips from below price to above, signaling bearish momentum.
🟢 Long Entry Conditions:
Mid BB crosses above EMA200 (bullish cross).
Previous candle clearly closes above both EMA200 and Mid BB.
Parabolic SAR flips from above price to below, indicating bullish momentum.
✅ How to Use:
Wait for HTF alert to trigger ("Short" or "Long").
Confirm entry manually on lower timeframes (15m/1m).
Use your own risk management rules to set SL and TP.
IFG MASTER SIGNALSignal for people to test various trend pattern analysis techniques and research. This is for research purposes only. Not financial advice.
TBO Cloud with EMA CrossTBO cloud with EMA cross
just a combination of a few indicators with some added clouds to help visualize the trend
Candle Percentage NACHOMIXCRYPTOThe "Percentage x Candle NACHOMIXCRYPTO" indicator, written in Pine Script (version 6), is designed to visualize and quantify the percentage price movements (rise and drop) of a financial instrument over a specified number of candles. It overlays lines, labels, and a summary table on the chart to provide traders with clear insights into price changes. Below is a detailed description of its functionality:
Key Features
Purpose:
The indicator calculates the percentage rise from a past candle's low to the current close and the percentage drop from a past candle's high to the current close.
It displays these percentages visually with lines connecting the reference points to the current price, labels showing the exact percentages, and a table summarizing the results.
Inputs and Customization:
You can choose from which candle you want to measure the percentage of the price rise and drop, allowing you to obtain a calculation from the candle you wish to analyze.
Line Configuration:
Up Line: Color (default: green) and width (default: 2) for the line showing price rise.
Down Line: Color (default: red) and width (default: 2) for the line showing price drop.
Label Configuration:
Up Label: Customizable color (default: green), text color (default: white), style (up, down, left, right), size (tiny, small, normal, large), and text alignment (center, left, right).
Down Label: Similar customization options with default color red.
Label Offset: Adjustable horizontal offset (default: 5 bars) to position labels relative to the current bar.
Calculation Settings:
Bars Back for Rise: Number of candles back to reference the low price for calculating the percentage rise (default: 5).
Bars Back for Drop: Number of candles back to reference the high price for calculating the percentage drop (default: 5).
Calculations:
Percentage Rise: Computed as ((close - low ) / low ) * 100, representing the percentage increase from the low of the specified past candle to the current close.
Percentage Drop: Computed as ((high - close) / high ) * 100, representing the percentage decrease from the high of the specified past candle to the current close.
Average Change: The average of the rise and drop percentages, calculated as (priceRise + priceDrop) / 2.
Visual Elements:
Lines:
An Up Line connects the low of the specified past candle (barsBackUp) to the current close, colored according to the user-defined color and width.
A Down Line connects the high of the specified past candle (barsBackDown) to the current close, similarly customizable.
Previous lines are deleted each bar to avoid clutter, ensuring only the most recent lines are shown.
Labels:
An Up Label displays the percentage rise (e.g., "5.23%") near the current price, with customizable style, size, and alignment.
A Down Label displays the percentage drop in the same manner.
Labels are also cleared each bar to show only the latest values.
Table:
A table is displayed in the bottom-right corner of the chart with four rows:
Rise: Shows the percentage rise (e.g., "5.237%") in green.
Drop: Shows the percentage drop (e.g., "3.124%") in red.
Average: Shows the average of rise and drop (e.g., "4.18%") in white.
Total+-: Shows the sum of rise and drop percentages (e.g., "8.361%") in a cyan-like color (#08bfc9).
The table has a black frame, a frame width of 5, and a border width of 3 for visibility.
Behavior:
The indicator updates dynamically with each new bar, recalculating percentages based on the specified lookback periods (barsBackUp and barsBackDown).
It ensures a clean chart by removing previous lines and labels before drawing new ones, preventing overlap or clutter.
The table persists and updates its values to provide a quick reference for traders without needing to inspect individual labels.
Use Case
This indicator is useful for traders who want to:
Track Price Movements: Quickly assess how much the price has risen or fallen relative to specific past candles.
Visualize Trends: The lines help visualize the trajectory of price changes over the chosen lookback periods.
Summarize Data: The table provides a concise summary of rise, drop, average, and total percentage changes, aiding in decision-making.
Customize Display: Tailor the appearance of lines, labels, and the table to suit their charting preferences.
Example Scenario
Suppose a trader sets barsBackUp = 5 and barsBackDown = 5:
Limitations
The indicator assumes the lookback periods (barsBackUp and barsBackDown) are valid and does not handle cases where insufficient historical data is available (though Pine Script typically manages this).
The total percentage (rise + drop) may not always be meaningful in all contexts, as it sums two independent metrics.
Performance may be affected on charts with many bars if the lookback periods are large, due to repeated line and label creation/deletion.
Conclusion
The "Percentage x Candle NACHOMIXCRYPTO" indicator is a versatile tool for visualizing and quantifying price movements over user-defined periods. Its combination of lines, labels, and a summary table makes it intuitive for traders to analyze percentage changes at a glance, with extensive customization options to fit various trading styles.
Estrategia Scalping Oro (XAU/USD) 5M (Compra y Venta)Gold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minuteGold five minute
Triple Supertrend with Buy/Sell by Natee L.This script plots 3 separate Supertrend lines on the chart.
You can customize the periods and multipliers in the input settings.
The line color reflects the current trend: green/lime for bullish, red/orange/maroon for bearish.
You can modify it to show entry signals or alerts based on all three aligning, if you want.
Buy arrow (green, below bar) when all trends turn bullish.
Sell arrow (red, above bar) when all turn bearish.
Signals trigger only on new alignment (trend change confirmation).
kỳ BB, MA Ribbon, RS RatingHere's a professional translation of your Vietnamese text about combining Moving Averages (MA) and Bollinger Bands into English:
Combined MA and Bollinger Bands Indicator: The Ultimate Trading Strategy
1. Core Principles
Bollinger Bands (BB):
Consists of 3 lines: Middle band (20-period SMA), Upper band (SMA + 2 standard deviations), Lower band (SMA - 2 standard deviations)
Measures price volatility and identifies overbought/oversold conditions
Moving Averages (MA):
MA lines (20, 50, 100, 200) determine long-term trends
MA Ribbon (multiple MAs) provides stronger signals
2. Strategic Combination
A. Trend Identification
Uptrend:
Price above 200-period SMA
Short-term MAs above long-term MAs (MA20 > MA50 > MA100 > MA200)
Downtrend:
Price below 200-period SMA
Short-term MAs below long-term MAs (MA20 < MA50 < MA100 < MA200)
B. Trading Signals
DI+/- Cross Strategy with ATR SL and 2% TPDI+/- Cross Strategy with ATR Stop Loss and 2% Take Profit
📝 Script Description for Publishing:
This strategy is based on the directional movement of the market using the Average Directional Index (ADX) components — DI+ and DI- — to generate entry signals, with clearly defined risk and reward targets using ATR-based Stop Loss and Fixed Percentage Take Profit.
🔍 How it works:
Buy Signal: When DI+ crosses above 40, signaling strong bullish momentum.
Sell Signal: When DI- crosses above 40, indicating strong bearish momentum.
Stop Loss: Dynamically calculated using ATR × 1.5, to account for market volatility.
Take Profit: Fixed at 2% above/below the entry price, for consistent reward targeting.
🧠 Why it’s useful:
Combines momentum breakout logic with volatility-based risk management.
Works well on trending assets, especially when combined with higher timeframe filters.
Clean BUY and SELL visual labels make it easy to interpret and backtest.
✅ Tips for Use:
Use on assets with clear trends (e.g., major forex pairs, trending stocks, crypto).
Best on 30m – 4H timeframes, but can be customized.
Consider combining with other filters (e.g., EMA trend direction or Bollinger Bands) for even better accuracy.
Williams Vix Fix Shortsleave both the current WVF on your chart that you should have currently. Just turn them both on at the same time, and just turn off the white candles on the shorts WVF. Then add this pinescript in the editor and add it to your chart.
Hamid Double RSIRSI with Moving Average and Another RSI
This script combines two Relative Strength Index (RSI) indicators with configurable moving averages. It allows traders to track momentum and market strength with adjustable periods for both the RSI and moving averages. The script also allows you to choose different data sources for each RSI, offering flexibility in analysis.
Features:
Two RSIs: One with a shorter period and another with a longer period .
Moving Averages: Each RSI has its own configurable moving average . The moving averages help smooth out the RSI and provide clearer trends.
Customizable Inputs: Adjust the RSI period and the length of the moving averages. You can also choose different sources for each RSI (e.g., close, open, high, low).
Mid Line: A horizontal line at 50, which is commonly used as the neutral level for the RSI. It helps identify whether the RSI is above or below neutral, indicating bullish or bearish conditions.
Overbought and Oversold Levels: Horizontal lines at 70 (overbought) and 30 (oversold) to highlight when the asset might be overbought or oversold according to the RSI.
How it works:
RSI Calculation: The script calculates two RSIs using different lengths
Moving Averages: A Simple Moving Average (SMA) is applied to both RSIs to smooth their values and help identify trends.
Overbought/Oversold Indicators: The script includes horizontal lines at 70 and 30 to show overbought and oversold conditions. The mid line is plotted at 50 to highlight neutral levels.
This indicator is useful for traders who want to compare the behavior of two RSIs over different time periods and use the moving averages to filter out noise. The ability to customize the source data for each RSI makes this script adaptable to different trading strategies.
Donchian Breakout Strategy📈 Donchian Breakout Strategy (Inspired by Way of the Turtle)
This strategy is a modern adaptation of the legendary Turtle Trading system as taught in Way of the Turtle by Curtis Faith — re-engineered for the crypto market’s volatility, 24/7 nature, and frequent fakeouts.
⸻
🐢 Original Inspiration
The original Turtle system, created by Richard Dennis and William Eckhardt, used:
• Breakouts of Donchian Channels (20-day for entry, 10-day for exit)
• Volatility-based position sizing using ATR (N)
• Simple rules, big trend exposure, and pyramiding to grow winners
It was built for futures and commodities, trading daily bars, assuming stable trading hours and regulated markets.
⸻
🚀 What’s Different in This Strategy?
✅ Optimized for Crypto
• Adapts to constant volatility and price manipulation common in crypto
• Adds commission modeling for realistic results (0.045% default)
✅ Improved Entry Filtering
• Uses EMA filter to align with trend direction
• Adds RSI momentum check to avoid early or weak breakouts
• Optional volatility and volume filters to reduce false signals
✅ Smarter Exits
• ATR-based volatility stop loss, not just Donchian reversal
• Avoids pyramiding to reduce risk from sudden reversals
✅ Backtest-Friendly
• Default backtest window starts from 2025-01-01
• Fully configurable: long/short toggle, filter control, stop loss multiplier
⸻
🧪 Use Case
• Best on trending coins with strong directional moves
• Avoids chop via filters, preserving capital
• Can be tuned for aggressive or conservative setups with just a few tweaks
KC Outside Close – X MarkerThis indicator helps visually highlight when the price moves outside the Keltner Channel. Users can choose from different marker styles for signaling, and both the ATR period and the multiplier values are adjustable.
Larsson Line Replica (Yellow = Bullish, Blue = Bearish)📘 Interpretation with Flipped Colors
🟨 Yellow Zones – Bullish Trend
• Signals uptrend confirmation.
• SMMA(15) > SMMA(29) indicates upward momentum.
• Ideal for:
• Holding or adding to long positions
• Buying pullbacks within or near the band
• Ignoring short setups on lower timeframes unless reversal signals show up
🟦 Blue Zones – Bearish Trend
• SMMA(15) < SMMA(29) confirms a downtrend.
• Useful for:
• Risk-off posture: take profits, reduce exposure
• Considering short trades
• Waiting out until trend flips yellow again before longing
🩶 Gray Zones – Transition / Unclear
• Represents possible trend change or indecision.
• Appears around crossovers.
• Great time to be cautious — wait for confirmation (either yellow or blue)
• Often coincides with low-volatility consolidation zones or false breakouts
📊 Timeframe Interpretation Tips (with Updated Colors)
🕰️ Weekly – Macro Regime Filter
• 🟨 Yellow = Swing longs allowed
• 🟦 Blue = Risk-off, short setups more reliable
• Use this timeframe as your macro bias anchor
• Combine with higher timeframe market structure, moving averages, or on-chain trends
⸻
📅 Daily – Tactical Entry & Position Management
• Use the slope of the bands for early momentum detection
• 🟦 Blue to Yellow flips = potential trend reversal to the upside → re-enter longs, cut shorts
• 🟨 Yellow to Blue flips = trend weakness or downtrend return → consider profit-taking or short setups
• Great timeframe for:
• Refining entries
• Managing exits
• Spotting trend shifts before weekly confirms
⸻
⏱ Lower Timeframes (4H, 1H) – Execution
• Treat the band like a dynamic trend channel
• Enter trades in direction of the current color:
• 🟨 Yellow → Buy pullbacks to the midline
• 🟦 Blue → Sell bounces into the midline
• Avoid trading against the band unless clear structure or divergence forms
• Pair with RSI/MACD for confluence
MACD - salThis indicator chooses a 15-minute frame if the person chose 30 minutes with the SAR indicator, and if he chose 15 minutes, it takes 5 minutes.
MACD - MTFThe MACD indicator works on multiple time frames and is linked to the Parabolic SAR indicator. Ideal for traders using radio signals.
Indicateur Swing GMMA Pro v8.0.2 (Rentabilité+)GMMA Pro v8.0.2 Indicator Description
This TradingView Pine Script indicator, titled "Indicateur Swing GMMA Pro v8.0.2 (Rentabilité+)", is a comprehensive tool designed for swing trading based on the Guppy Multiple Moving Averages (GMMA) concept, enhanced with numerous filters and risk management features.
Core Strategy:
GMMA Trend: The primary signals are derived from the relationship between a group of short-term (fast) Exponential Moving Averages (EMAs) and a group of long-term (slow) EMAs.
A potential long signal occurs when the average of the fast EMAs crosses above the average of the slow EMAs, or when a bullish trend (fast > slow, slow EMAs aligned upwards) is already established.
A potential short signal occurs when the average of the fast EMAs crosses below the average of the slow EMAs, or when a bearish trend (fast < slow, slow EMAs aligned downwards) is already established.
Entry Trigger Refinement: An entry is further confirmed only if the closing price is decisively beyond the average of the fast EMAs (above for longs, below for shorts).
Configurable Filters:
The indicator includes a wide array of optional filters to refine entry signals:
Long EMA Filter (Current Timeframe): Requires the price to be above a long-period EMA (e.g., 200 EMA) for longs, and below for shorts.
MTF Filter: Confirms the trend by checking the price position relative to a long EMA on a selected Higher Timeframe (HTF).
ADX Filter: Validates trend strength using the Average Directional Index (ADX) and checks if the Directional Movement Index (DMI) aligns with the trade direction (+DI > -DI for longs, -DI > +DI for shorts).
Strict GMMA Filter: Enforces a stricter condition where slow EMAs must be fully aligned (all rising for longs, all falling for shorts).
S/R Proximity Filter: Prevents entries if the price is too close to a recently formed pivot-based Support (for shorts) or Resistance (for longs) zone. Zone height can be ATR-based or tick-based.
Risk/Reward Filter: Only allows trades where the potential reward (based on the calculated Take Profit) versus the potential risk (based on the initial Stop Loss) meets a minimum required ratio.
Volatility Filter (ATR %): Filters out trades during periods of low volatility by requiring the ATR to be above a minimum percentage of the current price.
Momentum Filter (RSI): Uses the Relative Strength Index (RSI) to confirm momentum, requiring RSI to be above a certain level for longs and below for shorts.
Risk Management & Exits:
Initial Stop Loss (SL): Can be calculated using a multiple of the Average True Range (ATR) or a fixed percentage from the entry price.
Take Profit (TP): Can be set using an ATR multiple, a fixed percentage, or by targeting the nearest valid pivot S/R level.
Trailing Stop Loss (TSL): Optional ATR-based trailing stop that follows the price once a trade is active (unless Break-Even is activated).
Break-Even (BE) Stop: Optional feature to move the Stop Loss to the entry price after the trade has moved a specified ATR multiple in profit, protecting the position from turning into a loss.
Exit Conditions: A trade can be closed by:
Hitting the Take Profit level.
Hitting the current Stop Loss (which could be the initial SL, TSL, or BE SL).
A reversal signal (fast GMMA average crossing back over the slow GMMA average).
Visual Elements:
Plots the fast and slow GMMA groups (configurable as lines or filled bands).
Plots the long EMA filter line.
Draws S/R zones based on detected pivot highs and lows.
Displays Entry Price, Take Profit, and Current Stop Loss lines on the chart when a trade is active.
Includes an optional Dashboard summarizing the status of all filters, potential signals, current position details (including BE status), potential R/R, and TP/SL levels.
Alerts:
Configurable alerts are available for:
Buy and Sell Short entry signals.
Take Profit hits (long/short).
Stop Loss hits (distinguishing between initial/trailing SL and BE SL).
Trend-based exits.
Break-Even Stop activation.
Purpose:
This indicator aims to provide a flexible and robust framework for GMMA-based swing trading, allowing users to layer multiple confirmation filters and utilize various risk management techniques to suit their strategy and market conditions. Thorough backtesting and parameter optimization are recommended before live trading.