5 custom moving averagesDescription (English)
“5 custom moving averages” is a versatile TradingView indicator that plots five independent moving averages on your chart. For each line (MA1–MA5), you can choose from SMA, EMA, WMA, or VWMA and set its own period and data source. Default settings use 10, 21, 50, 200, and 325 bars with semi‑transparent pink, green, red, black, and light blue colors. Simply apply the script to your chart and customize each MA to fit your trading strategy.
説明(日本語)
「5 custom moving averages」は、チャート上に独立した5本の移動平均線を表示できるTradingView用インジケーターです。MA1~MA5それぞれで、SMA・EMA・WMA・VWMA のいずれかを選択でき、期間やデータソースも個別に設定可能です。デフォルトでは期間を 10、21、50、200、325 に、色を半透明ピンク、緑、赤、黒、薄い青に設定しています。チャートへ適用後、お好みに合わせて各線を調整してお使いください。
المتوسطات المتحركة
Wavelet Smoothed Moving Average (TechnoBlooms)Wavelet Smoothed Moving Average (WSMA) is a part of the Quantum Price Theory (QPT) Series of indicators.
Overview:
The Wavelet Smoothed Moving Average (WSMA) is a trend-following indicator inspired by multi-level Haar Wavelet decomposition. Rather than using traditional wavelet basis functions, it emulates the core wavelet concept of multi-resolution analysis using nested simple moving averages (SMA).
How It Works:
WSMA applies three levels of smoothing:
• Level 1: SMA on price (base smoothing)
• Level 2: SMA on Level 1 output (further denoising)
• Level 3: SMA on Level 2 output (final approximation)
Why Use WSMA:
• Multi-Level Smoothing: Captures price structure across multiple time scales, unlike single-length MAs.
• Noise Reduction: Filters out short-term volatility and focuses on the underlying trend.
• Low Lag, High Clarity: Unlike traditional moving averages that react slowly or miss subtle shifts, WSMA’s layered smoothing delivers cleaner and more adaptive trend detection.
Unique Value:
• Wavelet-Inspired Design: Mimics core wavelet decomposition logic without the complexity of downsampling or basis functions.
• Perfect for Trend Confirmation: The final line (a3) can act as a trend filter, while the detail levels can help identify momentum shifts and volatility bursts.
• Fits Into Quantum Price Theory: As part of the QPT framework, WSMA bridges scientific theory with trading application, giving traders a deeper understanding of market structure and signal compression.
Dskyz (DAFE) AI Adaptive Regime - Beginners VersionDskyz (DAFE) AI Adaptive Regime - Pro: Revolutionizing Trading for All
Introduction
In the fast-paced world of financial markets, traders need tools that can keep up with ever-changing conditions while remaining accessible. The Dskyz (DAFE) AI Adaptive Regime - Pro is a groundbreaking TradingView strategy that delivers advanced, AI-driven trading capabilities to everyday traders. Available on TradingView (TradingView Scripts), this Pine Script strategy combines sophisticated market analysis with user-friendly features, making it a standout choice for both novice and experienced traders.
Core Functionality
The strategy is built to adapt to different market regimes—trending, ranging, volatile, or quiet—using a robust set of technical indicators, including:
Moving Averages (MA): Fast and slow EMAs to detect trend direction.
Average True Range (ATR): For dynamic stop-loss and volatility assessment.
Relative Strength Index (RSI) and MACD: Multi-timeframe confirmation of momentum and trend.
Average Directional Index (ADX): To identify trending markets.
Bollinger Bands: For assessing volatility and range conditions.
Candlestick Patterns: Recognizes patterns like bullish engulfing, hammer, and double bottoms, confirmed by volume spikes.
It generates buy and sell signals based on a scoring system that weighs these indicators, ensuring trades align with the current market environment. The strategy also includes dynamic risk management with ATR-based stops and trailing stops, as well as performance tracking to optimize future trades.
What Sets It Apart
The Dskyz (DAFE) AI Adaptive Regime - Pro distinguishes itself from other TradingView strategies through several unique features, which we compare to common alternatives below:
| Feature | Dskyz (DAFE) | Typical TradingView Strategies|
|---------|-------------|------------------------------------------------------------|
| Regime Detection | Automatically identifies and adapts to **four** market regimes | Often static or limited to trend/range detection |
| Multi‑Timeframe Analysis | Uses higher‑timeframe RSI/MACD for confirmation | Rarely incorporates multi‑timeframe data |
| Pattern Recognition | Detects candlestick patterns **with volume confirmation** | Limited or no pattern recognition |
| Dynamic Risk Management | ATR‑based stops and trailing stops | Often uses fixed stops or basic risk rules |
| Performance Tracking | Adjusts thresholds based on past performance | Typically static parameters |
| Beginner‑Friendly Presets | Aggressive, Conservative, Optimized profiles | Requires manual parameter tuning |
| Visual Cues | Color‑coded backgrounds for regimes | Basic or no visual aids |
The Dskyz strategy’s ability to integrate regime detection, multi-timeframe analysis, and user-friendly presets makes it uniquely versatile and accessible, addressing the needs of everyday traders who want professional-grade tools without the complexity.
-Key Features and Benefits
[Why It’s Ideal for Everyday Traders
⚡The Dskyz (DAFE) AI Adaptive Regime - Pro democratizes advanced trading by offering professional-grade tools in an accessible package. Unlike many TradingView strategies that require deep technical knowledge or fail in changing market conditions, this strategy simplifies complex analysis while maintaining robustness. Its presets and visual aids make it easy for beginners to start, while its adaptive features and performance tracking appeal to advanced traders seeking an edge.
🔄Limitations and Considerations
Market Dependency: Performance varies by market and timeframe. Backtesting is essential to ensure compatibility with your trading style.
Learning Curve: While presets simplify use, understanding regimes and indicators enhances effectiveness.
No Guaranteed Profits: Like all strategies, success depends on market conditions and proper execution. The Reddit discussion highlights skepticism about TradingView strategies’ universal success (Reddit Discussion).
Instrument Specificity: Optimized for futures (e.g., ES, NQ) due to fixed tick values. Test on other instruments like stocks or forex to verify compatibility.
📌Conclusion
The Dskyz (DAFE) AI Adaptive Regime - Pro is a revolutionary TradingView strategy that empowers everyday traders with advanced, AI-driven tools. Its ability to adapt to market regimes, confirm signals across timeframes, and manage risk dynamically. sets it apart from typical strategies. By offering beginner-friendly presets and visual cues, it makes sophisticated trading accessible without sacrificing power. Whether you’re a novice looking to trade smarter or a pro seeking a competitive edge, this strategy is your ticket to mastering the markets. Add it to your chart, backtest it, and join the elite traders leveraging AI to dominate. Trade like a boss today! 🚀
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
-Dskyz
Grok CCI with DMF and 20 DMA FilterCCI Indicator that generates Buy and Sell signals, filtered with Dynamic money flow and a 14 Day moving average.
Shout out to RezzaHmt www.tradingview.com
for his Dynamic money flow Indicator.
This is still a work in progress.
Add it twice to your chart: One the main chart ( Uncheck all check boxes except the DMA and the Buy and Sell under style.)
One below the chart (Uncheck the Buy and Sell boxes and the Blue CCI box)
HMA Breakdown [NLR]Hull Moving Average (HMA) is a great trend-following tool — it's smooth, fast, and more responsive than traditional MAs like EMA or SMA. But the problem?
Sometimes it gives signals that look sharp but are misleading — especially in noisy markets or when the price is chopping around.
This script breaks down the inner mechanics of the HMA to give you more context:
Are the inputs to HMA actually diverging?
Is there momentum behind the move?
Is this trend about to reverse or just a pullback?
By plotting the components of HMA — and layering signal bands, color logic, and optional trend overlays — it gives you a visual breakdown of what's really going on under the hood.
What this indicator shows
HMA Trend (Main Line)
The Hull Moving Average (HMA) is plotted in bold, colored red or green based on internal conditions (not just price slope).
WMA Components (Fast & Slow)
Shows the two WMAs used inside the HMA calculation:
WMA Half (faster) — reacts quickly to price
WMA Full (slower) — smoother, less reactive
Their difference and crossover gives you clues on whether momentum is building or fading.
Signal & Band Structure
A calculated upper band and lower band are used to track when HMA is leading or lagging momentum.
When the HMA is below the band, trend may be weakening - this helps you filter false signals.
TMA Candle (Optional Visual)
A synthetic candle shows whether the smoothed average is rising or falling compared to a few candles back.
This is a simple visual cue to spot inflection points in the trend.
EMA Trend Overlay (Optional)
A pair of short-term EMAs built on a smoothed source helps you catch micro-trends or align your entries with the bigger trend.
Can act as an early heads-up or a trend confirmation layer.
What problem it solves
Noisy Signals: Helps filter out weak or fake trend signals often seen in HMA-only systems.
Visual Breakdown: Lets you see how each component of the HMA is behaving — so you’re not flying blind.
Momentum Confirmation: Adds layered confirmation using fast-vs-slow WMA cross, signal bands, and mini trend overlays.
Best Used For:
Trend-following traders who use HMA or WMA strategies
Filtering entries/exits in momentum-based systems
Visually confirming when a trend is real vs fake
Multi-Timeframe 20 EMA Horizontal LinesThis script plots horizontal lines at the 20 EMA values across multiple timeframes:
Daily, Weekly, Monthly, 3-Month, and 6-Month.
Each line is displayed in semi-transparent orange to keep the chart clean and minimal.
MACD Liquidity Tracker SystemMACD Liquidity Tracker System
🔹 Enhanced MACD with candle coloring, entry markers, and customizable signal logic.
🧠 Features:
This tool combines a color-coded MACD histogram with signal-based candle colors and small shape markers (🔼🔽) for clear market momentum and entry visualization.
📊 Visuals:
MACD Histogram (Sub-panel):
4 dynamic colors to show momentum direction:
🔹 Bright Blue = MACD > 0 & rising (strong bullish)
🔹 Dark Blue = MACD > 0 & falling (weakening bullish)
🔹 Bright Magenta = MACD < 0 & falling (strong bearish)
🔹 Dark Magenta = MACD < 0 & rising (weakening bearish)
Price Candles (Main Chart):
🔹 Bright Blue = Active Long signal
🔹 Bright Magenta = Active Short signal
Entry Markers:
🔼 Blue triangle (below candle) = Start of Long
🔽 Magenta triangle (above candle) = Start of Short
⚙️ System Types (select in settings):
Normal:
🔹 Long = MACD > 0
🔹 Short = MACD < 0
Fast: (Based on histogram color)
🔹 Long = Bright Blue OR Dark Magenta
🔹 Short = Dark Blue OR Bright Magenta
Safe:
🔹 Long = Only Bright Blue
🔹 Short = All other colors
🔔 Alerts:
Alerts trigger only on the first bar of a new Long/Short signal.
Easy to set up using TradingView’s alert system.
📌 How to Use:
Add the indicator to your chart
Open settings and select a System Type
Adjust MACD parameters if needed
Use histogram color + candle color for momentum and signal confirmation
Set alerts for clean entries if desired
💡 Ideal for traders seeking visual clarity and flexible MACD-based strategies.
Jack's ADX v3 with Multi-TF TableAdded a table showing the ADX value on 3 timeframes.
You can change the timeframes in the settings.
NOTE: When you change the timeframe/s in the settings it will change the value in the table but the timeframe label does not change. To be fixed.
But if you change timeframe 2 to 1 hour, the text in the table will say 26m but the value is from the 1 hour adx value.
Hope that makes sense.
King Crypto Crossover BotThe Simple SMA Crossover Bot is a streamlined yet robust algorithmic signal generator, architected to detect dynamic trend inflection points using dual-period simple moving average convergence and divergence.
Leveraging the intersection logic of short-term and long-term moving averages, this system highlights potential breakout and reversal zones by precisely identifying crossover and crossunder events — critical junctures where bullish or bearish momentum transitions often begin.
Designed for traders who value clarity and precision, the bot deploys high-visibility chart markers and configurable real-time alert conditions, enabling seamless integration with webhook-based automation systems. This makes it ideal for hybrid manual-automated trading strategies or full automation when paired with third-party trade execution layers.
Whether used standalone or as part of a broader multi-indicator framework, this crossover engine offers a solid foundation for systematic trading strategies in crypto, forex, or equities markets.
DEMA Trend Oscillator Strategy📌 Overview
The DEMA Trend Oscillator Strategy is a dynamic trend-following approach based on the Normalized DEMA Oscillator SD.
It adapts in real-time to market volatility with the goal of improving entry accuracy and optimizing risk management.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
The main goal of this strategy is to respond quickly to sudden price movements and trend reversals,
by combining momentum-based signals with volatility filters.
It is designed to be user-friendly for traders of all experience levels.
✨ Key Features
Normalized DEMA Oscillator: A momentum indicator that normalizes DEMA values on a 0–100 scale, allowing intuitive identification of trend strength
Two-Bar Confirmation Filter: Requires two consecutive bullish or bearish candles to reduce noise and enhance entry reliability
ATR x2 Trailing Stop: In addition to fixed stop-loss levels, a trailing stop based on 2× ATR is used to maximize profits during strong trends
📊 Trading Rules
Long Entry:
Normalized DEMA > 55 (strong upward momentum)
Candle low is above the upper SD band
Two consecutive bullish candles appear
Short Entry:
Normalized DEMA < 45 (downward momentum)
Candle high is below the lower SD band
Two consecutive bearish candles appear
Exit Conditions:
Take-profit at a risk-reward ratio of 1.5
Stop-loss triggered if price breaks below (long) or above (short) the SD band
Trailing stop activated based on 2× ATR to secure and extend profits
💰 Risk Management Parameters
Symbol & Timeframe: Any (AUDUSD 5M example)
Account size (virtual): $3000
Commission: 0.4PIPS(0.0004)
Slippage: 2 pips
Risk per trade: 5%
Number of trades (backtest):534
All parameters can be adjusted based on broker specifications and individual trading profiles.
⚙️ Trading Parameters & Considerations
Indicator: Normalized DEMA Oscillator SD
Parameter settings:
DEMA Period (len_dema): 40
Base Length: 20
Long Threshold: 55
Short Threshold: 45
Risk-Reward Ratio: 1.5
ATR Multiplier for Trailing Stop: 2.0
🖼 Visual Support
The chart displays the following visual elements:
Upper and lower SD bands (±2 standard deviations)
Entry signals shown as directional arrows
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by “Normalized DEMA Oscillator SD” by QuantEdgeB,
but introduces enhancements such as a two-bar confirmation filter and an ATR-based trailing stop.
Compared to conventional trend-following strategies, it offers superior noise filtering and profit optimization.
✅ Summary
The DEMA Trend Oscillator Strategy is a responsive and practical trend-following method
that combines momentum detection with adaptive risk management.
Its visual clarity and logical structure make it a powerful and repeatable tool
for traders seeking consistent performance in trending markets.
⚠️ Always apply appropriate risk management. This strategy is based on historical data and does not guarantee future results.
Attrition Scalper - MTF# Attrition Scalper MTF Update
## What's Changed
Compared to previous Attrition Scalper versions, the channel and lines are now calculated using multi-timeframe (MTF) confluence with weighted averages.
The indicator is updated to PineScript V6.
I've removed redundant logic, inefficient buy/sell and high/low signals, and linear regression calculations to create a cleaner, more streamlined version that's both easier to use and provides a better foundation for future developments.
Using these lines every day has quickly made me realize that one line in one timeframe is usually in confluence with another line in another timeframe, and that price zone is usually much more reliable as a proper support/resistance or a mean reversion scalp zone.
The new logic checks one timeframe lower and one timeframe higher than the current timeframe the user is viewing and performs a weighted average calculation of 0.618 × lower TF + 1.0 × current TF + 0.786 × higher TF before plotting the lines.
Timeframes higher than weekly or lower than 5 minutes don't use MTF and instead just show the normal lines and the channel for that single timeframe similar to previous Attrition Scalper V2.
## Understanding the Lines
The Attrition Scalper generates several key reference lines that can help identify trade opportunities:
### Primary Reference Lines
- **Middle VIDYA and EVWMA (Middle Band)**: Usually represents the "mean" or equilibrium price. Price tends to gravitate back to this area during consolidation.
- **Green/Red VIDYA Lines**: These color-changing lines are your higher priority/reliable support/resistance levels.
### Fibonacci Extension Lines
- **Blue Lower Fibonacci Lines (0.618, 1.618, 2.618)**: Secondary support/resistance zones. While less significant than the VIDYA lines, these still provide valuable reference points for potential bounces.
- **Yellow 4.236 Fibonacci Lines**: These represent significant price overextension. When price reaches or exceeds these levels, expect a mean reversion move soon. These are the highest trust lines.
## Trading Applications
### Overextension & Mean Reversion
When price pushes above/below the yellow 4.236 Fibonacci line:
- This indicates an overextended market condition
- Probability of mean reversion increases significantly
- Consider counter-trend positions back toward the middle band
- Set targets near the middle VIDYA/EVWMA lines
- Higher timeframes = Higher reliability
- Don't panic and trust the process
### Support & Resistance Trading
- **Primary S/R Zones (Green/Red VIDYA)**: These are your highest probability bounce/rejection points. Pay special attention when price approaches these levels, especially on the first test.
- **Secondary S/R Zones (Blue Fib Lines)**: Use these as supplementary confirmation or for tighter stop placement or basic entries/TPs when laddering in and out.
## Best Practices
1. **Wait for Candle Close**: Trading signals are most reliable after a candle has fully closed above/below significant lines. Don't just take an instant long/short position when price goes above/below the outer yellow 4.236 fib line; wait for confirmation and candle close. Don't be sad if you miss an opportunity just because you waited—it's better this way in the long run.
2. **Respect Momentum**: Don't fight strong momentum just because price reached a line; wait for signs of reversal. Price almost always retraces, but it can be a small retracement only to inside the channel instead of going all the way back to the mean if the market is trending, OR it can stay overextended for an extended period of time (usually few candles max though). Sudden spikes all the way to the overextended zone are almost always a better position to take as a mean reversion play compared to long drawn out single direction trends. Don't fight the trend; take very small quick scalps given the opportunity.
3. **Use Confirmation Combined with Volume**: Look for rejection candles, engulfing patterns, or double tops/bottoms at key levels before entering. Strong volume at key lines increases the probability of a meaningful reaction. For example, at the end of an uptrend, if you see the price has spiked and is now overextended (out of the channel and above all the lines) and you see volume also spiking, that's almost always the top, at least for a while.
5. **Consider Volatility**: During high volatility, price may overshoot lines a lot (although very rare) before reversing; be patient and wait for confirmation. It could also be a news event, so always check before entering a position.
Phoenix Pro Strategy📘 Phoenix Pro Indicator & Strategy – Technical Documentation
🔧 Overview
The Phoenix Pro Indicator is a comprehensive multi-tool indicator designed for trend detection, momentum analysis, volatility visualization, and automated strategy execution on TradingView. It integrates:
EMA, SMA (Trend Filters)
RSI (Momentum)
Bollinger Bands (Volatility)
Pivot Support/Resistance (Price Structure)
ZigZag Highs/Lows (Market Structure)
Auto Buy/Sell Strategy Logic
📊 Technical Components
🔹 1. Trend Filters (EMA/SMA)
Fast EMA (default 9): Short-term trend direction
Slow EMA (default 21): Long-term trend filter
SMA Short (default 20): Confirms price momentum
SMA Long (default 50): General market trend direction
pine
Kopyala
Düzenle
emaFast = ta.ema(close, 9)
emaSlow = ta.ema(close, 21)
🔹 2. RSI
Detects overbought/oversold conditions.
Used to time entries with trend confirmation.
pine
Kopyala
Düzenle
rsi = ta.rsi(close, 14)
🔹 3. Bollinger Bands
Measures volatility and helps detect breakouts.
pine
Kopyala
Düzenle
basis = ta.sma(close, 20)
upperBB = basis + 2 * ta.stdev(close, 20)
lowerBB = basis - 2 * ta.stdev(close, 20)
🔹 4. Pivot Support/Resistance
Highlights recent local highs and lows as potential reversal zones.
pine
Kopyala
Düzenle
pivotHigh = ta.pivothigh(high, 5, 5)
pivotLow = ta.pivotlow(low, 5, 5)
🔹 5. ZigZag
Simplifies price structure visualization to identify swing highs/lows.
pine
Kopyala
Düzenle
zigzagTop := (high >= high * (1 + dev / 100)) ? high : zigzagTop
📈 Strategy Logic
✅ Long Entry:
text
Kopyala
Düzenle
- EMA Fast > EMA Slow
- Close > SMA Short
- RSI < 60
- Close > Bollinger Basis
🔻 Short Entry:
text
Kopyala
Düzenle
- EMA Fast < EMA Slow
- Close < SMA Short
- RSI > 40
- Close < Bollinger Basis
📉 Exit Logic:
Close long if short condition triggers.
Close short if long condition triggers.
✅ Pine Script Strategy Code Snippet:
pine
Kopyala
Düzenle
strategy.entry("Long", strategy.long, when=longCond)
strategy.close("Long", when=shortCond)
strategy.entry("Short", strategy.short, when=shortCond)
strategy.close("Short", when=longCond)
🖥️ Usage in TradingView
Open TradingView
Click on Pine Editor (bottom tab)
Paste the full script
Click Add to Chart
Select the Strategy Tester tab to view performance
Adjust input parameters via settings ⚙️
⚙️ Recommended Settings (Adjust as needed)
Input Default Notes
EMA Fast 9 Short-term sensitivity
EMA Slow 21 Trend confirmation
SMA Short 20 Entry condition check
RSI Period 14 Momentum filter
RSI OB/OS 70/30 Entry condition tuning
Bollinger Length 20 For mean reversion / trend volatility
ZigZag Deviation (%) 5.0 Increase for higher-timeframe clarity
📌 Notes & Tips
Use on higher timeframes (1H, 4H, 1D) for better signals.
Combine with macro/fundamental filters for advanced setups.
Adjust parameters based on market type (ranging vs trending).
Use strategy tester to optimize performance.
TRAMA - Trend Regularity Adaptive Moving AverageThe TRAMA Line is an advanced, adaptive moving average that adjusts its speed based on market volatility. It’s designed to react quickly to price momentum shifts while filtering out noise — making it perfect for scalping, intraday, and swing trading.
What Makes It Special:
📊 Adaptive Sensitivity: Speeds up during high momentum, slows down during consolidation.
🎯 More responsive than traditional EMAs or SMAs, giving early signals without excessive false alarms.
🔄 Works great as a dynamic trend filter — price staying above = uptrend, below = downtrend.
🧠 Based on price movement regularity, which helps detect clean pullbacks and trend continuations.
In Your Indicator:
TRAMA acts as the main trend line to detect:
Trend direction
Pullbacks
Reversals
Combined with MACD, RSI, and ATR, it helps determine whether a move is likely to continue or reverse.
PG Mean revision price to vwma and MAsHere's a concise breakdown for your users:
- Selection of Moving Average Type:- Choose VWMA, EMA, or SMA, along with the source (e.g., closing price) and length for the calculation.
- Price-MA Difference Calculation:- Calculates the difference between the closing price and the selected moving average.
- Additional Moving Averages:- Applies three customizable moving averages (MA1, MA2, MA3) to the price-MA difference.
- Dynamic Plotting:- Plots the price-MA difference in red, and overlays the moving averages (blue, orange, purple). MA1 can be dynamically colored red/green based on its trend.
- Zero Reference Line:- Includes a horizontal line at zero for easy visual reference.
This tool helps analyze price trends and deviations for better trading decisions!
Triple Confirmación Forex (Señales en Tiempo Real)//@version=5
indicator("Triple Confirmación Forex (Señales en Tiempo Real)", overlay=true)
// ==== RSI ====
rsi = ta.rsi(close, 14)
rsi_1m = request.security(syminfo.tickerid, "1", rsi)
rsi_5m = request.security(syminfo.tickerid, "5", rsi)
// ==== Estocástico ====
length = input(14, "Stoch Length")
smoothK = input(1, "%K Smoothing")
smoothD = input(3, "%D Smoothing")
highestHigh = ta.highest(high, length)
lowestLow = ta.lowest(low, length)
k = ta.sma((close - lowestLow) / (highestHigh - lowestLow) * 100, smoothK)
d = ta.sma(k, smoothD)
k_cross_up = ta.crossover(k, d) and k < 20
k_cross_down = ta.crossunder(k, d) and k > 80
// ==== MAs ====
ema45 = ta.ema(close, 45)
ma50 = ta.sma(close, 50)
// ==== Condiciones de Entrada ====
longCondition = rsi_1m < 30 and rsi_5m < 30 and k_cross_up and close > ema45 and close > ma50 and close > open
shortCondition = rsi_1m > 70 and rsi_5m > 70 and k_cross_down and close < ema45 and close < ma50 and close < open
// ==== Flechas de señal ====
plotshape(longCondition, title="Señal Compra", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(shortCondition, title="Señal Venta", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// ==== ALERTAS EN TIEMPO REAL ====
alertcondition(longCondition, title="Alerta de COMPRA", message="¡Señal de COMPRA en {{ticker}}!")
alertcondition(shortCondition, title="Alerta de VENTA", message="¡Señal de VENTA en {{ticker}}!")
// ==== MA Plots ====
plot(ema45, color=color.red, title="EMA 45")
plot(ma50, color=color.green, title="MA 50")
Stochastic with EMA + BOS FOR XAUUSD 5MThis indicator combines multi-timeframe Stochastic signals (from M1, M5, M15, M30) with an EMA-based trend filter on M1 to generate bullish and bearish signals. It applies dynamic Stochastic thresholds depending on the M1 EMA trend (fast vs. slow), so the trigger levels for oversold/overbought conditions adjust according to recent market bias. Additionally, it blocks signals if price is too close to the 4H (or ~24H on a 5-minute chart) high or low, helping to avoid entries at potential extremes.
A simple Break of Structure (BOS) check tracks if a bullish or bearish break happened within the last few hours. Signals become stricter if a recent BOS favors the opposite side. The script also looks at the current 3-hour range to classify swing levels as low, medium, or high. Each valid signal is plotted (triangle on the chart) and tied to an alert condition that includes the swing classification. This makes it easier to spot potential high-conviction setups versus more conservative or lower-volatility ones.
Beware NEWS!
MGC MBCSThis strategy uses multiple price bands to identify trade opportunities by comparing price action across different ranges. The aim is to spot trends between band signals that indicate strong mean reversion or breakout setups.
Timeframe: 1 hour
Frans' Bot - IndicatorFrans' Bot Indicator uses a Hull Moving Average (HMA) and Exponential Moving Average (EMA) to generate entry and exit signals. It offers optional filters like RSI, Stochastic, and Pivot Points to refine trade setups. Features include adjustable profit targets, stop-loss levels, and support for reversal trades based on EMA proximity.
10Y MBCSThis strategy uses multiple price bands to identify trade opportunities by comparing price action across different ranges. The aim is to spot trends between band signals that indicate strong mean reversion or breakout setups.
Timeframe: 6/8 hours
MARTINS - RSI Crossover AlertMARTINS - RSI Crossover Alert.
You dont need to know anything more than what is in this description
MGC Combination StrategyThis code utilises a combination of two different strategies for the Gold futures market.
PO Signal 5·13·21 MA 【インジケーター概要】
・5・13・21 MA がパーフェクトオーダー(PO)になった “初回だけ” を検出
・ローソク足に “PO” ラベル を表示
・デフォルトで 傾きフィルター(各 MA の向き一致)をオン → ダマシ軽減
・1・5分足スキャル向け(他の時間足でも使用可)
【使い方】
① 1・5分足チャートに追加
② 条件を満たすと PO が出現
③ BBやRSIなど、他のトレンド系指標と併用してフィルタリング推奨
【アラート】
・PO Up Alert 上昇 PO(初回)
・PO Down Alert 下降 PO(初回)
アラート設定で「バー終値で実行」「バーにつき 1 回」などお好みで。
【免責】
・本スクリプトは学習・研究目的です。投資判断は自己責任でお願いします。
・リペイントはありませんが、出来高が少ない時・急変動時はシグナル精度が低下する場合があります。
Indicator Overview
Detects only the first Perfect Order (PO) where the 5‑, 13‑, and 21‑period MAs align
Plots a simple “PO” label on the candle
Slope filter (all MAs sloping in the same direction) is ON by default → reduces false signals
Designed for 1‑ and 5‑minute scalping, but works on any timeframe
How to Use
Add the script to a 1‑ or 5‑minute chart.
When the conditions are met, a “PO” label will appear.
Combine with other trend filters such as Bollinger Bands, RSI, etc., for additional confirmation.
Alerts
Alert Meaning
PO Up Alert First bullish PO
PO Down Alert First bearish PO
Set alerts with options like “Only once per bar” and “On bar close” as preferred.
Disclaimer
This script is provided for educational and research purposes only. All trading decisions are your own responsibility.
The indicator does not repaint, but signal accuracy may decline during low‑volume periods or sharp price moves.
PO Signal 5·13·21 MA by suzuhiko【インジケーター概要】
・5・13・21 MA がパーフェクトオーダー(PO)になった “初回だけ” を検出
・ローソク足に “PO” ラベル を表示
・デフォルトで 傾きフィルター(各 MA の向き一致)をオン → ダマシ軽減
・1・5分足スキャル向け(他の時間足でも使用可)
【使い方】
① 1・5分足チャートに追加
② 条件を満たすと PO が出現
③ BBやRSIなど、他のトレンド系指標と併用してフィルタリング推奨
【アラート】
・PO Up Alert 上昇 PO(初回)
・PO Down Alert 下降 PO(初回)
アラート設定で「バー終値で実行」「バーにつき 1 回」などお好みで。
【免責】
・本スクリプトは学習・研究目的です。投資判断は自己責任でお願いします。
・リペイントはありませんが、出来高が少ない時・急変動時はシグナル精度が低下する場合があります。
Indicator Overview
Detects only the first Perfect Order (PO) where the 5‑, 13‑, and 21‑period MAs align
Plots a simple “PO” label on the candle
Slope filter (all MAs sloping in the same direction) is ON by default → reduces false signals
Designed for 1‑ and 5‑minute scalping, but works on any timeframe
How to Use
Add the script to a 1‑ or 5‑minute chart.
When the conditions are met, a “PO” label will appear.
Combine with other trend filters such as Bollinger Bands, RSI, etc., for additional confirmation.
Alerts
Alert Meaning
PO Up Alert First bullish PO
PO Down Alert First bearish PO
Set alerts with options like “Only once per bar” and “On bar close” as preferred.
Disclaimer
This script is provided for educational and research purposes only. All trading decisions are your own responsibility.
The indicator does not repaint, but signal accuracy may decline during low‑volume periods or sharp price moves.
SMA Buy/Sell with AveragingSMA Buy/Sell with Averaging Recovery
Overview
This indicator combines Simple Moving Averages (SMAs) with a strategic buy/sell system and an innovative averaging recovery mechanism. Designed for traders seeking to capitalize on market dips, it identifies main trade opportunities and highlights potential averaging entries when prices drop significantly, providing detailed summaries of gains or losses.
Key Features
Triple SMA Strategy: Uses 20, 50, and 200-period SMAs to generate buy and sell signals based on price position and SMA alignment.
Buy Signal: Triggered when the price is below all SMAs, and SMAs are aligned (200 > 50 > 20).
Sell Signal: Triggered when the price is above all SMAs, and SMAs are inversely aligned (200 < 50 < 20).
Averaging Opportunity: Marks an averaging entry when the price drops 10% below the main buy price, ideal for cost-averaging strategies.
Recovery Tracking: Displays gains when the price recovers to the original buy price, showing the percentage gain and days to recover.
Detailed Summaries: Provides main trade summaries on sell signals (days held and gain/loss %) and averaging recovery summaries (days and gain %).
Customizable Display: Offers flexible settings to tailor the indicator to your trading style.
Settings
Show Only Averaging Trades: When enabled, hides main buy/sell signals and summaries, displaying only averaging signals and recovery summaries for trades with a 10% price drop.
Show Only Profitable Trades: When enabled, shows only trade summaries (main or averaging) with gains, hiding those with losses, while still displaying buy and averaging signals for context.
How It Works
Plots three SMAs (20, 50, 200) for trend analysis.
Generates clear buy/sell signals with labeled entry points.
Identifies averaging opportunities when the price falls 10% from the buy price, marking the entry with a distinct label.
Tracks recovery to the original buy price, providing a summary of gains and duration.
Customizable settings allow traders to focus on averaging strategies or profitable trades only.
Use Cases
Swing Traders: Use main buy/sell signals for trend-following strategies.
Cost-Averaging Traders: Leverage averaging signals to buy additional positions during dips.
Performance Analysts: Filter for profitable trades to evaluate high-return setups.
Visuals
Green Labels: Main buy signals and profitable main trade summaries.
Red Labels: Loss-making main trade summaries (hidden if "Show Only Profitable" is enabled).
Pink Labels: Averaging signals and recovery summaries.
All labels are positioned for clarity, with main trade summaries above the price and averaging recovery below.
Why Use This Indicator?
This indicator is perfect for traders who want a robust SMA-based system with built-in averaging and recovery tracking. Its customizable settings make it versatile for various trading styles, whether focusing on main trades, averaging opportunities, or only profitable outcomes. Enhance your trading with clear, actionable signals and detailed performance insights.
Connect With Us
Visit our website for more trading tools and resources: www.profitlens.in
Follow us on Twitter for updates: x.com
Note
Best used on higher timeframes (e.g., daily) for reliable signals.
Always combine with other analysis tools and risk management strategies.
Pine Script v5 compatible.
Disclaimer
This indicator is for informational and educational purposes only and should not be considered financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always conduct your own research and consult with a qualified financial advisor before making trading decisions.