Multi-TF EMA OverlayThis indicator allows to view EMA from multiple Time Frames on the same chart, regardless of the tife frame you are in.Pine Script® indicatorby Engineer_TraderUpdated 10
Kuber Zones and LevelsKuber Zones and Levels is a professional market-structure and level-mapping indicator designed for traders who focus on price behavior, balance zones, and higher-timeframe context. The indicator dynamically maps key price areas, market equilibrium regions, and extended levels using completed market cycles, helping traders identify important reaction zones across intraday and positional timeframes. Key Highlights Multi-Timeframe Market Zones Automatically plots important bullish, bearish, and equilibrium regions derived from completed market cycles. Confirmed & Stable Levels All zones and levels are calculated using confirmed data only. Once formed, they remain stable and do not repaint. Advanced Level Mapping Displays extended price levels aligned with the same market cycle used for zones, maintaining structural consistency. Dynamic Price Channels Adaptive bands that respond to changing market conditions and volatility. Trend Structure Visualization Clean, smoothed price representation to help identify directional bias and market rhythm.Pine Script® indicatorby sachinyeola7472
Mag 7 EMA Trend MonitorDashboard Layout: 1. Symbol Column: The Mag 7 tickers. 2. Trend Column: Visual Bull/Bear status. 3. Strength Column: Percentage distance from the mean (EMA 21). 4. Aggregate Row: Summary of market breadth and average sector pull/push. How to Interpret the Trend Strength: • Positive %: The stock is trading above its 21 EMA. A very high number (e.g., $+15\%$) might suggest the stock is "overbought" or overextended. • Negative %: The stock is trading below its 21 EMA. A very low number (e.g., $-10\%$) might suggest it is "oversold." • Avg Strength: This gives you a bird's-eye view of the sector. If the aggregate is "5 Up / 2 Down" but the Avg Strength is only $+0.5\%$, the trend is weak and might be exhausting. "Pro-tips" for tool: • Multi-Timeframe Correlation: Try setting the Dashboard Timeframe to "D" (Daily) while trading on a "5m" or "15m" chart. This allows you to see if your intraday trade is aligned with the "Big Money" trend of the week. • The 4/7 Rule: Watch for that Aggregate row to hit 4 out of 7. In the Mag 7, since these stocks carry so much weight in the SPY and QQQ, a shift to a majority (4+) often precedes a move in the overall market indices. Pine Script® indicatorby j2m2t236
5x Multi-Timeframe Moving AveragesSince I use EMA lines a lot and I typically want them based on one timeframe - say: D1 - while looking into higher or lower timeframes, I made this simple indicator: - Up to 5 moving averages (SMA, EMA, ...) - on chart timeframe or any defined timeframe (W, D, H4, H1, 30min, ...) - each with user defined length / number of periods of calculation - each in user defined line style, width and color. Straight forward but very handy. Enjoy. JuergenPine Script® indicatorby juergenbitzUpdated 8
Multi-MA SuiteMulti-MA Suite - Customizable Moving Averages Indicator Overview Multi-MA Suite is a comprehensive moving average indicator that combines both Exponential Moving Averages (EMAs) and Simple Moving Averages (SMAs) in a single, highly customizable tool. Designed for traders who rely on multiple timeframe analysis, this indicator provides up to 9 moving averages (5 EMAs + 4 SMAs) with full control over visibility, color schemes, and parameters. Key Features ✓ Dual MA Types: 5 Exponential Moving Averages (EMAs) - Responsive to recent price action, ideal for short to medium timeframes 4 Simple Moving Averages (SMAs) - Slow and stable, specifically designed for long timeframe analysis ✓ Full Customization: Individual toggle switches to show/hide each moving average Custom color picker for each MA line Adjustable length and source for all moving averages Progressive line width (thicker lines for longer periods) ✓ Pre-configured Defaults: EMA: 9, 21, 50, 100, 200 (common swing trading periods) SMA: 50, 100, 200, 300 (institutional reference levels for long-term trends) Color-coded scheme: Warm colors (yellow-orange) for EMAs, Cool colors (blue-purple) for SMAs ✓ Clean Interface: Organized input groups for easy navigation Clear labeling and logical parameter ordering Minimal chart clutter with toggle controls Key Difference - Speed & Timeframe: EMAs: Fast and reactive → Best for short to medium timeframes (1-min to 4-hour charts) SMAs: Slow and smooth → Best for long timeframes (daily, weekly, monthly charts) Recommended Settings Day Trading (Short Timeframes): Focus on EMAs: 9, 21, 50 Use 1-minute to 15-minute charts SMAs react too slowly for intraday timeframes Swing Trading (Medium Timeframes): Use all EMAs with SMA 50 and 200 1-hour to daily charts work best Mix of EMAs for entries, SMAs for trend context Position Trading (Long Timeframes): Focus primarily on SMAs: 50, 100, 200, 300 Daily to weekly charts recommended SMAs excel here due to their slow, stable nature Can add EMA 200 for comparison Investment Analysis (Very Long Timeframes): SMAs only: 100, 200, 300 Weekly to monthly charts SMA's slow calculation filters noise perfectly for long-term trends EMA Timeframe-Specific Recommendations 📌 Important Notes on EMA Usage by Timeframe: Small Timeframes (5-minute and 15-minute charts): Use 9 EMA and 21 EMA These fast EMAs respond quickly to price changes Perfect for scalping and day trading The 9/21 EMA crossover is a popular day trading strategy Medium Timeframes (1-hour to 4-hour charts): Use 21 EMA and 50 EMA Balances responsiveness with trend reliability Ideal for swing trading and intraday position holding The 21/50 EMA combination filters out noise while staying responsive Long Timeframes (Daily and Weekly charts): Use 50 EMA and 200 EMA The classic trend-following combination 50 EMA for medium-term trend, 200 EMA for major trend The 50/200 EMA crossover is known as the "Golden Cross" (bullish) or "Death Cross" (bearish) For very long-term analysis on these timeframes, consider using SMAs instead Quick Reference Guide: 5m / 15m: EMA 9 & 21 1h / 4h: EMA 21 & 50 1D / 1W: EMA 50 & 200 (or switch to SMAs for even smoother signals) Practical Trading Strategy with EMAs 📌 Why Use EMAs for Active Trading: For active trading, use EMAs because they have faster movement compared to SMAs. This faster response to price changes allows you to catch trends earlier and exit trades before major reversals occur. Three-EMA Trading System: 1. 9 EMA - Quick Trend Recognition: Use the 9 EMA to understand the trend quickly When price is above 9 EMA = Short-term uptrend When price is below 9 EMA = Short-term downtrend The 9 EMA reacts immediately to price momentum changes Perfect for entry timing and quick trend identification 2. 21 EMA - Exit Signal and Trend Confirmation: When the 21 EMA breaks (price crosses it), exit your trade This is critical because when the 21 EMA breaks, the trend will likely reverse The 21 EMA acts as your "stop-loss line" Breaking the 21 EMA signals that the short-term momentum has shifted Example: In an uptrend, when price crosses below 21 EMA, exit longs immediately Example: In a downtrend, when price crosses above 21 EMA, exit shorts immediately 3. 50 EMA - Full Correction Understanding: Use the 50 EMA to understand the complete correction The 50 EMA shows where the full pullback or correction might end When price reaches the 50 EMA, it often bounces (in a strong trend) Breaking the 50 EMA indicates a deeper correction or potential trend reversal Use it to gauge the strength of the overall trend Customization Tips Toggle unnecessary MAs off to reduce chart clutter based on your trading style and timeframe For the 3-EMA trading strategy, enable only 9, 21, and 50 EMAs For long timeframes (daily+), disable EMAs and use only SMAs to avoid over-reactive signals Match your EMA selection to your timeframe using the guide above Adjust colors to match your chart theme or to highlight specific MAs Modify lengths to fit specific market conditions or asset volatility Change source from close to high/low/HL2 for alternative perspectives Use thicker lines for key decision MAs (edit linewidth in settings) Color Scheme Rationale EMAs (Warm Colors): Yellow → Orange progression represents increasing timeframes while maintaining visual cohesion. The warm palette signals "active" or "fast-reacting" nature of EMAs, perfect for shorter timeframes and active trading. SMAs (Cool Colors): Blue → Purple progression provides clear visual distinction from EMAs. The cool palette suggests "stable," "slow," and "smooth" characteristics of SMAs, ideal for long timeframe analysis. What Makes This Different? Unlike basic MA indicators, Multi-MA Suite provides: Both EMA and SMA in one indicator (saves indicator slots) Optimized MA selection based on speed characteristics - fast EMAs for short timeframes, slow SMAs for long timeframes Clear timeframe-specific EMA recommendations for immediate use Practical trading strategy included - 9 EMA for trend, 21 EMA for exit, 50 EMA for corrections Individual control over each MA (toggle, color, parameters) Thoughtful default settings based on widely-used trading periods Color-coded system for instant visual differentiation Clean, organized interface for efficient workflow Installation & Usage Add the indicator to your chart Open indicator settings to customize For active trading: Enable 9, 21, and 50 EMAs (the recommended trading system) Select appropriate MAs for your timeframe (use the EMA timeframe guide above) Toggle MAs on/off based on your analysis needs Adjust colors if desired to match your chart theme Modify lengths and sources as needed for your strategy ⚠️ IMPORTANT DISCLAIMER EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY This indicator and its accompanying documentation are provided for educational and informational purposes only. The content does not constitute financial advice, investment advice, trading advice, or any other sort of advice, and you should not treat any of the indicator's content as such. NO GUARANTEE OF RESULTS Past performance is not indicative of future results. The strategies, techniques, and concepts discussed herein are provided "as is" without any warranty of any kind. Trading and investing in financial markets involves substantial risk of loss and is not suitable for every investor. RISK ACKNOWLEDGMENT You can lose money trading: Trading stocks, forex, futures, options, cryptocurrencies, and other financial instruments carries a high level of risk and may not be suitable for all investors. You may sustain a total loss of your investment. No guaranteed profits: The use of moving averages or any technical indicator does not guarantee profitable trades. Markets can remain irrational longer than you can remain solvent. Lagging indicators: All moving averages are lagging indicators based on historical price data and may not predict future price movements. False signals: Moving averages can produce false signals, especially in choppy, sideways, or low-volume market conditions. YOUR RESPONSIBILITY Do your own research: Before making any trading or investment decision, you should conduct your own research and due diligence. Consult professionals: Consider seeking advice from qualified financial advisors, certified public accountants, or licensed professionals before making financial decisions. Risk management: Always use proper risk management, including stop-losses, position sizing, and diversification. Demo trading: Test any strategy on a demo account before risking real capital. Understand the markets: Ensure you fully understand the markets you're trading and the risks involved. PERSONAL TRADING DECISIONS All trading decisions are made at your own discretion and at your own risk. You are solely responsible for all trading decisions you make. The strategies mentioned (including the 9/21/50 EMA system) are examples only and should not be followed blindly without proper testing and risk assessment. MARKET CONDITIONS VARY Market conditions change constantly. What works in one market condition may not work in another. Trending strategies (like the ones discussed) typically perform poorly in ranging markets. Adapt your approach based on current market conditions. USE AT YOUR OWN RISK By using this indicator, you acknowledge that you have read this disclaimer and agree to be bound by its terms. If you do not agree with any part of this disclaimer, do not use this indicator.Pine Script® indicatorby aaboomar16
CM's Multi Moving AverageMulti interval and timeframe moving averages in a single indicator, plus VWAP.Pine Script® indicatorby k_of_g0
CloverKnight## CloverKnight (4H Inside Bar Breakout) — Description for Publishing **CloverKnight** is a 4H-only inside-bar breakout indicator that identifies **Nested** or **Chained** inside-bar patterns (children candles inside a “mother” candle), then suggests a breakout entry with **EP / SL / TP** and shows a performance summary (Win/Draw/Loss, Win Rate, and ORPT) for a selected backtest window. This script is designed for traders who want a clean, rule-based inside-bar breakout with optional filters and risk sizing calculations. --- ## What it does ### 1) Inside Bar Pattern Detection CloverKnight detects inside-bar structures with two pattern styles: * **Nested**: all child candles must be inside the same mother candle * **Chained**: each child candle must be inside the previous candle You control how many child candles are required via **Inside Bar Count**. ### 2) Direction Logic (Buy/Sell) Direction can be determined by: * **Last** candle direction * **Mother** candle direction * **Vote** (majority of bull/bear candles across mother + children) You can also restrict trading signals via **Trade Side**: * Both / Buy Only / Sell Only ### 3) Optional EMA200 Direction Filter If enabled: * Buy signals only when price is above EMA * Sell signals only when price is below EMA ### 4) Day-of-Week Filter You can allow or block signals by weekday (Mon–Sun). ### 5) Risk & Position Size Estimation For each valid signal, the script calculates: * **SL distance (pips)** based on mother range * **Lot size** based on: * Account Balance * Risk per Trade (%) * Pip Value per 1.0 lot (user input) > Note: This is an estimation tool. Pip value depends on broker/symbol/contract size. ### 6) Trade Simulation & Outcome Tracking (Simple Backtest) The script simulates a simplified trade lifecycle: * Signal creates a **pending** breakout order * Trade triggers when price hits EP * Outcomes: * **Win** if TP hit * **Loss** if SL hit * **Draw (BE)** if price reaches **+1R**, then returns to EP ### 7) Summary Table (Top Right) A compact table shows: * **W / D / L** * **WR** (Win Rate) * **MCL** (Max Consecutive Losses) * **ORPT** (Optimized Risk Per Trade) --- ## Backtest Modes ### A) Years Mode Backtest only within the last **X years** (default 5, max 10). Stats reset when a new “Years window” begins. ### B) Trades Mode Backtest based on last **N completed trades** (default 100, max 500). This mode uses a rolling array of outcomes. --- ## Inputs (Quick Guide) **Pattern** * Inside Bar Count (Only Children) * Inside Pattern Type: Nested / Chained * Direction Source: Last / Mother / Vote * Trade Side: Both / Buy Only / Sell Only **Backtest** * Backtest Mode: Years / Trades * Lookback (Years) / Lookback (Trades) **Filters** * Max SL distance (pips): ignore signals with SL larger than this (0 = no limit) * EMA200 filter: show line + enable/disable filter * Day-of-Week filter: allow selected days only **Risk & Sizing** * Account Balance * Risk per Trade (%) * Maximum Drawdown (%) for ORPT * Pip Value per 1.0 Lot (adjust per symbol) **UI** * Font Size: Tiny / Small / Normal / Large / Huge * Label Offset Multiplier: controls label distance from pattern range --- ## How to use 1. Apply the indicator on **4H timeframe** (required). 2. Tune **Inside Bar Count** and pattern type to match your style. 3. Enable filters (EMA / Day-of-Week) if you want cleaner signals. 4. Set your **Account Balance**, **Risk %**, and **Pip Value per Lot** for realistic sizing. 5. Use the label output (EP/SL/TP) and the summary table to evaluate behavior over your selected backtest window. --- ## Alerts The script triggers an alert when a valid signal is found (once per bar), including: * Buy Stop / Sell Stop * EP / SL / TP * RRR and estimated lot sizing --- ## Important Notes / Limitations * **Timeframe restriction**: This script is intended for **4H only**. It will not operate correctly on other timeframes. * **Simulation limitation**: This is not a broker-grade backtest engine. It uses candle-based logic (high/low) and simplified assumptions. * **Lot sizing is approximate**: Pip value varies by symbol and broker contract settings. Always verify before trading. * This indicator **does not place real orders** (not a strategy, not an EA).Pine Script® indicatorby norththeewin3
Val FXIndicator combining 3 moving averages (SMA/EMA selectable) and Bollinger Bands. Default lengths: 20, 50, 200. All parameters are customizable.Pine Script® indicatorby opposingmonkey1
EMA Trend Following Strategy🎯 EMA TREND FOLLOWING STRATEGY A simple yet powerful trend-following strategy designed for 1-hour timeframes across multiple markets including cryptocurrencies, commodities, indices, and forex pairs. 📊 STRATEGY LOGIC This strategy is based on the classic moving average crossover technique, one of the most reliable trend-following methods in technical analysis: - LONG ENTRIES: When the fast EMA crosses above the slow EMA, indicating the beginning of an uptrend - SHORT ENTRIES: When the fast EMA crosses below the slow EMA, indicating the beginning of a downtrend - EXITS: Positions are closed when the opposite crossover occurs, capturing the trend reversal 🛡️ RISK MANAGEMENT The strategy includes professional risk management features: - Dynamic stop-loss based on market volatility - Automatic position sizing to risk only a fixed percentage per trade - Optional take-profit levels for securing gains - Customizable risk parameters to fit your trading style ⚙️ RECOMMENDED SETTINGS - Timeframe: 1 Hour (H1) - Fast EMA: 20 periods - Slow EMA: 50 periods - Risk per trade: 1-2% of capital - Stop-loss: 2x ATR (Average True Range) 💡 BEST USE CASES This strategy works particularly well on: ✅ BTC/USD and major cryptocurrencies ✅ GOLD and precious metals ✅ S&P 500, NASDAQ, and major indices ✅ EUR/USD, GBP/USD and major forex pairs ⚠️ IMPORTANT NOTES - Always backtest on your specific market before live trading - Past performance does not guarantee future results - Use appropriate position sizing and never risk more than you can afford to lose - This strategy works best in trending markets 📈 Perfect for swing traders and those looking for a systematic approach to capture market trends!Pine Script® strategyby alblanz4
Witch-Fire ALMA signals: Dynamic Liquidity & Trend GlowThe Witch-Fire ALMA is a high-precision trend bias and liquidity mapping tool designed for price action traders and Smart Money practitioners. Unlike traditional indicators that clutter your chart with lagging signals, this script provides a "clean-yet-powerful" visual anchor to help you stay on the right side of the market while identifying key Points of Interest (POIs). At its core, the script utilizes an optimized Arnaud Legoux Moving Average (ALMA). Known for its superior ability to balance smoothness and responsiveness, the ALMA effectively filters out market noise and "whipsaws" that often plague standard EMAs. Key Features: The Witch-Fire Glow: A neon-styled ALMA line that shifts between Bullish Green and Bearish Red. The white core provides surgical precision for price intersection, while the outer glow visualizes the strength and dominance of the current trend. Scaled Liquidity Levels: Automatically maps Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL). These levels are dynamic—they scale proportionally with your ALMA settings. This ensures that the liquidity zones you see are always relevant to the trend cycle you are analyzing. Strategic Bias Background: A subtle background tint provides an instant psychological filter. Only look for Longs in the green zone and Shorts in the red zone to maintain a high-probability strike rate. How to Trade with Witch-Fire: Identify the Bias: Look at the Fire ALMA. If the "fire" is red and the price is below the line, your bias is strictly bearish. Watch the Sweeps: Wait for the price to "sweep" (pierce with a wick) the horizontal SSL (Green) or BSL (Red) lines. Execution: Look for a strong rejection candle (long wick, small body) at these levels that closes back towards the ALMA line. Best Used On: 15m, 1H, and 4H timeframes. Works exceptionally well for Crypto, Forex, and Indices.Pine Script® indicatorby CryptoWitch_NL41
Support Resistance + RSI + 4 EMA (Doge_SV)Overview This comprehensive indicator is designed to provide traders with a "bird's-eye view" of the market by combining three essential technical analysis tools into a single, clean interface. It helps in identifying trend direction, key price levels, and momentum across multiple timeframes without cluttering your workspace. Key Features 1. Dynamic Support & Resistance (S/R) The script automatically identifies and plots significant Support and Resistance levels based on pivot points. Dynamic Zones: It highlights areas where price has historically reacted, helping you find high-probability entry and exit points. Strength Filtering: Includes a built-in algorithm to display only the most "significant" levels based on their historical strength. Visual Alerts: Lines and labels change color (Lime for Support, Red for Resistance) based on the current price position. 2. Quad-EMA Trend Ribbon (The "Exponential Moving Averages") The indicator features four of the most widely used EMAs in professional trading to identify trend hierarchy: EMA 34 (Green): Short-term momentum and immediate support/resistance. EMA 89 (Blue): Intermediate-term trend filter (The "Trend Core"). EMA 200 (Black): Long-term trend baseline (The "Institutional Level"). EMA 633 (Purple): Ultra-long-term trend, often used for major cycle analysis. 3. Multi-Timeframe (MTF) RSI Dashboard Stay informed about overbought or oversold conditions across all timeframes simultaneously. Real-time Table: A neat table in the corner of your chart displays RSI (14) values from 1 minute up to 1 day. Heatmap Logic: The table cells automatically change color based on intensity: Red/Orange: Overbought (RSI > 70/80) Green/Dark Green: Oversold (RSI < 30/20) White: Neutral zone. How to Use Trend Alignment: Look for the 4-EMAs to be stacked in order (34 > 89 > 200 > 633 for a Bullish trend). S/R Confirmation: When price approaches a Red Resistance line, check the RSI Dashboard. If higher timeframes are also Overbought, it increases the probability of a reversal. Breakout Detection: Use the Support/Resistance lines to identify potential breakouts or "Role Reversal" (where old resistance becomes new support).Pine Script® indicatorby ThanRua8923
MSP Multi-Timeframe Trend & Momentum DashboardMulti-Timeframe Trend, Momentum, and Bias Dashboard This indicator provides a multi-timeframe overview by evaluating several technical conditions across multiple timeframes simultaneously. Its purpose is to help traders assess alignment or divergence between higher and lower timeframes before making trading decisions. Rather than generating standalone signals, the dashboard summarizes trend, momentum, participation, and trend-strength metrics into a compact visual table. What the Indicator Evaluates (Per Timeframe) Each selected timeframe is analyzed independently using: Trend context Price position relative to fast and slow moving averages Momentum RSI position relative to user-defined thresholds Directional confirmation MACD line relative to its signal line Participation Current volume compared to its recent average Trend strength ADX value to distinguish trending from non-trending conditions These components are combined to form a directional bias assessment for each timeframe. Dashboard Overview The dashboard displays: Directional bias per timeframe Aggregate bias across all selected timeframes Momentum and trend readings Relative volume strength Trend-strength values Alignment status when multiple timeframes agree This allows users to quickly identify whether market conditions are aligned, mixed, or conflicting across timeframes. Visual Encoding Cells within the table are color-coded to improve readability: Bullish bias Bearish bias Neutral or mixed conditions Color intensity reflects relative strength, helping distinguish weak alignment from stronger confluence. Optional chart-level visuals can highlight periods of broad alignment or disagreement across timeframes. Customization Options Users may adjust: Timeframes included in the dashboard Thresholds for momentum, volume, and trend strength Table size, position, and visual appearance Alert conditions based on alignment criteria These settings allow the indicator to be adapted to different instruments, timeframes, and trading styles. Intended Use Style: Multi-timeframe analysis and confirmation Markets: Forex, crypto, equities, index futures Purpose: Assess higher-timeframe bias Improve directional context before entries Avoid trades against broader trend conditions The indicator is most useful as a contextual filter, rather than a standalone decision tool. Important Notes This script is provided for educational and analytical purposes only. It does not predict price movement and should be used alongside independent analysis and appropriate risk controls.Pine Script® indicatorby Marketscannerpros5
EMA DemoEMA with Colours... Ema Changes it Colour while Moving Up and Down... By Godwani VijayPine Script® indicatorby godwanivijaycharts1
EMA Ribbons The Gray Ribbon (EMA 1–3) is designed for trend trading. When the market is trending, price tends to respect the ribbon and bounce off it. If price frequently chops through the ribbon, the market is likely ranging and the ribbon should be ignored. The 100 EMA and 200 EMA (EMA 4 & 5) are commonly used as dynamic support and resistance levels. EMA 6 & 7 are calculated from a higher timeframe to provide broader market context. Pine Script® indicatorby mikeeeeeeeXBTUpdated 11
EMA and Dow Theory Strategies V2📘 Overview This strategy is an advanced evolution of the original EMA × Dow Theory hybrid model. V2 introduces true swing‑based trend detection, gradient trend‑zones, higher‑timeframe swing overlays, and dynamic exit logic designed for intraday to short‑term trading across crypto, forex, stocks, and indices. The system provides precise entries, adaptive exits, and highly visual guidance that helps traders understand trend structure at a glance. 🧠 Key Features 🔹 1. Dual‑EMA Trend Logic (Symbol + External Index) Both the chart symbol and an external index (OTHERS.D) are evaluated using fast/slow EMAs to determine correlation‑based trend bias. 🔹 2. Dow Theory Swing Detection (Real‑time) The script identifies swing highs/lows and updates trend direction when price breaks them. This creates a structural trend model that reacts faster than EMAs alone. 🔹 3. Gradient Trend Zones (Visual Trend Strength) When trend is up or down, the area between price and the latest swing level is filled with a multi‑step gradient. This makes trend strength and distance-to-structure visually intuitive. 🔹 4. Higher‑Timeframe Swing Trend (htfTrend) Swing highs/lows from a higher timeframe (e.g., 4H) are plotted to show macro structure. Used only for visual context, not for filtering entries. 🔹 5. RSI‑Based Entry Protection RSI prevents entries during extreme overbought/oversold conditions. 🔹 6. Dynamic Exit System Includes: Custom stop‑loss (%) Partial take‑profit (TP1/TP2/TP3) Automatic scale‑out when trend color weakens “Color‑change lockout” to prevent immediate re‑entry Real‑time PnL tracking and labels 🔹 7. Alerts for All Key Events Entry, stop‑loss, partial exits, and trend‑change exits all generate structured JSON alerts. 🔹 8. Visual PnL Labels & Equity Tracking PnL for the latest trade is displayed directly on the chart, including scale‑out adjustments. ⚙️ Input Parameters Parameter Description Fast EMA / Slow EMA EMAs used for symbol trend detection Index Fast / Slow EMA EMAs applied to external index StopLoss (%) Custom stop‑loss threshold Scale‑Out % Portion to exit when trend color weakens RSI Period / Levels Overbought/oversold filters Swing Detection Length Bars used to detect swing highs/lows Stats Display Position of statistics table 🧭 About htfTrend (Higher Timeframe Trend) The higher‑timeframe swing trend is displayed visually but not used for entry logic. Why? Strict HTF filtering reduces trade frequency and often removes profitable setups. By keeping it visual‑only, traders retain flexibility while still benefiting from macro structure awareness. Use it as a contextual guide, not a constraint. 📘 概要 本ストラテジーは、V1 を大幅に拡張した EMA × ダウ理論 × スイング構造 × 上位足トレンド可視化 の複合型モデルです。 短期〜デイトレード向けに最適化されており、仮想通貨・FX・株式・指数など幅広いアセットで利用できます。 V2 では、スイング構造の自動検出、グラデーションによるトレンド強度の可視化、上位足スイングライン、動的な利確/損切りロジック が追加され、視覚的にもロジック的にも大幅に強化されています。 🧠 主な機能 🔹 1. 銘柄+外部インデックスの EMA クロス判定 対象銘柄と OTHERS.D の EMA を比較し、相関を考慮したトレンド方向を判定します。 🔹 2. ダウ理論に基づくスイング高値・安値の自動検出 スイング更新によりトレンド方向を切り替える、構造ベースのトレンド判定を採用。 🔹 3. グラデーション背景によるトレンド強度の可視化 スイングラインから現在価格までを段階的に塗り分け、 「どれだけトレンドが伸びているか」を直感的に把握できます。 🔹 4. 上位足スイングトレンド(htfTrend)の表示 4H などの上位足でのスイング高値・安値を表示し、 大局的なトレンド構造を視覚的に把握できます(ロジックには未使用)。 🔹 5. RSI による過熱・売られすぎフィルター 極端な RSI 状態でのエントリーを防止。 🔹 6. 動的イグジットシステム カスタム損切り(%) TP1/TP2/TP3 の段階的利確 トレンド色の弱まりによる自動スケールアウト 色変化後の再エントリー制限(waitForColorChange) リアルタイム PnL の追跡とラベル表示 🔹 7. アラート完備(JSON 形式) エントリー、損切り、部分利確、トレンド反転などすべてに対応。 🔹 8. 損益ラベル・統計表示 直近トレードの損益をチャート上に表示し、視覚的に把握できます。 ⚙️ 設定項目 設定項目名 説明 Fast / Slow EMA 銘柄の EMA 設定 Index Fast / Slow EMA 外部インデックスの EMA 設定 損切り(%) カスタム損切りライン 部分利確割合 トレンド弱化時のスケールアウト割合 RSI 期間・水準 過熱/売られすぎフィルター スイング検出期間 スイング高値・安値の検出に使用 統計表示位置 テーブルの表示位置 🧭 上位足トレンド(htfTrend)について 上位足スイングの更新に基づくトレンド判定を表示しますが、 エントリー条件には使用していません。 理由: 上位足を厳密にロジックへ組み込むと、トレード機会が大幅に減るためです。 本ストラテジーでは、 「大局の把握は視覚で、エントリーは柔軟に」 という設計思想を採用しています。 → 裁量で利確判断や逆張り回避に活用できます。 Pine Script® strategyby mm_mitsuya59
Quantum Edge First Signal DetectorQuantum Edge is a non-repainting, multi-confirmation indicator that detects the first high-probability BUY & SELL signals using momentum, trend, volume, volatility, and price-action voting logic. 🧠 About This Indicator Quantum Edge – First Signal Detector is designed to solve one common trader problem: too many late or repeated signals. Instead of firing continuous entries, this indicator focuses only on the FIRST valid signal after a market shift — helping traders enter early, reduce noise, and avoid over-trading. It uses a quantum-style voting engine where multiple independent market factors must align before a signal is confirmed. ⚙️ Core Logic (How It Works) Each candle is evaluated using 6 independent factors: RSI Momentum Bullish when RSI > 50 Bearish when RSI < 40 Price Location Price near recent highs or lows Volume Expansion Current volume above moving average EMA Trend Direction EMA 20 vs EMA 50 Candle Strength Strong bullish or bearish candle bodies Volatility Filter ATR-based low volatility confirmation Each factor gives 1 vote. When minimum confirmations are met, a FIRST BUY or FIRST SELL signal is generated. 🚀 Key Features ✅ First-Signal-Only Logic Only the first BUY or SELL after trend change No repeated signals in the same direction Built-in signal cooldown (user-controlled) ✅ Non-Repainting Signals are confirmed on candle close No future data, no repainting ✅ Smart Trend Filtering EMA-based directional bias Avoids weak counter-trend entries ✅ Advanced Visual System Clear BUY / SELL triangles Trend, volume & momentum backgrounds Support & resistance zones Market sentiment bar coloring ✅ Alert Support Buy alert Sell alert 📊 Best Timeframes Scalping: 1m – 5m Intraday: 5m – 15m Swing Confirmation: 30m – 1H Works on: Forex Crypto Indices Stocks 🎯 How to Trade (Simple Guide) BUY Setup ✔ First BUY signal appears ✔ Trend is bullish ✔ Use nearby support as reference SELL Setup ✔ First SELL signal appears ✔ Trend is bearish ✔ Use nearby resistance as reference Always combine with risk management. Disclaimer: This indicator is for educational purposes only and does not constitute financial advice. Trading involves risk. Use proper risk management. Pine Script® indicatorby ChandraBose200235
True Daily EMAs (4) on Any ChartIt calculated the 4 EMAs based on days as input. Even on a weekly or monthly chart it shows 20/50/100/200 Day EMAs. Changing the time frame of chart does not effect the EMAsPine Script® indicatorby bsec_dpaul0
Daily EMA 9,21,50 with BandsCreated by Samsolid Daily EMAs on the chart 9/21/50 Bands on the 9/21Pine Script® indicatorby SamBadawiUpdated 5
EMA Strategy Flip/DCA + PnL (Aidan)This is a long only , trend focused EMA strategy designed for capital preservation and entries in sustained market movement, rather than short term trading. At its core, the system is intentionally simple: -Uses a dual EMA trend structure to identify bullish and bearish regimes -Avoids unnecessary exits when price action is indecisive -Emphasizes staying aligned with the larger market direction All of these characteristics inherently work best on longer time frames, I typically use the 1D view but have also tested in the 1W and 4H views as well. Philosophy 🧠 Markets do not move in clean, continuous trends. They alternate between: -Expansion (breakouts/breakdowns) -Compression (consolidation/chop) Most traditional EMA crossover strategies fail because they: -Overreact during consolidation -Constantly flip positions -Slowly bleed capital in sideways markets This indicator attempts to solve that issue by filtering how sell signals are treated depending on market behavior, rather than blindly acting on every crossover. These are denoted by the "weak sell" indications which are defined by the length of each EMA expansion period. HOW IT WORKS ⚙️ Buy Signals Buy signals are generated when the EMA structure flips bullish. On higher timeframes, these buys aim to align with broader market momentum, not short-term noise. Weak Sell vs Strong Sell Not every bearish EMA flip is treated equally. Short, flickering EMA flips (common in consolidation) are treated as “weak sells”, meaning the position is held. The length that defines each "weak sell" can be edited through settings under "flip-distance regime" if you so choose. I keep mine between 20-30 ticks. Capital is not forced out of the market prematurely. Only when an EMA move shows sufficient trend persistence does the indicator issue a strong sell, fully closing the position. DCA-Friendly by Design One of the strengths of this indicator is that it can be used in a dollar-cost-averaging (DCA) mindset. Some users may choose to: -Simply buy on each buy signal -Hold positions through weak sell periods -Use strong sell signals as higher-confidence exits This approach can be particularly effective for traders or investors with a long-term outlook who prefer gradual position building with less emotion on each buy. The amount of max tolerable DCA entries can be edited through settings (default 6) Best Practices & Usage Notes -This indicator performs best on 4H and 1D charts (be sure to note your "flip distance regime" in settings or the weak sell periods may be inaccurate) -Blue chip and macro markets prove to yield the most consistent results during back testing, although I've seen impressive results on volatile markets as well. -It is not designed for scalping or very low timeframes -No indicator is perfect — not every buy or sell will be optimal -For best results, it should be used alongside: -Higher-timeframe trend analysis -Market structure (higher highs / higher lows) -Macro context or sector strength -Your own risk management rules Think of this tool as a framework, not a prediction engine. When used with discipline and proper context, it can serve as a reliable indicator for traders focused on sustainable growth rather than constant activity. I am always open to suggestions on improvements; please feel free to comment below and let me know any ideas you might have for bettering the indicator, or if you just have questions I'll be happy to answer any! Good luck out there!!Pine Script® indicatorby Goosastupa27
RiskyInvesting Algo v1.0.0 - BasicA multi‑layer trend‑following and momentum‑confirmation system designed around dual adaptive baselines, and smart candle‑strength filtering. This indicator blends volatility‑based trailing logic with macro trend bias tools (EMA + SMMA) to identify clean directional flips and filter out weak signals. This indicator uses 5 parameters to determine the trend direction. Disclaimer: - Please use this in conjunction with other tools and confirmations. Labels are not meant to be used as financial advice. Core features include: - Two Adaptive Trailing Baselines: ATR‑adjusted equations (Parameter 1 & 2) that flip direction based on baseline breaks. - Directional Shift Detection: Buy markers on bullish dual‑baseline flip; sell markers on bearish dual‑baseline flip. - Trend Bias Filtering: Uses EMA vs SMMA relationship to color signals and provide market bias context. - Candle Strength Filter: Ensures signals only trigger on meaningful momentum candles relative to ATR. - Clean Visual Display: Auto‑coloring buy/sell labels, baseline plots, and signal triangles. 🟩/🟥 = Strong Directional Bias 🟦/🟧 = Neutral Directional Bias Built for traders who want a structured trend‑flip system that avoids noise, highlights strong directional moments, and maintains visual clarity even on volatile intraday charts.Pine Script® indicatorby RiskyInvestingUpdated 10
Triple EMA// Triple EMA indicator designed for TradingView free users. // Displays 3 standard EMAs in one indicator slot.Pine Script® indicatorby rendi_surya12
llama fixed-length moving averages [SMA, WMA]Llama Moving Averages I needed moving averages on my charts, but I wanted them hardcoded based on the following values: timframe --- MA length Daily --- 20D (==1 trading month) Weekly --- 30W (30W moving averages for assessing long term trends) 15m --- 1W (or 5 days) Two averages: EMA and WMA: fast moving and slow moving based on closes. In addition to this, I needed the following things: 1. MAs ONLY on 15m, 1D and 1W timeframes. 2. Consistent colors. 3. for 15m chart, we want a 5D SMA, so 1D = 15m * 25(±1); times 5; 25*5 = 125 4. Option to configure different values for the daily chart, since I trade the daily chart. Defaults: 20. If you were looking for something similar, enjoy! Pine Script® indicatorby wildhorse39