Range Filtered Trend Signals [AlgoAlpha]Introducing the Range Filtered Trend Signals , a cutting-edge trading indicator designed to detect market trends and ranging conditions with high accuracy. This indicator leverages a combination of Kalman filtering and Supertrend analysis to smooth out price fluctuations while maintaining responsiveness to trend shifts. By incorporating volatility-based range filtering, it ensures traders can differentiate between trending and ranging conditions effectively, reducing false signals and enhancing trade decision-making.
:key: Key Features
:white_check_mark: Kalman Filter Smoothing – Minimizes market noise while preserving trend clarity.
:bar_chart: Supertrend Integration – A dynamic trend-following mechanism for spotting reversals.
:fire: Volatility-Based Range Detection – Detects trending vs. ranging conditions with precision.
:art: Color-Coded Trend Signals – Instantly recognize bullish, bearish, and ranging market states.
:gear: Customizable Inputs – Fine-tune Kalman parameters, Supertrend settings, and color themes to match your strategy.
:bell: Alerts for Trend Shifts – Get real-time notifications when market conditions change!
:tools: How to Use
Add the Indicator – Click the star icon to add it to your TradingView favorites.
Analyze Market Conditions – Observe the color-coded signals and range boundaries to identify trend strength and direction.
Use Alerts for Trade Execution – Set alerts for trend shifts and market conditions to stay ahead without constantly monitoring charts.
:mag: How It Works
The Kalman filter smooths price fluctuations by dynamically adjusting its weighting based on market volatility. It helps remove noise while keeping the signal reactive to trend changes. The Supertrend calculation is then applied to the filtered price data, providing a robust trend-following mechanism. To enhance signal accuracy, a volatility-weighted range filter is incorporated, creating upper and lower boundaries that define trend conditions. When price breaks out of these boundaries, the indicator confirms trend continuation, while signals within the range indicate market consolidation. Traders can leverage this tool to enhance trade timing, filter false breakouts, and identify optimal entry/exit zones.
Moving Averages
G-FRAMA | QuantEdgeBIntroducing G-FRAMA by QuantEdgeB
Overview
The Gaussian FRAMA (G-FRAMA) is an adaptive trend-following indicator that leverages the power of Fractal Adaptive Moving Averages (FRAMA), enhanced with a Gaussian filter for noise reduction and an ATR-based dynamic band for trade signal confirmation. This combination results in a highly responsive moving average that adapts to market volatility while filtering out insignificant price movements.
_____
1. Key Features
- 📈 Gaussian Smoothing – Utilizes a Gaussian filter to refine price input, reducing short-term noise while maintaining responsiveness.
- 📊 Fractal Adaptive Moving Average (FRAMA) – A self-adjusting moving average that adapts its sensitivity to market trends.
- 📉 ATR-Based Volatility Bands – Dynamic upper and lower bands based on the Average True Range (ATR), improving signal reliability.
- ⚡ Adaptive Trend Signals – Automatically detects shifts in market structure by evaluating price in relation to FRAMA and its ATR bands.
_____
2. How It Works
- Gaussian Filtering
The Gaussian function preprocesses the price data, giving more weight to recent values and smoothing fluctuations. This reduces whipsaws and allows the FRAMA calculation to focus on meaningful trend developments.
- Fractal Adaptive Moving Average (FRAMA)
Unlike traditional moving averages, FRAMA uses fractal dimension calculations to adjust its smoothing factor dynamically. In trending markets, it reacts faster, while in sideways conditions, it reduces sensitivity, filtering out noise.
- ATR-Based Volatility Bands
ATR is applied to determine upper and lower thresholds around FRAMA:
- 🔹 Long Condition: Price closes above FRAMA + ATR*Multiplier
- 🔻 Short Condition: Price closes below FRAMA - ATR
This setup ensures entries are volatility-adjusted, preventing premature exits or false signals in choppy conditions.
_____
3. Use Cases
✔ Adaptive Trend Trading – Automatically adjusts to different market conditions, making it ideal for both short-term and long-term traders.
✔ Noise-Filtered Entries – Gaussian smoothing prevents false breakouts, allowing for cleaner entries.
✔ Breakout & Volatility Strategies – The ATR bands confirm valid price movements, reducing false signals.
✔ Smooth but Aggressive Shorts – While the indicator is smooth in overall trend detection, it reacts aggressively to downside moves, making it well-suited for traders focusing on short opportunities.
_____
4. Customization Options
- Gaussian Filter Settings – Adjust length & sigma to fine-tune the smoothness of the input price. (Default: Gaussian length = 4, Gaussian sigma = 2.0, Gaussian source = close)
- FRAMA Length & Limits – Modify how quickly FRAMA reacts to price changes.(Default: Base FRAMA = 20, Upper FRAMA Limit = 8, Lower FRAMA Limit = 40)
- ATR Multiplier – Control how wide the volatility bands are for long/short entries.(Default: ATR Length = 14, ATR Multiplier = 1.9)
- Color Themes – Multiple visual styles to match different trading environments.
_____
Conclusion
The G-FRAMA is an intelligent trend-following tool that combines the adaptability of FRAMA with the precision of Gaussian filtering and volatility-based confirmation. It is versatile across different timeframes and asset classes, offering traders an edge in trend detection and trade execution.
____
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Ema King for intraday 3-5mThe EMA Crossover Buy/Sell Indicator is a TradingView script designed to help traders identify potential entry and exit points using two Exponential Moving Averages (EMAs). The indicator works as follows:
Buy Signal:
When the EMA11 crosses above the EMA 55, then genrate buy signal for up trend
Sell Signal:
When the EMA11 crosses below the EMA 55, then genrate sell signal for down trend
Summary
This indicator uses the EMA crossover strategy to generate buy and sell signals. It provides a clear, visual representation of market trends, helping traders identify potential trade opportunities with ease.
To remove false positives, combine this with other indicators.
Disclaimer: This analysis is for educational purposes only. NSE:NIFTY
Please assess your own risk tolerance and conslut with a financial advisor before trading.
Responsive Moving Average with Trend Detection - MissouriTimThis indicator calculates a responsive moving average (RMA) that dynamically adjusts its sensitivity based on market volatility. This indicator is more responsive that SMAs, EMAs, WMAs, and HMAs. Here's how it functions:
Dynamic Length Adjustment: Utilizes the Average True Range (ATR) to adjust the length of the moving average. In times of increased volatility, the length decreases to make the average more responsive to price changes, and in quieter markets, it increases to reduce noise.
Responsive and Smoothed Moving Averages:
Responsive EMA: An initial Exponential Moving Average (EMA) is calculated with a dynamically adjusted length for responsiveness.
Smoothing: A secondary layer of smoothing is applied to this responsive EMA to further smooth out price fluctuations.
Trend Detection:
Detects trends by comparing the current smoothed EMA with its previous values:
Uptrend is identified when the current smoothed EMA is higher than the last two periods.
Downtrend is recognized when the current smoothed EMA is lower than the last two periods.
Consolidation occurs when neither an uptrend nor a downtrend is present.
Visual Representation:
The moving average line changes color:
Green for an uptrend.
Red for a downtrend.
Orange for consolidation.
Significant Trend Labels:
Labels are displayed when there's a significant change in the moving average:
Uptrend Labels appear when the EMA increases by more than the user-defined "Uptrend Label on % Change" threshold, placed at the high of the bar with green background.
Downtrend Labels are shown when the EMA decreases by more than the "Downtrend Label on % Change" threshold, positioned at the low of the bar with a red background.
Users can enable or disable these labels, and the thresholds for labeling uptrends and downtrends can be adjusted separately to match market conditions or user preferences.
This indicator is tailored for traders needing a moving average that adapts to market dynamics while providing clear visual feedback on significant trend changes via color-coded lines and labels.
Smoothed Low-Pass Butterworth Filtered Median [AlphaAlgos]Smoothed Low-Pass Butterworth Filtered Median
This indicator is designed to smooth price action and filter out noise while maintaining the dominant trend. By combining a Butterworth low-pass filter with a median-based smoothing approach , it effectively reduces short-term fluctuations, allowing traders to focus on the true market direction.
How It Works
Median Smoothing: The indicator calculates the 50th percentile (median) of closing prices over a customizable period , making it more robust against outliers compared to traditional moving averages.
Butterworth Filtering: A low-pass filter is applied using an approximation of the Butterworth formula , controlled by the Cutoff Frequency , helping to eliminate high-frequency noise while preserving trends.
EMA Refinement: A 7-period EMA is applied to further smooth the signal, providing a more reliable trend representation.
Features
Trend Smoothing: Reduces market noise and highlights the dominant trend.
Dynamic Color Signals: The EMA line changes color to indicate trend strength and direction.
Configurable Parameters: Customize the median length, cutoff frequency, and EMA length to fit your strategy.
Versatile Use Case: Suitable for both trend-following and mean-reversion strategies.
How to Use
Bullish Signal: When the EMA is below the price and rising , indicating upward momentum.
Bearish Signal: When the EMA is above the price and falling , signaling a potential downtrend.
Reversal Zones: Monitor for trend shifts when the color of the EMA changes.
This indicator provides a clear, noise-free view of market trends , making it ideal for traders seeking improved trend identification and entry signals .
SPY/ES/SPX Sniper EntryNew indicator updated with buy/sell tags, watch for false positives
SPY/ES/SPX sniper indicator using moving averages
Z-Score Divergence IndicatorZ-Score Divergence Indicator
Описание:
Индикатор Z-Score Divergence показывает Z-оценку цены, вычисляя её отклонение от среднего с учётом стандартного отклонения. Он помогает находить дивергенции между ценой и Z-оценкой, что может указывать на возможные развороты рынка.
Функции:
Рассчитывает Z-Score на основе скользящего среднего и стандартного отклонения.
Отображает уровни перекупленности и перепроданности.
Автоматически определяет дивергенции:
Красный треугольник сверху – сигнал на шорт.
Зелёный треугольник снизу – сигнал на лонг.
Генерирует алерты при обнаружении дивергенций.
Z-Score Divergence Indicator
Description:
The Z-Score Divergence Indicator displays the Z-score of the price by calculating its deviation from the mean using the standard deviation. It helps identify divergences between price and the Z-score, indicating potential market reversals.
Features:
Calculates Z-Score based on the moving average and standard deviation.
Displays overbought and oversold levels.
Automatically detects divergences:
Red triangle above – short signal.
Green triangle below – long signal.
Generates alerts when divergences are detected.
Trust The Process - Defaultthis is my personal indicator, please use it with you own risk and do your analysis before making any trade. This indicator is to help you with your analysis. Profit loss depends upon your executions
SIOVERSE Signals With TP/SLFractal Support/Resistance with EMA 100, Buy/Sell Signals, and TP/SL
This indicator identifies fractal-based support and resistance levels while incorporating EMA 100 as a trend filter. It generates buy and sell signals based on price crossing EMA 20 high/low, ensuring alignment with the overall trend.
Key Features:
Fractal Support & Resistance: Plots dashed lines at key levels.
EMA 100 Filter: Helps identify the primary trend.
Buy/Sell Signals: Based on price breaking EMA 20 with trend confirmation.
Take Profit & Stop Loss Levels: Automatically calculates TP1 (1:1.5), TP2 (1:3), and TP3 (1:5) based on risk-reward ratios.
Break Detection: Removes signals if price hits SL and marks "Break" on the chart.
Ideal for traders looking to combine trend-following strategies with fractal-based support/resistance levels for better trade management.
Tractor-Trend V5Description of the indicator and the principle of its operation
This indicator is a multifunctional tool for analyzing trends and determining entry and exit points in the market. It uses a combination of moving averages, linear regression, volatility levels, and Fibonacci levels to build channels, identify trends, and generate signals. The indicator also includes visualization of overbought and oversold zones, as well as target levels for long and short positions.
The main components of the indicator
The Base Line:
The baseline is calculated based on a moving average (SMA or EMA) or linear regression.
The user can select the data source (for example, hl2 is the average value between high and low), the length of the moving average, and the length of the linear regression.
The baseline is used as a reference level to determine the trend.
Trend Channel:
The channel is built around a baseline using volatility (the difference between high and low).
The user can set the distance between the channel boundaries and the baseline.
The channel includes upper and lower bounds, as well as extended levels (extreme levels).
Golden Pocket:
This is the zone between the baseline and the 0.618 Fibonacci level.
The zone is used to identify potential reversal points or trend continuation.
Input signals (Long/Short):
Entry signals are generated when the price closes above or below the baseline and channel boundaries.
The indicator tracks the beginning and end of trends to avoid false signals.
Target Levels:
For long and short positions, target levels are calculated based on Fibonacci extensions.
The user can set up a multiplier for the target levels.
Overbought and Oversold zones (Overbought/Oversold):
The indicator determines the overbought and oversold zones based on the price crossing the channel boundaries.
There are also extreme zones that show stronger overbought/oversold levels.
Alerts:
The indicator generates alerts when the price breaks through the upper or lower boundary of the channel.
Advantages of the indicator
Flexibility of settings: the user can adapt the indicator to his preferences.
Multifunctional: the indicator combines elements of trend analysis, Fibonacci levels and volatility.
Visualization: clear representation of key levels and zones.
Recommendations
Use the indicator in combination with other technical analysis tools to confirm the signals.
Test the settings on historical data before using them in real trading.
Take into account market conditions (volatility, trend, sideways movement) when interpreting signals.
This indicator is suitable for traders who prefer to work with trend strategies and use Fibonacci levels to identify targets and pivot points.
// Base Line Inputs
Base_Show = input(defval = true, title = "Show Base line?", group = "Base line Settings")
Base_src = input(hl2, title = "Source", group = "Base line Settings")
Base_length = input.int(title = 'Length', minval = 1, maxval = 1000, defval = 50, group = "Base line Settings")
Base_linreg_length = input.int(title = 'Linear Regression Length', minval = 1, maxval = 1000, defval = 50, group = "Base line Settings")
Base_sma_or_ema = input(title = 'Use Simple MA?', defval = false, group = "Base line Settings")
Base_lin_reg = input(title = 'Use Linear Regression?', defval = false, group = "Base line Settings")
// Calculation Base Line
Base_bclose = Base_lin_reg ? ta.linreg(Base_src, Base_linreg_length, 0) : Base_src
Base_signal = Base_sma_or_ema ? ta.sma(Base_bclose, Base_length) : ta.ema(Base_bclose, Base_length)
//Trend Channel
float distance = input.float (2, "Bands Distance", step = 0.1, minval = 0.3, group = "Trend Channel Settings") // Distance for channel bands
Ex_Show = input(defval = false, title = "Show Extension?", group = "Trend Channel Settings")
series float volatility = ta.sma(high - low, Base_length) // Calculate volatility using the average true range
var bool is_long_trend_started = false
var bool is_short_trend_started = false
var bool is_trend_change = false
var bool is_long_trend = false
var bool is_short_trend = false
var bool can_long = false
var bool can_short = false
// Trend Channel Inputs
up_can = Base_signal + volatility * distance
up_can_Tar = up_can + volatility * distance * 2.5
up_can_Ex = up_can_Tar + volatility * distance
lo_can = Base_signal - volatility * distance
lo_can_Tar = lo_can - volatility * distance * 1.5
lo_can_Ex = lo_can_Tar - volatility * distance
// Golden Pocket Inputs
channel_range = up_can - lo_can
fib_618 = up_can - channel_range * 0.618
// CAN LONG/SHORT
//if time >= start_date_input
can_long := close >= Base_signal and close >= up_can and not is_long_trend
can_short := close <= Base_signal and close <= lo_can and not is_short_trend
if can_long
is_long_trend := true
is_short_trend := false
is_long_trend_started := is_long_trend_started ? false : true
else if can_short
is_short_trend := true
is_long_trend := false
is_short_trend_started := is_short_trend_started ? false : true
else
is_trend_change := false
can_long := false
can_short := false
is_short_trend_started := false
is_long_trend_started := false
is_trend_change := is_short_trend_started or is_long_trend_started
// Plot Base Line
GP_05 = plot(Base_Show ? Base_signal : na, color = is_long_trend ? color.rgb(6, 247, 14) : color.rgb(225, 190, 231), linewidth = 1, title = "Base line")
GP_0_618 = plot(fib_618, title = "Lower Border Golden Pocket (Fib 0.618)", color = is_long_trend ? color.rgb(6, 247, 14) : color.rgb(247, 9, 9), display = display.none)
fill(GP_05, GP_0_618, title = "Golden Pocket Background", color = is_long_trend ? color.rgb(245, 123, 0, 60) : color.rgb(255, 167, 38, 60))
// Plot Trend Channel
plotshape(is_long_trend and is_long_trend_started ? Base_signal : na, title="Long Label", style=shape.triangleup, location=location.belowbar, color=color.rgb(8, 153, 129), size=size.small)
plotshape(is_short_trend and is_short_trend_started ? Base_signal : na, title="Short Label", style=shape.triangledown, location=location.abovebar, color=color.rgb(233, 30, 99), size=size.small)
// Plot Channel Boundary
Range_Zone1 = plot(up_can, color = is_long_trend ? color.rgb(38, 198, 218) : color.rgb(156, 39, 176), title = "Channel Upper Boundary")
Range_Zone2 = plot(lo_can, color = is_long_trend ? color.rgb(38, 198, 218) : color.rgb(156, 39, 176), title = "Channel Lower Boundary")
fill(Range_Zone1, Range_Zone2, color = is_long_trend ? color.rgb(38, 197, 218, 80) : color.rgb(155, 39, 176, 80), title = "Channel Background")
// Plot Extension
plot(Ex_Show ? up_can_Ex : na, title = "Extreme Level Extension Upper Boundary Channel", color = color.rgb(95, 250, 224, 30))
plot(Ex_Show ? up_can_Tar : na, title = "First Level Extension Upper Boundary Channel", color = color.rgb(95, 250, 224, 50))
plot(Ex_Show ? lo_can_Tar : na, title = "First Level Extension Lower Boundary Channel", color = color.rgb(247, 116, 120, 50))
plot(Ex_Show ? lo_can_Ex : na, title = "Extreme Level Extension Lower Boundary Channel", color = color.rgb(247, 116, 120, 0))
// Overbought and Oversold Zones
show_OBOS_zones = input.bool(defval = true, title = "Show Overbought and Oversold Zones?", group = "Trend Channel Settings")
show_Ex_zones = input.bool(defval = true, title = "Show Extreme Overbought and Oversold Zones?", group = "Trend Channel Settings")
is_overbought = ta.crossunder(close, up_can_Tar)
is_oversold = ta.crossover(close, lo_can_Tar)
is_overboughtEx = ta.crossunder(close, up_can_Ex)
is_oversoldEx = ta.crossover(close, lo_can_Ex)
// Plot Overbought and Oversold
plotshape(is_overbought and show_OBOS_zones ? high : na, title = "Overbought", color = color.rgb(255, 245, 157), style = shape.circle, size = size.tiny, location = location.abovebar)
plotshape(is_oversold and show_OBOS_zones ? low : na, title = "Oversold", color = color.rgb(3, 249, 208), style = shape.circle, size = size.tiny, location = location.belowbar)
// Plot Extreme Overbought and Oversold
plotshape(is_overboughtEx and show_Ex_zones ? high : na, title = "Extreme Overbought", color = color.rgb(255, 152, 0), style = shape.diamond, size = size.tiny, location = location.abovebar)
plotshape(is_oversoldEx and show_Ex_zones ? low : na, title = "Extreme Oversold", color = color.rgb(3, 249, 3), style = shape.diamond, size = size.tiny, location = location.belowbar)
// Target Levels
mult_tar_input = input.float(title = "Multiplier for Target Levels", step = 0.1, defval = 1.5, minval = 0.1, group = "Target Levels Settings")
// Цвета для целевых уровней
color_long = input.color(color.rgb(8, 153, 129), title = "Color Targets for Long Positions", group = "Colors for Target Levels Setting")
color_short = input.color(color.rgb(233, 30, 99), title = "Color Targets for Short Positions", group = "Colors for Target Levels Setting")
// DC Calculation Extension (Targets Lines for Long)
long_1 = up_can - channel_range * -0.382 * mult_tar_input
long_2 = up_can - channel_range * -1 * mult_tar_input
long_3 = up_can - channel_range * -1.618 * mult_tar_input
long_4 = up_can - channel_range * -2.236 * mult_tar_input
long_5 = up_can - channel_range * -3 * mult_tar_input
// DC Calculation Extension (Targets Lines for Short)
short_1 = lo_can - channel_range * 0.382 * mult_tar_input
short_2 = lo_can - channel_range * 1 * mult_tar_input
short_3 = lo_can - channel_range * 1.618 * mult_tar_input
short_4 = lo_can - channel_range * 2.236 * mult_tar_input
short_5 = lo_can - channel_range * 3 * mult_tar_input
// Draw lines from triangles
var line long_line = na
var line short_line = na
var line long_line_reverse = na
var line short_line_reverse = na
if is_long_trend and is_long_trend_started
long_line := line.new(bar_index, Base_signal, bar_index, long_5, color = color_long, style = line.style_dotted, width = 2)
long_line_reverse := line.new(bar_index, Base_signal, bar_index, short_5, color = color.rgb(8, 153, 129, 100), style = line.style_dotted, width = 2)
if is_short_trend and is_short_trend_started
short_line := line.new(bar_index, Base_signal, bar_index, short_5, color = color_short, style = line.style_dotted, width = 2)
short_line_reverse := line.new(bar_index, Base_signal, bar_index, long_5, color = color.rgb(233, 30, 99, 100), style = line.style_dotted, width = 2)
//
// Функция для поиска точки пересечения линии тренда и горизонтального уровня
f_find_intersection(line_start, line_end, level) =>
if (line_start <= level and line_end >= level) or (line_start >= level and line_end <= level)
true
else
false
// Объявление массивов для хранения лучей-целей для длинных позиций
var line target_rays_long_1 = array.new_line(0)
var line target_rays_long_2 = array.new_line(0)
var line target_rays_long_3 = array.new_line(0)
var line target_rays_long_4 = array.new_line(0)
var line target_rays_long_5 = array.new_line(0)
// Отрисовка лучей-целей для long_1
if is_long_trend and is_long_trend_started
if f_find_intersection(Base_signal, long_5, long_1)
var line target_ray = na
target_ray := line.new(bar_index, long_1, bar_index + 1, long_1, color = color_long, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_long_1, target_ray)
// Отрисовка лучей-целей для long_2
if is_long_trend and is_long_trend_started
if f_find_intersection(Base_signal, long_5, long_2)
var line target_ray = na
target_ray := line.new(bar_index, long_2, bar_index + 1, long_2, color = color_long, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_long_2, target_ray)
// Отрисовка лучей-целей для long_3
if is_long_trend and is_long_trend_started
if f_find_intersection(Base_signal, long_5, long_3)
var line target_ray = na
target_ray := line.new(bar_index, long_3, bar_index + 1, long_3, color = color_long, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_long_3, target_ray)
// Отрисовка лучей-целей для long_4
if is_long_trend and is_long_trend_started
if f_find_intersection(Base_signal, long_5, long_4)
var line target_ray = na
target_ray := line.new(bar_index, long_4, bar_index + 1, long_4, color = color_long, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_long_4, target_ray)
// Отрисовка лучей-целей для long_5
if is_long_trend and is_long_trend_started
if f_find_intersection(Base_signal, long_5, long_5)
var line target_ray = na
target_ray := line.new(bar_index, long_5, bar_index + 1, long_5, color = color_long, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_long_5, target_ray)
// Удаление лучей при изменении тренда
if is_short_trend and is_short_trend_started
if array.size(target_rays_long_1) > 0
for i = 0 to array.size(target_rays_long_1) - 1
line.delete(array.get(target_rays_long_1, i))
array.clear(target_rays_long_1)
if array.size(target_rays_long_2) > 0
for i = 0 to array.size(target_rays_long_2) - 1
line.delete(array.get(target_rays_long_2, i))
array.clear(target_rays_long_2)
if array.size(target_rays_long_3) > 0
for i = 0 to array.size(target_rays_long_3) - 1
line.delete(array.get(target_rays_long_3, i))
array.clear(target_rays_long_3)
if array.size(target_rays_long_4) > 0
for i = 0 to array.size(target_rays_long_4) - 1
line.delete(array.get(target_rays_long_4, i))
array.clear(target_rays_long_4)
if array.size(target_rays_long_5) > 0
for i = 0 to array.size(target_rays_long_5) - 1
line.delete(array.get(target_rays_long_5, i))
array.clear(target_rays_long_5)
// Объявление массивов для хранения лучей-целей для коротких позиций
var line target_rays_short_1 = array.new_line(0)
var line target_rays_short_2 = array.new_line(0)
var line target_rays_short_3 = array.new_line(0)
var line target_rays_short_4 = array.new_line(0)
var line target_rays_short_5 = array.new_line(0)
// Отрисовка лучей-целей для short_1
if is_short_trend and is_short_trend_started
if f_find_intersection(Base_signal, short_5, short_1)
var line target_ray = na
target_ray := line.new(bar_index, short_1, bar_index + 1, short_1, color = color_short, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_short_1, target_ray)
// Отрисовка лучей-целей для short_2
if is_short_trend and is_short_trend_started
if f_find_intersection(Base_signal, short_5, short_2)
var line target_ray = na
target_ray := line.new(bar_index, short_2, bar_index + 1, short_2, color = color_short, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_short_2, target_ray)
// Отрисовка лучей-целей для short_3
if is_short_trend and is_short_trend_started
if f_find_intersection(Base_signal, short_5, short_3)
var line target_ray = na
target_ray := line.new(bar_index, short_3, bar_index + 1, short_3, color = color_short, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_short_3, target_ray)
// Отрисовка лучей-целей для short_4
if is_short_trend and is_short_trend_started
if f_find_intersection(Base_signal, short_5, short_4)
var line target_ray = na
target_ray := line.new(bar_index, short_4, bar_index + 1, short_4, color = color_short, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_short_4, target_ray)
// Отрисовка лучей-целей для short_5
if is_short_trend and is_short_trend_started
if f_find_intersection(Base_signal, short_5, short_5)
var line target_ray = na
target_ray := line.new(bar_index, short_5, bar_index + 1, short_5, color = color_short, style = line.style_dotted, width = 2, extend = extend.right)
array.push(target_rays_short_5, target_ray)
// Удаление лучей при изменении тренда
if is_long_trend and is_long_trend_started
if array.size(target_rays_short_1) > 0
for i = 0 to array.size(target_rays_short_1) - 1
line.delete(array.get(target_rays_short_1, i))
array.clear(target_rays_short_1)
if array.size(target_rays_short_2) > 0
for i = 0 to array.size(target_rays_short_2) - 1
line.delete(array.get(target_rays_short_2, i))
array.clear(target_rays_short_2)
if array.size(target_rays_short_3) > 0
for i = 0 to array.size(target_rays_short_3) - 1
line.delete(array.get(target_rays_short_3, i))
array.clear(target_rays_short_3)
if array.size(target_rays_short_4) > 0
for i = 0 to array.size(target_rays_short_4) - 1
line.delete(array.get(target_rays_short_4, i))
array.clear(target_rays_short_4)
if array.size(target_rays_short_5) > 0
for i = 0 to array.size(target_rays_short_5) - 1
line.delete(array.get(target_rays_short_5, i))
array.clear(target_rays_short_5)
//
// Alerts
buy_alert_disp = input.bool(title = "TT Show Long", defval = true, tooltip = "Appears, if the price breaks through the upper limit channel", group = "Alerts")
sell_alert_disp = input.bool(title = "TT Show Short", defval = true, tooltip = "Appears, if the price breaks through the lower limit channel", group = "Alerts")
buy_alert = is_long_trend and is_long_trend_started
sell_alert = is_short_trend and is_short_trend_started
if buy_alert_disp and buy_alert
alert("TT Show Long", alert.freq_once_per_bar_close)
if sell_alert_disp and sell_alert
alert("TT Show Short", alert.freq_once_per_bar_close)
The Money Printer v2 No more guessing, no more stress—just pure algorithmic dominance! This high-performance trading bot is designed to print money in the crypto markets by combining the best technical indicators and risk management strategies. Supertrend? Gone. False signals? Eliminated. What’s left? A lean, mean, automated profit-generating machine.
🔥 How It Works:
✅ EMA Crossover Strategy – Identifies strong trend shifts for high-probability entries.
✅ MACD Confirmation – Avoids weak trends by ensuring momentum is in your favor.
✅ RSI Filter – No chasing overbought tops or selling oversold bottoms. Smart, calculated moves only.
✅ ATR-Based Stop-Loss & Trailing Stop – Adapts to market volatility to lock in maximum gains.
✅ Volume Surge Filter (Optional) – Confirms whale activity so you only trade when it matters.
✅ AI-Like Position Sizing – Risk is automatically managed, ensuring long-term account growth.
💡 Why Use This Trading Bot?
✔️ Highly Profitable – Optimized for maximum win rate & risk-reward ratio 📈
✔️ Smart Risk Management – Dynamic stop-loss and position sizing keep you in control 🛡️
✔️ Automated & Fast Execution – No emotions, no hesitation—just precise buy & sell signals ⏳
✔️ Works on Any Timeframe – Scalping? Swing trading? This bot adapts to your strategy 🔄
✔️ Backtested & Battle-Tested – Proven over years of BTC price data 🏆
⚡ Perfect for traders who want to dominate the market without overcomplicating their strategy.
💎 Just plug it into TradingView, set your risk, and let the bot do the heavy lifting.
🚀 Turn on the money printer and watch it go BRRRR! 💰💸
Simple HA Trend Strategy Strategy Details:
Entry:
Long: When a Heiken Ashi candle closes above its open (indicating bullish momentum) and crosses above a simple moving average (SMA) of the Heiken Ashi close, suggesting a new bullish trend or continuation.
Short: The opposite, when a Heiken Ashi candle closes below its open and below the SMA, indicating bearish momentum.
Exit:
Exit long positions if the Heiken Ashi candle closes below the SMA or if it's bearish (close below open).
Exit short positions if the Heiken Ashi candle closes above the SMA or if it's bullish (close above open).
EMA + Supertrend + ATR2 EMA bands + SUPERTREND + SCALED ATR
This combined allow to not have to much indicator at one but only one.
The ATR shows grey '°' when the value is above 50 on a scale.
Major Moving Averages EMA SMA Fill And Cross With AlertsMajor Moving Averages EMA/SMA Fill and Cross With Alerts
This indicator provides a comprehensive visualization of major moving averages (EMAs and SMAs) with optional fill zones between them. It helps traders identify trend shifts, confluence areas, and price positioning relative to key moving averages.
Features:
✅ Multiple Moving Averages:
Includes four major moving average pairs with customizable periods:
Slowest: 200 EMA & 200 SMA
Slow: 50 EMA & 50 SMA
Fast: 21 EMA & 20 SMA (Bollinger Band Center)
Fastest: 10 EMA & 7 SMA
✅ Cross Alerts:
Get notified when the EMAs or SMAs cross, helping to identify trend changes.
✅ Fill Zones (Optional):
Highlights the gaps between moving averages for better trend clarity.
✅ Bollinger Bands Integration:
Plots standard Bollinger Bands (20 SMA with customizable standard deviation).
✅ Price in Fill Zone Alerts:
Notifies when price is trading within the filled regions, helping to spot areas of confluence.
This tool is ideal for traders who rely on moving averages for trend analysis, dynamic support/resistance, and confluence zones.
"Multi-MA Trend Ribbon" 20,21+36,50,100,200,300 EMA
Name: Multi-MA Trend Ribbon
Description:
The "Multi-MA Trend Ribbon" is a versatile technical analysis indicator designed for use on trading platforms like TradingView. It primarily serves to visualize market trends through multiple moving averages (MAs), offering traders a comprehensive view of price movement over various time frames. Here's a detailed breakdown of its features and functionality:
Key Features:
Multiple Moving Averages:
Supports up to 7 different MAs, with default lengths at 20, 50, 100, 200, 300, 21, and 36 periods.
Each MA can be individually turned on or off, providing flexibility in analysis.
Types of MAs include EMA (Exponential Moving Average), SMA (Simple Moving Average), HMA (Hull Moving Average), WMA (Weighted Moving Average), DEMA (Double Exponential Moving Average), VWMA (Volume Weighted Moving Average), and VWAP (Volume Weighted Average Price).
Ribbon Display:
Offers an option to transform the display into a "Ribbon" where all MAs are colored uniformly based on the trend direction.
The color changes based on whether the shortest MA (typically MA1) is above or below the longest MA (typically MA5), indicating bullish or bearish trends respectively.
Customization:
Users can customize colors for bullish and bearish trends.
The indicator allows setting all MAs to a uniform type or mixing different types.
Adjustable length for each MA.
Trend Identification:
Identifies trends based on the crossover between the first and fifth MA:
Bullish Trend: When the shortest MA crosses above the longest MA.
Bearish Trend: When the longest MA crosses above the shortest MA.
Visualization Enhancements:
MAs can be plotted with different colors when not in ribbon mode for easy distinction.
The space between MAs can be filled with color when in ribbon mode, enhancing the visual trend signal.
Alerts:
Generates alerts when a bullish or bearish trend change is detected based on MA crossovers.
Data Table:
Optionally displays a table on the chart showing:
Current trend (Bullish or Bearish)
Values of all enabled MAs at the current price bar
Average True Range (ATR) for volatility context
The table's location is user-selectable (top-right, top-left, bottom-left, bottom-right).
Cross Plotting:
Option to plot crosses on the chart where trend changes occur, serving as visual markers for entry or exit signals.
Use Cases:
Trend Confirmation: Traders can use the ribbon to confirm trend directions over multiple time frames.
Trading Signals: Crossovers between MAs can be used to generate buy or sell signals.
Support/Resistance: The MAs can act as dynamic support or resistance levels.
Advantages:
Highly customizable to fit various trading strategies.
Provides both a clear visual trend indication and detailed numerical data.
Considerations:
In volatile markets, frequent crossovers might lead to false signals, so it's beneficial to combine with other indicators or analysis methods for confirmation.
Señal de Compra/Venta con SL, TP y Nube de Tendencia (marroquin)1-Medias Móviles (SMA): Se utiliza una media móvil simple para generar señales de compra y venta. Cuando el precio cruza por encima de la SMA, se genera una señal de compra, y cuando cruza por debajo, se genera una señal de venta.
2-Average True Range (ATR): El ATR se utiliza para calcular los niveles de Stop Loss y Take Profit. El Stop Loss se coloca a una distancia de ATR desde el precio de entrada, y el Take Profit se coloca a una distancia de ATR multiplicado por el ratio de riesgo/beneficio.
2-Señales de Compra/Venta: Las señales se dibujan en el gráfico con etiquetas "BUY" y "SELL".
3-Stop Loss y Take Profit: Los niveles de Stop Loss y Take Profit se dibujan en el gráfico y también se muestran en un cuadro en la esquina inferior derecha del gráfico.
4-Tabla de Información: Se utiliza una tabla para mostrar los niveles sugeridos de Stop Loss y Take Profit.
Personalización:
Puedes ajustar la longitud de la SMA y el ATR según tus preferencias.
El ratio de riesgo/beneficio también se puede ajustar para adaptarse a tu estrategia de trading.
Cómo Usar:
Copia el script en el editor de Pine Script en TradingView.
Ajusta los parámetros según tus necesidades.
Añade el indicador a tu gráfico.
Market Phase MAMarket Phase MA is an advanced trend-following indicator designed to provide traders with a dynamically colored moving average that adapts to market conditions. It uses a powerful combination of Average True Range (ATR) and Average Directional Index (ADX) to classify market trends in real-time. The indicator integrates a fully customizable moving average (SMA or EMA) to highlight trend phases clearly and effectively.
Key Features & Advantages:
✔ Adaptive Trend Classification: Detects uptrends, downtrends, and sideways markets using a refined mix of ATR and ADX for more precise trend identification.
✔ Color-Coded Moving Average: The moving average dynamically changes color based on trend classification, providing a clean visual representation of market sentiment.
✔ Advanced ATR & ADX Filtering:
- ATR measures market volatility and identifies ranging periods.
- ADX confirms trend strength, reducing false signals.
- A weighted approach balances ATR and ADX, ensuring reliability.
✔ Fully Customizable Moving Average: Traders can select between SMA and EMA while adjusting the moving average length directly from the settings panel.
✔ Smooth & Responsive Adjustments: The smoothing factor can be fine-tuned to control signal sensitivity and noise reduction, making it suitable for scalping, swing trading, and long-term trend monitoring.
What Makes It Unique:
- Unlike traditional trend indicators, Market Phase MA provides **direct visual feedback** on a moving average rather than using a separate oscillator.
- It **adapts dynamically** to market conditions instead of relying on fixed thresholds.
- The combination of **volatility and trend strength analysis** enhances precision in identifying valid trends.
- Users can optimize **reaction speed vs. reliability** with adjustable parameters for better decision-making.
How to Use It:
- Identify Market Phases: The moving average color shifts based on trend type—**teal** for uptrends, **red** for downtrends, and **gray** for sideways markets.
- Confirm Trend Strength: Persistent color shifts indicate strong trends, while frequent changes may suggest market indecision.
- Use as a Trade Confirmation Tool: Complement it with **support & resistance zones, price action analysis, and volume indicators** for stronger confirmation signals.
Market Phase MA is designed for traders seeking a clear, efficient, and highly adaptable moving average trend detection system. Whether you are a day trader, swing trader, or long-term investor, this indicator will help you identify and follow trends with confidence.
Composite Strength IndicatorComposite Strength Indicator (CSI)
The Composite Strength Indicator (CSI) combines several technical measures—including ADX, RSI, EMA crossovers, MACD Histogram, and Rate of Change (ROC)—to create a single composite “strength” value. This value is then used to dynamically color both the chart background and the candlesticks, offering you an at-a-glance view of market momentum.
How It Works:
Composite Calculation:
The indicator computes separate components (RSI, EMA difference, MACD Histogram, and ROC) and averages them together. This average is then multiplied by the ADX (a measure of trend strength) to produce the final composite strength.
Smooth Gradient Coloring:
The indicator applies a smooth gradient that transitions between different colors based on the strength value:
Very Strong Bearish: (default: maroon)
Moderately Strong Bearish: (default: red)
Mild Bearish: (default: orange)
Neutral: (default: gray)
Mild Bullish: (default: teal)
Moderately Strong Bullish: (default: green)
Very Strong Bullish: (default: lime)
These colors are interpolated smoothly so that even slight shifts in strength are visually noticeable. You can customize these colors directly from the indicator’s settings to match your personal preferences or trading theme.
Transparency Settings:
You can adjust the transparency for both the background and the candles, allowing you to balance visual clarity with your chart’s overall design.
Additional Fine-Tuning:
Besides color and transparency options, there are settings to fine-tune parameters for ADX, RSI, EMA, MACD, and ROC, giving you complete control over the sensitivity of the indicator.
This indicator provides an intuitive visual cue for market conditions—making it easier to spot when strength shifts from bearish to bullish (and vice versa) at a glance.
WaridTR15 Dakika ve Üzeri Periyotlar İçin Önerilen Ayarlar:
EMA Uzunlukları:
Kısa EMA: 9 yerine 12 veya 14 kullanılabilir.
Uzun EMA: 21 yerine 26 veya 50 kullanılabilir.
Golden Cross için 50 EMA ve 200 EMA zaten uzun vadeli trendleri yakalar, bu nedenle değiştirmeye gerek yok.
RSI Uzunluğu:
RSI uzunluğu 14 yerine 21 veya 28 yapılabilir. Bu, daha uzun vadeli aşırı alım/aşırı satım bölgelerini daha doğru tespit eder.
Volume Filtresi:
Volume ortalaması için 20 periyot yerine 50 veya 100 periyot kullanılabilir. Bu, daha uzun vadeli hacim eğilimlerini yakalar.
Ichimoku Parametreleri:
Ichimoku, varsayılan olarak 9-26-52 periyotlarıyla çalışır. Bu, zaten uzun vadeli trendleri yakalamak için uygundur. Ancak, daha uzun periyotlar için:
Tenkan-Sen: 9 yerine 14.
Kijun-Sen: 26 yerine 52.
Senkou Span B: 52 yerine 104.
SMC + Price Action Trading Strategy
1. Market Structure Analysis:
• Identify BOS (Break of Structure) and CHoCH (Change of Character).
• Liquidity zones (equal highs/lows, stop hunts).
2. Key Price Action Concepts:
• Order blocks, supply and demand zones.
• Fair value gaps (FVGs) and imbalance trading.
• Wyckoff accumulation/distribution principles.
3. Indicators to Use (With Best Settings):
• Buy/Sell Signals (best indicator for accurate entry/exit points).
• Support and Resistance Zones (auto-detect strongest levels).
• Trend Line & Reversal Detection (for breakout and pullback confirmation).
• Volume Profile & Delta Analysis (to track smart money movements).
• Smart Money Divergence (hidden liquidity shifts).
• Candle Pattern Recognition (inside bar, engulfing, pin bar, etc.).
4. Entry & Exit Strategy:
• Best confirmations before entry (confluence of multiple indicators).
• Risk-reward ratio optimization.
• Stop-loss & take-profit rules based on SMC logic.
5. Timeframes to Trade:
• Which timeframes work best for scalping, intraday, and swing trading.
6. Additional Trading Filters:
• High-impact news filter to avoid stop hunts.
• Sessions-based strategy (London/NY open).
Please provide a fully optimized trading strategy, including how to set up the indicators on TradingView and the best way to execute trades with high accuracy. The goal is to maximize profits while minimizing risk using Smart Money Concepts (SMC),
Smart MA Crossover BacktesterSmart MA Crossover Backtester - Strategy Overview
Strategy Name: Smart MA Crossover Backtester
Published on: TradingView
Applicable Markets: Works well on crypto (tested profitably on ETH)
Strategy Concept
The Smart MA Crossover Backtester is an improved Moving Average (MA) crossover strategy that incorporates a trend filter and an ATR-based stop loss & take profit mechanism for better risk management. It aims to capture trends efficiently while reducing false signals by only trading in the direction of the long-term trend.
Core Components & Logic
Moving Averages (MA) for Entry Signals
Fast Moving Average (9-period SMA)
Slow Moving Average (21-period SMA)
A trade signal is generated when the fast MA crosses the slow MA.
Trend Filter (200-period SMA)
Only enters long positions if price is above the 200-period SMA (bullish trend).
Only enters short positions if price is below the 200-period SMA (bearish trend).
This helps in avoiding counter-trend trades, reducing whipsaws.
ATR-Based Stop Loss & Take Profit
Uses the Average True Range (ATR) with a multiplier of 2 to calculate stop loss.
Risk-Reward Ratio = 1:2 (Take profit is set at 2x ATR).
This ensures dynamic stop loss and take profit levels based on market volatility.
Trading Rules
✅ Long Entry (Buy Signal):
Fast MA (9) crosses above Slow MA (21)
Price is above the 200 MA (bullish trend filter active)
Stop Loss: Below entry price by 2× ATR
Take Profit: Above entry price by 4× ATR
✅ Short Entry (Sell Signal):
Fast MA (9) crosses below Slow MA (21)
Price is below the 200 MA (bearish trend filter active)
Stop Loss: Above entry price by 2× ATR
Take Profit: Below entry price by 4× ATR
Why This Strategy Works Well for Crypto (ETH)?
🔹 Crypto markets are highly volatile – ATR-based stop loss adapts dynamically to market conditions.
🔹 Long-term trend filter (200 MA) ensures trading in the dominant direction, reducing false signals.
🔹 Risk-reward ratio of 1:2 allows for profitable trades even with a lower win rate.
This strategy has been tested on Ethereum (ETH) and has shown profitable performance, making it a strong choice for crypto traders looking for trend-following setups with solid risk management. 🚀
C&P MA/KT Compare & Predict Moving average / Current market price.
This is simple table indicator. Located at right-top of chart. Shows which way will MA's head go.
I made this indicator for automate candle countings & compare price. With this friend, you will be know trend more faster then waiting traditional MA golden / dead crossing.
In factory settings, current market price will be compared with closing price of the candle, corresponding to previous number 7, 25, 60, 99, 130, 240. If Current market price is lower then past, the box for the corresponding MA is highlighted in red and appears as Down. In opposite case, it will be highlighted in green and indicates Up.
MA와 시장가 차이로 MA의 머리 방향을 예측해주는 간단한 지표입니다.
수동으로 캔들 되돌려서 종가와 시장가 비교하는게 너무 번거로워서 자동화를 위해 제작되었습니다. 해당 지표를 이용하시면 MA의 골든/데드 크로스를 기다리는 것보다 더 빠른 예측이 가능합니다.
차트 우측 상단에 예측 값이 표시되며, 기본 설정에선 7, 25, 60, 99, 130, 240개 전 캔들의 종가와 시장가가 비교됩니다. 시장가가 비교 값보다 높을 때는 초록 배경에 Up 텍스트가 출력됩니다. 반대의 경우엔 빨간색 배경에 Down 표기가 나타납니다.