Glowing Moving Average Ribbon [icreature]Hi all, This version simply adds a glow effect to the MA ribbons for dark mode users. Enjoy!Pine Script® göstergesiicreature tarafından11
Follow The LineFollow The Line (FTL) is a trend-following indicator that plots a user-defined moving average on the chart and generates visual buy and sell signals based on price interaction with that line. The indicator allows the user to choose the moving average length, source, and type, including SMA, EMA, WMA, VWMA, RMA, and HMA, making it adaptable to different trading styles and timeframes. The plotted line dynamically changes color depending on whether the selected price source is above or below the moving average, providing immediate visual feedback on trend direction. Buy and sell signals are generated using crossover logic. A buy signal occurs when the selected price source crosses above the moving average, and a sell signal occurs when it crosses below. These signals are displayed directly on the chart as labeled markers, making it easy to identify potential entry points without additional indicators. The script includes an option to enable or disable these labels, as well as full customization of their colors. To prevent excessive chart clutter, the indicator uses an internal label management system that stores buy and sell labels in separate arrays and limits how many are displayed at any given time. By default, it keeps only the most recent ten buy signals and ten sell signals, automatically removing older labels as new ones appear. This keeps the chart clean while still preserving recent signal history for reference. Overall, Follow The Line is a clean and flexible moving average crossover tool that emphasizes simplicity and visual clarity. It works best in trending market conditions and can serve either as a standalone signal generator or as a foundation for more advanced strategies by layering in additional filters or confirmations.Pine Script® göstergesitgregg75 tarafındanGüncellendi 52
Super AlligatorSuper Alligator 🐊 — A Bill Williams Tribute Built on the shoulders of a legend. The Origin Bill Williams introduced the Alligator indicator in his 1995 book Trading Chaos as a way to identify trending markets and filter out the noise of consolidation. Three smoothed moving averages — offset forward in time — behave like the jaw, teeth, and lips of an alligator. When the lines are intertwined, the alligator sleeps. The market is ranging, there is no edge, and most traders are losing money fighting the noise. When the lines fan apart, the alligator is awake and feeding — a trend is in motion and momentum is real. Williams argued that up to 70% of price action is consolidation. The Alligator's job is to keep you out of it. In memory of Bill Williams (1932–2019) — trader, psychologist, and one of the most original thinkers in technical analysis. What Super Alligator Adds The classic Alligator tells you when a trend exists. Super Alligator adds two layers on top: 1. Gap-based momentum confirmation The distance between the closing candle and the green (Lips) line acts as a confirmation gate. The alligator opening its mouth is the setup. Price pulling away from the green line is the confirmation. You control exactly how much distance is required — meaning you control the sensitivity. 2. Intraday trend filters VWAP and a configurable SMA act as directional filters. Signals only fire when price is on the correct side of these levels, reducing counter-trend noise significantly. Signal Logic A BUY signal fires when all of the following are true: Lips (green) is above Jaw (blue) — bullish fan Close is above the green line by at least your gap threshold Close is above VWAP (if enabled) Close is above SMA (if enabled) A SELL signal fires when the inverse is true: Jaw (blue) is above Lips (green) — bearish fan Close is below the green line by at least your gap threshold Close is below VWAP (if enabled) Close is below SMA (if enabled) Signals fire once — on the first bar all conditions align. They do not repaint. The Gap Setting — Your Sensitivity Control The Min Gap (%) is the most important input. It scales automatically to whatever instrument you're trading. Futures: NQ (~25,000) — 0.10% = ~25 pts / 0.20% = ~50 pts / 0.30% = ~75 pts ES (~5,500) — 0.10% = ~5.5 pts / 0.20% = ~11 pts / 0.30% = ~16.5 pts Crypto: Bitcoin (~85,000) — 0.10% = ~$85 / 0.20% = ~$170 / 0.30% = ~$255 Forex: EUR/USD (~1.08) — 0.10% = ~10 pips / 0.20% = ~21 pips Equities/ETFs: SPY (~550) — 0.10% = ~$0.55 / 0.20% = ~$1.10 Start at 0.10% and adjust. Too many signals → increase. No signals → decrease. NOTE: The above are just examples. Not limited to just those examples. Filter Guide VWAP Filter Recommended ON for all intraday timeframes (1m through 1H). VWAP resets daily and represents the market's intraday fair value. Turn OFF on daily/weekly charts. SMA Filter OFF by default. Most useful on higher timeframes (4H, Daily) as a macro trend filter. On lower intraday timeframes a long-period SMA sits too far from price to be a useful signal filter — particularly for sells in instruments in long-term uptrends. If using intraday, reduce to 50–100. Recommended Starting Settings 1m – 5m charts: VWAP on / SMA off / Gap 0.05–0.10% 15m – 1H charts: VWAP on / SMA optional (50–100) / Gap 0.10–0.20% 4H – Daily charts: VWAP off / SMA on (200) / Gap 0.15–0.30% Notes This is a signal tool, not a trading system. Use it alongside your own levels, risk management, and market context. Signals do not repaint — they fire once and do not move. Built-in alerts for both BUY and SELL. Set them up via TradingView's alert system after adding to your chart. Works on all instruments and timeframes. Pine Script® göstergesiIamRu tarafından164
WN 5-20-50 SMA Setup (Discrete Lines = SL TP) Multiple Entries Pretty Simple Script as I got this idea from a YouTuber that showed us how to use AI to make TradingView Indicators. When the 5 day Simple Moving Average Goes Above the 20 day Simple Moving Average it issues a BUY Signal when the Trend itself is over the 50 day Simple Moving Average. When the 5 day Simple Moving Average Goes Below the 20 day Simple Moving Average it issues a SELL Signal when the Trend itself is under the 50 day Simple Moving Average. The Green Cloud Represents price over the 50 day Simple Moving Average. BUY signals will only show up in the green cloud. The Red Cloud Represents price under the 50 day Simple Moving Average. SELL signals will only show up in the green cloud. The lines represent Stop Loss and two Take Profit Levels. Take Profit 1 is 1.5x the stop loss and Take Profit 2 is 3x the Stop Loss. This version of the Script has multiple Trend signals for entries so you can scale into a trade when the Trend is being aggressive. Pine Script® göstergesiwnoor0304 tarafından2262
Goldencross & Deathcross Highlights (50/200 SMA) - Fixed dailyThis indicator visualizes major long-term trend shifts in the market by tracking the daily 50-day and 200-day Simple Moving Averages (SMAs) — regardless of your current chart timeframe. 🟩 A green flash (Golden Cross) appears when the 50-day SMA crosses above the 200-day SMA — signaling potential long-term bullish momentum. 🟥 A red flash (Death Cross) appears when the 50-day SMA crosses below the 200-day SMA — suggesting potential long-term bearish pressure. Unlike typical SMA overlays, this script: • Pulls daily data directly (fixed to daily timeframe) • Works cleanly on any chart timeframe (5m, 1h, 4h, etc.) • Avoids clutter by hiding moving average lines • Shows only short, subtle flashes and one clean marker per event Pine Script® göstergesiKOPlacidusax tarafından27
Daily/Weekly EMAs on Lower TimeframesThis indicator allows traders to view Daily and Weekly EMAs (Exponential Moving Averages) directly on lower timeframes such as 1m, 5m, 15m, or 1h charts — providing a higher timeframe perspective without switching charts. The script includes individual checkboxes for each EMA length — 5, 8, 9, 21, 50, and 200 — organized into two clear sections: 🟢 Daily EMAs 🔵 Weekly EMAs You can selectively enable or disable any EMA to match your trading style and reduce chart clutter. Each EMA is color-coded for clarity and consistency: 5 EMA: Green 8 EMA: Blue 9 EMA: Blue 21 EMA: Orange 50 EMA: Purple 200 EMA: Red Weekly EMAs appear slightly transparent to distinguish them from daily ones. This makes it easy to visualize higher timeframe trend direction, confluence zones, and dynamic support/resistance levels while trading intraday. 💡 Key Features View Daily and Weekly EMAs on smaller timeframes. Individual checkbox toggles for all 6 EMA lengths. Separate sections for Daily and Weekly EMAs. Color-coded lines for easy visual recognition. Works seamlessly on any symbol or timeframe below Daily. Pine Script® göstergesipavankjadda tarafındanGüncellendi 7768
Best MA Finder: Sharpe/Sortino ScannerThis script, Best MA Finder: Sharpe/Sortino Scanner, is a tool designed to identify the moving average (SMA or EMA) that best acts as a dynamic trend threshold on a chart, based on risk-adjusted historical performance. It scans a wide range of MA lengths (SMA or EMA) and selects the one whose simple price vs MA crossover delivered the strongest results using either the Sharpe ratio or the Sortino ratio. Reading it is intuitive: when price spent time above the selected MA, conditions were on average more favorable in the backtest; below, less favorable. It is a trend and risk gauge, not an overbought or oversold signal. What it does: - Runs individual long-only crossover backtests for many MA lengths across short to very long horizons. - For each length, measures the total number of trades, the annualized Sharpe ratio, and the annualized Sortino ratio. - Uses the chosen metric value (Sharpe or Sortino) as the score to rank candidates. - Applies a minimum trade filter to discard statistically weak results. - Optionally applies a local stability filter to prefer a length that also outperforms its close neighbors by at least a small margin. - Selects the optimal MA and displays it on the chart with a concise summary table. How to use it: - Choose MA type: SMA or EMA. - Choose the metric: Sharpe or Sortino. - Set the minimum trade count to filter out weak samples. - Select the risk-free mode: Auto: uses a short-term risk-free rate for USD-priced symbols when available. Manual: you provide a risk-free ticker. None: no risk-free rate. - Optionally enable stability controls: neighbor radius and epsilon. - Toggle the on-chart summary table as needed. On-chart output: - The selected optimal MA is plotted. - The optional table shows MA length, number of trades, chosen metric value annualized, and the annual risk-free rate used. Key features: - Risk-adjusted optimization via Sharpe or Sortino for fair, comparable assessment. - Broad MA scan with SMA and EMA support. - Optional stability filter to avoid one-off spikes. - Clear and auditable presentation directly on the chart. Use cases: - Traders who want a defensible, data-driven trend threshold without manual trial and error. - Swing and trend-following workflows across timeframes and asset classes. - Quick SMA vs EMA comparisons using risk-adjusted results. Limitations: - Not a full trading strategy with position sizing, costs, funding, slippage, or stops. - Long-only, one position at a time. - Discrete set of MA lengths, not a continuous optimizer. - Requires sufficient price history and, if used, a reliable risk-free series. This script is open-source and built from original logic. It does not replicate closed-source scripts or reuse significant external components. Pine Script® göstergesiJulien_Exe tarafından22248
Trend Pro V2 [CRYPTIK1]Introduction: What is Trend Pro V2? Welcome to Trend Pro V2! This analysis tool give you at-a-glance understanding of the market's direction. In a noisy market, the single most important factor is the dominant trend. Trend Pro V2 filters out this noise by focusing on one core principle: trading with the primary momentum. Instead of cluttering your chart with confusing signals, this indicator provides a clean, visual representation of the trend, helping you make more confident and informed trading decisions. The dashboard provides a simple, color-coded view of the trend across multiple timeframes. The Core Concept: The Power of Confluence The strength of any trading decision comes from confluence—when multiple factors align. Trend Pro V2 is built on this idea. It uses a long-term moving average (200-period EMA by default) to define the primary trend on your current chart and then pulls in data from three higher timeframes to confirm whether the broader market agrees. When your current timeframe and the higher timeframes are all aligned, you have a state of "confluence," which represents a higher-probability environment for trend-following trades. Key Features 1. The Dynamic Trend MA: The main moving average on your chart acts as your primary guide. Its color dynamically changes to give you an instant read on the market. Teal MA: The price is in a confirmed uptrend (trading above the MA). Pink MA: The price is in a confirmed downtrend (trading below the MA). The moving average changes color to instantly show you if the trend is bullish (teal) or bearish (pink). 2. The Multi-Timeframe (MTF) Trend Dashboard: Located discreetly in the bottom-right corner, this dashboard is your window into the broader market sentiment. It shows you the trend status on three customizable higher timeframes. Teal Box: The trend is UP on that timeframe. Pink Box: The trend is DOWN on that timeframe. Gray Box: The price is neutral or at the MA on that timeframe. How to Use Trend Pro V2: A Simple Framework Step 1: Identify the Primary Trend Look at the color of the MA on your chart. This is your starting point. If it's teal, you should generally be looking for long opportunities. If it's pink, you should be looking for short opportunities. Step 2: Check for Confluence Glance at the MTF Trend Dashboard. Strong Confluence (High-Probability): If your main chart shows an uptrend (Teal MA) and the dashboard shows all teal boxes, the market is in a strong, unified uptrend. This is a high-probability environment to be a buyer on dips. Weak or No Confluence (Caution Zone): If your main chart shows an uptrend, but the dashboard shows pink or gray boxes, it signals disagreement among the timeframes. This is a sign of market indecision and a lower-probability environment. It's often best to wait for alignment. Here, the daily trend is down, but the MTF dashboard shows the weekly trend is still up—a classic sign of weak confluence and a reason for caution. Best Practices & Settings Timeframe Synergy: For best results, use Trend Pro on a lower timeframe and set your dashboard to higher timeframes. For example, if you trade on the 1-hour chart, set your MTF dashboard to the 4-hour, 1-day, and 1-week. Use as a Confirmation Tool: Trend Pro V2 is designed as a foundational layer for your analysis. First, confirm the trend, then use your preferred entry method (e.g., support/resistance, chart patterns) to time your trade. This is a tool for the community, so feel free to explore the open-source code, adapt it, and build upon it. Happy trading! For your consideration @TradingView Pine Script® göstergesiCRYPTIK1 tarafından176
SMA Vertical OffsetThis Indicator allow you to adjust the SMA offset vertically instead of horizontallyPine Script® göstergesiDramaKingzz tarafından8
Multiple Colored Moving AveragesMULTIPLE COLORED MOVING AVERAGES - USER GUIDE DISCLAIMER ---------- Both the code and this documentation were created heavily using artificial intelligence. I'm lazy... This indicator was inspired by repo32's "Moving Average Colored EMA/SMA" indicator. * What is this indicator? ----------------------- This is a TradingView indicator that displays up to 4 different moving averages on your chart simultaneously. Each moving average can be customized with different calculation methods, colors, and filtering options. Why would I use multiple moving averages? ----------------------------------------- - See trend direction across different timeframes at once - Identify support and resistance levels - Spot crossover signals between fast and slow MAs - Reduce false signals with filtering options - Compare how different MA types react to price action What moving average types are available? ---------------------------------------- 11 different types: - SMA: Simple average, equal weight to all periods - EMA: Exponential, more weight to recent prices - WMA: Weighted, linear weighting toward recent data - RMA: Running average, smooth like EMA - DEMA: Double exponential, reduced lag - TEMA: Triple exponential, even less lag - HMA: Hull, fast and smooth combination - VWMA: Volume weighted, includes volume data - LSMA: Least squares, based on linear regression - TMA: Triangular, double-smoothed - ZLEMA: Zero lag exponential, compensated for lag How do I set up the indicator? ------------------------------ Each MA has these settings: - Enable/Disable: Turn each MA on or off - Type: Choose from the 11 calculation methods - Length: Number of periods (21, 50, 100, 200 are common) - Smoothing: 0-10 levels of extra smoothing - Noise Filter: 0-5% to ignore small changes - Colors: Bullish (rising) and bearish (falling) colors - Line Width: 1-5 pixels thickness What does the smoothing feature do? ----------------------------------- Smoothing applies extra calculations to make the moving average line smoother. Higher levels reduce noise but make the MA respond slower to price changes. Use higher smoothing in choppy markets, lower smoothing in trending markets. What is the noise filter? -------------------------- The noise filter ignores small percentage changes in the moving average. For example, a 0.3% filter will ignore any MA movement smaller than 0.3%. This helps eliminate false signals from minor price fluctuations. When should I use this indicator? --------------------------------- - Trend analysis: See if market is going up, down, or sideways - Entry timing: Look for price bounces off MA levels - Exit signals: Watch for MA slope changes or crossovers - Support/resistance: MAs often act as dynamic levels - Multi-timeframe analysis: Use different lengths for different perspectives What are some good settings to start with? ------------------------------------------- Conservative approach: - MA 1: EMA 21 (short-term trend) - MA 2: SMA 50 (medium-term trend) - MA 3: SMA 200 (long-term trend) - Low noise filtering (0.1-0.3%) Active trading: - MA 1: HMA 9 (very responsive) - MA 2: EMA 21 (short-term) - MA 3: EMA 50 (medium-term) - Minimal or no smoothing How do I interpret the colors? ------------------------------ Each MA changes color based on its direction: - Bullish color: MA is rising (upward trend) - Bearish color: MA is falling (downward trend) - Gray: MA is flat or unchanged What should I look for in crossovers? ------------------------------------- - Golden Cross: Fast MA crosses above slow MA (bullish signal) - Death Cross: Fast MA crosses below slow MA (bearish signal) - Multiple crossovers in same direction can confirm trend changes - Wait for clear separation between MAs after crossover How do I use MAs for support and resistance? --------------------------------------------- - In uptrends: MAs often provide support when price pulls back - In downtrends: MAs may act as resistance on rallies - Multiple MAs create support/resistance zones - Stronger levels where multiple MAs cluster together Can I use this with other indicators? ------------------------------------- Yes, it works well with: - Volume indicators for confirmation - RSI or MACD for timing entries - Bollinger Bands for volatility context - Price action patterns for setup confirmation What if I get too many signals? ------------------------------- - Increase smoothing levels - Raise noise filter percentages - Use longer MA periods - Focus on major crossovers only - Wait for multiple MA confirmation What if signals are too slow? ----------------------------- - Reduce smoothing to 0 - Lower noise filter values - Switch to faster MA types (HMA, ZLEMA, DEMA) - Use shorter periods - Focus on the fastest MA only Which MA types work best in different markets? ---------------------------------------------- Trending markets: EMA, DEMA, TEMA (responsive to trends) Choppy markets: SMA, TMA, HMA with smoothing (less whipsaws) High volatility: Use higher smoothing and noise filtering Low volatility: Use minimal filtering for better responsiveness Do I need all the advanced features? ------------------------------------ No. Start with basic settings: - Choose MA type and length - Set colors you prefer - Leave smoothing at 0 - Leave noise filter at 0 Add complexity only if needed to improve signal quality. How do I know if my settings are working? ----------------------------------------- - Backtest on historical data - Paper trade the signals first - Adjust based on market conditions - Keep a trading journal to track performance - Be willing to modify settings as markets change Can I save different configurations? ------------------------------------ Yes, save different indicator templates in TradingView for: - Different trading styles (scalping, swing trading) - Different market conditions (trending, ranging) - Different instruments (stocks, forex, crypto)Pine Script® göstergesioozzzaa tarafından41
NY Anchored VWAP and Auto SMANY Anchored VWAP and Auto SMA This script is a versatile trading indicator for the TradingView platform that combines two powerful components: a New York-anchored Volume-Weighted Average Price (VWAP) and a dynamic Simple Moving Average (SMA). Designed for traders who utilize VWAP for intraday trend analysis, this tool provides a clear visual representation of average price and volatility-adjusted moving averages, generating automated alerts for key crossover signals. Indicator Components 1. NY Anchored VWAP The VWAP is a crucial tool that represents the average price of a security adjusted for volume. This version is "anchored" to the start of the New York trading session, resetting at the beginning of each new session. This provides a clean, session-specific anchor point to gauge market sentiment and trend. The VWAP line changes color to reflect its slope: Green: When the VWAP is trending upwards, indicating a bullish bias. Red: When the VWAP is trending downwards, indicating a bearish bias. 2. Auto SMA The Auto SMA is a moving average with a unique twist: its lookback period is not fixed. Instead, it dynamically adjusts based on market volatility. The script measures volatility using the Average True Range (ATR) and a Z-Score calculation. When volatility is expanding, the SMA's length shortens, making it more sensitive to recent price changes. When volatility is contracting, the SMA's length lengthens, smoothing out the price action to filter out noise. This adaptive approach allows the SMA to react appropriately to different market conditions. Suggested Trading Strategy This indicator is particularly effective when used on a one-minute chart for identifying high-probability trade entries. The core of the strategy is to trade the crossover between the VWAP and the Auto SMA, with confirmation from a candle close. The strategy works best when the entry signal aligns with the overall bias of the higher timeframe market structure. For example, if the daily or 4-hour chart is in an uptrend, you would look for bullish signals on the one-minute chart. Bullish Entry Signal: A potential entry is signaled when the VWAP crosses above the Auto SMA, and is confirmed when the one-minute candle closes above both the VWAP and the SMA. This indicates a potential continuation of the bullish momentum. Bearish Entry Signal: A potential entry is signaled when the VWAP crosses below the Auto SMA, and is confirmed when the one-minute candle closes below both the VWAP and the SMA. This indicates a potential continuation of the bearish momentum. The built-in alerts for these crossovers allow you to receive notifications without having to constantly monitor the charts, ensuring you don't miss a potential setup.Pine Script® göstergesiimmediatePerso44773 tarafından1160
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.Pine Script® göstergesidrashtayoga11 tarafındanGüncellendi 22163
Stochastic and RSI2 entriesStochastic and RSI2 entries, v1.0 This indicator combines Stochastic and RSI to facilitate "RSI2" entry signals. Buy signals will be shown at the bottom. The default configuration uses non-standard settings for the underlying indicators to tailor it for this type of entry strategy. This is an entry strategy that tries to find entries close to "the dip". A combination of Stochastic crossovers, VWAP, daily SMA50 and daily SMA200 are used to verify buy signals. This indicator is written for bullish signals and aims to find the start of short trends or cheap entries for longer positions. Like with any strategy, some signals will be false, and the user is advised to do some own research before using the buy signals for actual entries. Happy trading!Pine Script® göstergesiinfoq1suh tarafındanGüncellendi 115
Easy MA SignalsEasy MA Signals Overview Easy MA Signals is a versatile Pine Script indicator designed to help traders visualize moving average (MA) trends, generate buy/sell signals based on crossovers or custom price levels, and enhance chart analysis with volume-based candlestick coloring. Built with flexibility in mind, it supports multiple MA types, crossover options, and customizable signal appearances, making it suitable for traders of all levels. Whether you're a day trader, swing trader, or long-term investor, this indicator provides actionable insights while keeping your charts clean and intuitive. Configure the Settings The indicator is divided into three input groups for ease of use: General Settings: Candlestick Color Scheme: Choose from 10 volume-based color schemes (e.g., Sapphire Pulse, Emerald Spark) to highlight high/low volume candles. Select “None” for TradingView’s default colors. Moving Average Length: Set the MA period (default: 20). Adjust for faster (lower values) or slower (higher values) signals. Moving Average Type: Choose between SMA, EMA, or WMA (default: EMA). Show Buy/Sell Signals: Enable/disable signal plotting (default: enabled). Moving Average Crossover: Select a crossover type (e.g., MA vs VWAP, MA vs SMA50) for signals or “None” to disable. Volume Influence: Adjust how volume impacts candlestick colors (default: 1.2). Higher values make thresholds stricter. Signal Appearance Settings: Buy/Sell Signal Shape: Choose shapes like triangles, arrows, or labels for signals. Buy/Sell Signal Position: Place signals above or below bars. Buy/Sell Signal Color: Customize colors for better visibility (default: green for buy, red for sell). Custom Price Alerts: Custom Buy/Sell Alert Price: Set specific price levels for alerts (default: 0, disabled). Enter a non-zero value to enable. Set Up Alerts To receive notifications (e.g., sound, popup, email) when signals or custom price levels are hit: Click the Alert button (alarm clock icon) in TradingView. Select Easy MA Signals as the condition and choose one of the four alert types: MA Crossover Buy Alert: Triggers on MA crossover buy signals. MA Crossover Sell Alert: Triggers on MA crossover sell signals. Custom Buy Alert: Triggers when price crosses above the custom buy price. Custom Sell Alert: Triggers when price crosses below the custom sell price. Enable Play Sound and select a sound (e.g., “Bell”). Set the frequency (e.g., Once Per Bar Close for confirmed signals) and create the alert. Analyze the Chart Moving Average Line: Displays the selected MA with color changes (green for bullish, red for bearish, gray for neutral) based on price position relative to the MA. Buy/Sell Signals: Appear as shapes or labels when crossovers or custom price levels are hit. Candlestick Colors: If a color scheme is selected, candles change color based on volume strength (high, low, or neutral), aiding in trend confirmation. Why Use Easy MA Signals? Easy MA Signals is designed to simplify technical analysis while offering advanced customization. It’s ideal for traders who want: A clear visualization of MA trends and crossovers. Flexible signal generation based on MA crossovers or custom price levels. Volume-enhanced candlestick coloring to identify market strength. Easy-to-use settings with tooltips for beginners and pros alike. This script is particularly valuable because it combines multiple features into one indicator, reducing chart clutter and providing actionable insights without overwhelming the user. Benefits of Easy MA Signals Highly Customizable: Supports SMA, EMA, and WMA with adjustable lengths. Offers multiple crossover options (VWAP, SMA10, SMA20, etc.) for tailored strategies. Custom price alerts allow precise targeting of key levels. Volume-Based Candlestick Coloring: 10 unique color schemes highlight volume strength, helping traders confirm trends. Adjustable volume influence ensures adaptability to different markets. Flexible Signal Visualization: Choose from various signal shapes (triangles, arrows, labels) and positions (above/below bars). Customizable colors improve visibility on any chart background. Alert Integration: Built-in alert conditions for crossovers and custom prices support sound, email, and app notifications. Easy setup for real-time trading decisions. User-Friendly Design: Organized input groups with clear tooltips make configuration intuitive. Suitable for beginners and advanced traders alike. Example Use Cases Swing Trading with MA Crossovers: Scenario: A trader wants to trade Bitcoin (BTC/USD) on a 4-hour chart using an EMA crossover strategy. Setup: Set Moving Average Type to EMA, Length to 20. Set Moving Average Crossover to “MA vs SMA50”. Enable Show Buy/Sell Signals and choose “arrowup” for buy, “arrowdown” for sell. Select “Emerald Spark” for candlestick colors to highlight volume surges. Usage: Buy when the EMA20 crosses above the SMA50 (green arrow appears) and volume is high (dark green candles). Sell when the EMA20 crosses below the SMA50 (red arrow). Set alerts for real-time notifications. Scalping with Custom Price Alerts: Scenario: A day trader monitors Tesla (TSLA) on a 5-minute chart and wants alerts at specific support/resistance levels. Setup: Set Custom Buy Alert Price to 150.00 (support) and Custom Sell Alert Price to 160.00 (resistance). Use “labelup” for buy signals and “labeldown” for sell signals. Keep Moving Average Crossover as “None” to focus on price alerts. Usage: Receive a sound alert and label when TSLA crosses 150.00 (buy) or 160.00 (sell). Use volume-colored candles to confirm momentum before entering trades. When NOT to Use Easy MA Signals High-Frequency Trading: Reason: The indicator relies on moving averages and volume, which may lag in ultra-fast markets (e.g., sub-second trades). High-frequency traders may need specialized tools with real-time tick data. Alternative: Use order book or market depth indicators for faster execution. Low-Volatility or Sideways Markets: Reason: MA crossovers and custom price alerts can generate false signals in choppy, range-bound markets, leading to whipsaws. Alternative: Use oscillators like RSI or Bollinger Bands to trade within ranges. This indicator is tailored more towards less experienced traders. And as always, paper trade until you are comfortable with how this works if you're unfamiliar with trading! We hope you enjoy this and have great success. Thanks for your interested in Easy MA Signals! Pine Script® göstergesithisgirl tarafından134
Panic Drop Stock Market Bull/Bear Market Panic Drop Bull/Bear What It Does: This indicator identifies bull and bear markets for the S&P 500 (or any stock/index) using the 50-period and 150-period Simple Moving Averages (SMAs). A green background signals a confirmed bull market when the 50 SMA is above the 150 SMA and the 150 SMA slope is flat or upward. A red background signals a confirmed bear market when the 50 SMA is below the 150 SMA and the 150 SMA slope is downward. The background color persists until a new confirmed state is detected, ensuring no gaps—perfect for spotting long-term market trends whether you’re a beginner, trend trader, or long-term investor. Key Features: Plots 50 SMA (default: blue line) and 150 SMA (default: orange line). Background highlights: green for bull markets, red for bear markets. Persistent background color—no gaps during unconfirmed periods. Alerts for confirmed bull and bear market transitions. Fully adjustable: MA periods, slope lookback, and more. How to Use It: Add to your S&P 500 chart (e.g., SPX or SPY) on a daily or weekly timeframe (daily default recommended for long-term trends). Watch for background color changes: Green background: Confirmed bull market—consider long positions or holding. Red background: Confirmed bear market—consider shorting or exiting longs. Customize via settings: Adjust MA periods (default: 50 and 150). Set slope lookback (default: 5 bars) to control slope sensitivity. Change MA colors if desired. Set alerts: Right-click on the chart > "Add Alert" > Select "Bull Market Confirmed" or "Bear Market Confirmed." Trade smart: Use the background to confirm market regimes—e.g., go long during green (bull) phases above key support levels, or protect capital during red (bear) phases. Why It’s Great: Beginners: Simple background colors make market trends easy to spot. Trend Traders: 50/150 SMA crossover with slope confirmation catches major market shifts. Long-Term Investors: Persistent background ensures you stay in the trend without noise. Created by Timothy Assi (Panic Drop), eToro’s elite investor. Test it, tweak it, and trade with confidence! Pine Script® göstergesiPanic_Drop tarafından21
Sma Indicator with Ratio (pr)SMA Indicator with Ratio (PR) is a technical analysis tool designed to provide insights into the relationship between multiple Simple Moving Averages (SMAs) across different time frames. This indicator combines three key SMAs: the 111-period SMA, 730-period SMA, and 1400-period SMA. Additionally, it introduces a ratio-based approach, where the 730-period SMA is multiplied by factors of 2, 3, 4, and 5, allowing users to analyze potential market trends and price movements in relation to different SMA levels. What Does This Indicator Do? The primary function of this indicator is to track the movement of prices in relation to several SMAs with varying periods. By visualizing these SMAs, users can quickly identify: Short-term trends (111-period SMA) Medium-term trends (730-period SMA) Long-term trends (1400-period SMA) Additionally, the multiplied versions of the 730-period SMA provide deeper insights into potential price reactions at different levels of market volatility. How Does It Work? The 111-period SMA tracks the shorter-term price trend and can be used for identifying quick market movements. The 730-period SMA represents a longer-term trend, helping users gauge overall market sentiment and direction. The 1400-period SMA acts as a very long-term trend line, giving users a broad perspective on the market’s movement. The ratio-based SMAs (2x, 3x, 4x, 5x of the 730-period SMA) allow for an enhanced understanding of how the price reacts to higher or lower volatility levels. These ratios are useful for identifying key support and resistance zones in a dynamic market environment. Why Use This Indicator? This indicator is useful for traders and analysts who want to track the interaction of price with different moving averages, enabling them to make more informed decisions about potential trend reversals or continuations. The added ratio-based values enhance the ability to predict how the market might react at different levels. How to Use It? Trend Confirmation: Traders can use the indicator to confirm the direction of the market. If the price is above the 111, 730, or 1400-period SMA, it may indicate an uptrend, and if below, a downtrend. Support/Resistance Levels: The multiplied versions of the 730-period SMA (2x, 3x, 4x, 5x) can be used as dynamic support or resistance levels. When the price approaches or crosses these levels, it might indicate a change in the trend. Volatility Insights: By observing how the price behaves relative to these SMAs, traders can gauge market volatility. Higher multiples of the 730-period SMA can signal more volatile periods where price movements are more pronounced. Pine Script® göstergesipozitifnegatifuyumsuzluk tarafından28
Simple Moving Average with Regime Detection by iGrey.TradingThis indicator helps traders identify market regimes using the powerful combination of 50 and 200 SMAs. It provides clear visual signals and detailed metrics for trend-following strategies. Key Features: - Dual SMA System (50/200) for regime identification - Colour-coded candles for easy trend visualisation - Metrics dashboard Core Signals: - Bullish Regime: Price < 200 SMA - Bearish Regime: Price > 200 SMA - Additional confirmation: 50 SMA Cross-over or Cross-under (golden cross or death cross) Metrics Dashboard: - Current Regime Status (Bull/Bear) - SMA Distance (% from price to 50 SMA) - Regime Distance (% from price to 200 SMA) - Regime Duration (bars in current regime) Usage Instructions: 1. Apply the indicator to your chart 2. Configure the SMA lengths if desired (default: 50/200) 3. Monitor the color-coded candles: - Green: Bullish regime - Red: Bearish regime 4. Use the metrics dashboard for detailed analysis Settings Guide: - Length: Short-term SMA period (default: 50) - Source: Price calculation source (default: close) - Regime Filter Length: Long-term SMA period (default: 200) - Regime Filter Source: Price source for regime calculation (default: close) Trading Tips: - Use bullish regimes for long positions - Use bearish regimes for capital preservation or short positions - Consider regime duration for trend strength - Monitor distance metrics for potential reversals - Combine with other systems for confluence #trend-following #moving average #regime #sma #momentum Risk Management: - Not a standalone trading system - Should be used with proper position sizing - Consider market conditions and volatility - Always use stop losses Best Practices: - Monitor multiple timeframes - Use with other confirmation tools - Consider fundamental factors Version: 1.0 Created by: iGREY.Trading Release Notes // v1.1 Allows table overlay customisation // v1.2 Update to v6 pinescriptPine Script® göstergesiigreycrypto tarafından55493
Dual Strategy Selector V2 - CryptogyaniOverview: This script provides traders with a dual-strategy system that they can toggle between using a simple dropdown menu in the input settings. It is designed to cater to different trading styles and needs, offering both simplicity and advanced filtering techniques. The strategies are built around moving average crossovers, enhanced by configurable risk management tools like take profit levels, trailing stops, and ATR-based stop-loss. Key Features: Two Strategies in One Script: Strategy 1: A classic moving average crossover strategy for identifying entry signals based on trend reversals. Includes user-defined take profit and trailing stop-loss options for profit locking. Strategy 2: An advanced trend-following system that incorporates: A higher timeframe trend filter to confirm entry signals. ATR-based stop-loss for dynamic risk management. Configurable partial take profit to secure gains while letting the trade run. Highly Customizable: All key parameters such as SMA lengths, take profit levels, ATR multiplier, and timeframe for the trend filter are adjustable via the input settings. Dynamic Toggle: Traders can switch between Strategy 1 and Strategy 2 with a single dropdown, allowing them to adapt the strategy to market conditions. How It Works: Strategy 1: Entry Logic: A long trade is triggered when the fast SMA crosses above the slow SMA. Exit Logic: The trade exits at either a user-defined take profit level (percentage or pips) or via an optional trailing stop that dynamically adjusts based on price movement. Strategy 2: Entry Logic: Builds on the SMA crossover logic but adds a higher timeframe trend filter to align trades with the broader market direction. Risk Management: ATR-Based Stop-Loss: Protects against adverse moves with a volatility-adjusted stop-loss. Partial Take Profit: Allows traders to secure a percentage of gains while keeping some exposure for extended trends. How to Use: Select Your Strategy: Use the dropdown in the input settings to choose Strategy 1 or Strategy 2. Configure Parameters: Adjust SMA lengths, take profit, and risk management settings to align with your trading style. For Strategy 2, specify the higher timeframe for trend filtering. Deploy and Monitor: Apply the script to your preferred asset and timeframe. Use the backtest results to fine-tune settings for optimal performance. Why Choose This Script?: This script stands out due to its dual-strategy flexibility and enhanced features: For beginners: Strategy 1 provides a simple yet effective trend-following system with minimal setup. For advanced traders: Strategy 2 includes powerful tools like trend filters and ATR-based stop-loss, making it ideal for challenging market conditions. By combining simplicity with advanced features, this script offers something for everyone while maintaining full transparency and user customization. Default Settings: Strategy 1: Fast SMA: 21, Slow SMA: 49 Take Profit: 7% or 50 pips Trailing Stop: Optional (disabled by default) Strategy 2: Fast SMA: 20, Slow SMA: 50 ATR Multiplier: 1.5 Partial Take Profit: 50% Higher Timeframe: 1 Day (1D)Pine Script® stratejisiCrypto-Gyani tarafından94
S&P Short-Range Oscillator**SHOULD BE USED ON THE S&P 500 ONLY** The S&P Short-Range Oscillator (SRO), inspired by the principles of Jim Cramer's oscillator, is a technical analysis tool designed to help traders identify potential buy and sell signals in the stock market, specifically for the S&P 500 index. The SRO combines several market indicators to provide a normalized measure of market sentiment, assisting traders in making informed decisions. The SRO utilizes two simple moving averages (SMAs) of different lengths: a 5-day SMA and a 10-day SMA. It also incorporates the daily price change and market breadth (the net change of closing prices). The 5-day and 10-day SMAs are calculated based on the closing prices. The daily price change is determined by subtracting the opening price from the closing price. Market breadth is calculated as the difference between the current closing price and the previous closing price. The raw value of the oscillator, referred to as SRO Raw, is the sum of the daily price change, the 5-day SMA, the 10-day SMA, and the market breadth. This raw value is then normalized using its mean and standard deviation over a 20-day period, ensuring that the oscillator is centered and maintains a consistent scale. Finally, the normalized value is scaled to fit within the range of -15 to 15. When interpreting the SRO, a value below -5 indicates that the market is potentially oversold, suggesting it might be a good time to start buying stocks as the market could be poised for a rebound. Conversely, a value above 5 suggests that the market is potentially overbought. In this situation, it may be prudent to hold on to existing positions or consider selling if you have substantial gains. The SRO is visually represented as a blue line on a chart, making it easy to track its movements. Red and green horizontal lines mark the overbought (5) and oversold (-5) levels, respectively. Additionally, the background color changes to light red when the oscillator is overbought and light green when it is oversold, providing a clear visual cue. By incorporating the S&P Short-Range Oscillator into your trading strategy, you can gain valuable insights into market conditions and make more informed decisions about when to buy, sell, or hold your stocks. However, always consider other market factors and perform your own analysis before making any trading decisions. The S&P Short-Range Oscillator is a powerful tool for traders looking to gain insights into market sentiment. It provides clear buy and sell signals through its combination of multiple indicators and normalization process. However, traders should be aware of its lagging nature and potential complexity, and use it in conjunction with other analysis methods for the best results. Disclaimer The S&P Short-Range Oscillator is for informational purposes only and should not be considered financial advice. Trading involves risk, and you should conduct your own research or consult a financial advisor before making investment decisions. The author is not responsible for any losses incurred from using this indicator. Use at your own risk.Pine Script® göstergesiScatman_Jeff tarafındanGüncellendi 44305
Multiple Instrument Automation ScreenerI have developed a Pine Script indicator on TradingView designed to demonstrate how to automate execution for ten instruments. This example utilizes a straightforward, Simple Moving Average (SMA) indicator. You can use it as a template, but use your indicator. The indicator computes long/short signals based on the crossing of the SMA using the security function It acts as a screener, presenting calculation results in an organized table format. Utilizing the varip variable, the indicator sends alerts for multiple instruments sequentially rather than simultaneously. For every generated signal, the indicator builds and sends a JSON execution command to a third-party tool, ensuring seamless integration and automation. You can use your own format. Sent alerts look like this: {"ticker": "DOGEBTC","action": "buy","price": "0.00000199","time": "1719754620658"} Details and Limitations Instrument Limit: The example is configured for ten instruments for simplicity. However, it can be expanded to handle up to 40 instruments. Alert Rate Limit: There is a rate limit of 15 alerts in 3 minutes. Exceeding this limit may cause some alerts to be stopped. This can be managed by tracking the alert times and delaying some alerts, though this may affect the entry prices. Timing of Signal Generation : The indicator processes signals at the bar close to the active instrument. Due to its computational complexity, there is a slight delay in collecting all records, potentially causing signals to reflect a few seconds before the bar closes. Care should be taken when executing based on these signals. Disclaimer Please remember that past performance may not be indicative of future results. Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting. This post and the script don’t provide any financial advice. Pine Script® göstergesiQuantNomad tarafından33427
Market Average TrendThis indicator aims to be complimentary to SPDR Tracker , but I've adjusted the name as I've been able to utilize the "INDEX" data provider to support essentially every US market. This is a breadth market internal indicator that allows quick review of strength given the 5, 20, 50, 100, 150 and 200 simple moving averages. Each can be toggled to build whatever combinations are desired, I recommend reviewing classic combinations such as 5 & 20 as well as 50 & 200. It's entirely possible that I've missed some markets that "INDEX" provides data for, if you find any feel free to drop a comment and I'll add support for them in an update. Markets currently supported: S&P 100 S&P 500 S&P ENERGIES S&P INFO TECH S&P MATERIALS S&P UTILITIES S&P FINANCIALS S&P REAL ESTATE S&P CON STAPLES S&P HEALTH CARE S&P INDUSTRIALS S&P TELECOM SRVS S&P CONSUMER DISC S&P GROWTH NAS 100 NAS COMP DOW INDUSTRIAL DOW COMP DOW UTILITIES DOW TRANSPORTATION RUSSELL 1000 RUSSELL 2000 RUSSELL 3000 You can utilize this to watch stocks for dip buys or potential trend continuation entries, short entries, swing exits or numerous other portfolio management strategies. If using it with stocks, it's advisable to ensure the stock often follows the index, otherwise obviously it's great to use with major indexes and determine holdings sentiment. Important! The "INDEX" data provider only supplies updates to all of the various data feeds at the end of day, I've noticed quite some delays even after market close and not taken time to review their actual update schedule (if even published). Therefore, it's strongly recommended to mostly ignore the last value in the series until it's the day after. Only works on daily timeframes and above, please don't comment that it's not working if on other timeframes lower than daily :) Feedback and suggestions are always welcome, enjoy!Pine Script® göstergesiTradeSeekers tarafından1111130
3x MTF MACD v3.0MACD's on 3 different Time Frames Indicator Information - Each Time Frame shows start of Trend and end of trend of the MACD vs the Signal Cross - They are labled 1,2,3 with respective up or down triangle for possible direction. User Inputs - configure the indicator by specifying various inputs. These inputs include colors for bullish and bearish conditions, the time frame to use, whether to show a Simple Moving Average (SMA) line, and other parameters. - Users can choose time frames for analysis (like 30 minutes, 1 hour, etc.) but they must be in mintues. - The code also allows users to customize how the indicator looks on the chart by providing options for position and color. Main Calculations - The script calculates the Simple Moving Average (SMA) based on the user-defined time frame. - It then determines the color of the plot (line) based on certain conditions, such as whether the SMA is rising or falling. These conditions help users quickly identify market trends. Label Creation - The code creates labels that can be displayed on the chart. These labels indicate whether there's a bullish or bearish signal. Level Detection - The script determines and labels key levels or points of interest in the chart based on certain conditions. - It can show labels like "①" and "▲" for bullish conditions and "▼" for bearish conditions. Table Display - There's an option to show a table on the chart that displays information about the MACD indicator Chosen and the NUmber Bubble assocated with that time frame - The table can include information like which time frame is being analyzed, whether the SMA line is shown, and other relevant data. Plotting on the Chart - The script plots the Simple Moving Average (SMA) on the chart. The color of this line changes based on the calculated trend conditions. ATR (Average True Range) - The script also plots the Average True Range (ATR) on the chart. ATR is used to measure market volatility. "In essence, this script is a highly customizable MACD and SMA indicator for traders. It assists traders in comprehending market trends, offering insights into different MACD cycles concerning various timeframes. Users can configure it to match their trading strategies, and it presents information in a user-friendly manner with colors, labels, and tables. This simplifies market analysis, allowing traders to make more informed decisions without the distraction of multiple indicators."Pine Script® göstergesithebearfib tarafındanGüncellendi 11133
Average Range LinesThis Average Range Lines indicator identifies high and low price levels based on a chosen time period (day, week, month, etc.) and then uses a simple moving average over the length of the lookback period chosen to project support and resistance levels, otherwise referred to as average range. The calculation of these levels are slightly different than Average True Range and I have found this to be more accurate for intraday price bounces. Lines are plotted and labeled on the chart based on the following methodology: +3.0: 3x the average high over the chosen timeframe and lookback period. +2.5: 2.5x the average high over the chosen timeframe and lookback period. +2.0: 2x the average high over the chosen timeframe and lookback period. +1.5: 1.5x the average high over the chosen timeframe and lookback period. +1.0: The average high over the chosen timeframe and lookback period. +0.5: One-half the average high over the chosen timeframe and lookback period. Open: Opening price for the chosen time period. -0.5: One-half the average low over the chosen timeframe and lookback period. -1.0: The average low over the chosen timeframe and lookback period. -1.5: 1.5x the average low over the chosen timeframe and lookback period. -2.0: 2x the average low over the chosen timeframe and lookback period. -2.5: 2.5x the average low over the chosen timeframe and lookback period. -3.0: 3x the average low over the chosen timeframe and lookback period. Look for price to find support or resistance at these levels for either entries or to take profit. When price crosses the +/- 2.0 or beyond, the likelihood of a reversal is very high, especially if set to weekly and monthly levels. This indicator can be used/viewed on any timeframe. For intraday trading and viewing on a 15 minute or less timeframe, I recommend using the 4 hour, 1 day, and/or 1 week levels. For swing trading and viewing on a 30 minute or higher timeframe, I recommend using the 1 week, 1 month, or longer timeframes. I don’t believe this would be useful on a 1 hour or less timeframe, but let me know if the comments if you find otherwise. Based on my testing, recommended lookback periods by timeframe include: Timeframe: 4 hour; Lookback period: 60 (recommend viewing on a 5 minute or less timeframe) Timeframe: 1 day; Lookback period: 10 (also check out 25 if your chart doesn’t show good support/resistance at 10 days lookback – I have found 25 to be useful on charts like SPX) Timeframe: 1 week; Lookback period: 14 Timeframe: 1 month; Lookback period: 10 The line style and colors are all editable. You can apply a global coloring scheme in the event you want to add this indicator to your chart multiple times with different time frames like I do for the weekly and monthly. I appreciate your comments/feedback on this indicator to improve. Also let me know if you find this useful, and what settings/ticker you find it works best with! Also check out my profile for more indicators! Pine Script® göstergesiBigGuavaTrading tarafındanGüncellendi 11156