SMA + RSI Strategy [Entry/Exit at Next Open]Entry Condition: Close is ABOVE SMA and RSI is BELOW 35 Exit Condition: Close is BELOW SMA and RSI is ABOVE 65Pine Script®策略由abishek_philip24提供7
Oliver Velez System Visual Helper [CocoChoco]Not endorsed by or related to Oliver Velez himself. 🐘 Oliver Velez System Visual Helper 🎯 Overview Unlock the power of Institutional Trading with this precision tool designed for followers of the Oliver Velez (OV) methodology. This indicator specializes in identifying the "Narrow State"—the coiled spring of the market—and highlighting the high-probability entry candles that signal institutional participation. Unlike standard indicators that lag, this helper focuses on the transition from low to high volatility, giving you a front-row seat to the moves that matter. 🧩 The Core Philosophy: The Narrow State According to Oliver Velez, the most explosive moves in the market occur when the 20 SMA and the 200 SMA converge into a Narrow State. This represents a moment of equilibrium where both short-term and long-term traders are in agreement, and the next move is likely to be a significant expansion. This indicator automates that discovery by: Measuring Distance: It calculates the exact percentage gap between the SMAs to find the "coil." Verifying Parallelism: It ensures the SMAs are moving "somewhat horizontal" and parallel, filtering out chaotic crossovers. Multi-Timeframe Confirmation: It checks your higher timeframe (e.g., 15m) to ensure the big players are aligned before you take a trade on the smaller timeframe. ⚡ Power Entry Highlights Once a Narrow State is confirmed, the indicator "paints" the chart with specific Velez-style entry patterns. These bars only highlight when Price > 20 SMA > 200 SMA (Bullish) or Price < 20 SMA < 200 SMA (Bearish), ensuring you never trade against the trend. EB (Elephant Bar): The "Institutional Footprint." Large, solid-bodied bars that represent massive buying or selling. TB (Tail Bar): Bottoming and Topping tails that show clear rejection of the SMAs, signaling a reversal into the main trend. 180 (Bull/Bear 180): A two-bar reversal pattern where the current bar completely engulfs the body of the previous bar, effectively "flipping" the momentum. 🛠️ Key Features Dynamic Cloud Ribbon: A solid visual zone between the 20 and 200 SMAs that appears only when the Narrow State and MTF alignment are perfect. Smart Bar Coloring: Only the specific institutional breakout bars change color, keeping your chart clean and professional. Dual Alert System: Narrow State Start: Get notified the second the market begins to coil. Entry Candle Close: Get a ping exactly when a valid EB, TB, or 180 closes. Consolidated Style: A clean UI that allows you to manage all pattern colors with a single picker. 🚀 How to Use Wait for the Cloud: When the ribbon appears between the SMAs, the market is in a Narrow State. Look for the Color: Watch for an Aqua (default) candle to form. Check the Label: Verify the entry type (EB, TB, or 180). Execute: Per OV's rules, enter on the break of the entry bar’s high/low with a stop at the tail/low of the bar. Disclaimer: Trading involves significant risk. This tool is a visual aid, and may be significantly different from Oliver Velez system, and does not constitute financial advice. Always practice proper risk management.Pine Script®指标由CocoChoco1提供6
VWAP + Stoch + Macro Panel - Dale M.G. EditionThis indicator will allow you to get VWAP Buy or Sell signals in 5m or 15m timeframes. It filters the signals using the 1H 200 SMA. Pine Script®指标由JEdgarGElizalde提供4
Anchor-Point AverageAnchor-Point Average (APA) - Pine Script Indicator Overview The Anchor-Point Average (APA) is a unique technical indicator that calculates the average price from a user-defined starting point to the present. Unlike traditional Simple Moving Averages (SMA) that use a rolling window of fixed periods, APA uses a fixed anchor point in time, creating a cumulative average that grows with each new bar. Key Features Interactive Time Selection Click-to-Select: Simply click on any bar in the chart to set your anchor point Visual Markers: Clear labels show the start point with date/time and current average price Flexible Analysis: Anchor to any significant event, price level, or time period Multiple Price Types Choose from 7 different price calculations: Close: Standard closing price Open: Opening price for gap analysis High/Low: Track resistance and support levels HL2: Midpoint price (High + Low) / 2 HLC3: Typical price (High + Low + Close) / 3 OHLC4: Average price (Open + High + Low + Close) / 4 Customizable Display Color Settings: Customize both anchor point and current label colors Clean Interface: Minimalist design with essential information only Professional Labels: Display average price, sample count, and timestamps Smart Alerts Cross Above Alert: Notifies when price crosses above the anchor-point average Cross Below Alert: Notifies when price drops below the anchor-point average Visual Markers: Green triangles (bullish cross) and red triangles (bearish cross) Why Anchor-Point Average? Different from Traditional SMA Traditional moving averages use a rolling window (e.g., last 20 bars), which means older data constantly drops out. APA maintains all data from your chosen anchor point, providing a true cumulative average that represents the mean price since that specific moment. Use Cases Long-Term Investment Analysis Calculate average entry cost from your first purchase date Track performance against your initial investment timing Identify if current price is above or below your historical average Event-Based Analysis Anchor to product launches, earnings reports, or policy announcements Measure price behavior after significant market events Compare current price to post-event average levels Support/Resistance Identification The anchor-point average often acts as dynamic support or resistance As more data accumulates, the line becomes increasingly stable Price reactions to this level can signal trend continuation or reversal Volatility Assessment Increasing distance from anchor average indicates growing volatility Convergence suggests consolidation or equilibrium Track how current price deviates from long-term mean Technical Advantages Stability Over Time As the sample size grows, the anchor-point average becomes progressively smoother and less sensitive to short-term volatility, providing a robust reference level. Historical Context Unlike moving averages that "forget" old data, APA preserves the entire price history from your chosen point, offering complete context for your analysis. Psychological Significance Often traders anchor mentally to specific dates or events. This indicator makes that psychological level visible and quantifiable. How to Use Add to Chart: Apply the indicator to any TradingView chart Select Anchor Point: Click on the bar where you want to begin calculation Choose Price Type: Select which price component to average (default: Close) Customize Colors: Adjust label colors to match your chart theme Set Alerts: Create alerts for price crossovers to stay informed Perfect For Long-term investors tracking cost basis Swing traders analyzing from key pivot points Event-driven traders measuring post-announcement trends Anyone seeking a stable, cumulative price reference Technical Notes Built on Pine Script v5 Overlay indicator (plots directly on price chart) Real-time calculation with bar-by-bar updates Supports all timeframes and instruments Zero repainting - calculations are final once bar closesPine Script®指标由Dooogiig提供1
Capital Rotational Event CRE As A Multi Pair ScannerCapital Rotational Event (CRE) – Multi Pair Rotation Scanner This open-source, non-overlay indicator scans for **capital rotation signals** across one lead/benchmark asset and up to four receiver/target assets simultaneously. It detects when capital appears to be rotating **into** one or more of the receiver assets relative to the lead asset — a classic macro/rotation concept used in intermarket analysis. Core Concept In regime-shifting or macro-driven markets, money flows between asset classes or correlated instruments (risk-on → risk-off, equities → bonds, growth → value, etc.). When one asset class starts consistently outperforming another — and that outperformance is accelerating — it can signal a change in investor preference, risk appetite, or sector leadership. This scanner visualizes that rotation in real time by calculating relative strength + momentum for multiple pairs at once. How It Works 1. User selects: - One Lead/ Benchmark asset (default: SPY – equities proxy) - Up to four Receiver assets (defaults: GLD, TLT, USO, XLE) 2. For each receiver pair: - Relative Strength (RS) = SMA( Receiver Close / Lead Close , RS Length ) - RS Momentum = SMA( change(RS) , Momentum Length ) 3. Rotation Signal per pair: - Bullish CRE (+1): RS > its own SMA **and** RS momentum > 0 → Receiver outperforming Lead **and** the outperformance is accelerating - Bearish CRE (-1): RS < its own SMA **and** RS momentum < 0 → Receiver underperforming Lead **and** the underperformance is accelerating - Neutral (0): otherwise 4. Visual Output: - Four separate lines (green, blue, orange, purple) showing CRE signal for each receiver → +1 = bullish rotation into that asset → -1 = bearish rotation away from that asset → 0 = no clear rotation - Background tint: light green when **at least one** receiver shows bullish CRE (+1) Why this multi-pair scanner? - Single-pair RS tools only show one relationship at a time. - Monitoring multiple receivers simultaneously reveals **which** asset class or sector is currently receiving capital flows — very useful for macro traders, sector rotation strategies, or risk-on/off positioning. - The momentum filter reduces lag and false signals compared to raw RS crossovers alone. Typical Use Cases - Risk-on/Risk-off: SPY (lead) vs GLD + TLT + USO (safe havens/commodities) - Sector leadership: SPY vs XLE (energy) + XLK (tech) + XLV (healthcare) + XLF (financials) - Macro themes: SPY vs TLT (equities vs bonds), DXY vs GLD, etc. - Timeframes: Daily/weekly for macro swings, 4h/1h for tactical rotations How to Use 1. Apply to any chart (timeframe of your choice — the indicator is timeframe-agnostic). 2. Set your preferred Lead asset and up to 4 Receivers in the inputs. 3. Adjust RS Length (default 14) and Momentum Length (default 9) to match your horizon. 4. Interpretation: - Green line above zero → capital rotating into that receiver - Multiple green lines rising → strong multi-sector rotation - Light green background → at least one bullish rotation detected - Use in combination with price action on the actual assets — this is a relative bias tool, not a direct trade signal. 5. Best in trending or regime-shifting markets; less useful when all assets move in strong correlation. Inputs - Lead Asset: benchmark (default SPY) - Receiver 1–4: assets to monitor rotation into (defaults GLD, TLT, USO, XLE) - RS Length: smoothing for relative strength (default 14) - Momentum Length: smoothing for RS change (default 9) Publishing Recommendation - Publish with a clean chart (e.g., daily or 4h SPY, or any index/ETF) - The indicator is non-overlay — it plots in a separate pane below price - No other indicators needed for basic use This script is fully open-source for transparency and learning. It highlights relative rotation patterns — not guaranteed future performance. Trading and investing involve significant risk of loss. Feedback welcome — especially suggestions for other useful receiver pairs!Pine Script®指标由uzair2join提供1
NYX08green bar color when market breaks above 13 ,25 and 30 ema red bar color when market breaks below 13 ,25 and 30 ema updated signal has to be above / below EMA200 ,SMA100 AND SMA300 with alerts requested script feel free to make requests Pine Script®指标由Wickedfg88提供5
Super SMA Quartet (20/50/100/200)A combination of the 20-period, 50-period, 100-period, and 200-period SMAs. Use any or all of the SMAs at once for added convenience in technical analysis.Pine Script®指标由taihan提供1
Super SMA Quartet (20, 50, 100, 200)An indicator that combines the 20, 50, 100, and 200-period SMAs. No strategies here. You can freely select which of the four you want to see, if not all of them. Pine Script®指标由taihan提供0
MA Labels v8Display moving averages for different timeframes simultaneously. Possible to display only minimalist mono text labels or full, graphed color MAs. Fully configurable. Useful for getting full overview without changing chart timeframes. By default it skips MA for current TF (possible to change). Pine Script®指标由nipoch提供0
BULLRIDER INDICATORSENGLISH: This is a compilation of indicators used by BULLRIDER (Yusuf Benli), combined with the time periods he uses. It's designed to allow users to easily enable and disable indicators with a single click, eliminating the need to deal with multiple indicators individually. Hopefully, it will be useful...Pine Script®指标由Alejandro7789提供已更新 0
DCA Zones: MA100 Buffer (Buy-the-Dip Highlight)Highlights potential DCA buy zones when price drops X% below the 100-period MA.Pine Script®指标由Masherak提供5
Triple SMA3 customizable SMAs with adjustable lengths, colors, and line widths Toggle each SMA on/off independently Labels at end of each line showing the period Values table showing current SMA values and distance from current price (%) Grouped settings for easy configuration Defaults: 20 (yellow), 50 (blue), 200 (red)Pine Script®指标由LEEFO提供2
% from 50 SMAThis calculates how much in percentage terms the current price is above or below simple 50 MAPine Script®指标由TraderSridhar提供已更新 5
SMA 20 & 5 MagicMoving Average based envelops and bands are quite popular tools in the equity trading universe. One such popular band is 20 SMA High-Low band. In 20 SMA High-Low band generally a BUY is signaled when price breaks above the High of the band, and a SELL when price falls below the Low of the band. However, at times the time-price points to look for trading/ investing opportunities and taking position are not very clear in this generic mode. This script combines the 20 SMA High-Low band and a 5 SMA line plotted over it, to tackle this limitation. It helps to find more precise trading/ investing opportunities, Entry and Exit time-price points above & below the band, traversing along the 5 SMA line. The price within the band is usually considered as 'no trades' zone. This set up can be applied on any TF, but generally holds good for swings on daily/ hourly TFs. By tweaking SMA 20 and 5 to SMA 200 and 50 respectively in the settings, it may also help in identifying medium/Long term trends and investment opportunities using daily/ weekly TFs . Take it as a tool for learning and analysis. Happy trading/ investing.Pine Script®指标由akphuf提供3316
20 MA Pack (SMA / EMA / SMMA / WMA) This script provides a flexible 20-period Moving Average toolkit designed for active traders working with futures and high-momentum instruments. It includes: • 20 SMA (Simple Moving Average) • 20 EMA (Exponential Moving Average) • 20 SMMA (Smoothed Moving Average) • 20 WMA (Weighted Moving Average) Each average responds differently to price action: SMA → Balanced trend view EMA → Faster reaction to momentum SMMA → Smoother structure, reduces noise WMA → Stronger emphasis on recent price This pack is especially useful for: Current month futures contracts Commodities with short contract lifecycles Intraday and short-term swing trading Identifying trend direction and dynamic support/resistance The 20-period length aligns closely with one trading month, making it particularly effective for near-month contracts where longer moving averages lose relevance. Use individually or compare them together to understand how price reacts to different smoothing methods.Pine Script®指标由BearThatBuys提供3
MA Labels (Fully Custom, Padded)On screen reminder of whatever you want. I use it remember what MA line colors are.Pine Script®指标由donaldecotton提供0
Super SMA Trio (20 50 200)Three SMAs in one (20, 50, 200). This is self-explanatory. TradingView wants me to add more text even though nobody should have any trouble understanding the script.Pine Script®指标由taihan提供2
[Saga Trading] Moving Average ProThis open-source indicator provides trend and market structure context using multiple moving averages. It allows traders to visualize several moving averages simultaneously, with configurable calculation methods (EMA, SMA, or RMA), in order to better assess trend alignment, momentum, and structural bias. Common references such as the 50-period and 200-period averages are included because they are widely observed by market participants. Crossovers between these averages (often referred to as golden or death crosses) are displayed as structural information only and should not be interpreted as trading signals. The purpose of this tool is to help traders understand market structure and trend context, not to generate entries or exits. This indicator is intended for educational and analytical purposes and should be used alongside price action and broader market analysis.Pine Script®指标由KevSagaT提供已更新 13
Adaptive Trend Checklist (EMA + Supertrend + ADX)Adaptive Trend Checklist is a market context and validation tool designed for discretionary traders who prioritize structure, risk control, and trade quality over aggressive signal chasing. The script combines EMA, Supertrend, and ADX, with optional multi-timeframe (HTF) confirmation, to provide a clear view of market conditions before entering a trade. This is not a signal-spamming indicator. It is a visual checklist that helps identify when to trade, when to reduce risk, and when to stay out of the market. 🔹 Key Features 🔁 Automatic timeframe adaptation Parameters (EMA, ATR, ADX, Supertrend) automatically adjust based on the current chart timeframe. 🧠 Trend & range filtering Uses ADX and price structure to filter out ranging and low-probability market conditions. ⏱️ Multi-timeframe market context (optional) Confirms directional bias using higher timeframes. 🧮 Risk classification Trades are classified as: NORMAL REDUCED NO TRADE 📋 Clear visual checklist Displays in real time: trading mode, trend status, ADX condition, market session, recommended risk level. 🎯 Integrated trade management Automatically plots: Entry Stop Loss Take Profits (TP1, TP2, TP3) Position size in dollars based on selected risk. 🚫 No repaint 🚫 No signal spam 🚫 No win-rate promises ⚠️ Important Notice This script is not intended for fully mechanical or automated trading. It is designed as a decision-support tool for traders who understand market structure, context, and risk management. Performance depends on: market conditions, timeframe, and trader discipline. 👤 Who Is This For? ✔️ Discretionary traders ✔️ Scalpers & intraday traders seeking better filters ✔️ Swing traders needing HTF context ❌ Not recommended for blind signal following 📎 Usage Recommendation Use it as a primary market filter, not as a standalone signal. Combine it with your own entry criteria. Pine Script®指标由djau提供45
Bull/Bear Volume DiagramOverview This indicator displays trading volume in a mirrored diagram that separates bullish and bearish activity. Bullish candle volume is plotted above the center line, while bearish candle volume is plotted below it. This layout helps visualize market participation and directional pressure in a more intuitive way than traditional volume histograms. How It Works The indicator evaluates each candle and determines whether it is bullish or bearish based on its open and close prices: If the candle closes above its open, its volume is plotted upward. If the candle closes below its open, its volume is plotted downward. Each side is color-coded independently to clearly distinguish buying and selling pressure. Additionally, the indicator calculates a moving average of volume separately for bullish and bearish candles. These averages help identify trends in directional volume strength and allow traders to compare buyer versus seller dominance over time. Features Mirrored bullish and bearish volume visualization Independent color customization for bullish and bearish volume Directional volume moving averages Clear separation of buying and selling activity Lightweight and responsive calculation How To Use This indicator can help traders: Identify which side of the market is dominating volume Detect shifts in buying or selling pressure Compare momentum between bullish and bearish participation Observe volume trends more clearly than with standard volume bars Notes Volume is classified using candle direction, not order flow or tick data. Results may vary depending on timeframe and market type. This indicator is intended as a visual analysis tool and should be combined with other technical analysis methods. Pine Script®指标由ferCV提供已更新 10
MA Smart SyncMA Smart Sync determines the market bias by evaluating the price position relative to a moving average channel on four independent timeframes and returning a confluence signal when a configurable number of them agree. Unlike standard MTF trend indicators that rely on EMA crossovers or slope direction, this script builds a channel around each timeframe and classifies price into three discrete zones: above, below, or inside. The "inside" state acts as a neutral filter, preventing false confluence signals during consolidation — a key distinction from binary up/down dashboards. The channel itself can be constructed using five different methods selectable from a single input: High/Low MA (separate MAs applied to high and low), Close ± ATR, Close ± Standard Deviation, Close ± percentage offset, or classic Bollinger Bands. All five use the same MA type and length inputs, making it straightforward to compare how different volatility envelopes behave on the same instrument without rebuilding the indicator. How to use: — Set four timeframes matching your trading plan (defaults: 15m, 1h, 4h, D). — Choose the channel method that fits your instrument's volatility profile. ATR-based channels adapt well to forex; StdDev and Bollinger suit equities and indices. — Set "Minimum Confluence" to 3 or 4. A value of 4 means all timeframes must agree before a signal fires. — The background color and arrow labels update only when bias changes, keeping the chart clean. — Use the status table (top-right) to monitor each timeframe independently and identify which TFs are lagging.Pine Script®指标由Smart-Day-Trader提供30
Flex MA made a simple indicator to toggle back and forth between ema and sma in onePine Script®指标由Acesfull提供1
SPY 200SMA +4% Entry -3% Exit TQQQ/QLD/GLDM THREE PHASE STRATEGYWanted to take a look at all of the individual trades and provide a series of options to balance performance and risk. This post is expanding on my previous one - www.reddit.com Here is the data and the backtesting splitting the strategy into three primary phases with multiple options and exact trade dates to help people easily backtest other combinations - docs.google.com (Three Tabs with the three phases) If you just want my personal recommendations this would be what I will be using - PHASE 1 (Strategy BUY signal triggers when SPY price crosses +4% over the SPY 200SMA) = 100% TQQQ If trade lasts 366 days (Long Term Cap Gains) go to PHASE 2 If SPY price crosses below -3% SPY 200SMA go to PHASE 3 PHASE 2 (PHASE 1 lasts 366 days) = Deleverage and diversify into 50% QLD & 50% GLDM PHASE 3 (Strategy SELL signal triggers when SPY price crosses -3% below the SPY 200SMA) = Defensive posture with 50% SGOV & 50% GLDM As market degrades start selling SGOV and buying QQQ until 50% QQQ & 50% GLDM TradingView Script for the THREE PHASE STRATEGY (imgur.com): // @version= 5 strategy("SPY 200SMA +4% Entry -3% Exit Strategy", overlay=true, default_qty_type=strategy.percent_of_equity, default_qty_value=100) // === Inputs === smaLength = input.int(200, title="SMA Period", minval=1) entryThreshold = input.float(0.04, title="Entry Threshold (%)", step=0.01) exitThreshold = input.float(0.03, title="Exit Threshold (%)", step=0.01) startYear = input.int(1995, "Start Year") startMonth = input.int(1, "Start Month") startDay = input.int(1, "Start Day") // === Time filter === startTime = timestamp(startYear, startMonth, startDay, 0, 0) isAfterStart = time >= startTime // === Calculations === sma200 = ta.sma(close, smaLength) upperThreshold = sma200 * (1 + entryThreshold) lowerThreshold = sma200 * (1 - exitThreshold) // === Strategy Logic === enterLong = close > upperThreshold exitLong = close < lowerThreshold if isAfterStart if enterLong and strategy.position_size == 0 strategy.entry("Buy", strategy.long) if exitLong and strategy.position_size > 0 strategy.close("Buy") // === 366-Day Marker Logic (Uninterrupted) === var int targetTime = na // 1. Capture entry time only when a brand new position starts if strategy.position_size > 0 and strategy.position_size == 0 targetTime := time + (366 * 24 * 60 * 60 * 1000) // 2. IMPORTANT: If position is closed or a sell signal hits, reset the timer to "na" if strategy.position_size == 0 targetTime := na // 3. Trigger only if we are still in the trade and hit the timestamp isAnniversary = not na(targetTime) and time >= targetTime and time < targetTime // === Visuals === p_sma = plot(sma200, title="200 SMA", color=color.rgb(255, 0, 242)) p_upper = plot(upperThreshold, title="Entry Threshold (+4%)", color=color.rgb(0, 200, 0)) p_lower = plot(lowerThreshold, title="Exit Threshold (-3%)", color=color.rgb(255, 0, 0)) fill(p_sma, p_upper, color=color.new(color.green, 80), title="Entry Zone") // Draw marker only if 366 days passed without a sell if isAnniversary label.new(bar_index, high, "366 DAYS - PHASE 2", style=label.style_label_down, color=color.yellow, textcolor=color.black, size=size.small) // === Entry/Exit Labels === newOpen = strategy.position_size > 0 and strategy.position_size == 0 newClose = strategy.position_size == 0 and strategy.position_size > 0 if newOpen label.new(x=bar_index, y=low * 0.97, text="BUY - PHASE 1", xloc=xloc.bar_index, yloc=yloc.price, color=color.lime, style=label.style_label_up, textcolor=color.black, size=size.small) if newClose label.new(x=bar_index, y=high * 1.03, text="SELL - PHASE 3", xloc=xloc.bar_index, yloc=yloc.price, color=color.red, style=label.style_label_down, textcolor=color.white, size=size.small) 200 SMA SPY Trading Range Bands Script: // @version= 5 indicator("200 SMA SPY Trading Range Bands", overlay=true) // === Settings === smaLength = input.int(200, title="SMA Length") mult1 = input.float(1.09, title="Multiplier 1 (9% Over)") mult2 = input.float(1.15, title="Multiplier 2 (15% Over)") // === Calculations === smaValue = ta.sma(close, smaLength) line9Over = smaValue * mult1 line15Over = smaValue * mult2 // === Plotting === plot(smaValue, title="200 SMA", color=color.gray, linewidth=1, style=plot.style_linebr) plot(line9Over, title="9% Over 200 SMA", color=color.rgb(255, 145, 0), linewidth=1) plot(line15Over, title="15% Over 200 SMA", color=color.rgb(38, 1, 1), linewidth=2)Pine Script®策略由freefighter07提供53