Osciladores
RR Trail MA-Osc Strategy (entry-based TP/SL)Overview
The "RR Trail MA-Osc Strategy" is designed to capture trends while maintaining clear risk management .
With fixed TP/SL, a trailing stop, and safety exits based on MA and oscillator divergence, this strategy offers a mechanical and strategic approach to trading .
Strategy Objectives
Capture trend development and continuation for maximum profit
Optimize profit/loss balance through a clear risk-reward ratio (RR)
Utilize multi-layered exit logic: fixed target/stop, trailing stop, and divergence exit
Eliminate emotional decision-making with rule-based execution
Key Features
Fixed TP/SL – Targets and stops based on recent high/low (structural exits)
Customizable RR Ratio – Adjust reward-to-risk levels to match strategy or market
Trailing Stop – Dynamically locks in profit as price moves favorably
Divergence Exit – Exits early when MA and oscillator disagree in direction
Simple Structure – Easy to modify and expand
Trading Rules
Long Entry
Price above short-term MA
WaveTrend oscillator rising and above 0
Long-term trend MA trending upward
Short Entry
Price below short-term MA
Oscillator falling and below 0
Long-term trend MA trending downward
Exit Conditions
Fixed TP/SL (based on recent highs/lows + RR)
Triggering the trailing stop
Divergence between oscillator and MA
Risk Management Parameters
Pair : ETH/USD
Timeframe : 4-hour
Starting Capital : $3,000
Commission : 0.02%
Slippage : 2 pips
Risk per Trade : 5% of account equity (adjustable)
Total Trades : 651 (backtested on selected dataset)
Trading Parameters & Considerations
Multiple MA types available (SMA / EMA / SMMA / WMA / VWMA)
Separate MAs for signal and trend evaluation
Flexible RR ratio (e.g. 1.0 to 2.0+)
Adjustable lookback window for high/low-based TP/SL
Strategy Improvements & Uniqueness
Combines fixed TP/SL + trailing stop + divergence exit for layered exit logic
Provides stable, emotion-free execution through clear risk structures
Simple yet complete design—ideal for customization or integration
Clean and understandable for Pine Script beginners
Inspirations & Attribution
This strategy was inspired by:
ChartPrime – “Moving Average Shift”
Leveraging the Moving Average Shift concept for intuitive signal generation,
it has been restructured here into a more strategic and automated system.
Summary
"RR Trail MA-Osc Strategy" merges:
Trend-following logic
Defined risk control
Emotionless, rule-based execution
into a compact and effective trading strategy .
Perfect for beginners and intermediate traders alike,
especially those seeking a mechanical, disciplined approach to the markets.
Bitcoin Valuation Model | OpusBitcoin Valuation Model | Opus
Technical Indicator Overview
The Bitcoin Valuation Model | Opus is a comprehensive tool that assesses Bitcoin’s market valuation using a blend of fundamental and technical Z-scores. Overlaying a dynamic Z-score plot on the price chart, it integrates metrics like MVRV, Bitcoin Thermocap, NUPL, and RSI, alongside a detailed table for real-time analysis. With vibrant visualizations and SDCA (Scaled Dollar-Cost Averaging) thresholds, this indicator helps traders identify overbought or oversold conditions with precision.
Key Features 🌟
Multi-Metric Z-Score Analysis: Combines 12 fundamental and technical indicators into customizable Z-score plots for a holistic valuation view.
Dynamic Visualization: Displays Z-scores with gradient backgrounds, horizontal thresholds, and optional bar coloring for intuitive market insights.
Comprehensive Dashboard: Provides a compact table with Z-scores, market conditions, and ROC (Rate of Change) for each indicator.
SDCA Signals: Highlights buy (below -2) and sell (above 2) zones with dynamic background opacity to guide dollar-cost averaging strategies.
Retro Aesthetic: Features a Synthwave-inspired color scheme (cyan for oversold, magenta for overbought) with cloud effects and gradient fills.
Usage Guidelines 📋
Buy Signals: Enter or accumulate Bitcoin when the Z-score falls below -2 (cyan background), indicating an oversold market.
Sell Signals: Consider exiting or reducing exposure when the Z-score exceeds 2 (magenta background), signaling overbought conditions.
Market Condition Tracking: Use the table to monitor individual indicator Z-scores and ROC trends for confirmation of market states.
Trend Analysis: Assess the plotted Z-score against thresholds (-3 to 3) to gauge momentum and potential reversals.
Customizable Settings ⚙️
Table Position: Place the dashboard anywhere on the chart (e.g., Middle Right, Top Center).
Z-Score Plot: Select from 15 options (e.g., MVRV, RSI, Average Z-Score) to focus on specific metrics.
Indicator Parameters: Adjust lengths, means, and scales for each metric (e.g., RSI Length: 400, MVRV Scale: 2.1).
SDCA Thresholds: Set buy (-2) and sell (2) levels to tailor dollar-cost averaging signals.
Visual Options: Toggle bar coloring and customize ROC lookback (default: 7 days) for personalized analysis.
Applications 🌍
The Bitcoin Valuation Model | Opus is ideal for Bitcoin traders and hodlers seeking a data-driven approach to market timing. Its fusion of on-chain fundamentals, technical indicators, and visually rich feedback makes it perfect for identifying valuation extremes, optimizing SDCA strategies, and enhancing long-term investment decisions—all under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital.
Price Range Deviation📌 Description: Price Range Deviation Indicator
This indicator measures how much a stock has moved over a recent period (e.g., 15 days) and compares that move to the average move of similar-length windows over a longer lookback period (e.g., 1 year or 252 days).
It helps identify when a stock has made an unusually large move compared to its historical norm — which can signal that the move is overextended.
📊 How It Works:
Recent Move ($): The absolute price change over the selected recent period.
Average Move ($): The average absolute price change over rolling windows of the same size across the full lookback period.
Move Ratio: The current move divided by the average move.
When the move ratio exceeds a custom threshold (e.g., 1.5× the average), the background highlights red to signal that the move is unusually large.
💡 Use Case:
Ideal for options traders looking to:
Identify overextended price moves
Sell out-of-the-money calls or puts beyond a high-move zone
Fade price exhaustion with high probability setups
RSI Price LadderFX:XAUUSD
Overview
RSI Price Ladder is an indicator that visualizes RSI levels mapped directly to price levels across multiple timeframes.
It helps traders see where the RSI will reach certain threshold values (like 30, 50, 70) in terms of price, without calculating manually.
It dynamically draws ladder lines (price levels) based on user-defined RSI targets, allowing clear visualization of RSI movements versus price action.
Purpose for Traders
Forecast Price Zones: Understand at which price levels RSI would hit oversold/overbought zones.
Multi-Timeframe Analysis: Monitor RSI-price relationships across multiple timeframes simultaneously (e.g., M5, M15, H1, H4).
Timing Entries and Exits: Plan precise entries or exits based on expected RSI behavior without switching between charts.
Visual Clarity: Simplifies multi-timeframe RSI tracking by ladder-style price mapping directly on the current chart.
Configuration
RSI length: The period for RSI calculation (default 14).
RSI Target Levels (1–7): Define up to 7 custom RSI levels (e.g., 20, 30, 40, 50, 60, 70, 80).
Spacing Between Ladders: Horizontal spacing between different timeframe ladders on the chart.
Pointer Colors: Customize colors for current RSI, EMA(9) of RSI, and WMA(45) of RSI.
Show TF1–TF4: Toggle visibility of up to four different timeframe ladders.
Interval TF1–TF4: Select timeframes to draw ladders (choices from 1m to 1W including 3D).
Ladder Colors: Customize the ladder color for each timeframe separately.
How to read data
See explaination:
How to use
The primary goal of this indicator is to help traders easily and accurately see price levels corresponding to specific RSI values .
Identifying Multi-Timeframe Support and Resistance
According to RSI behavior:
- In an uptrend, RSI tends to find support around 40, previous RSI bottoms, and the WMA45.
- In a downtrend, RSI tends to face resistance around 60, previous RSI tops, and the WMA45.
Using the RSI Price Ladder, you can accurately pinpoint the exact price levels corresponding to these RSI support and resistance zones.
Defining Entry Zones, Stop Loss, and Take-Profit Areas Based on RSI
For example:
By observing RSI behavior, I noticed a downward trend forming.
On both M15 and H1 timeframes, RSI resistance levels align with the price zone around 3043–3054.
Thus, I can plan a sell trade in this entry zone:
- Stop loss: If RSI breaks above the resistance level, which also corresponds to a price resistance.
- Take-profits at two areas:
RSI support on M5 at RSI 30, corresponding to price 3007.
RSI support on M15 at RSI 30, corresponding to price 2988.
You see, with the ladder, we can directly visualize the price levels corresponding to RSI points on the chart, making decision-making more intuitive.
Result:
The price successfully hit TP1 and TP2.
Visualizing Buying and Selling Strength Across Timeframes
The indicator helps track the correlation of buying and selling strength across different timeframes at the same time. For instance: when selling pressure increases, higher timeframe RSI will typically be higher than lower timeframe RSI. Visualizing this makes it easier to observe and connect price movements across multiple timeframes quickly and clearly.
Visualizing When Combining with Other Methods
In this example:
- RSI shows support around 27.
- Instantly, on the price chart, I notice that the RSI 27 level aligns with the EMA200, a major dynamic price support.
Thus, a long setup can be considered:
- Entry: Near this confluence zone.
- Stop loss: Below the EMA200 or if RSI drops to 20.
Summary
RSI Price Ladder gives traders a powerful visual tool to link RSI behavior to real price levels across multiple timeframes, enhancing strategic entry/exit planning without needing to flip charts.
- Save time spotting RSI targets.
- Stay organized across multiple timeframes.
- Customize the entire ladder experience from colors to intervals.
[SM-042] EMA 5-8-13 with ADX FilterWhat is the strategy?
The strategy combines three exponential moving averages (EMAs) — 5, 8, and 13 periods — with an optional ADX (Average Directional Index) filter. It is designed to enter long or short positions based on EMA crossovers and to exit positions when the price crosses a specific EMA. The ADX filter, if enabled, adds a condition that only allows trades when the ADX value is above a certain threshold, indicating trend strength.
Who is it for?
This strategy is for traders leveraging EMAs and trend strength indicators to make trade decisions. It can be used by anyone looking for a simple trend-following strategy, with the flexibility to adjust for trend strength using the ADX filter.
When is it used?
- **Long trades**: When the 5-period EMA crosses above the 8-period EMA, with an optional ADX condition (if enabled) that requires the ADX value to be above a specified threshold.
- **Short trades**: When the 5-period EMA crosses below the 8-period EMA, with the ADX filter again optional.
- **Exits**: The strategy exits a long position when the price falls below the 13-period EMA and exits a short position when the price rises above the 13-period EMA.
Where is it applied?
This strategy is applied on a chart with any asset on TradingView, with the EMAs and ADX plotted for visual reference. The strategy uses `strategy.entry` to open positions and `strategy.close` to close them based on the set conditions.
Why is it useful?
This strategy helps traders identify trending conditions and filter out potential false signals by using both EMAs (to capture short-term price movements) and the ADX (to confirm the strength of the trend). The ADX filter can be turned off if not desired, making the strategy flexible for both trending and range-bound markets.
How does it work?
- **EMA Crossover**: The strategy enters a long position when the 5-period EMA crosses above the 8-period EMA, and enters a short position when the 5-period EMA crosses below the 8-period EMA.
- **ADX Filter**: If enabled, the strategy checks whether the ADX value is above a set threshold (default is 20) before allowing a trade.
- **Exit Conditions**: Long positions are closed when the price falls below the 13-period EMA, and short positions are closed when the price rises above the 13-period EMA.
- **Plotting**: The strategy plots the three EMAs and the ADX value on the chart for visualization. It also displays a horizontal line at the ADX threshold.
This setup allows for clear decision-making based on the interaction between different time-frame EMAs and trend strength as indicated by ADX.
lucio_🥝RCILong-term and short-term RCIs are displayed, and the timing of movement in the opposite direction is judged to be a push or a retracement.
lucio_🎀[MACD]Only the MACD line is displayed, and the timing of the conversion is quickly judged by color-coding the period between the change in slope and the intersection with the signal line. Divergence detection is also possible.
RSI + ADX + ATR Combo Indicator: RSI + ADX + ATR Combo Filter
This indicator is a confluence filter tool that combines RSI, ADX, and ATR into a single, easy-to-read chart overlay. It is designed to help traders identify low-volatility, non-trending zones with balanced momentum—ideal for strategies that rely on breakouts or reversals.
🔍 Core Components:
RSI (Relative Strength Index)
Standard RSI with custom upper and lower bounds (default: 60 and 40).
Filters out extreme overbought/oversold regions and focuses on price consolidation zones.
ADX (Average Directional Index)
Measures trend strength.
When ADX is below a custom threshold (default: 20), it indicates a weak or range-bound trend.
ATR (Average True Range)
Represents volatility.
Low ATR values (default threshold: 2.5) are used to filter out high-volatility environments, helping refine entries.
🟣 Signal Logic:
A signal is highlighted with a background color when all three conditions are met:
RSI is between lower and upper bounds (e.g., 40 < RSI < 60) ✅
ADX is below the trend threshold (e.g., ADX < 20) ✅
ATR is below the volatility threshold (e.g., ATR < 2.5) ✅
These combined conditions suggest a low-volatility, low-trend strength, and balanced momentum zone—perfect for anticipating breakouts or strong directional moves.
RMH MidTermThis script combines technical indicators (RSI and MACD), the trend of the HYG ETF, and a long-term moving average to detect buying or selling opportunities in markets with a medium-term bias.
Buy when the RSI breaks out of oversold territory, the MACD crosses upward, the HYG shows relative strength, and the price is above the 200-day moving average.
Sell when the RSI enters overbought territory, the MACD crosses downward, the HYG shows weakness, and the price falls below the 200-day moving average.
It also marks global trend changes using the 200-day moving average as a reference.
JEANIUS PRO (XXX GHOST)JEANIUS PRO (XXX GHOST) is a high-precision, low-noise automated trend-following system built for scalpers, day traders, and EA-integration power users.
This version is optimized for full PineConnector/MT5 deployment and executes directional bias trades using triple-stacked WMA structure + smart momentum divergence.
🔐 Core Features:
Triple WMA alignment (MA 1, 2, 3) for multi-frame trend confirmation
Proprietary impulse detection via JEANIUS momentum delta (n1 vs n2)
Smart trade lock system — avoids overfiring / overtrading
Built-in webhook alerts for full MT5 EA execution with SL, TP, BE, Trail
Works best on USDJPY, GBPUSD, EURUSD, XAUUSD (tested)
Configurable TP/SL structure and equity % risk control
💡 Designed for real-time execution — backtest it, tweak it, deploy it. GHOST version runs silent, strikes smart, and fades into the chart.
ETHBTC DCA StrategyA simple indicator to be alerted when HTF DCA is recommended in and out of the ETHBTC chart.
As ETHBTC oscillates depending on whether we are in risk on / risk off with fed monetary policy this is a safe if long term trade plan.
Boosted Scalp Sniper🚀 Boosted Scalp Sniper | EMA, RSI & Volume Combination 🚀
An effective indicator designed for traders who want to execute fast and aggressive scalp trades!
Features:
EMA Cross (2 and 5 periods): Captures ultra-fast trend reversals using short-term EMA crossovers.
Dynamic RSI (7 period, 40-60 range): Confirms the strength and direction of momentum.
Volume Filter: Ensures more reliable trade signals by requiring volume to be above the 10-bar average.
How to Use:
A Buy (▲) signal indicates a potential short-term upward opportunity.
A Sell (▼) signal indicates a potential short-term downward opportunity.
You can test this indicator across different timeframes (1D, 1H, 15M, 5M, etc.) and optimize it to suit your trading style.
Important Notes:
This indicator provides visual entry signals only; apply your own risk management strategy.
Always use a stop-loss in your real trades to protect capital.
Good luck and happy trading! 📈
Stochastic Overlay [NLR]If you've ever traded with the Stochastic oscillator, you probably love its ability to gauge momentum and overbought/oversold conditions. However, one common frustration is interpreting its movements alongside the actual price chart. The oscillator, plotted separately, can feel disconnected from price action, forcing traders to constantly glance back and forth. That’s exactly the problem I wanted to solve with this indicator.
The Solution: Stochastic Overlay
This indicator takes the familiar Stochastic oscillator and integrates it directly onto the price chart. Instead of struggling to correlate Stochastic signals with price movements, you now see the levels overlaid on the main chart, bringing momentum analysis into a more intuitive space.
What is the Stochastic Oscillator? (For the Newbies)
The Stochastic oscillator is a momentum-based indicator that measures the closing price relative to the high-low range over a specified period. It fluctuates between 0 and 100, helping traders identify potential reversals when the market is overbought (above 80) or oversold (below 20). The two key components are:
%K (fast-moving line)
%D (a smoothed moving average of %K)
Technical Details of the Overlay
The indicator adjusts the traditional Stochastic calculation by multiplying the timeframe (HTF multiplier), allowing traders to view higher-timeframe Stochastics. Set HTF Multiplier to 1 to see current timeframe Stochastics
It plots horizontal reference lines representing 0%, 20%, 40%, 50%, 60%, 80%, and 100% levels, giving a visual framework of price movement.
Color-coded fills help differentiate bullish and bearish zones—making it easy to spot potential turning points.
Why Do the %K & %D Lines Look “Crooked”?
Normally, the %K and %D lines range between 0 and 100, but in this overlay, they are scaled to fit the current price gap (the difference between the highest and lowest price in the selected period). This means their movement aligns more closely with price action, but it may appear distorted compared to a standard Stochastic oscillator.
For clarity, you can enable the visibility of %K and %D (Show %K %D option), allowing the scaled Stochastic values to be plotted within the price range.
Why Use This Overlay?
Better price interpretation: Instead of staring at a separate oscillator panel, you see momentum levels right where the price action unfolds.
Higher-timeframe integration: Adjusting the multiplier allows you to track the Stochastic behavior of larger timeframes without switching charts.
Clear visual cues: The colored fills and midpoint signals enhance readability for momentum shifts.
This tool transforms the way traders engage with Stochastic indicators, making momentum analysis more intuitive and efficient. Try it out, and see how your interpretation of price and momentum improves!
Oath KeeperOath Keeper - Advanced Money Flow & Volume Analysis
A powerful companion to the Head Hunter indicator, designed to confirm reversals and identify high-probability trading opportunities through money flow analysis.
🔍 Key Features:
• Money Flow Analysis with Dynamic Cloud
• Super Strong Reversal Signals (White Diamonds)
• Regular Momentum Signals
• Fakeout Detection
• Liquidation Level Analysis
• Volume-Based Confirmation
📊 How It Works:
The Oath Keeper analyzes money flow and volume patterns to:
1. Identify potential market reversals
2. Detect institutional order flow
3. Confirm Head Hunter signals
4. Spot potential fakeouts
5. Track liquidation events
🎯 Best Used With Head Hunter:
• Head Hunter spots market structure and vector candles
• Oath Keeper confirms through money flow and volume
• Combined signals provide stronger trade setups
⚙️ Default Settings (Optimized):
• Money Flow Length: 8
• Volume MA Length: 20
• Liquidation Threshold: 1.5
📈 Signal Types:
🔹 Green Circles: Regular bullish momentum
🔸 Purple Circles: Regular bearish momentum
💎 White Diamonds: Super strong reversal potential
❌ Red X: Fakeout warning/Liquidation event
🎓 How to Use:
1. Apply both Oath Keeper and Head Hunter to your chart
2. Look for confluence between indicators:
- Head Hunter vector candles + Oath Keeper white diamonds
- Head Hunter reversals + Oath Keeper money flow confirmation
- Volume spikes on both indicators
3. Use the cloud color for trend bias:
- Green cloud: Bullish flow
- Red cloud: Bearish flow
4. Monitor extremes (above 70, below 30) for reversal potential
5. Watch for fakeout signals to avoid false breakouts
⚠️ Best Practices:
• Use multiple timeframe analysis
• Wait for signal confirmation
• Consider market context
• Monitor volume confirmation
• Use proper position sizing
• Set clear stop losses
🔧 Recommended Timeframes:
• Primary: 5m, 15m, 1h
• Higher TF Confirmation: 4h, Daily
• Lower TF Entry: 1-3m
💡 Pro Tips:
• Strongest signals occur when both indicators align
• White diamonds + Head Hunter vectors = high probability setups
• Use the cloud for trend direction
• Monitor volume for confirmation
• Watch for divergences
⚠️ Risk Disclaimer:
This indicator is for educational purposes only. Past performance does not guarantee future results. Always use proper risk management and conduct your own analysis. Not financial advice.
Version: 2.0.5
#moneyflow #volume #orderflow #trading #technical #headhunter #liquidation
Blood IndicatorBlood Indicator
Weekly (FRED:TB3MS / FRED:BAMLH0A0HYM2) plotted against the 100 WK MA. If red be ready for a sell off. Use Confluence in price action to confirm trades.
RSI divergence signal BULL/BEAR - MrMelr📊 RSI Divergence Pro – 4-in-1 Detector
🔍 This indicator automatically detects 4 types of RSI divergences and plots signals directly on the price chart — clear, visual and customizable.
🧠 What it detects:
🔵 Regular Bullish
• Price makes a lower low, RSI makes a higher low
🟢 Hidden Bullish
• Price makes a higher low, RSI makes a lower low
⚫ Regular Bearish
• Price makes a higher high, RSI makes a lower high
🔴 Hidden Bearish
• Price makes a lower high, RSI makes a higher high
⚙️ Inputs & Settings:
RSI Period: RSI calculation length
Pivot Left / Right: Number of bars for pivot detection
Range Min / Max: Min/Max bars between divergence points
✅ Toggle on/off each type of divergence (bullish/bearish, regular/hidden)
📈 On-Chart Features:
✅ Signals displayed directly on price candles
✅ Visual arrows, labels, and divergence lines
✅ Color-coded:
• Lime = Bullish
• Green = Hidden Bullish
• Red = Bearish
• Orange = Hidden Bearish
✅ Built-in alerts for each divergence type
🛠️ Perfect for:
Trend reversals
Continuation trades (hidden divergence)
Scalping, swing, and day trading strategies
Combining with Smart Money or market structure tools
💬 Like this tool?
➕ Add to favorites
📥 Comment your ideas or suggestions
⚡ Follow for more powerful indicators
Индикатор ищет четыре типа RSI-дивергенций:
🔵 Regular Bullish (Бычья) — цена делает нижний минимум, RSI — более высокий минимум.
🟢 Hidden Bullish — цена делает более высокий минимум, RSI — более низкий минимум.
⚫ Regular Bearish (Медвежья) — цена делает более высокий максимум, RSI — более низкий максимум.
🔴 Hidden Bearish — цена делает более низкий максимум, RSI — более высокий максимум.
📌 Настройки:
RSI Period: Период расчёта RSI.
Pivot Left / Right: Количество баров для определения экстремумов.
Range Min / Max: Диапазон баров между дивергенциями.
Галочки: включение/отключение каждого типа дивергенций.
📈 Вывод на график:
RSI с линиями перекупленности/перепроданности.
Метки Bull, Bear, AO, BO прямо на RSI, где найдены сигналы.
Цвета чётко разделяют типы дивергенций.
RSI (71/29) + Stoch RSI (90/10) IndicatorThis strategy uses a combination of RSI (Relative Strength Index) and Stochastic RSI to identify overbought and oversold conditions in the market, triggering potential buy or sell signals. A long entry is triggered when RSI is below 29 (oversold) and Stochastic RSI is below 15, indicating a potential upward price reversal. A short entry is triggered when RSI is above 71 (overbought) and Stochastic RSI is above 85, indicating a potential downward price reversal. The strategy sets a Take Profit (TP) of 30% and a Stop Loss (SL) of 10% for both long and short positions. Visual signals in the form of green triangles for long entries and red triangles for short entries are plotted on the chart, and alert conditions are defined to notify when the respective entry conditions are met.
Relative Momentum Deviation | QuantEdgeB📊 Introducing Relative Momentum Deviation (RMD) by QuantEdgeB
🛠️ Overview
Relative Momentum Deviation (RMD) is a precision-crafted momentum-based oscillator that measures relative price deviation through a normalized RSI structure and volatility-weighted SD bands. Unlike standard oscillators, RMD dynamically adapts its thresholds using rolling standard deviation on a DEMA-based foundation, making it uniquely responsive in both trending and ranging environments.
Designed to filter out noise and detect critical breakout zones, RMD is a powerful addition to any quantitative trader’s toolkit. Whether used as a standalone entry/exit signal or confirmation layer, RMD excels at identifying momentum inflection points with statistical confidence.
✨ Key Features
🔹 Normalized RSI-Based Core
RMD calculates momentum using a custom RSI of a DEMA-filtered source, delivering a smooth and responsive signal.
🔹 Volatility-Adaptive SD Thresholds
Dynamic upper and lower thresholds adjust in real-time using standard deviation, reducing false positives during low-volatility phases.
🔹 Dual Confirmation Signal Logic
RMD compares both deviation bands to user-defined thresholds to issue high-confidence trend entries.
🔹 Backtesting Integration & Visual Equity Curve
With built-in support for the QuantEdgeB Backtesting Framework, RMD allows seamless strategy validation.
🔹 Clean Visuals & Label Customization
Includes candle coloring, dynamic overlays, signal labels, and optional trend structure plots.
📊 How It Works
1️⃣ Normalized RSI of a DEMA Source
The heart of RMD lies in a momentum oscillator built from:
• 📌 Source Input → A DEMA of price (default 30)
• 📌 Momentum Foundation → RSI calculated from the DEMA output
• 📌 Smoothing Length → Controls the responsiveness of the base signal (default 14)
This creates a stable momentum oscillator less prone to fake-outs during sudden volatility spikes.
2️⃣ Standard Deviation Filtering Engine
RMD employs volatility-weighted SD bands to define statistically meaningful thresholds:
📌 Formula Breakdown:
• NormUp = RSI - SD
• NormDn = RSI + SD
These boundaries adapt based on recent price dispersion. The upper and lower bands dynamically expand or contract depending on market behavior.
3️⃣ Signal Logic & Triggering Conditions
• ✅ Long Signal → NormUp crosses above the long threshold (default: 65)
• ❌ Short Signal → NormDn drops below the short threshold (default: 50)
This approach means signals only occur during statistically significant deviation from mean momentum, making them less frequent but more robust.
✅ Visual Signal Features
• 🔹 Candle coloring based on signal direction (Long/Short)
• 🔹 Label plots on crossover confirmations
• 🔹 Momentum band plots for discretionary or system-based confirmation
👥 Who Should Use It?
✅ Momentum Traders → Identify directional bias with low noise
✅ Swing Traders → Confirm turning points with volatility-adjusted deviation
✅ Quantitative Developers → Integrate into backtested strategies with ease
✅ Range-Trading Specialists → Use SD bands to anticipate overextended moves
⚙️ Customization & Default Settings
🔧 Core Inputs:
• Base RSI Length (Default: 14)
• Source Smoothing (DEMA, Default: 7)
• SD Length (Default: 40) → Controls volatility window
• SD Multiplier (Default: 0.7) → Adjusts sensitivity of deviation thresholds
• Signal Thresholds (L/S Default: 65 Long - 50 Short) → Controls breakout trigger levels
• Color Mode Themes → Six color themes included
• Signal Labels Toggle → Optional signal label plotting
• Backtest Table & Equity Curve Options
📊 Backtest Mode
RMD includes an optional backtest table, enabling traders to assess its historical effectiveness before applying it in live trading conditions.
🔹 Backtest Metrics Displayed:
• Equity Max Drawdown → Largest historical loss from peak equity.
• Profit Factor → Ratio of total profits to total losses, measuring system efficiency.
• Sharpe Ratio → Assesses risk-adjusted return performance.
• Sortino Ratio → Focuses on downside risk-adjusted returns.
• Omega Ratio → Evaluates return consistency & performance asymmetry.
• Half Kelly → Optimal position sizing based on risk/reward analysis.
• Total Trades & Win Rate → Assess historical success rate.
📌 Disclaimer:
Backtest results are based on past performance and do not guarantee future success. Always incorporate real-time validation and risk management in live trading.
🚀 Why This Matters?
✅ Strategy Validation → Gain insight into historical trend accuracy.
✅ Customization Insights → See how different settings impact performance.
✅ Risk Awareness → Understand potential drawdowns before deploying capital.
📌 How to Use RMD in Your Strategy
1️⃣ Momentum Breakout Strategy
✔ Go Long when NormUp > L → Indicates strong upward deviation
✔ Go Short when NormDn < S → Indicates sharp downward momentum
✔ Use SD Mult to control sensitivity and smoothness
2️⃣ Volatility Regime Awareness
✔ In low-volatility → Decrease SD multiplier to catch early signals
✔ In high-volatility → Increase SD multiplier to avoid noise
🔍 Bonus: Extra Trend Structure Plots
RMD includes optional ALMA + multi-EMA trend band overlays:
• Use them to confirm momentum alignment
• Great for hybrid strategies (e.g. trend + momentum)
📌 Conclusion
Relative Momentum Deviation (RMD) by QuantEdgeB offers a clean and adaptive approach to momentum trading by combining a normalized RSI structure with volatility-driven breakout zones.
With built-in signal confirmation, smart filtering, and rich backtest capabilities, RMD excels as a dynamic momentum companion for both discretionary and system traders.
🔹 Key Takeaways:
1️⃣ Adaptive Deviation Zones – Responsive to real-time volatility
2️⃣ Normalized RSI Core – Clean, smoothed momentum insight
3️⃣ Backtest + Visual Toolkit – Strategy-friendly and ready to deploy
📌 Trade with Statistical Precision | Powered by QuantEdgeB
🔹 Disclaimer: Past performance is not indicative of future results.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Multi-Time Frame DMI with Gradient Bar ColoringDisplays a table showing the Directional Movement Index (DMI) sentiment for multiple time frames based on the Average Directional Index (ADX) value for each time frame.
Table Position and Text Size are configurable, with two styles (vertical or horizontal) available.
Time frame labels can be toggled off for color-only table.
Bars are colored based on the ADX value using a color gradient between the bullish and bearish color inputs. The neutral color is independent of the gradient for contrast.
Trailing Monster StrategyTrailing Monster Strategy
This is an experimental trend-following strategy that incorporates a custom adaptive moving average (PKAMA), RSI-based momentum filtering, and dynamic trailing stop-loss logic. It is designed for educational and research purposes only, and may require further optimization or risk management considerations prior to live deployment.
Strategy Logic
The strategy attempts to participate in sustained price trends by combining:
- A Power Kaufman Adaptive Moving Average (PKAMA) for dynamic trend detection,
- RSI and Simple Moving Average (SMA) filters for market condition confirmation,
- A delayed trailing stop-loss to manage exits once a trade is in profit.
Entry Conditions
Long Entry:
- RSI exceeds the overbought threshold (default: 70),
- Price is trading above the 200-period SMA,
- PKAMA slope is positive (indicating upward momentum),
- A minimum number of bars have passed since the last entry.
Short Entry:
- RSI falls below the oversold threshold (default: 30),
- Price is trading below the 200-period SMA,
- PKAMA slope is negative (indicating downward momentum),
-A minimum number of bars have passed since the last entry.
Exit Conditions
- A trailing stop-loss is applied once the position has been open for a user-defined number of bars.
- The trailing distance is calculated as a fixed percentage of the average entry price.
Technical Notes
This script implements a custom version of the Power Kaufman Adaptive Moving Average (PKAMA), conceptually inspired by alexgrover’s public implementation on TradingView .
Unlike traditional moving averages, PKAMA dynamically adjusts its responsiveness based on recent market volatility, allowing it to better capture trend changes in fast-moving assets like altcoins.
Disclaimer
This strategy is provided for educational purposes only.
It is not financial advice, and no guarantee of profitability is implied.
Always conduct thorough backtesting and forward testing before using any strategy in a live environment.
Adjust inputs based on your individual risk tolerance, asset class, and trading style.
Feedback is encouraged. You are welcome to fork and modify this script to suit your own preferences and market approach.
Scalping all timeframe EMA & RSIEMA 50 and EMA 100 combined with RSI 14
Should also be accompanied by the RSI 14 chart.
With the following conditions:
IF the EMAs are close but not crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses the lowest EMA, and the RSI value is equal to or below 40.
* Be prepared to take a Buy position if the first Bullish Candlestick crosses the highest EMA, and the RSI value is equal to or above 60.
IF the EMAs are overlapping and crossing:
* Be prepared to take a Sell position if the first Bearish Candlestick crosses both EMAs, and the RSI value crosses below 50.
*Be prepared to take a Buy position if the first Bullish Candlestick crosses both EMAs, and the RSI value crosses above 50.