Phantom Trigger Phantom Trigger – Precision Trend Execution with TP1/TP2 and Weak Trend Exits
Phantom Trigger is a professional-grade trend-following strategy designed for crypto and high-volatility assets. It combines advanced trend detection with precise risk-managed exits using a multi-level take-profit system.
🔍 What It Does
Identifies strong directional moves using a multi-stage smoothed trend model
Confirms entries using structure-based logic and volume pressure
Filters trades using bias zones, confirmation levels, and trend acceleration
Automatically manages trades with two-stage take-profits (TP1 and TP2)
Exits early on trend weakness before reversal
Includes a styled real-time dashboard and bar coloring for visual guidance
Sends bot-compatible alerts for multi-exchange automation
⚙️ Core Components
Trend Engine: A smoothed dynamic filter detects real-time trend direction and momentum shifts
Bias Structure: Mid-high/low range-based logic determines if price is favoring bullish or bearish structure
Confirmation Levels: Short- and long-term zone crossovers confirm directional alignment
Volume Filter: Detects volume expansion spikes to validate strong breakout potential
TP1/TP2 Logic: Dynamically sets two profit targets and executes partial and full exits automatically
Weak Trend Exit: Closes positions one bar before reversal using directional filters
🧠 How to Use
Works best on crypto (1H, 4H) and high-volume instruments
Use dashboard stats to monitor position status, PnL, and TP1/TP2 progression
Alerts are pre-labeled and compatible with bots like 3Commas, Wunderbit, etc.
Can be adapted for both scalping and swing trading
📊 Dashboard
The built-in real-time dashboard displays current trade status, entry price, TP1/TP2 progress, win rate, profit factor, and bars since entry. It updates live with every candle and provides a quick-glance overview to support your decision-making during active trades.
🧠 How to Use
Works best on crypto (1H, 4H) and high-volume instruments
Use dashboard stats to monitor position status, PnL, and TP1/TP2 progression
Alerts are pre-labeled and compatible with bots like 3Commas, Wunderbit, etc.
Can be adapted for both scalping and swing trading
⚠️ Disclaimer
This script is for educational purposes only and does not constitute financial advice. Always test strategies thoroughly using demo or backtesting environments before applying to live markets. Past performance is not indicative of future results.
تحليل الاتجاه
Lesson LineImitates the "Larsson Line" indicator. Uses ema34 and ema55 (both Fibonacci numbers) for the moving averages. No clue if that is what CTO Larsson uses, but this seems to replicate it pretty well.
Gold is a bullish trend and blue is a bearish trend. For entertainment purposes only.
Adaptive Trend RSI - [Opus]Adaptive Trend RSI | Opus
Overview 👁️
The Adaptive Trend RSI by Opus is a powerful momentum-based indicator designed to help traders and investors navigate dynamic market conditions with confidence. By employing a unique adaptive lookback period, it intelligently adjusts its internal thresholds to identify overbought/oversold conditions and detect trends for both long and short positions. Enhanced with advanced smoothing techniques, Adaptive Trend RSI filters out market noise to deliver clear, actionable signals, making it an essential tool for trend-following and valuation strategies across various financial assets.
Key Features ⭐
Dual-Sided Trend Detection : Accurately identifies bullish and bearish trends, enabling traders to capitalize on momentum in both long and short positions.
Overbought/Oversold Zones: Displays distinct areas for overbought and oversold conditions in a dedicated second panel, simplifying the identification of potential reversals or exhaustion points.
Dual-Purpose Functionality : Serves as both a trend-following indicator to ride sustained market moves and a valuation indicator to spot extreme price levels, offering flexibility for diverse trading styles.
Customizable Alerts : Supports alerts for trend-following signals (e.g., trend initiation or continuation) and valuation signals (e.g., overbought/oversold crossovers), empowering users to stay ahead of key market shifts.
Universal Asset Compatibility : Built on the universal principle of momentum, it performs effectively across financial markets, including cryptocurrencies (large, mid, and low-cap tokens), stocks, commodities, and more.
Smoothing for Clarity : Applies sophisticated noise reduction to ensure signals are precise and reliable, even in volatile conditions.
Universal Asset Compatibility ⚙️
Crypto - Large Cap
Crypto - Low Cap
Stocks
Commodities
How to Use 🎯
Adaptive Trend RSI | Opus enhances your trading by providing clear insights into momentum and market conditions. Here’s how to leverage it:
Trend Following : Watch for the indicator line crossing key levels to signal the start or continuation of a trend. Upward movements indicate bullish momentum for long positions, while downward shifts suggest bearish momentum for shorts.
Valuation Analysis : Monitor the second panel for overbought (high) or oversold (low) zones. These areas highlight potential reversal points or opportunities to enter counter-trend trades.
Signal Confirmation : Use the smoothed output to filter false breakouts—steady indicator movements suggest reliable trends, while choppy signals may indicate indecision.
Bar Coloring : Enable bar coloring to visually align your chart with the indicator’s signals, making it easier to spot trend changes at a glance.
Alerts : Set alerts for trend initiations or overbought/oversold crossovers to stay proactive, especially in fast-moving markets.
Settings ⛓️
Customize Adaptive Trend RSI | Opus to align with your trading preferences:
RSI Length (Lookback Period) : Adjust the lookback period for momentum calculations. The default setting dynamically adapts to market conditions, but users can fine-tune it for faster or slower responsiveness depending on their strategy.
Bar Coloring : Toggle bar coloring on or off to highlight trend or valuation signals directly on the price chart, enhancing visual clarity.
Theme : Select a preferred theme (e.g., Dark, Light, or custom) to match your chart’s aesthetic, ensuring signals stand out in your setup.
Alert Conditions : Configure alerts for specific events, such as entering/exiting overbought/oversold zones or trend direction changes, to suit your trading workflow.
Summary 📃
Adaptive Trend RSI | Opus is a versatile, momentum-driven tool that empowers traders and investors to navigate markets with precision. By combining adaptive trend detection, overbought/oversold analysis, and noise-reducing smoothing, it offers clear signals for both trend-following and valuation strategies. Compatible with cryptocurrencies, stocks, commodities, and beyond, its customizable features and alert system make it a go-to indicator for traders seeking to capture high-probability opportunities across any asset class.
Disclaimer ⚠️
The Adaptive Trend RSI | Opus is a tool designed to assist traders in analyzing market momentum and trends and is not intended as financial advice. Trading and investing involve significant risks, including the potential loss of capital. Past performance is not indicative of future results. Users should conduct their own research, assess their risk tolerance, and make independent investment decisions. The creators of Adaptive Trend RSI | Opus are not responsible for any financial outcomes resulting from its use.
Market OracleMarket Oracle Indicator: User Guide
Market Oracle is a powerful, all-in-one trading indicator for TradingView that combines multiple technical signals into a clear, actionable dashboard. Built for traders seeking a reliable edge, it analyzes trend, momentum, volatility, volume, and more to generate high-confidence buy and sell signals. With features like dynamic position sizing, market regime performance tracking, and customizable settings, it’s perfect for stocks, forex, crypto, or any market on any timeframe.
What It Does
Market Oracle evaluates market conditions using a blend of proven indicators (RSI, Stochastic RSI, EMAs, SuperTrend, MACD, Ichimoku Cloud, Bollinger Bands, ATR, ADX, and candlestick patterns) to produce a Composite Score (0-100) that reflects bullish or bearish strength. It generates:
Buy/Sell Signals: Triggered when the score crosses user-defined thresholds, filtered by volume, ADX, and trading hours.
Dynamic Position Sizing: Adjusts trade size based on volatility (ATR), reducing risk in choppy markets.
Market Regime Insights: Tracks performance in trending vs. ranging markets to highlight strategy strengths.
Comprehensive Dashboard: Displays real-time metrics like signal confidence, stop/take-profit levels, win rates, and more.
Whether you’re a day trader, swing trader, or long-term investor, Market Oracle simplifies decision-making with clear insights and robust backtesting.
Key Features
Composite Score:
Combines trend (EMAs, SuperTrend, MACD), momentum (RSI, Stochastic RSI), volatility (Bollinger Bands, ATR), volume (OBV, MA), Ichimoku Cloud, divergences, multi-timeframe trends, and candlestick patterns.
Score > 50 indicates bullishness; < 50 indicates bearishness. Extreme values (>90 or <10) flag overbought/oversold conditions.
Smart Signals:
Buy signals trigger when the score exceeds a threshold (default 70), with filters for volume, ADX strength, and Ichimoku/pattern confirmation.
Sell signals trigger below 100-threshold (default 30), with similar filters.
Signals include confidence levels (0-100%) based on indicator alignment.
Dynamic Position Sizing:
Scales trade size using ATR to limit risk in volatile markets (e.g., smaller positions when ATR is high).
Caps volatility adjustments (default 3x ATR) to maintain reasonable sizing.
Bases risk on a user-defined percentage (default 1% per trade).
Market Regime Performance:
Identifies trending (high ADX or wide Bollinger Bands) vs. ranging markets.
Tracks win rates separately for each regime, helping you optimize strategies for specific conditions.
Backtesting Metrics:
Shows buy/sell win rates, recent win rate, trending/ranging win rates, profit factor, max drawdown, and equity trend.
Helps evaluate strategy performance over time.
Customizable Dashboard:
Displays key metrics: Composite Score, Trend, Momentum, Volatility, Ichimoku, ADX, Divergences, Signal Status, Confidence, Stop/Take-Profit, Position Size, and more.
Toggles to show/hide backtest stats, Ichimoku Cloud, or multi-timeframe trends.
Clean layout with no clutter (e.g., no unnecessary “!” markers).
Alerts:
Set alerts for Buy/Sell Signals, Signal Exits, High Scores, or Overbought/Oversold conditions.
Messages include score and confidence (e.g., “Oracle+: Buy signal (Score: 75.2, Confidence: 80%)”).
Flexible Settings:
Adjust thresholds, indicator lengths, weights, risk parameters, and more.
Enable/disable features like trailing stops, market regime filters, or trading hour restrictions.
How to Use It
1. Add to TradingView
Copy the Market Oracle script into TradingView’s Pine Editor.
Click “Add to Chart” to apply it to your chosen market (e.g., BTC/USD, EUR/USD, SPY).
The dashboard appears in the bottom-right corner, showing real-time data.
2. Read the Dashboard
The dashboard is split into three sections:
Market State:
Composite Score: Current score and confidence (e.g., “75.2 (50.4%)”). “(OB)” or “(OS)” flags overbought/oversold.
Adjusted Threshold: Signal trigger level, adjusted for market regime.
Trend/MTF Trend: Bullish, Bearish, or Neutral (based on EMAs, SuperTrend, higher timeframe).
Momentum: Bullish, Bearish, or Neutral (RSI, Stochastic RSI).
Volatility: High or Low (Bollinger Bands, ATR).
Ichimoku Cloud: Bullish, Bearish, or Neutral (if enabled).
ADX Strength: Strong or Weak.
Divergence: Bullish, Bearish, or None (RSI, MACD).
Signals:
Signal Status: “Buy”, “Sell”, or “None”.
Signal Confidence: Percentage (e.g., “80%”) based on indicator agreement.
Stop Level/Take-Profit: Price levels for risk management.
Position Size: Units to trade, adjusted for volatility.
Avg Trade Duration: Average bars per trade.
Signal History: Recent signals/exits (e.g., “Buy | Buy Win”).
Backtest (optional):
Buy/Sell Win Rate: Percentage of winning trades.
Recent Win Rate: Win rate for recent trades.
Trending/Ranging Win Rate: Performance by market condition.
Profit Factor: Profit-to-loss ratio.
Max Drawdown: Largest equity drop.
Equity Trend: Up, Down, or Flat.
3. Customize Settings
Access the indicator’s settings by clicking the gear icon:
Signal Sensitivity:
Base Signal Threshold (default 70): Higher = stricter signals.
Min Confidence for Alerts (default 60%): Filters weaker alerts.
Risk Management:
Risk % per Trade (default 1%): Sets base risk.
Max ATR Multiplier (default 3.0): Caps position size reduction.
Take-Profit Ratio (default 2.0): Sets reward-to-risk ratio.
Use Trailing Stop (default false): Enable for dynamic stops.
Filters:
Use Volume Filter (default true): Requires above-average volume.
Use ADX Filter (default true): Requires strong trend (ADX > 25).
Use Market Regime Filter (default true): Adjusts thresholds for trending/ranging markets.
Avoid Specific Hours (default false): Skip signals during set hours (e.g., 0-6 UTC).
Indicators:
Adjust lengths for RSI (14), EMAs (20/50), MACD (12/26/9), etc.
Enable/disable Use Candlestick Patterns (default true) and choose type (Hammer, Engulfing, etc.).
Display:
Show Backtest Metrics (default true): Show win rates and stats.
Show Ichimoku Cloud (default true): Include cloud signals.
Show MTF Trend (default true): Include higher timeframe trend.
4. Set Alerts
In TradingView, click the alarm icon and select Market Oracle conditions:
Buy/Sell Signal: Triggers on new signals with sufficient confidence.
Signal Exit: Triggers when a trade closes (stop or take-profit hit).
High Score Alert: Triggers when score exceeds a threshold (default 80).
Overbought/Oversold: Warns of extreme conditions (if enabled).
Alerts include details for easy tracking (e.g., score, confidence).
5. Test and Trade
Test Markets: Try on forex (EUR/USD 1H), crypto (BTC/USD 4H), or stocks (AAPL daily).
Check Volatility: Monitor Position Size in volatile markets (e.g., XAU/USD); it shrinks to reduce risk.
Evaluate Regimes: Use “Trending Win Rate” and “Ranging Win Rate” to see where the strategy shines.
Backtest: Review Profit Factor and Max Drawdown to assess performance.
Start Small: Use a demo account to test signals before trading live.
Tips for Success
Match Your Style: Adjust scoreThreshold and timeframe to suit day trading (e.g., 15m, stricter threshold) or swing trading (e.g., 4H, looser threshold).
Monitor Regimes: If “Trending Win Rate” is higher, focus signals during strong trends (high ADX).
Manage Risk: Keep riskPerTrade low (e.g., 0.5-2%) and review Position Size for sanity.
Combine with Analysis: Use signals alongside support/resistance or news events for confirmation.
Tune Parameters: Experiment with atrVolatilityCap (e.g., 2.0 for tighter sizing) or adxThreshold (e.g., 30 for stronger trends).
Avoid Overtrading: Filter signals with minConfidenceForAlert (e.g., 70%) to focus on high-probability setups.
Example Scenarios
Crypto Breakout (BTC/USD 4H):
Composite Score jumps to 82, Signal Status shows “Buy” with 80% confidence.
Position Size is moderate due to high ATR during a rally.
“Trending Win Rate” is 65%, suggesting strength in directional moves.
Set an alert and enter with a 2:1 take-profit (e.g., stop at 60,000, target at 62,000).
Forex Range (EUR/USD 1H):
Score hovers near 45, no signal (Neutral).
“Ranging Win Rate” is 55%, indicating decent performance in consolidation.
Wait for a score above 70 or use a higher timeframe (e.g., Daily MTF Trend).
Stock Swing (AAPL daily):
Score hits 75, “Buy” signal with a small Position Size (low ATR).
Dashboard shows Bullish Ichimoku and MTF Trend.
Trade with a trailing stop to capture a multi-day move.
Why Choose Market Oracle?
All-in-One: Combines multiple indicators into one easy-to-read dashboard, saving you time.
Adaptive: Adjusts signals and sizing for market conditions (trending, ranging, volatile).
Transparent: Shows confidence, win rates, and risk levels to build trust in trades.
Customizable: Tailor to any market, timeframe, or trading style with dozens of settings.
No Clutter: Clean interface with no distracting visuals, just actionable data.
Getting Started
Add Market Oracle to your chart and explore the dashboard.
Test on a market you trade (e.g., ETH/USD 1H) with default settings.
Adjust scoreThreshold or riskPerTrade to match your risk tolerance.
Set alerts for Buy/Sell Signals and monitor performance via “Trending Win Rate” and “Profit Factor”.
Join TradingView communities to share setups and tips!
For questions or tweaks (e.g., adding VWAP, changing alert conditions), consult your indicator’s developer or TradingView’s Pine Script resources. Happy trading!
BTC Price Projection from USDT DominanceDeveloped by CampManTrades
This indicator projects potential Bitcoin (BTC) price levels based on movements in USDT Dominance (USDT.D). It calculates the inverse relationship between BTC’s returns and changes in USDT.D over a user-defined lookback period, then applies a sensitivity factor to estimate how a shift in USDT.D support or resistance might affect BTC price.
Additionally, users can enable an optional correction based on BTC market dominance. When BTC dominance is below 50%, the indicator adjusts the projection by incorporating the non‑BTC market cap, and a note is added to the projection labels stating that “BTC.D<50%, projection might not be precise.”
Use this tool to gauge potential bullish or bearish turning points in BTC according to shifts in market sentiment as reflected by USDT Dominance. Customize inputs (support/resistance levels, lookback period, sensitivity, and BTC Dominance correction) to suit your market analysis and trading strategy.
Note: Ensure your TradingView data feed includes the symbols “CRYPTOCAP:USDT.D”, “CRYPTOCAP:TOTAL”, and “CRYPTOCAP:BTC” for full functionality.
Feel free to reach out for more and information and to query for a user tutorial:
joao.pinto481@goldfishgateway.com
Smart Entry SCALPER - 5m BOS Zones + TP/SL + Dashboard🧠 What This Script Does:
This Pine Script is a smart scalping system designed for 5-minute charts, focusing on Break of Structure (BOS) logic to generate Buy and Sell Zones, and gives the trader:
✅ Visual Zones for entry
✅ Automatic TP/SL placement
✅ Clean labels
✅ Extended zone lines
✅ Dashboards to track trend direction and zone overlap
✅ Alert-ready system for automated notification
🧠 How to Use It (Smart Entry Flow):
Wait for BOS breakout (price breaks a swing high or low)
Script draws:
Zone box
Label
SL and TP
Use dashboard to confirm direction and see if it aligns with HTF
Use Overlap Status for best confluence
Place entry at zone tap — or automate with alerts
🧼 Optional Smart Filtering:
If Only Show Most Recent Zone is enabled:
Script clears all old zones
You’ll only see the 1–2 most probable Buy/Sell zones
Keeps your chart super clean and ready for sniper entries
Ichimoku - CT&TIThis indicator enhances the traditional Ichimoku Cloud by combining multi-timeframe analysis to provide a final trade signal directly on your chart. It calculates and plots standard Ichimoku components (Tenkan-sen, Kijun-sen, Senkou Span A/B, and Chikou Span) along with dynamic cloud fills. The indicator then classifies the market state (Bullish, Bearish, or Neutral) on the base chart and across multiple timeframes (Daily, 12H, 4H, 1H, 45min, 30min, and 15min). Based on this comprehensive evaluation, it aggregates the results to output a final trade signal ("LONG", "SHORT", or "DO NOTHING") displayed on the chart - helping you make more informed trading decisions.
Customize the input parameters and colors to suit your trading style, and enjoy a clear visual summary of market conditions across different time horizons: all in one integrated tool.
Feel free to reach out to query for a tutorial or if you have any further question:
joao.pinto481@goldfishgateway.com
Supply & Demand Histogram and Lines [BerlinCode42]Happy Trade,
This is a Supply & Demand Histogram—also referred to as a Heatmap—that highlights key S&D levels on the chart. Unlike traditional approaches that use volume, this script identifies specific chart patterns and evaluates them to generate the Supply & Demand Histogram. It analyzes the Supply and the Demand separately.
The script is equipped with trade signals for external use (Indicator on Indicator) and is fully compatible with my strategy template script. This allows you to easily create backtests and combine it with other indicators to build a custom strategy.
Intro
Calculation of the Supply & Demand Histogram
Usage and Settings Menu
Declaration for Tradingview House Rules on Script Publishing
Disclaimer
1. Calculation of the Supply & Demand Histogram
Initially, the total price range—spanning from the absolute minimum to the absolute maximum observed price—is discretized into 10,000 equally sized intervals. For each interval, the algorithm performs the following:
It detects chart patterns that typically emerge in zones of varying volatility, categorizing them accordingly. Each identified pattern is assigned a individual weight based on its structural parameters, such as amplitude or slope. Lets call them Structural Weights. These weighted occurrences are then aggregated per interval, resulting in a quantitative representation of supply and demand pressure across the price spectrum, visualized as a histogram.
This pattern-based methodology facilitates the quantitative estimation of supply and demand zones without reliance on volume metrics.
2. Usage and Settings Menu
Initially, the user can configure the granularity of the price segmentation used in the Supply & Demand Histogram. This is achieved by enabling the 'Show Price Range' option, as illustrated in Image 1. Activating this feature overlays a gray-shaded region on the chart, visually representing the defined price range.
Image 1
The vertical position of this range can be adjusted using the 'Price Range Offset' parameter, while the interval widths are modifiable via the 'Step Factor' setting. It is critical to ensure that the specified range encapsulates the entirety of historical and anticipated price movements; failure to do so may result in calculation errors if price action extends beyond the defined bounds. Nevertheless, the default Step Factor has been conservatively chosen to accommodate most price dynamics.
Due to performance considerations, the indicator does not render all 10,000 discrete intervals comprising the full histogram. Instead, it selectively displays a subset of 100 intervals centered around the most recent price."
Once the price range has been configured, disable the “Show Price Range” option again in order to display the Supply & Demand Histogram.
Subsequently, users can fine-tune the histogram computation via two key settings, shown in Image 2:
Volume Count – This option allows selection between a pattern-based structural weighting method and a traditional volume-based approach for histogram construction. The structural method estimates significance through pattern characteristics rather than traded volume.
Supply + Demand – This toggle determines whether Supply and Demand levels are calculated and displayed independently or merged into a unified histogram. If one subscribes to the principle that a breached Supply zone can transform into a Demand zone (and vice versa), enabling this option will reflect that assumption by aggregating both into a single composite structure.
Image 2
Once this setup is complete, the Supply & Demand Histogram along with its most significant price levels will be visualized on the chart. Users can further refine the display settings to tailor the visual output.
In the settings menu, refer to the section illustrated in Image 3. There, you can adjust the number of displayed price levels by increasing or decreasing the S&D Line Filter percentage. A lower percentage results in fewer, more prominent levels being shown, while a higher percentage includes more levels.
The S&D histogram itself can also be hidden if desired.
Image 3
This indicator supports external integration via Indicator on Indicator Functionality or alerts. Specifically, when a price level is either touched or broken, an alert can be triggered. To visually identify where such alerts would occur, enable Show Alert Labels, which marks the respective bars on the chart.
If you want to import the trade signals into a Backtest or Strategy Template script, simply use the two signal outputs: "Break Signals" and "Touch Signals".
A value of zero indicates that no touching or breaking event is occurring.
A positive value signifies that a supply level has been touched or broken.
A negative value indicates a demand level interaction.
The absolute value of each signal corresponds to the price level of the respective Supply or Demand line.
The colors used to represent Supply and Demand levels can be customized to your preference.
Additionally, a Time and Session Filter has been added. This feature allows you to exclude specific time periods and dates from the analysis, enabling a better understanding of which trading times and market sessions are responsible for the formation of particular Supply & Demand levels.
To activate the filter, check the leftmost checkbox, then define the desired Date, Time, and Session parameters accordingly as shown in image 4.
Image 4
3. Declaration for Tradingview House Rules on Script Publishing
The unique feature of this Supply & Demand Histogram is its pattern-based calculation methodology. This approach enables the estimation of Supply and Demand levels even for assets that do not provide volume data. Additionally, it allows for separate computation of Supply and Demand. That means a broken Demand level does not necessarily convert into a Supply level, and vice versa.
This script is closed-source and invite-only to support and compensate for months long development work.
4. Disclaimer
Trading is risky, and traders do lose money, eventually all. This script is for informational and educational purposes only. All content should be considered hypothetical, selected post-factum and is not to be construed as financial advice. Decisions to buy, sell, hold, or trade in securities, commodities, and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results. Using this script on your own risk. This script may have bugs and I declare don't be responsible for any losses.
Now it’s your turn!
Regarded Cycle OscillatorOscillator that indicates the cycle high and low and provides a prediction for the next cycle using averages.
IKE RSI EMA Bot v2 with TP/SL, Trend & Volatility Filter🤖 IKE RSI EMA Bot v2 – Smart, Trend-Following RSI Strategy with TP/SL
The IKE RSI EMA Bot v2 is a precision-engineered TradingView strategy designed to capture high-probability entries using RSI momentum, smoothed filters, and dynamic market context.
Built for scalping and swing trading on any timeframe (3M, 15M, 1H+), this bot combines classic RSI cross triggers with modern risk management and trend-based filtering to avoid false signals and maximize profitability Made by Dallas IKE
Marketia DVAN Trending The Dvan Trending Indicator is a powerful and innovative tool designed to help traders identify market trends and potential reversals with precision. By combining dynamic price action analysis with volume-weighted signals, this indicator provides a unique perspective on market momentum and trend strength, making it suitable for various trading styles, including day trading, swing trading, and long-term investing.
Scalping Trend Power per MT51. Overview and Purpose
The script implements a scalping strategy called "Scalping Trend Power for MT5" using Pine Script v5. It is tailored for high-frequency short-term trading with automated entries and exits. The strategy employs multiple technical indicators and risk management techniques to optimize trade entries and exits. Key features include:
Dynamic Entry and Exit Logic: Utilizes exponential moving averages (EMAs) and the Relative Strength Index (RSI) for signal generation.
Multi-Level Take Profit (TP): Incorporates three separate TP levels (TP1, TP2, and TP3) to gradually scale out of positions as the trade becomes profitable.
Trailing Stop Mechanism: Adjusts stops dynamically using the Average True Range (ATR), volume filters, and pivot levels.
Risk Management: Provides configurable lot sizes, risk percentages, and risk/reward multipliers.
PineConnector Integration: Offers an optional switch to activate PineConnector with a license code input, ensuring that all alert messages are prefixed with the user-supplied code instead of a hardcoded value.
Visual Enhancements: Colors bars based on position direction (green for long, red for short) and plots key indicator lines for additional visual confirmation.
2. Code Structure and Key Components
A. Header and Metadata
The script begins with version declaration (//@version=5), ensures that alert messages use a defined template, and includes a copyright notice.
The strategy is configured to operate on the chart overlay with calc_on_every_tick=false for performance optimization.
B. Confirmation Function
f_confirm(cond, bars):
This custom function checks whether a given condition is met for a specified number of consecutive bars. This helps filter out false signals and ensures that entries and exits are confirmed over a predetermined number of bars (confirmBars).
C. Strategy Inputs
The strategy allows extensive customization through inputs:
Trade and Risk Management:
Lot size and multiplier: Determine the order quantity.
Contract type, risk percentage, risk/reward ratio, and trailing stop multiplier: Define risk exposure and reward targets.
Indicator Settings:
EMA lengths (short and long): Used for trend detection.
RSI (length, overbought, and oversold levels): Used for entry and exit decisions.
ATR (length): Used in dynamic calculation of stop losses and take profit targets.
Multitimeframe Exit:
Uses a higher timeframe RSI to aid exit decisions.
Trailing Stop and Volume Filter Settings:
Inputs for pivot lookback, volume lookback, and volume multiplier help adjust the stop loss based on market conditions.
Multi-Level Take Profit (TP):
Inputs include three profit multipliers (tp1ProfitMult, tp2ProfitMult, tp3ProfitMult) which define the TP distances relative to a dynamically calculated TP (based on ATR and the risk/reward ratio).
Percentage values for the trade portion to exit at each TP level (tp1ExitPercentage, tp2ExitPercentage, tp3ExitPercentage) allow scaling out of the position in parts.
Confirmation Bars:
An input to specify how many consecutive bars are needed to confirm an entry, exit, or TP activation signal.
D. PineConnector Integration
Activation Switch and License Code Input:
activatePineConnector: A boolean switch that lets users activate or deactivate the PineConnector functionality.
pineConnectorLicense: An input field where users can enter their PineConnector license code.
When active, all generated alert messages are prefixed with the supplied license code, ensuring a seamless integration with the PineConnector system. The hardcoded license has been completely removed in favor of user input.
E. Indicator Calculations and Signal Generation
Indicator Calculation:
EMAs and RSI: Calculated on the closing price using the user-defined lengths.
ATR: Used to dynamically calculate TP and SL levels.
Signal Logic:
Long Signal: Activated when the short EMA is above the long EMA and the RSI is below the overbought threshold.
Short Signal: Activated when the short EMA is below the long EMA and the RSI is above the oversold threshold.
Confirmation of Signals:
Uses the f_confirm function to verify the long or short signal across a number of bars defined by confirmBars.
F. Dynamic Trade Messages and Ticker Extraction
Dynamic Ticker Extraction:
The script parses the ticker symbol to remove any prefix (like a broker code) so that only the core symbol is used.
Alert Message Construction:
Alert messages are built dynamically by concatenating the (optional) PineConnector license prefix, the action (buy, sell, or exit), the dynamic ticker symbol, the calculated lot size, and risk parameters.
The messages are configured to update based on whether PineConnector is activated.
G. Trade Management and Order Execution
Entry Conditions:
The strategy takes positions when signals are confirmed and no other trade is active.
Upon an entry, appropriate alerts are triggered, and internal flags (inLongTrade or inShortTrade) are set accordingly.
Trailing Stop Mechanism:
A dynamic trailing stop is implemented using the ATR-based stop and further refined using pivot levels.
Multi-Level Partial Exits:
For Long Positions:
Three TP levels are calculated dynamically from the entry price. As the market moves in favor, if the price reaches TP1, TP2, or TP3 (each confirmed for the set number of bars), a partial exit order is issued.
Percentage exit amounts are configurable, ensuring that the total exit over TP1 + TP2 + TP3 equals 100%.
For Short Positions:
The process mirrors that of long positions, with TP levels set below the entry price.
Flags (tp1_exited, tp2_exited, tp3_exited) ensure that each TP is triggered only once per trade.
Total Exit Conditions:
Exits are also triggered when adverse conditions arise. These include:
Price moving back against the position relative to the trailing stop.
RSI (or higher timeframe RSI) crossing the predetermined overbought/oversold levels.
In such cases, the strategy executes a final exit and resets the trade state.
H. Visual Enhancements
Indicator Plots:
Plots for the short and long EMAs are drawn on the chart to visually represent the trend detection.
Bar Coloring:
The barcolor function alters the color of the bars:
Green: Indicates an active long position.
Red: Indicates an active short position.
There is also an optional section (commented out) for using background color instead of bar color.
3. Conclusion
This strategy is designed with robust risk management and exit strategies ideal for a scalping environment. By integrating multi-level take profit logic, dynamic stop loss adjustments, and a confirmation system over multiple bars, it filters out false signals and seeks to capture profitable moves in the market. Moreover, with the optional PineConnector integration, the strategy is easily adaptable for users who wish to automate their trade execution further.
This comprehensive description should assist you in promoting the strategy within the Pine Script community by highlighting its flexibility, dynamic trade management, and advanced integration features.
Triple Confirmation Scalper v2 - Alarm CompatibleTriple Confirmation Scalper Strategy
A high-probability scalping strategy combining trend momentum, overbought/sold conditions, and volume confirmation to filter low-noise signals.
📊 Strategy Logic
Trend Direction
Dual EMA crossover (9 & 21 periods) for momentum and trend bias.
Overbought/Oversold Zones
RSI (14-period) to avoid entries at extremes.
Volume Spike Filter
OBV + 20-period volume average to confirm breakout validity.
Dynamic Risk Management
Stop-loss: Adaptive to recent price action (5-candle low/high ±1%).
Take-profit: 1.5% target (1.5:1 risk/reward).
🔍 Advanced Features
Precision VWAP (20-period, HLC3-based) for dynamic S/R levels.
Visual Aids:
EMA/VWAP bands + trend-colored background.
Volume spike alerts.
TradingView Alerts pre-configured for long/short signals.
⚙️ Default Settings
Commission: 0.1% factored into backtests.
Mode: Supports both long/short positions.
⚠️ Disclaimer
This is a technical analysis tool, not financial advice.
Past performance ≠ future results. Test thoroughly in a demo account.
Adjust parameters (e.g., EMA periods, RSI thresholds) to match your risk tolerance.
✅ TradingView Compliance Notes:
No exaggerated claims (e.g., "100% win rate").
Clear disclaimer included.
Focus on objective strategy logic (no promotional language).
Squeeze Momentum Indicator [LazyBear] with Green Fade Alertbased on Squeeze Momentum Indicator . alerts when momentum slows down.
SMA50 vs SMA200 Cross SignalsThis script detects golden and death cross signals using SMA 50 and SMA 200. When SMA50 crosses above SMA200, a buy signal is generated (Golden Cross). When SMA50 crosses below SMA200, a sell signal is generated (Death Cross). This script is designed for long-term trend-following strategies. Visual arrows are shown and alerts can be added.
IKE Finance Ultimate RSI + StochasticBest settings are RSI Length: 14 Smoothing 21 Smoothing type: EMA Oversold 35 midpoint 50 Overbought 65 Developed By DALLAS IKE
Stealth Trigger X🔰 Stealth Trigger X — Smart Divergence & Breakout Strategy with Trend Weakness Exit
Stealth Trigger X is a precision-engineered, non-repainting strategy designed for traders who rely on high-conviction breakouts and trend confirmation. Rather than relying on lagging or oversimplified signals, this strategy fuses divergence logic, volatility detection, volume filtering, and slope-based trend validation into one clean system — making it both responsive and reliable.
📌 Core Components (How It Works):
1. ZLEMA (Zero-Lag Exponential Moving Average):
Used as the primary trend baseline. Unlike a standard EMA, ZLEMA compensates for lag by using a double-smoothing technique that allows the strategy to detect trend direction changes sooner — especially useful in crypto and fast-moving markets.
2. Gradient Filter (Slope of ZLEMA):
Rather than waiting for price to cross a moving average, the strategy measures the slope of the ZLEMA itself. Positive slope = uptrend, negative slope = downtrend. This gives us early trend validation and exit signals based on weakening momentum.
3. Vortex Indicator (Directional Volatility):
A diff-based implementation of the Vortex Indicator is used to validate whether volatility is expanding in favor of the trend. This prevents false entries during indecision phases or low-momentum conditions.
4. White Line Bias Filter (Structural Trend):
The strategy calculates the midpoint of the highest high and lowest low over a user-defined period. This “White Line” serves as a structural trend bias, ensuring entries align with the broader context — not just momentary momentum.
5. Volume Spike Confirmation:
To avoid manipulation and choppy conditions, the strategy confirms breakouts only when the current bar’s volume exceeds the median volume of recent candles by a set multiplier. This filters out noise and ensures only high-conviction moves trigger entries.
6. Breakout with Divergence Timing:
A hybrid logic checks for price breaking previous range highs/lows (breakouts), combined with simulated divergence behavior based on RSI-like momentum. This helps align entry timing with areas where price is likely to accelerate.
⚙️ Trade Management Logic:
Entry Conditions:
Triggered when all conditions align: ZLEMA slope, Vortex confirmation, White Line bias, volume spike, and divergence-based breakout.
Take Profits:
TP1: 50% of position is closed using a limit order
TP2: Remaining 50% closed with another limit order
This split exit approach lets profits run while locking in gains early.
Exits on Trend Weakness:
If trend conditions weaken (slope flip or vortex flip), the position is exited before a full reversal occurs — helping protect capital during exhaustion phases.
Reentry Delay:
Enforces a 1-bar cooldown between exit and new entries to avoid “ping-pong” signals and maintain clean backtest results.
📊 Real-Time Dashboard (On-Chart):
Displays critical stats including:
Current position (Long, Short, or Flat)
Entry price
TP1 and TP2 hit status
Win rate (%)
Profit factor
Bars since entry
This makes live trading or visual backtesting easy to interpret and track.
✅ Key Facts:
Non-Repainting: All signals are calculated using confirmed bar data only. No future bars or security() functions are used.
Original Logic: This is not a generic mashup. Each component (ZLEMA slope, vortex diff, breakout divergence, volume spike filtering, White Line structure) is optimized to work in tandem.
Best Timeframes: 1H – 4H
Markets: Crypto, Forex, Indices — any market with trending behavior and measurable volume
⚠️ Disclaimer:
This strategy is for educational purposes only. It is not financial advice or a recommendation to trade. Past performance does not guarantee future results. Always trade with proper risk management and backtest strategies before live deployment.
🧠 Summary:
Stealth Trigger X is built for traders who want:
Precision entries
Early trend exits
Reliable backtest integrity
Clean logic with no repainting
It is especially effective in breakout environments where volume and momentum align — and excels at avoiding weak or manipulated trends.
Enhanced Trend Companion – MAs, Trendlines & ExitThis streamlined companion to the Enhanced Trend Indicator focuses on clear market direction and exit planning — without additional reversal or volume logic.
It combines trendline projection, multiple moving averages, and a Chandelier Exit to help visualize both trend strength and trailing exit zones. With fewer overlays and signals, it’s ideal for traders who want clarity while maintaining core structural awareness.
🔍 Core Features:
Clean Trend Lines:
Visualize directional movement and breakout zones using projected trendline logic.
Multi-MA Overlay:
Short-, medium-, and long-term moving averages help clarify overall market alignment and potential pullback zones.
Chandelier Exit Integration:
Trailing stop logic is built in to assist with exit planning or trend reversal detection.
Minimal Signal Noise:
No reversal or volume triggers — just raw structure and trend logic for cleaner decision-making.
🧠 Suggested Use:
Use this as a standalone lightweight tool, or in combination with the Enhanced Trend Indicator for multi-layered trade confirmation. It works well for swing and intraday traders who want to monitor the trend without too many signals.
Enhanced Trend Indicator – Reversal & Volume LogicThis script is designed to help traders identify potential trade setups by combining elements of trend direction, market structure, and volume analysis. It is intended to assist users in aligning with market momentum while maintaining a clean and readable chart.
🔍 Overview
The Enhanced Trend Indicator offers a multi-layered approach to technical analysis. It includes:
Trend direction filtering using configurable moving averages
Support and resistance zones based on recent swing highs/lows
Volume validation to strengthen the reliability of signals
Custom signal logic for entry/exit points derived from a combination of price and volume behavior
The indicator is adaptive and can be applied across various timeframes and trading styles.
⚙️ Core Features
1. Signal Logic
Buy and sell signals are plotted based on market structure, momentum direction, and volume confirmation. These signals are intended to highlight areas of potential interest, not guarantee outcomes.
2. Dynamic Levels
Automatically plotted support and resistance zones adjust to recent pivot activity. These areas can help inform stop placement, entry zones, or take-profit levels.
3. Trend Detection
The tool uses moving average alignment to help visualize overall trend direction and filter against counter-trend setups.
4. Volume Verification
Signals are further filtered by a volume threshold to reduce noise during low-activity periods or false breakouts.
5. Alert Capabilities
The script includes optional alerts for signal conditions so users can monitor multiple assets or timeframes efficiently.
🧠 Who It’s For
This tool is useful for:
Traders who use technical confluence to support their decision-making
Swing and intraday traders looking for visual clarity and adaptive levels
Users who prefer structured entries supported by volume and trend logic
Note: This indicator is not meant to be used in isolation. It works best when combined with sound risk management and a broader trading plan. As always, backtesting and personal validation are encouraged before using any script in live market conditions.
📊 Stage Analysis | Multi-TimeframeStage Analysis by Gireesh | Multi-Timeframe
copyright @gireesh_suman
Mentor : darvasboxtrader @ X
This indicator offers a powerful and flexible approach to understanding market cycles by identifying key stages: Accumulation, Advancing, Distribution, and Declining. It uses customizable moving averages, volume analysis, and multi-timeframe insights to provide a comprehensive view of market trends. Features include:
Multi-Timeframe Analysis: View higher timeframe insights alongside your primary chart.
Volume Surge Detection: Identifies significant volume spikes for potential trend changes.
Consolidation Box: Highlights periods of price consolidation for breakout potential.
Dynamic Stage Labels: Visualize current market stages directly on the chart.
Stage Change Alerts: Stay informed with alerts for stage transitions and volume surges.
Summary Table: Provides a quick overview of the current market stage and higher timeframe analysis.
This tool is designed for traders who want a professional, data-driven approach to tracking market structure and volume dynamics. It's ideal for trend-following, breakout strategies, and risk management. Love to hear your thoughts and genuine feedback to help improve its features and usability.
VWAP Bounce Strategy - Modular (Improved)📘 VWAP Bounce Strategy – Technical Documentation
🧠 Overview
The VWAP Bounce Strategy is an intraday and scalping-ready Pine Script strategy that identifies long and short trade setups based on how price interacts with the Volume Weighted Average Price (VWAP). This strategy helps capture institutional-grade bounce entries using a blend of VWAP, RSI momentum, EMA trend, and candle pattern confirmation.
⚙️ Inputs and Settings
Input Name Description Default
Use Session VWAP If enabled, uses TradingView's session VWAP (ta.vwap). If disabled, uses a VWMA with 20-periods. true
EMA Length Length of the Exponential Moving Average used for exits and trend tracking. 20
RSI Length Length of the RSI indicator used for momentum confirmation. 14
RSI Overbought Level Threshold above which RSI is considered overbought. Not used for signals here but modifiable. 70
RSI Oversold Level Threshold below which RSI is considered oversold. Not used directly. 30
VWAP Touch Tolerance Acceptable deviation (%) to consider price as having touched VWAP. 1.01
📈 Entry Conditions
🔹 Long Entry (BUY)
Triggered when:
Session is active (VWAP has a valid value).
Price is above VWAP.
The low of the candle is within 1% of VWAP (tolerance-adjustable).
Candle is bullish (close > open, and previous candle was bearish).
RSI > 50, indicating upward momentum.
🔸 Short Entry (SELL)
Triggered when:
Session is active.
Price is below VWAP.
The high of the candle is within 1% of VWAP.
Candle is bearish (close < open, and previous candle was bullish).
RSI < 50, indicating downward momentum.
❌ Exit Conditions
Trades are exited when:
A long trade exits when price crosses below the EMA.
A short trade exits when price crosses above the EMA.
📊 Chart Display
Blue line = EMA (based on your input length).
Green upward label = Buy signal.
Red downward label = Sell signal.
RSI is calculated but not shown on the chart (used internally).
🧩 Strategy Logic (Modularity)
This strategy is modularly designed so you can:
Easily plug in stop-loss/take-profit logic.
Add volume filters, breakout confirmation, or session time filters.
Adjust entry/exit triggers independently.
📌 Each logic section is clearly labeled in the script for easy editing.
🛠️ How to Use This Strategy
✅ Step-by-Step:
Copy the full Pine Script code into TradingView’s Pine Script Editor.
Save and Add to Chart as a Strategy (not as an indicator).
Adjust input parameters (VWAP tolerance, RSI/EMA length) to match your asset and timeframe.
Run backtests across your desired timeframe (1m–15m recommended).
Observe trade signals and inspect entries using TradingView's strategy tester.
🧪 Recommended Use Cases
Use Case Recommended Setting
Scalping 1–5 min chart, lower VWAP tolerance (e.g., 1.005)
Intraday 5–15 min chart, default tolerance
Swing (Light) 30–60 min, increase EMA length, optional SL/TP filter
🧰 Customization Ideas
Add stop loss / take profit using strategy.exit().
Integrate volume spike confirmation.
Add a time filter (e.g., avoid pre-market or lunch hours).
Incorporate ADX or MACD for additional trend validation.
Show RSI on subchart if needed using a separate indicator.
🚨 Warnings & Notes
Best tested during market hours (VWAP won’t behave properly in after-hours).
Not optimized for assets without strong intraday volume (e.g., penny stocks).
Always backtest before going live, and apply additional risk management rules.
use it at your own risk, the information provided is for informational purposes only.
Volume & ATR Projection Tracker w/ Table & Alerts# README: Volume & ATR Projection Tracker (Pine Script Indicator)
## Overview
This Pine Script indicator for TradingView is designed to help traders analyze volume activity and potential short-term price volatility. It plots volume bars, calculates a moving average of volume, highlights unusual volume spikes (differentiating between up and down bars), and projects potential price ranges for upcoming hours based on Average True Range (ATR). It also provides a status table and configurable alerts.
**Disclaimer:** This indicator provides informational analysis and projections based on historical data and volatility. It does **not** provide guaranteed price predictions or financial advice. Trading involves substantial risk. Always do your own research and consult with a qualified financial advisor.
## Features
* **Volume Plotting:** Displays volume as a histogram in a separate panel.
* **Volume Moving Average:** Calculates and plots a configurable MA (SMA, EMA, WMA) of volume.
* **Unusual Volume Detection:** Identifies bars where volume significantly exceeds its moving average (based on a user-defined multiplier).
* **Differentiated Volume Analysis:**
* Colors volume bars differently based on whether unusual volume occurred on an up-bar (Close > Open), down-bar (Close < Open), or neutral bar (Close == Open).
* Plots different spike markers (up/down triangles) on the price chart for unusual volume on up/down bars.
* **ATR Volatility Projections:**
* Calculates the Average True Range (ATR) as a measure of recent volatility.
* Projects a potential price range (Close +/- ATR \* Multiplier) for a specified number of future hours.
* Plots these ranges as dashed lines and labels on the price chart.
* **Important:** These are volatility-based *ranges*, not directional predictions.
* **Status Table:** Displays a concise summary table on the chart including:
* Current Volume Status (Normal, High (Up), High (Down), High (Neut)).
* Current Volume compared to its MA (as a percentage).
* The projected ATR range for the next hour.
* **Configurable Alerts:** Provides alert conditions for:
* Unusual Volume detection.
* Volume crossing above its MA.
* Volume crossing below its MA.
* **Customizable Inputs:** Allows users to configure MA settings, volume threshold, ATR settings, projection hours, trading session times, and colors.
## How it Works
1. **Volume Analysis:**
* Calculates a Moving Average (SMA, EMA, or WMA) of the volume over a specified length (`MA Length`).
* Compares the current bar's volume to this MA. If `Volume > MA * Unusual Vol Multiplier`, the volume is flagged as "unusual".
* Checks if the unusual volume occurred on a bar where `Close > Open` (Up), `Close < Open` (Down), or `Close == Open` (Neutral).
* Colors the volume bars and plots spike markers based on this differentiated status.
2. **ATR Projections:**
* Calculates the ATR over a specified length (`ATR Length`).
* At the start of each hour *within the defined Trading Session*:
* Calculates an upper projection level: `Current Close + (Current ATR * ATR Multiplier)`.
* Calculates a lower projection level: `Current Close - (Current ATR * ATR Multiplier)`.
* Stores these levels for the specified number of `Projection Hours Ahead`.
* Draws dashed lines and labels on the price chart representing these hourly ranges for the future, but only if they are within TradingView's 500-bar drawing limit from the current bar.
3. **Status Table:**
* Updates on the last bar of the chart.
* Displays the current differentiated volume status, the percentage difference between current volume and its MA, and the calculated ATR range for the *next* hour.
4. **Alerts:**
* Uses `alertcondition()` to create trigger conditions based on `unusualVolumeBase`, `vol_cross_above`, and `vol_cross_below`. Users can create alerts based on these conditions in the TradingView UI.
## Input Settings
The indicator settings are organized into groups:
**Group 1: Volume Analysis Settings**
* **MA Length:** (Default: 20) Number of bars for the volume MA calculation.
* **MA Type:** (Default: SMA) Type of moving average (SMA, EMA, WMA).
* **Unusual Vol Multiplier:** (Default: 2.0) Threshold for detecting unusual volume (Volume > MA * Multiplier).
* **Show Volume Spikes:** (Default: true) Toggle visibility of triangle markers on the price chart.
* **Show Volume MA:** (Default: true) Toggle visibility of the MA line on the volume panel.
**Group 2: ATR Projection Settings**
* **ATR Length:** (Default: 14) Number of bars for the ATR calculation.
* **ATR Multiplier:** (Default: 1.5) Factor applied to ATR to determine the projection range width. Higher values create wider ranges.
* **Projection Hours Ahead:** (Default: 8) How many hours forward to calculate and display projections.
* **Show Projections:** (Default: true) Toggle visibility of projection lines and labels on the price chart.
**Group 3: Session & Colors**
* **Trading Session:** (Default: "0930-1600") Defines the hours during which projections are calculated. **Crucial:** Format is HHMM-HHMM based on the exchange timezone (see Timezone Note below).
* **Normal Vol Color:** (Default: blue) Color for volume bars when volume is not unusual.
* **Volume MA Color:** (Default: yellow) Color of the volume MA line.
* **Unusual Vol (Up Bar) Color:** (Default: light green) Color for unusual volume bars where Close > Open.
* **Unusual Vol (Down Bar) Color:** (Default: light red) Color for unusual volume bars where Close < Open.
* **Unusual Vol (Neutral Bar) Color:** (Default: light gray) Color for unusual volume bars where Close == Open.
* **Projection Line Color:** (Default: orange) Color of the dashed projection range lines.
* **Proj Label Bg Color:** (Default: semi-transparent gray) Background color for projection labels.
* **Proj Label Text Color:** (Default: white) Text color for projection labels.
## Timezone Note
The `Trading Session` input relies on a timezone setting within the `is_in_session` function in the code (currently hardcoded to `"UTC-4"` as an example for US Eastern Time). **You may need to edit the script code** to change this timezone string (e.g., `"America/New_York"`, `"Europe/London"`, `"Asia/Tokyo"`) to match the exchange time of the instrument you are trading. Consult Pine Script documentation for valid timezone strings.
## Limitations
* **Drawing Limit:** TradingView limits drawing objects (lines, labels) to a maximum of ~500 bars into the future from the current bar. On lower timeframes, the script automatically stops drawing projections that exceed this limit.
* **Projection vs. Prediction:** The ATR ranges are based on past volatility and are *not* price predictions. The market can easily move outside these projected ranges.
* **Alerts:** Alerts for price crossing the projected future levels are not implemented due to technical complexity in Pine Script.
## Disclaimer
Trading financial markets involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator is for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any other sort of advice. You should not make any investment decision based solely on the information provided by this indicator. Past performance is not indicative of future results.
RR Trail MA-Osc Strategy (entry-based TP/SL)RR Trail MA-Osc Strategy (Invite-Only | With Moving Average Shift Oscillator)
Overview
The RR Trail MA-Osc Strategy is an invite-only premium trading system that combines trend-following entry logic with a three-layered exit mechanism: fixed TP/SL, trailing stop, and divergence-based exit using a custom Moving Average Shift oscillator.
It eliminates discretion and enforces consistent, rule-based execution.
Key Features
Entry-based fixed TP/SL calculated from recent highs/lows (structural exits)
Dynamic trailing stop updated from highest/lowest price since entry
Divergence exit triggered when MA and oscillator indicate opposing directions
Long-term trend confirmation using 200-period EMA
Modular structure ideal for customization and integration
About the Moving Average Shift Oscillator
This custom oscillator normalizes the distance between price and a selected moving average, then smooths it using HMA.
Intuitively reflects trend strength and direction
Oscillates around the zero line
Used for both entry filters and divergence-based exits
Entry Logic
Long Entry Conditions
Price is above the selected short-term MA
Moving Average Shift Oscillator is above 0 and rising
200 EMA is trending upward
Short Entry Conditions
Price is below the selected short-term MA
Moving Average Shift Oscillator is below 0 and falling
200 EMA is trending downward
Exit Conditions
Fixed TP or SL is hit
Trailing stop is triggered
Divergence between oscillator and MA
Risk Management & Backtest Info
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Risk per trade: 2% (fully configurable)
Commission: 0.02%, Slippage: 2 pips
Total Trades: 651 (as of April 2025 backtest)
Customizable Parameters
MA types: SMA, EMA, SMMA, WMA, VWMA
RR ratio: Adjustable from 1.0 to 2.0+
Trailing stop range: % based
Lookback window for recent high/low (TP/SL reference)
Inspiration & Development Notes
This strategy was inspired by the concept of “Moving Average Shift” popularized by ChartPrime.
However, no original code was reused . The logic is independently developed and extended with features such as multi-layered exit control, divergence logic, and entry-based price tracking for automated TP/SL management.
Disclaimer
This script is for educational and research purposes only. It does not constitute financial advice.
Always backtest and optimize parameters according to your personal risk tolerance and trading environment before applying in live markets.
Multitimeframe MA: MAs im aktuellen TF + M15This indicator displays the key moving averages (MAs) from both the current timeframe and the 15-minute chart (M15) directly within the active chart—perfect for traders who rely on multi-timeframe analysis.
🔍 Features:
EMA 20 (yellow) – fast average from the current timeframe
SMA 50 (red) – medium-term average from the current timeframe
SMA 100 (green) – longer-term average from the current timeframe
SMA 200 (blue) – key trend filter from the current timeframe
🕓 M15 SMA Lines (thinner, lighter colors):
SMA 50, 100, 200 from the 15-minute timeframe are shown as dotted lines, regardless of the active chart’s timeframe.
Helps identify important support/resistance zones and overall trend direction based on higher-timeframe structure.