TrendMaster Pro 2.3 with Alerts
Hello friends,
A member of the community approached me and asked me how to write an indicator that would achieve a particular set of goals involving comprehensive trend analysis, risk management, and session-based trading controls. Here is one example method of how to create such a system:
Core Strategy Components
Multi-Moving Average System - Uses configurable MA types (EMA, SMA, SMMA) with short-term (9) and long-term (21) periods for primary signal generation through crossovers
Higher Timeframe Trend Filter - Optional trend confirmation using a separate MA (default 50-period) to ensure trades align with broader market direction
Band Power Indicator - Dynamic high/low bands calculated using different MA types to identify price channels and volatility zones
Advanced Signal Filtering
Bollinger Bands Volatility Filter - Prevents trading during low-volatility ranging markets by requiring sufficient band width
RSI Momentum Filter - Uses customizable thresholds (55 for longs, 45 for shorts) to confirm momentum direction
MACD Trend Confirmation - Ensures MACD line position relative to signal line aligns with trade direction
Stochastic Oscillator - Adds momentum confirmation with overbought/oversold levels
ADX Strength Filter - Only allows trades when trend strength exceeds 25 threshold
Session-Based Trading Management
Four Trading Sessions - Asia (18:00-00:00), London (00:00-08:00), NY AM (08:00-13:00), NY PM (13:00-18:00)
Individual Session Limits - Separate maximum trade counts for each session (default 5 per session)
Automatic Session Closure - All positions close at specified market close time
Risk Management Features
Multiple Stop Loss Options - Percentage-based, MA cross, or band-based SL methods
Risk/Reward Ratio - Configurable TP levels based on SL distance (default 1:2)
Auto-Risk Calculation - Dynamic position sizing based on dollar risk limits ($150-$250 range)
Daily Limits - Stop trading after reaching specified TP or SL counts per day
Support & Resistance System
Multiple Pivot Types - Traditional, Fibonacci, Woodie, Classic, DM, and Camarilla calculations
Flexible Timeframes - Auto-adjusting or manual timeframe selection for S/R levels
Historical Levels - Configurable number of past S/R levels to display
Visual Customization - Individual color and display settings for each S/R level
Additional Features
Alert System - Customizable buy/sell alert messages with once-per-bar frequency
Visual Trade Management - Color-coded entry, SL, and TP levels with fill areas
Session Highlighting - Optional background colors for different trading sessions
Comprehensive Filtering - All signals must pass through multiple confirmation layers before execution
This approach demonstrates how to build a professional-grade trading system that combines multiple technical analysis methods with robust risk management and session-based controls, suitable for algorithmic trading across different market sessions.
Good luck and stay safe!
Indicatori e strategie
3 Smoothed Moving Averagethis is 3 sma 9,21,200 especially used for long term crosses or short term crosses as well. when the 9,21 cross under the 200 you sell. When 9,21 cross above 200 you buy.
atr stop loss for double SMA v6Strategy Name
atr stop loss for double SMA v6
Credit: This v6 update is based on Daveatt’s “BEST ATR Stop Multiple Strategy.”
Core Logic
Entry: Go long when the 15-period SMA crosses above the 45-period SMA; go short on the inverse cross.
Stop-Loss: On entry, compute ATR(14)×2.0 and set a fixed stop at entry ± that amount. Stop remains static until hit.
Trend Tracking: Uses barssince() to ensure only one active long or short position; stop is only active while that trend persists.
Visualization
Plots fast/slow SMA lines in teal/orange.
On each entry bar, displays a label showing “ATR value” and “ATR×multiple” positioned at the 30-bar low (long) or high (short).
Draws an “×” at the stop-price level in green (long) or red (short) while the position is open.
Execution Settings
Initial Capital: $100 000, Size = 100 shares per trade.
Commission: 0.075% per trade.
Pyramiding: 1.
Calculations: Only on bar close (no intra-bar ticks).
Usage Notes
Static ATR stop adapts to volatility but does not trail.
Ideal for trending, liquid markets (stocks, futures, FX).
Adjust SMA lengths or ATR multiple for faster/slower signals.
5 EMA (8/20/50/100/200)This Indicator is a combination of 5 EMA include 8,20,50,100,200.
Instead of adding multiple of them and cluttering the page,i have added all of them to the list.
EMA Crossover + RSI Filter with ATR StopsCore Concept & Logic:
This strategy utilizes a powerful combination of Exponential Moving Average (EMA) crossovers and Relative Strength Index (RSI) filters for signal validation. It includes dynamic risk management by setting Take-Profit and Stop-Loss targets based on the Average True Range (ATR).
How It Works & Signal Interpretation:
EMA Crossovers: A bullish signal is generated when the faster EMA (20-period default) crosses above the slower EMA (50-period default), indicating upward momentum. A bearish signal occurs when the fast EMA crosses below the slow EMA.
RSI Filter: Ensures entries aren't made during extreme market conditions (avoids longs when RSI > 70, avoids shorts when RSI < 30).
ATR-Based Stops: Automatically calculates realistic Stop-Loss and Take-Profit targets, helping manage risk relative to recent volatility.
Key Input Parameters:
Fast EMA Length: Recommended between 10-30 (default 20).
Slow EMA Length: Recommended between 40-100 (default 50).
RSI Length: Typically 14 periods.
RSI Overbought Threshold: 70 (standard RSI practice).
RSI Oversold Threshold: 30 (standard RSI practice).
ATR Length: Typically 14 periods for standard volatility measure.
Stop-Loss Multiplier: Recommended range: 1.5-2.5 (default 1.5).
Take-Profit Multiplier: Recommended range: 2-4 (default 3).
Ideal Usage & Performance Scenarios:
Performs well in trending markets (stocks, crypto, forex).
Potentially weaker during choppy or sideways markets due to false EMA crossovers.
Ideal on timeframes like 1H, 4H, and 1D charts.
Known Limitations & Risks:
EMA strategies can produce false signals in ranging markets.
RSI filter may limit entries in persistently strong trending conditions.
ATR-based stops might not accommodate sudden volatility spikes.
For more such strategies visit stratizone.com where you will get settings as well. The platform also offers to share the strategies and find them easily with lots of filters.
The equity curve is on BTC, 15min
Disha-Author(VAKA)Hourly Indicator which tells whether the hour is bullish or bearish based on 5/10/15 min candles on each hour if its AM -- and for PM its 10/15/20 min candles
Directional Strength IndexThis indicator is designed to detect the dominant market direction and quantify its strength by aggregating signals across six key timeframes: 1H, 4H, 1D, 3D, 1W, and 1M.
At its core, it uses a SMEMA 'the Simple Moving Average of an EMA' as the main trend reference. This hybrid smoothing method was chosen for its balance: the EMA ensures responsiveness to recent price moves, while the SMA dampens short-term volatility. This makes the SMEMA more stable than a raw EMA and more reactive than a simple SMA, especially in noisy or volatile environments.
For each timeframe, a score between -10 and +10 is calculated. This score reflects:
- the distance of the price from the SMEMA, using ATR as a dynamic threshold
- the number of price deviations above or below the SMEMA
- the slope of the SMEMA, which adjusts the score based on momentum
These six timeframe scores are then combined into a single Global Score, using weighted averages. Three weighting profiles are available depending on your trading horizon:
- Long Term: emphasizes weekly and monthly data
- Swing Trading: gives balanced importance to all timeframes
- Short Term: prioritizes 1H and 4H action
This multi-timeframe aggregation makes the indicator adaptable to different styles while maintaining a consistent logic.
The result is displayed in a table on the chart, showing:
- the trend direction per timeframe (up, down or neutral)
- the strength score per timeframe
- the overall trend direction and strength based on the selected profile
Optional deviation bands based on ATR multiples are also plotted to provide visual context for overextensions relative to the SMEMA.
This indicator is non-repainting and built for objective, trend-based decision making.
Rolling VWAP with 9:15AM Alert✅ Short Description:
A dynamic Rolling VWAP indicator with deviation bands, real-time Buy/Sell alerts, and a special 9:15 AM IST first candle signal for Indian markets.
✅ Long Description (to publish):
Rolling VWAP with Buy/Sell Alerts & 9:15 AM Candle Signal
Published by: Vijay Bhilwade
📧 Contact: vijshr@yahoo.co.in
🔍 Overview:
This indicator calculates a Rolling Volume Weighted Average Price (VWAP) over a dynamically adjustable window based on chart timeframe or custom input. It includes Buy/Sell crossover alerts, customizable standard deviation bands, and a special first candle signal at 9:15 AM IST — highly relevant for Indian markets.
📌 Key Features:
✅ Rolling VWAP based on price × volume in a sliding window
🎯 Buy Signal: When price crosses above VWAP
🔻 Sell Signal: When price crosses below VWAP
📊 Standard Deviation Bands (optional: 1x, 2x, 3x)
🕒 First Candle Alert at 9:15 AM IST for Indian market open
🔔 Alerts supported for all signal types
🛠️ How to Use:
Add the indicator to any chart (1-minute or 5-minute resolution recommended)
Optional: Customize the VWAP window by enabling “Use a fixed time period”
Configure standard deviation bands for volatility tracking
Enable alerts:
“Buy Alert” / “Sell Alert”
“9:15 Buy Alert” / “9:15 Sell Alert” (fires only on the first market candle at 9:15 AM IST)
🇮🇳 Made for Indian Markets
This script includes a dedicated check for the first candle at 9:15 AM IST, used by professional traders in India to plan high-probability trades.
EX Trend Signal – Overlay🚨 Fibonacci Reactor Zone Detected on XAU/USD
Gold is now testing the upper edge of a triangle structure, combined with an explosive Fibonacci cluster from multiple legs.
📍 Key Levels:
• 1.618 = 3,326.00 (Already broken)
• 2.618 = 3,385.66
• 3.618 = 3,422.72
• 4.236 = 3,445.63
🧠 Price is approaching the major confluence zone. A clean breakout above 3,360 could trigger a momentum spike toward 3,420+.
✅ Using EX-LEO Fibo Reactor™ v2 with trendline precision
✅ Triangle compression + EMA crossover
📊 Trading Ideas:
• Buy on breakout above 3,360
• Buy the dip near 3,336–3,317
• Cut below 3,302 if momentum fails
—
💬 Let me know your thoughts — Bullish or Bearish?
⚡ Follow for real-time charts and setups from the Command Table.
#XAUUSD #Gold #Breakout #Fibonacci #PriceAction #TradingView #TechnicalAnalysis #Forex #GoldForecast
Steph's Shadow Supplyindicator for steph's strategy "shadow supply"
decluttered by using AI
inspo from @louisq69
Equal Highs/Lows + SMT Divergences + Range FilterKey Functional Areas
🔹 Equal Highs and Lows Detection
Strict Swing High/Low: Looks for equal swing points and ensures untouched in-between levels.
Regular Equal High/Low: Uses a range filter (default 9.75 points across 5 bars) to validate.
Volume and Time Filtering: You allow user toggles to include only periods with sufficient volume or time of day.
🔹 Swing Point Helpers
Functions isSwingHigh() and isSwingLow() are used for strict equal high/low detection.
🔹 Range Filter
Checks whether the high-low range over the last 5 candles meets a user-defined minimum (ensures significance).
🔹 Moving Averages
Includes optional plotting of 20 and 200 SMA.
🔹 SMT Divergences
Compares pivots between main symbol and two others (default: ES1! and YM1!).
Detects divergence based on opposite directional movement at pivot points.
Customizable color, thickness, and labels.
Fuerza de tendencia / Trend StrengthTrend Strength Indicator – Multimetric Scanner
This indicator evaluates the strength of a bullish trend using 11 widely trusted technical signals. It aggregates price behavior, moving averages, RSI momentum, and Ichimoku Cloud position into a single table with intuitive checkmarks.
Included conditions:
Higher highs and higher lows
RSI trending up
Price above EMA21, SMA50, and SMA200
EMA21 above SMA50 and SMA200
SMA50 above SMA200
Price above the Ichimoku Cloud
Each fulfilled condition adds a point to the Trend Strength Score (0 to 11). This visual summary helps traders quickly assess whether an asset is aligned with a strong upward trend.
Includes language support for English and Spanish.
Indicador de Fuerza de Tendencia – Escáner Multicriterio
Este indicador evalúa la fuerza de una tendencia alcista utilizando 11 señales técnicas ampliamente reconocidas. Resume el comportamiento del precio, medias móviles, impulso del RSI y posición respecto a la Nube de Ichimoku en una tabla con íconos claros.
Condiciones evaluadas:
Máximos y mínimos alcistas
RSI en alza
Precio sobre EMA21, SMA50 y SMA200
EMA21 sobre SMA50 y SMA200
SMA50 sobre SMA200
Precio sobre la Nube de Ichimoku
Cada condición cumplida suma un punto al Puntaje de Fuerza de Tendencia (de 0 a 11). Esta tabla visual permite evaluar rápidamente si un activo presenta una tendencia sólida al alza.
Incluye soporte de idioma inglés y español.
SPX to ES/MES**SPX to ES/MES Level Converter**
This indicator is designed for traders who work with SPX price levels but execute trades on ES or MES futures. It allows you to input SPX-based key levels—such as call walls, put walls, vanna/charm zones, volatility triggers, and profit targets—and automatically converts them into their real-time ES/MES equivalents.
### 📌 Features:
- Manual input of SPX levels (e.g. 5900, 5850, etc.)
- Live conversion to ES or MES levels using a dynamic spot ratio
- Plots include:
- 🟢 Call Wall
- 🔴 Put Wall
- 🟠 Vanna
- 🟣 Charm
- 🟡 Volatility Trigger
- ✅ Long Profit Targets
- ❌ Short Profit Targets
- Smoothing parameter to stabilize visual line display
### 🧠 How it Works:
- The indicator calculates a dynamic ratio between the ES/MES price and your manually input SPX spot.
- This ratio is applied to each SPX level to determine its corresponding ES/MES equivalent.
- It plots each line at its translated futures level so your chart reflects accurate futures-aligned decision points.
> Tip: Adjust the `Current SPX Spot` input daily to match live spot values for maximum precision.
This version does not include text labels on the chart. For a labeled version, check out the updated release with `label.new()` annotations for each level.
**Use case:** Great for traders who generate levels off SPX options flow, but execute on ES/MES contracts intraday.
Created by pogchamp99 | Inspired by SPY → ES conversion by ItsAnders81
RSI by Harsh Bhagat (VITTAARA)This is a customised RSI indicator designed for pro traders who want to stay ahead in the market.
🚀 Key Features:
• Standard RSI with precision tuning
• Two Upper Bands: 60 & 65 for smart overbought tracking
• Two Lower Bands: 40 & 38 for sharp oversold alerts
• Dual-tone color scheme for better visual clarity
Ideal for identifying reversal zones, trend weakness, and momentum shift — with an edge.
DECODE Global Liquidity IndexDECODE Global Liquidity Index 🌊
The DECODE Global Liquidity Index is a powerful tool designed to track and aggregate global liquidity by combining data from the world's 13 largest economies. It offers a comprehensive view of financial liquidity, providing crucial insights into the underlying currents that can influence asset prices and market trends.
The economies covered are: United States, China, European Union, Japan, India, United Kingdom, Brazil, Canada, Russia, South Korea, Australia, Mexico, and Indonesia. The European Union accounts for major individual economies within the EU like Germany, France, Italy, Spain, Netherlands, Poland, etc.
Key Features:
1. Customizable Liquidity Sources
Include Global M2: You can opt to include the M2 money supply from the 13 listed economies. M2 is a broad measure of money supply that includes cash, checking deposits, savings deposits, money market securities, mutual funds, and other time deposits. (Note: Australia uses M3 as its primary measure, which is included when M2 is selected for Australia).
Include Central Bank Balance Sheets (CBBS): Alternatively, or in addition, you can include the total assets held by the central banks of these economies. Central bank balance sheets expand or contract based on monetary policy operations like quantitative easing (QE) or tightening (QT).
Combined View: If you select both M2 and CBBS, and data is available for both, the indicator will display an average of the two aggregated values. If only one source type is selected, or if data for one type is unavailable despite both being selected, the indicator will display the single available and selected component. This provides flexibility in how you define and analyze global liquidity.
2. Lead/Lag Analysis (Forward Projection):
Lead Offset (Days): This feature allows you to project the liquidity index forward by a specified number of days.
Why it's useful: Global liquidity changes can often be a leading indicator for various asset classes, particularly those sensitive to risk appetite, like Bitcoin or growth stocks. These assets might lag shifts in liquidity. By applying a lead (e.g., 90 days), you can shift the liquidity data forward on your chart to more easily visualize potential correlations and identify if current asset price movements might be responding to past changes in liquidity.
3. Rate of Change (RoC) Oscillator:
Year-over-Year % View: Instead of viewing aggregate liquidity, you can switch to a Year-over-Year (YoY%) Rate of Change (ROC) oscillator.
Why it's useful:
Momentum Identification: The ROC highlights the speed and direction of liquidity changes. Positive values indicate liquidity is increasing compared to a year ago, while negative values show it's decreasing.
Turning Points: Oscillators make it easier to spot potential accelerations, decelerations, or reversals in liquidity trends. A cross above the zero line can signal strengthening liquidity momentum, while a cross below can signal weakening momentum.
Cycle Analysis: It helps in assessing the cyclical nature of liquidity provision and its potential impact on market cycles.
This indicator aims to provide a clear, customizable, and insightful measure of global liquidity to aid traders and investors in their market analysis.
EMA 34/72 CrossoverThe indicator is a trend follower that changes color according to the asset's phases.
Ele está configurado para este ciclo atual do bitcoin.
Momentum Candle Detector (Full Control)To Detect Momentum Candle
Larger Body Candle than before
Larger Total Candle than before (opt)
You can modified minimum or maximum pips (body or total)
Best for Scalping Momentum Candle on XAU/USD
Need to be combined with High Volume
Pi Cycle IndicatorThe Pi Cycle Top is a timing tool used to spot Bitcoin cycle peaks. It tracks the 111-day Simple Moving Average (SMA) and twice the 350-day SMA. When the faster 111-day SMA crosses above 2× the 350-day SMA, it has historically signaled major Bitcoin tops — often within days.
Core Idea: Measures market euphoria and overheated conditions by blending price and time dynamics. Designed to catch tops when momentum peaks.
Important: High historical accuracy, but not bulletproof. Works best as a macro cycle indicator — not for precise exits.
MVRV Z-ScoreThe MVRV ratio compares Bitcoin’s market cap (current price × supply) to its realized cap (the value of all coins at the price they last moved). It shows how overheated or undervalued Bitcoin is relative to historical investor cost bases.
Core Idea: High MVRV = market likely overheated (potential top). Low MVRV = market undervalued (potential bottom). It measures market sentiment and potential risk zones.
Important: Strong historical signals, but not foolproof. Best used as a macro tool — not for timing short-term moves.