Weekly and Daily EMA levelsThis Pine Script indicator provides important weekly and daily levels for lower time frame traders, whom trades based on reaction of these levels.
Dedicated to Prof Michael G
Key Features:
Multi-timeframe EMAs: Shows 12, 21, 50, 100, and 200 period EMAs from both Weekly and Daily timeframes
Horizontal dotted lines: Uses plot.style_linebr to create the dotted/dashed line effect
Works on all timeframes: The lines will appear on any chart timeframe you're viewing
Customizable: Individual toggles for each EMA period and timeframe
Settings Available:
Toggle Weekly/Daily EMAs on/off
Enable/disable individual EMA periods (12, 21, 50, 100, 200)
Customize colors for each EMA line
Adjust line width
Optional labels showing current EMA values
How to Use:
Copy the code into TradingView's Pine Editor
Click "Add to Chart"
Adjust settings in the indicator's Style tab as needed
The weekly EMAs appear with slightly more opacity (30%) while daily EMAs have higher transparency (60%) to help distinguish between timeframes. The lines will automatically update as new bars form and will be visible regardless of what timeframe you're currently viewing on your chart.
Moving Averages
Hassi XAUUSD Advanced FVG EMA/BOS/RSI/Volume + Session FilterWhat it does :
This strategy automates a popular ICT-style idea on XAUUSD (Gold): trade only when price taps back into a Fair Value Gap (FVG), but filter entries with trend, structure, momentum, volume, and session rules. It manages risk with fixed TP/SL (points) and shows a compact backtest panel on chart.
Core Logic
1) Market Structure (BOS)
Detects recent swing highs/lows and flags a Break of Structure:
BOS Up when price breaks the latest swing high.
BOS Down when price breaks the latest swing low.
2) FVG Detection (3-candle)
Bullish FVG when low > high and low > high .
Bearish FVG when high < low and high < low .
The most recent qualifying gap is drawn as a shaded box (optional).
3) Bias & Filters
Trend Bias: price vs EMA (default 200). Longs only above EMA; shorts only below.
Momentum: optional RSI filter (default 14); avoid longs in OB & shorts in OS.
Volume: optional filter requiring current volume > SMA(20) × multiplier.
Sessions: optional London / New York (PKT) time windows.
Entries & Exits
Long Entry (all must be true)
Above EMA, RSI bullish, volume ok, session ok, BOS Up.
A recent Bullish FVG exists (within N bars).
Price taps back into the FVG (low ≤ top & close > bottom) with a bullish candle.
Short Entry (mirror)
Below EMA, RSI bearish, volume ok, session ok, BOS Down.
A recent Bearish FVG exists (within N bars).
Price taps (high ≥ bottom & close < top) with a bearish candle.
Risk / R:R
Exits use fixed points on XAUUSD (default TP 100, SL 50).
On many gold feeds 1.0 = 10 points; inputs convert to price automatically.
“One-trade-at-a-time”: a new signal won’t fire until the previous position is flat.
Chart Labels
On entry, the script plots BUY/SELL plus fixed TP/SL lines & labels anchored to the entry bar (they don’t drift with price).
Visuals & Tools
EMA line (green/red by bias).
Swing points (tiny triangles) to see structure.
FVG boxes (green/red, optional).
Session shading (subtle blue overlay).
Stats Panel (top-right):
Total Trades, TP Hits, SL Hits, Win Rate, Profit Factor, Net P&L.
Inputs (quick guide)
EMA Length (default 200)
Swing Lookback for BOS (default 5)
FVG Box Length (how far the zone extends to the right)
TP / SL (points) for XAUUSD + display Risk:Reward
Sessions (PKT): London & New York windows + toggle
Filters: Volume (multiplier), RSI (length, OB/OS)
Visibility: show/hide FVG boxes & TP/SL drawings
Alerts
Buy Signal / Sell Signal on valid entries
Position Opened / Position Closed notifications
Best Practices & Notes
Designed for XAUUSD 15-minute. You can test other timeframes, but retune TP/SL points and filters accordingly.
Broker ticks differ: if your symbol steps are not 0.1, adjust TP/SL points.
Use with a HTF confluence (e.g., D1/4H bias, key S/R, news awareness).
Backtests are approximations; real results vary with spreads, slippage, and execution.
Disclaimer: This tool is for educational purposes. It is not financial advice. Always test before using on live capital.
Multi EMA (9, 20, 50, 100) Individual EMA Controls:
Show EMA 9 - Toggle checkbox to turn EMA 9 on/off
Show EMA 20 - Toggle checkbox to turn EMA 20 on/off
Show EMA 50 - Toggle checkbox to turn EMA 50 on/off
Show EMA 100 - Toggle checkbox to turn EMA 100 on/off
📋 Organized Settings:
EMA Display group - Contains all the on/off toggle switches
EMA Settings group - Contains period lengths and source settings
🔔 Smart Alerts:
Alerts only trigger when both EMAs involved in the crossover are enabled
Added EMA 50/100 crossover alerts
Launch PadLaunch Pad Setup. I've made it to see the convergence of short and long term key moving averages, to detect a keyy support level when the trend begins.
Multi Volume Weighted Average Price1. Three independent VWAP configurations (VWAP 1, 2, and 3). Each can be set up separately
for periods such as: session, daily, weekly, monthly, etc.
2. Previous VWAP closing prices: Closed VWAPs from previous periods remain visible until the
price touches them. At that point, they are removed.
3. Bands: Based on standard deviation or a percentage of VWAP with an adjustable multiplier.
The bands can be turned on or off.
4. Source: OHLC4 is the default setting for an accurate approximation, but it is customizable
(e.g. HLC3).
5. Global Setting: Select 10,000 or 20,000 historical bars to prevent runtime errors for long
periods.
Usage tips:
1. Use VWAP 1 for daily sessions, VWAP 2 for weekly, and VWAP 3 for Monthly analysis to receive
multi-timeframe support.
2. Customize the labels to clearly distinguish them (e.g. D VWAP, W VWAP, M VWAP).
3. If you encounter errors with historical data (e.g. on the M1 chart), minimize the number of
historical bars displayed to 10,000.
EMA + MACD + RSI Strategy"This strategy combines EMA crossovers (20/50), MACD momentum (12/26/9), and RSI thresholds (14-period) to generate signals. It triggers a BUY when:
EMA20 crosses above EMA50,
MACD line > Signal line,
RSI > 50.
SELL signals activate on the opposite conditions. Visual alerts plot directly on the chart
9 EMA & 20 EMA with Fill9 and 20 EMAs with fill to identify easily when in dynamic up trend, green when bullish, red when bearish
🌊 ALMA BandsTrend Architect Suite Lite - ALMA Bands - Adaptive Moving Average System
Simple implementation of ALMA (Arnaud Legoux Moving Average) bands from the Trend Architect Suite.
Why ALMA over Traditional EMA Bands?
Superior Smoothness: ALMA combines the best of both SMA and EMA by using Gaussian filters to reduce noise while maintaining responsiveness
Reduced Lag: The offset parameter allows fine-tuning between minimal lag and maximum smoothness
Advanced Weighting: Uses a sophisticated weighted algorithm that reduces false signals compared to traditional moving averages
Configurable Phase: The offset parameter (0-1) controls the phase shift, allowing you to balance between smoothness and responsiveness
Features:
Dual ALMA lines with customizable periods, offsets, and sigma values
Dynamic fill coloring (cyan for bullish, red for bearish trends)
Clean crossover alerts for trend changes
Fully customizable appearance and sensitivity
Settings:
Default configuration uses 20-period ALMAs with different offset values (0.85 vs 0.77)
All parameters are adjustable to fit your trading style
Use Case:
Trend-following system suitable for any timeframe. Best used in conjunction with other analysis for confirmation.
EMA Bundle4 EMAs: 9,21,50,200. Edit colours as you please. This can be used everywhere, providing a view of short-, medium-, and long-term trends. Please be aware this is a lagging indicator
EDWARDS 3MIN DOW STRATEGYSqueeze Momentum Strategy with EMA780 Trend Filter, ATR-SL, PT, EMA5 Exit Filter, and 3:57 PM Close
EMA 200 HIGH LOWS - BIRMANO - A Pine Script v6 indicator plotting a smoothed cloud between EMA 200 of high and close prices, with dynamic colors (green/soft red) based on price position. Includes RSI (14) in a subpanel for confluence, with an ATR filter to hide the cloud during high volatility.
5m EMA, 1m EMA, VWAP5m EMA, 1m EMA, VWAP
entry frame 5 minute
1. establish HTF bias / target
2. look for rejection from the red / yellow line
3. scalp 10-20 points
EMAs CrossoverThis Pine Script strategy identifies bullish and bearish crossovers among four EMAs (5, 13, 26, and 50 periods) with an additional alignment condition for the EMAs. It can generate alert when:
Bullish Condition: An EMA crossover occurs (5 crossing over 13, 13 over 26, or 26 over 50), and all the shorter-period EMAs are above the longer-period EMAs, indicating a strong upward trend.
Bearish Condition: An EMA crossunder happens (5 crossing under 13, 13 under 26, or 26 under 50), and all shorter EMAs are below the longer EMAs, suggesting a strong downward trend.
The strategy uses these conditions to enter long positions on bullish signals and short positions on bearish signals.
TrendLines with ATR and MA [KoTa]The "TrendLines with ATR and MA " indicator combines trend lines, breakout signals, ATR-based trend tracking, and moving averages (MA).
Input Settings and Customization:
After adding the indicator, click on its name at the top of the chart and open the "Settings" tab.
Main sections:
Trend Lines and Breakouts (Periods 1-5):
General Usage Tips:
Chart Timeframe: Works on any timeframe (from 1 minute to weekly). Shorter timeframes (e.g., 5-minute) generate more signals, while longer timeframes (e.g., daily) produce fewer but more reliable signals.
Compatibility: Overlay=true, meaning it is drawn directly on the candlestick chart. It can be combined with other indicators (e.g., RSI, MACD).
Advantages
This indicator outperforms standard trend line tools due to its automated, multi-period, and integrated features:
Automated Trend Line Drawing: Instead of manual drawing, it creates trend lines based on pivot highs/lows. Different periods (3-50) enable multi-timeframe analysis, allowing you to see short- and long-term trends on the same chart.
Breakout Detection and Labeling: Detects breakouts in real-time using dotted extensions. B (Buy) and S (Sell) labels (e.g., B1 for period1 up breakout) clarify signals. Historical breakouts are shown in gray for context.
ATR Integration: Volatility-based trend tracking (similar to SuperTrend). Calculates channel deviation to adapt to market volatility. Arrows highlight trend reversals quickly.
Moving Averages Integration: Flexible MA types (e.g., VWMA for volume-weighted analysis) for trend filtering. No Bollinger Bands option, but MAs can validate breakouts.
Performance and Visuals: Limits line count with max_lines_count for memory efficiency. Colors and line widths are customizable, and old elements are automatically managed (deleted or grayed out). Precision=0 ensures clean price formatting.
Flexibility: All components (trend lines, ATR, MA) can be toggled on/off, allowing for simple or complex usage.
Benefits Provided
This indicator speeds up trading decisions and reduces errors:
Trend and Support/Resistance Detection: Pivot-based lines provide automatic support (green, lows) and resistance (red, highs) levels. Benefit: Reduces manual analysis time, saving effort in scalping or swing trading.
Breakout Signals: Signals are triggered when the close price crosses over/under the extended line. Benefit: Catches potential trend starts early; ATR can filter false breakouts. B/S labels provide visual alerts, simplifying alert setup.
Volatility Adaptation (ATR): Adjusts trend lines based on market fluctuations. Benefit: Wider channels in high-volatility periods (e.g., crypto) and narrower in low volatility, reducing whipsaws (false signals). Arrows clearly show trend changes, ideal for position management.
MA Validation: MAs measure trend strength (e.g., EMA20 above indicates uptrend). Benefit: Filtering breakouts with MA crossovers improves accuracy. VWMA offers volume-based analysis to eliminate weak trends.
General Benefits:
Risk Management: Breakout levels can be used for stop-loss placement (e.g., below breakout).
Profit Potential: When tested on historical data (backtesting), it can be optimized by period—shorter periods for quick entries, longer for holding.
Educational Value: Visualizes fractal, pivot, and ATR concepts for new traders.
Time Savings: Automation eliminates hours of chart analysis; updates in real-time.
Multi-Asset Compatibility: Works for stocks, forex, and crypto; ATR shines in volatile assets.
Possible Strategies
This indicator supports various strategies, primarily focused on breakouts and trend following, enhanced by MA and ATR filtering.
Breakout Trading Strategy:
Rules: Enter long on B (Buy) label (crossover up line), short on S (Sell). For example, enter on B3 (period10), with stop-loss below the previous pivot low.
Filtering: Confirm with ATR arrow up (trend=0). Ensure price is above MA1 (20).
Exit: Profit target at ATR*2 or exit on reverse breakout (S).
Advantage: Ideal for scalping (p1-p2) or swing trading (p4-p5). Benefit: High win rate in volatile markets.
Trend Following Strategy:
Rules: Hold long if ATR trend line is green (up) and MA1 > MA2. Strengthen entry with breakout B.
Filtering: Use only larger period breakouts (p3-p5) with ATR in slow mode.
Exit: Exit on ATR arrow down (reversal) or MA crossover.
Advantage: Captures long-term trends with low drawdown. Benefit: Suitable for passive trading, especially on weekly charts.
Pullback Strategy:
Rules: In an uptrend (green ATR line), enter long when price pulls back to the downtrend line (green pivot low line).
Filtering: No breakout, supported by MA (price above MA). Set stop using ATR deviation.
Exit: New high breakout or ATR reversal.
Advantage: Low-risk entries, captures trend continuations. Benefit: Effective in range-bound markets.
Multi-Timeframe Combination:
Rules: Match short-period (p1) breakouts with long-period (p5) trends (e.g., p5 up + p1 B = long).
Filtering: ATR in medium mode, MAs in golden cross (20>50).
Advantage: Reduces false signals, validates H4 breakouts with D1 trends. Benefit: Suitable for professional traders, with backtesting showing 60%+ win rates.
Risk and Optimization Tips:
Position Sizing: Calculate using ATR (stop-loss distance / 1% risk).
Backtesting: Test in strategy mode; short periods may overtrade, while longer ones may miss opportunities.
ZoneXZoneX is a powerful trading indicator built on institutional order flow, demand–supply theory, and advanced trend analysis. It automatically detects and highlights demand and supply zones across any timeframe, giving traders a clear view of where institutional buying and selling may occur.
With full customization options, users can adjust the zones and settings to match their strategy. ZoneX also includes a 3-EMA combination system and advanced trend analysis tools, helping traders align with market momentum.
Beyond zone detection, ZoneX pinpoints potential institutional entry and exit points, offering retail traders a valuable edge by improving trade timing and increasing the probability of success.
TrendPilot AI v2 — Adaptive Trend Day Trading StrategyOverview
TrendPilot AI v2 is a structured, rules-based day trading strategy that identifies and follows market momentum using a sophisticated blend of technical indicators. Optimized for 15-minute and higher timeframes on high market cap cryptocurrencies (AAVE, SOL, ETH, BCH, BTC) to minimize manipulation risks, it adapts to changing market conditions with dynamic risk management and controlled re-entry logic to maximize trend participation while minimizing noise.
Core Logic
Multiple EMA Trend Confirmation — Uses three Exponential Moving Averages (fast, medium, slow) to detect robust bullish, bearish, or neutral trends, ensuring trades align with the prevailing market direction.
ADX Momentum Filter — Employs an ADX-based filter to confirm strong trends, avoiding entries in choppy or low-momentum markets.
Smart Entry Filter — Optional ATR-based buffer (period 14, multiplier 1.5) around the fast EMA prevents entries at overextended prices, enhancing trade precision.
Flexible Exit System — Offers multiple exit options: fixed take-profit (default 1.7 offset), trend-reversal exits, or ATR-based trailing stops (period 14, multiplier 2.0), with secure modes requiring candle closes for confirmation to gain Max Profit.
Controlled Re-Entry Logic — Allows re-entries after take-profit or price-based stop-loss with configurable wait periods (default 6 bars), max attempts (default 2), and EMA touch requirements (fast, medium, or slow).
State-Aware Risk Management — Tracks trend states and recent exits to adapt entries, with daily trade limits (default 5 long/short) and loss cooldowns (default 2 stop-losses) for disciplined trading.
How to Use & Configuration
Markets & Timeframes
Works with high market cap cryptocurrencies (AAVE, SOL, ETH, BCH, BTC).
Optimized for intraday charts (15m–4h) but adaptable to higher timeframes (e.g., 1h, 4h).
Trade Direction Settings
Dual Trades — Trades both long and short, quickly re-aligning after trend reversals.
Long Only — Ignores bearish signals, ideal for bullish markets or strong uptrends.
Short Only — Ignores bullish signals, suited for bearish markets or downtrends.
Risk Management Settings
Stop Loss Types
Trend Reversal — Closes positions when an opposite trend signal is confirmed (default).
Fixed Offset — Static stop at 3.5 offset from entry price (adjustable).
ATR Based — Dynamic trailing stop using ATR (period 14, multiplier 2.0), adjusting to market volatility.
Secure SL Mode — Optional setting to trigger price-based stops only on candle closes, reducing false exits.
Maximum recommended risk per trade is 5–10% of account equity.
Trade size is configurable (default 20 units) to match individual risk appetite.
Take Profit Options
Fixed Offset — Predefined target at 1.7 offset from entry (adjustable, e.g., 2.5 for SOL).
Secure TP Mode — Exits only when a candle closes beyond the target, ensuring reliable profit capture.
Trend Reversal — Exits on opposite trend signals when fixed TP is disabled, ideal for riding longer trends.
Trade Management Controls
Smart Entry Filter — Optional ATR-based buffer (period 14, multiplier 1.5) prevents chasing overextended prices.
Max Re-Entries — Limits continuation trades per trend cycle (default 2).
Daily Trade Limits — Caps long/short trades per day (default 5 each) for disciplined trading.
Daily Loss Cooldown — Pauses trading after a set number of stop-losses (default 2) per day.
Max Bars in Trade — Closes positions after a set duration (default 1440 bars) to prevent stale trades.
Configuration Steps
Apply the strategy to your chosen symbol (e.g., AAVE/USDT, SOL/USDT) and timeframe (15m or higher).
Select Trade Direction mode (Dual, Long Only, or Short Only).
Set Stop Loss (Trend Reversal, Fixed Offset, or ATR Based) and Take Profit (fixed or trend-reversal).
Adjust Smart Entry Filter, Max Re-Entries, Daily Limits, and Loss Cooldown as needed.
Test across multiple market conditions using the performance panel (top-right, showing Total Trades, Wins, Losses, Win Rate).
Enables automated trading via webhook integration with platforms like Binance Futures.
Set up alerts for long/short entries (🟢 Long, 🔴 Short) and exits (🎯 Max TP, 🛑 Max SL, 🚨 Force Exit).
Backtesting Guidance
Use realistic commission (default 0.01%) and slippage (default 2 ticks) matching your broker and instrument.
Validate performance over long historical periods (e.g., 3–6 months) to ensure >100 trades across different market regimes.
Avoid curve-fitting by testing on multiple high market cap coins (AAVE, SOL, ETH, BCH, BTC) and avoiding over-optimization.
EMA and ATR parameters are set to balanced, industry-standard values for realistic backtesting.
Best Practices, Defaults & Disclaimer
Best Practices
Use consistent and conservative position sizing (default 20 units).
Match commission and slippage to your broker’s actual rates.
Enable secure TP/SL modes for entries and exits to reduce false signals.
Test across different symbols, timeframes, and market phases before live trading.
Keep parameters simple to avoid overfitting.
Default Settings (Recommended Starting Point)
Initial Capital: $10,000
Order Size: Fixed, 20 units
Commission: 0.01%
Slippage: 2 ticks
Take Profit Offset: 1.7 (adjustable, e.g., 2.5 for SOL)
Stop Loss Type: Trend Reversal (default), Fixed Offset (3.5), or ATR Based (period 14, multiplier 2.0)
Smart Entry Filter: ATR period 14, multiplier 1.5 (optional)
Max Re-Entries: 2 per trend cycle
Daily Trade Limits: 5 long, 5 short
Daily Loss Cooldown: 2 stop-losses
Max Bars in Trade: 1440 bars
Subscription Information
TrendPilot AI v2 is an invite-only strategy, accessible only to approved subscribers.
Benefits include full access to all features, priority support, and regular updates.
Access is limited to ensure a high-quality user experience.
Compliance Status
No functional warnings in the script.
The script uses closed candle logic, ensuring no repainting or lookahead issues.
Designed for realistic backtesting with a $10,000 account and sustainable risk (≤5–10% per trade).
Disclaimer
This strategy is intended for educational and analytical purposes only. Trading involves substantial risk, and past performance does not guarantee future results. You are solely responsible for your own trading decisions and risk management.
Developed by: TrendPilotAI Team
For questions, setup guidance, or enhancement suggestions, contact TrendPilotAI Team via TradingView.
Royal Trader PrivetThis indicator is very powerful in every sense of the word. You can use it to make huge profits.
هذا المؤشر قويٌّ جدًا بكل معنى الكلمة. يمكنك استخدامه لتحقيق أرباحٍ طائلة.
Previous Day Fibonacci + Opening RangePrev Day Fibonacci & Opening Range Levels
This indicator is designed for professional traders who want to combine yesterday’s market structure with today’s intraday levels.
🔹 Features:
Automatic Fibonacci Retracements: Draws customizable Fibonacci retracement/extension levels based on the previous day’s High & Low.
Full Customization: Users can adjust the Fibonacci ratios and colors directly in settings.
Opening Range Levels: Plots today’s first candle High & Low (user-selectable timeframe for OR).
Clear Visuals: Helps identify key reversal zones, breakout levels, and confluence areas between higher timeframe structure and intraday moves.
🔹 Usage Ideas:
Spot potential reversal zones when price reacts to previous-day Fib levels.
Combine Opening Range breakout strategies with daily Fib levels for high-probability setups.
Use as confluence levels with your existing price action or indicator-based strategy.
⚡ Pro Tip: Look for overlaps between the Opening Range and Fibonacci retracements — these zones often act as strong support/resistance areas.
Nifty Power -> Nifty 50 chart + EMA of RSI + avg volume strategyThis strategy works in 1 hour candle in Nifty 50 chart. In this strategy, upward trade takes place when there is a crossover of RSI 15 on EMA50 of RSI 15 and volume is greater than volume based EMA21. On the other hand, lower trade takes place when RSI 15 is less than EMA50 of RSI 15. Please note that there is no stop loss given and also that the trade will reverse as per the trend. Sometimes on somedays, there will be no trades. Also please note that this is an Intraday strategy. The trade if taken closes on 15:15 in Nifty 50. This strategy can be used for swing trading. Some pine script code such as supertrend and ema21 of close is redundant. Try not to get confused as only EMA50 of RSI 15 is used and EMA21 of volume is used. I am using built-in pinescript indicators and there is no special calculation done in the pine script code. I have taken numbars variable to count number of candles. For example, if you have 30 minuite chart then numbars variable will count the intraday candles accordingly and the same for 1 hour candles.
Moving Averages 7 & 15 & 50 & 100 & 200 & 400we can use 7 moving averages for one indicator.
base moving averages are 7, 15, 50, 100, 200 and 400.
it can be used for determining of trend