Money Flow Index (MFI) w/ Multi Time Frame DivergencesBack color MTF Money Flow Index (MFI) w/ Multi Time Frame DivergencesPine Scriptยฎ indicatorby ardataskin15
Viper Oscillator๐ถ Overview The Mkt-Viper Oscillator is a specialized Kinetic Momentum Engine engineered for Precision Timing and energy measurement. It serves as a high-fidelity market oscilloscope, designed to decode the raw velocity of price action and identify high-probability entry and exit points with enhanced clarity. Markets move with varying degrees of force and resistance. Mkt-Viper Oscillator analyzes this behavior by utilizing a Kinetic Momentum Model. It measures Price Displacement against Market Viscosity (a dynamic resistance filter) to determine the true energy behind a move. By filtering out low-energy "drift," this approach allows traders to gauge the true strength of a trend and identify moments of momentum exhaustion or renewal. ๐ถ What makes Mkt-Viper Oscillator unique? The Viper Oscillator distinguishes itself through its Multi-Dimensional Calculation Matrix. Rather than relying on a single data source, it fuses Price Action, Volume Flow, and Volatility (Z-Score) into a single output. The core engine measures Market Inertia. By applying a "Denoising Kernel" and recursive smoothing algorithms, it filters out erratic ticks to visualize the smooth, hydrodynamic flow of money entering and exiting the asset, providing a clearer picture of market intent. Main Features ๐ถ The Core Oscillator The central Line or Ribbon of the oscillator represents the "Engine Core." It visualizes the battle between momentum (Torque) and resistance (Drag). Visual Modes: Standard: Uses a multi-layered rendering technique (Core + Outer Glow) to create a crisp, high-visibility "Neon" line. Ribbon Mode: Displays a Signal Line cross system. When the fast line crosses the slow "Trail," it signals a micro-shift in momentum. Momentum Flips: The oscillator plots discrete Circles on the ribbon when the slope flips direction. These mark the precise moment momentum shifts from expansion to contraction. ๐ถ Kinetic Exhaustion Zones Standard oscillators often use static lines (like 70/30) that provide little context on trend strength. The Viper Oscillator replaces these with dynamic Kinetic Exhaustion Zones. The Logic: These zones represent the limits of "Market Torque." Instead of a binary On/Off signal, the zones function as a gradient stress field. Visuals (Adaptive Glow): The system utilizes a programmed opacity gradient. Fade In: The zones begin to materialize when the Core passes a certain threshhold (Moderate Momentum). Maximum Glow: As the oscillator begins to travel deeper beyond the threshold (Peak Torque), the zones glow with maximum intensity, signaling that the move is becoming statistically stretched or overextended. Usage: In a strong trend, the oscillator can "pin" inside the glow zone. This is a sign of immense strength, not a reversal. The reversal signal occurs when the Core exits the glow zone and returns toward the mean. ๐ถ Z-Score Velocity Line Floating above the main oscillator is the Velocity Line (Thin Line). This is not just a second oscillator; it is a volatility-adjusted Z-Score. The Logic: It measures the speed of price change relative to the current volatility conditions. Usage: When the Velocity Line spikes aggressively while the main Oscillator moves slowly, it is an early warning sign for a potential pullback. ๐ถ Money Flow Wave (Background) The background of the oscillator features a subtle, filled "Wave." This is the Money Flow Index (MFI) overlay. The Logic: This layer tracks volume-weighted price action. It allows you to see Divergences between Price and Volume. Usage: If the Kinetic Core (Price Momentum) is making a Higher High, but the Money Flow Wave (Volume) is making a Lower Low, it indicates a "Hollow Rally" lacking institutional backing. ๐ถ Sigma Sniper Signals The system constantly monitors Volume Volatility using a 3.0 Sigma (Standard Deviation) threshold. Visuals: When a volume spike exceeds 3 standard deviations from the mean (a statistical anomaly), a small "โ" or "โ" symbol appears at the top or bottom of the panel. Meaning: This marks a potential Volume Climax. It signifies potential capitulation (panic selling) or euphoria (fomo buying). These points are possibly probable reversal areas. ๐ถ Trend Power Bar Located at the very bottom of the pane is the Trend Power Bar. This is a binary filter designed to keep you on the right side of the macro flow. The Logic: It uses a "Linkage Kernel" (Correlation Coefficient) to measure the alignment of the trend. Green: Macro Trend is Bullish. Red: Macro Trend is Bearish. Opacity: The bar becomes transparent when the trend is weakening, warning you of potential consolidation. ๐ถ Fractal Divergences Timing reversals requires spotting the disconnect between price and momentum. The Divergence Engine uses Fractal Geometry to detect these setups automatically. Regular Divergence: Draws lines connecting peaks or valleys where Price pushes further but Momentum fails to follow. These are potential reversal signals. ๐ถ Synthetic Resolution Scaler (MTF) Traders often need to see higher-timeframe momentum without changing charts. The Resolution Scaler allows you to project higher-timeframe data onto your current chart. How it works: Instead of using repainting request.security calls, the script mathematically scales the internal lookback periods (Lengths) to simulate higher timeframes (e.g., viewing Hourly momentum on a 15-minute chart) while maintaining smooth, real-time updates. ๐ถ Visual Intelligence (Theme Engine) Visual clarity is essential for rapid decision-making. A cluttered or poorly contrasted chart can lead to cognitive fatigue. To address this, the Viper Oscillator features a global Color Theme Engine that instantly synchronizes every element of the suiteโsignals, candles, clouds, and textโto a unified palette. The Presets: The system comes with five professionally designed profiles to suit different trading environments and lighting conditions: Viper Original: High-contrast Neon Green & Purple (Optimized for Dark Mode). Classic: Standard Green/Red configuration for traditionalists. Cool Blues: A calming Blue/Violet palette designed to reduce emotional reactivity. Ember & Ash: High-warmth Orange/Slate contrast. Monochrome: Grayscale/Silver logic for distraction-free structural analysis. Customization: Traders with specific branding requirements or accessibility needs (such as color blindness) can select "Custom Theme." This unlocks distinct color inputs, allowing you to define your own specific Bullish, Bearish, and Neutral colors that instantly propagate across the entire indicator suite. ๐ถ How to use: The "Timing" Workflow Mkt-Viper Oscillator is designed to filter out premature entries. Rather than catching falling knives, we recommend a workflow based on Momentum Structure: Strategy: Momentum Continuation (The HL/LH Setup) The highest probability entries occur when momentum resets but the trend structure remains intact. Trend Context: Ensure the Trend Power Bar is Green (Bullish) or Red (Bearish). Wait for Structure: Do not buy the first dip. Wait for the Kinetic Core to print a Higher Low (HL) in a bullish trend or a Lower High (LH) in a bearish trend. This "Momentum Stair-Step" confirms that counter-trend energy has been exhausted. The Trigger: Enter when a Momentum Flip Circle (Dot) appears after this Higher Low or Lower High is established. Exit: Take profits when the Velocity Line spikes into the extremes or a Divergence line appears. While powerful as a standalone unit, this engine is mathematically calibrated to pair with the Mkt-Viper Pro (Trend) and Mkt-Viper Edge (Structure) indicators. Important: This indicator is intended to be used with additional confluences and key areas. It is not recommended to blindly buy or sell the momentum flip dots. ๐ถ Realistic Expectations & Methodology Oscillator Lag: All oscillators are derivative of price and inherently possess some lag. The "Kinetic" math reduces this lag significantly, but it cannot eliminate it entirely as it must process past data. Signal Confirmation: The "Flip Circles" and Reversal signals are confirmed on candle close. While they do not repaint history, they will wait for the bar to close before locking in. This is a safety feature to prevent fake-outs. Trending vs. Ranging: Oscillators perform best in Ranging markets or during Pullbacks in a trend. Using Overbought/Oversold signals blindly during a parabolic trend is dangerous, as momentum can stay "Overbought" for extended periods. Always check the Trend Power Bar context. --------------------- Disclaimer The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information. All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, back test, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.Pine Scriptยฎ indicatorby Mkt-Viper2
LAMI RSI INDIThis RSI indicator is built to do 2 things fast: Catch momentum shifts when RSI crosses your overbought/oversold levels (customizable). Detect regular divergence (bullish & bearish) so you can spot reversal clues early. Youโll see arrows for level-cross signals, plus divergence labels to help confirm whether the move is losing strength.Pine Scriptยฎ indicatorby LamiAzizan87Updated 4
Swingtrend Regime [A0A_Indicator]A regime-style oscillator designed to help read swing context and shifting conditions. Clean visuals, configurable display elements, and optional alerts for key state changes.Pine Scriptยฎ indicatorby A0A_Indicator2
RSI-RS StrategyRSI-RS Strategy: Smart Trend Following ๐ Overview This strategy combines Multi-Timeframe RSI with Mansfield Relative Strength to identify high-momentum breakouts in strong stocks. Unlike standard RSI strategies, it features a "Smart Trailing Stop" that tightens when momentum weakens but respects key RSI 50 support levels to avoid shaking you out of winning trades. Key Features โจ 1. ๐ฏ High-Probability Entries Multi-Confirmations: Requires Monthly RSI > 60 and Weekly RSI > 60 (Trend is Up). Dual Trigger: Enters on a Daily RSI Breakout (>60) OR a Weekly RSI Catch-up, ensuring you don't miss late moves. RS Filter: Only buys stocks outperforming the Index (RS > 0). New Listing Safe: Automatically skips Monthly checks for new IPOs lacking history. 2. ๐ก๏ธ Advanced "Hybrid" Stop Loss This strategy solves the "Wick Out" problem: Confirmation Exit: If price drops below the Stop Loss, it waits for the Next Candle to confirm the breakdown. It ignores intraday wicks! Crash Protection: Includes a "Panic Button" (Default 3% buffer). If price crashes rapidly intraday, it exits immediately to save capital. Smart Trailing: The Stop Loss moves UP when RSI shows weakness (<60), locking in profits. 3. ๐ง Smart Support Buffer Wait for 50: Uniquely detects when RSI is resting on 50 Support (Zone 50-55). Patience: It ignores minor weakness signals in this zone, waiting for a bounce instead of exiting prematurely. 4. ๐งน Clean Visuals Minimalist Labels: Transparent Entry/Exit labels that don't declutter the chart. Setup Watch: Visually signals "Watch > " before the trade triggers. Transparency: "SL Update" diamonds prove exactly why the stop moved (showing the RSI value). Settings Guide โ๏ธ Confirmation Window: How many bars the breakout remains valid (Default: 2). RSI Support Buffer: The "Safe Zone" range above 50 (Default: 5). Crash Buffer %: Distance below SL for immediate emergency exit (Default: 3.0%). Visuals: Toggle Setup Labels and SL Diamonds on/off to keep your chart clean. How to Trade It Green Background: You are in a trade. Red Line: Your Hard Stop Loss (Closing Basis). Maroon Dotted Line: Your Crash Limit (Intraday Danger Zone). Orange Diamond: Warning! RSI Weakness detected, SL has tightened. Disclaimer Backtested on Indian Equities (NSE). Designed for Swing Trading on Daily Timeframe. Always manage your own risk.Pine Scriptยฎ strategyby sandeepgoyal194Updated 11251
eBacktesting - Learning: RSI DivergenceseBacktesting - Learning: RSI Divergences is meant to train your eye to spot when a trend is losing momentum before price fully turns. How to study it (step-by-step) 1. Start with the trend - First decide if price is generally trending up or down (higher highs / higher lows vs lower highs / lower lows). - Divergences matter most after a trend has been running for a while. 2. Look for the โmismatchโ - Bearish divergence: price prints higher highs, but RSI prints lower highs. - This often shows up near the end of a strong bullish run, when buyers are still pushing price up but with less momentum. - Bullish divergence: price prints lower lows, but RSI prints higher lows. - This can show up near the end of a bearish move, when selling pressure is fading. 3. Treat divergence as a warning, not an entry - The key lesson: divergence often signals trend weakness, not an instant reversal. - After a divergence appears, study what happens next: stalling, ranging, a pullback, or a full reversal. 4. Add simple confirmation - Practice waiting for something obvious after the divergence: a break of a small support/resistance level, a shift in swing structure, or a clear rejection candle from a key area. - This helps you avoid taking every divergence as a trade signal. 5. Use it inside eBacktesting (best practice) - Replay the chart and pause on each divergence mark. - Log: Where it happened (after a long run or in the middle of chop?), Whether price stalled first or reversed immediately, What confirmation appeared (if any), The best โinvalidationโ idea (what would prove you wrong?). - Over time youโll see which divergences are meaningful for your market and session, and which ones are noise. These indicators are built to pair perfectly with the eBacktesting extension, where traders can practice these concepts step-by-step. Backtesting concepts visually like this is one of the fastest ways to learn, build confidence, and improve trading performance. Educational use only. Not financial advice.Pine Scriptยฎ indicatorby eBacktesting164
YVAO Q SinyalliVoltide al sat osilatรถrรผdรผr. rsi haraketli ortlamalarฤฑ ile trend tahmini imkanฤฑ saฤlar.Pine Scriptยฎ indicatorby enginersin5
ZenAlgo - SqueezeThis indicator is a separate-pane tool that reads the current chart symbol (treated as the traded instrument, typically a perpetual) and optionally reads a second symbol used as a comparison reference. It can operate in two broad modes: Basis on - the script attempts to obtain a "spot or reference" close and compares the chart close against it. Basis off - all basis related parts are disabled and only the on-chart derived components remain. The comparison reference can be selected via presets (dominance and market cap style tickers, BTC perpetual, etc.) or via a manual symbol selector. There is also an optional second comparison line that is visual-only and does not influence the squeeze logic. Spot and reference selection, including safety and fallback When basis mode is enabled, the script needs a valid comparison close series. It supports three ways to obtain it: Manual selection - you choose a specific reference symbol or one of the provided presets. Auto spot from the chart symbol - the script strips the ".P" suffix from the chart ticker to guess a spot ticker (fast, but can be invalid on some symbols or spread charts). Exchange fallback chain - if the manual request fails to return data, the script tries a hardcoded sequence of exchanges for the same base pair (same exchange prefix first, then Binance, then Bybit, then MEXC, then Bitget). It uses requests that ignore invalid symbols so the script fails gracefully into the next option. Spread-style synthetic tickers are detected and excluded from this fallback process. Why this matters: basis style comparisons are only meaningful when the reference series is actually available and aligned to the same timeframe. The script spends a lot of logic on preventing runtime failures and preventing accidental "fake basis" on unsupported tickers. VWAP with standard deviation bands on multiple reset schedules The next major block computes anchored VWAP states for several higher-level periods. The core approach is: It performs a running, volume-weighted accumulation of typical price for the anchor period. It simultaneously accumulates the second moment needed to estimate dispersion around VWAP, producing a standard deviation estimate around the anchored VWAP. On each reset boundary (daily, weekly, monthly, quarterly, semiannual, yearly), the accumulators reset and begin a new anchored VWAP segment. Why this matters: anchored VWAP is treated here as a rolling "fair value" for the current period. The dispersion estimate is used to convert distance from VWAP into discrete states (premium, discount, etc.) instead of relying on raw price distance, which varies widely across assets. Smoothed average line used as a slower trend filter Alongside the anchored VWAPs, the script builds a slow baseline from the chart close using a two-stage smoothing process. This baseline is then used as a slower reference for trend qualification. Why this matters: the trend logic requires alignment between price, the daily anchored VWAP, and this slower baseline, plus confirmation that both the daily VWAP and the slow baseline are rising or falling. This avoids classifying trend from price position alone. Trend classification used for context labeling Trend is classified as: Bull trend when price is above the daily anchored VWAP, the daily anchored VWAP is above the slow baseline, and both the daily VWAP and the slow baseline are rising. Bear trend when price is below the daily anchored VWAP, the daily anchored VWAP is below the slow baseline, and both are falling. If neither is true, the script treats trend as neutral for its table and for squeeze sub-labeling. Why this matters: the script later distinguishes events that align with the prevailing trend versus those that run against it. VWAP state mapping and heatmap rows For each anchored VWAP (D, W, M, Q, S, Y), the script assigns a discrete state label based on where price is relative to VWAP and how many dispersion units away it is. The state labels include: Above, Below Premium and Discount tiers "Super" and "Mega" tiers for more extreme distances These states are turned into colors using a selected palette preset. The script then draws horizontal "heat" lines at fixed Y offsets inside the indicator pane, one row per anchor timeframe, plus optional row-letter labels that also show whether the anchored VWAP is rising, falling, or stable. How to interpret: The heatmap is not a price plot. It is a categorical summary of where current price sits relative to each anchored VWAP and its dispersion. Multiple rows allow you to see whether price is simultaneously extended on short anchors but neutral on long anchors, or vice versa. Normalized metrics used for squeeze detection and plots The script computes several standardized (z-scored) series over a fixed lookback length: Chart close z-score - how far the current close is from its recent mean in standardized units. Reference close z-score - same standardization on the chosen comparison series (only when basis is enabled and reference exists). Basis percentage z-score - derived from the ratio between chart close and the reference close, transformed into percent difference, then standardized. Delta proxy z-score - a signed volume proxy that assigns positive weight on up candles, negative weight on down candles, and zero on unchanged candles, then standardized. For symbols with missing volume, it can fall back to a constant weight of 1 depending on settings. Why this matters: The use of z-scores makes thresholds portable across assets and regimes. Instead of using raw basis percent or raw volume, the script detects whether each component is unusually large relative to its own recent distribution. Squeeze event conditions and "continuation vs countertrend" labeling The core squeeze events are defined by three simultaneous conditions, each compared to a fixed threshold: Price is moving fast enough (rate-of-change threshold). Basis deviation is large enough in one direction (basis z-score threshold). Delta proxy deviation is large enough in the same direction (delta z-score threshold). When these align to the upside, the script calls it a short squeeze event (upward acceleration with positive basis and positive delta proxy abnormality). When they align to the downside, it calls it a long squeeze event (downward acceleration with negative basis and negative delta proxy abnormality). Volume availability handling: You can hard-disable squeeze detection on symbols where volume is missing. Or you can allow it, in which case the delta proxy uses a fallback weight so the pipeline still functions. Continuation vs countertrend: Each squeeze event is classified relative to the trend state described earlier. A squeeze that agrees with the trend is marked as continuation. A squeeze that opposes the trend is marked as countertrend. Visual output tied to squeezes: Optional dots are plotted near the top or bottom of the pane to indicate event type (short vs long, continuation vs countertrend). Optional candle coloring is applied only during squeeze states, using separate colors for continuation bull, continuation bear, and countertrend. Basis vs chosen comparison relationship on fixed timeframes In addition to the main squeeze logic, the script evaluates how the basis z-score compares to the chosen reference z-score on four fixed intraday timeframes (5m, 15m, 1h, 4h). For each timeframe it assigns a simple state: Basis standardized value above the reference standardized value Basis standardized value below the reference standardized value Equal or unavailable These states are primarily used to color table cells as a compact multi-timeframe context readout. Why this matters: it provides a quick view of whether the basis deviation is leading or lagging the chosen reference across multiple granularities, without changing the main squeeze definitions. Cross between basis and chosen reference When enabled and basis is available, the script detects crosses between: Basis z-score line Chosen reference z-score line It can plot small up or down triangles on the basis plot when the basis standardized value crosses above or below the reference standardized value. The triangle color is tied to the daily VWAP heat color so the marker inherits the daily premium/discount context. Why this matters: it isolates regime changes where the basis deviation becomes stronger or weaker than the reference series in standardized terms, which can be used as a context shift rather than a standalone entry indication. Pane plots, fills, and thresholds The indicator pane can show: The chart close z-score line (perp series). The chosen reference z-score line (compare series, when available). The basis z-score line. The optional second comparison z-score line. A background fill is drawn between the chart close z-score and the reference z-score to visualize which is higher at the moment. Horizontal reference lines are also drawn for: The basis z-score thresholds used for squeeze logic. The delta proxy z-score thresholds used for squeeze logic. Zero line and additional guide lines at several standardized levels. How to interpret values: The plotted values are standardized units relative to each seriesโ own recent distribution. A value around 0 indicates "near recent average." Large positive or negative values indicate "unusually above or below recent average" for that specific series. Table readout and derived bias score A table can be shown in the top-right of the pane, summarizing: Current mode (basis off, auto spot, or which preset/manual reference is in use). Whether basis data is valid. Trend state and a slope warning/ok flag. Daily and weekly anchored VWAP numeric values and their premium/discount state coloring. A daily vs weekly VWAP difference state. Price rate-of-change state. Basis percent value and basis z-score state. Delta proxy z-score state. Chart close z-score state. Reference z-score state. A composite bias score and text label. The four timeframe basis-vs-reference relationship states (5m, 15m, 1h, 4h). The score is then mapped to labels from strong bearish through neutral to strong bullish, optionally appending the most recent squeeze classification when present. Right-side value tags On the last bar, the script can draw short horizontal lines and labels to the right showing the latest values for: Chart close z-score Reference z-score Basis z-score Optional second comparison z-score These tags are offset a user-selected number of bars into the future so they remain readable. "Best" block and alert conditions A final logic layer uses: Two fixed thresholds on the basis z-score (one associated with an "up" cross and one with a "down" cross). A count of how many enabled VWAP heatmap rows are currently in "hot" states (above or premium tiers) vs "cold" states (below or discount tiers). A recent-squeeze filter that checks whether any squeeze event happened within a defined lookback window. It then plots: Small circles for threshold crosses when at least a minimum hot/cold alignment exists. Diamonds when alignment exists, optionally larger when alignment count is higher. Separate diamonds when the threshold cross happens without a recent squeeze. Alert conditions are provided for: Strong "best" diamonds when alignment meets a higher minimum. Optional alerts for "best" threshold crosses without recent squeezes. Optional alerts for basis-vs-reference z-score crosses. Why this matters: it gates threshold events by broader multi-anchor context, attempting to avoid treating a single standardized cross as equally meaningful in every macro positioning regime. Added value over common free indicators This script combines several components that are often separate in typical tools, and it enforces explicit data-availability safeguards: Anchored VWAP states across multiple calendar resets with an internal dispersion estimate and a compact heatmap summary. Basis style comparison that can be driven by multiple preset market references, with a fallback chain across exchanges and explicit spread-chart protection. Squeeze detection that requires simultaneous agreement across price acceleration, basis deviation, and a signed volume proxy deviation, then labels the event by trend alignment. A unified pane where standardized series, thresholds, heatmap context, and table diagnostics are all consistent with the same internal state. Disclaimers and where it can fall short If the chosen reference symbol is unavailable or returns gaps, basis-dependent outputs can be unavailable or may switch to fallback sources depending on settings. This can change the basis series behavior compared to a strictly fixed reference feed. The delta component is a proxy based on candle direction and volume, not an exchange order-flow delta. On symbols with unreliable volume, enabling fallback weighting can keep the indicator running but reduces the meaning of "volume-driven" parts. Standardized values depend on the chosen lookback. In highly non-stationary regimes, what is "unusual" can shift quickly. Anchored VWAP states depend on reset definitions in UTC. If your trading session expectations are tied to different session boundaries, interpret anchor transitions accordingly. How to best use it Start by verifying Basis OK in the table when basis mode is enabled. If it shows an error state, either switch reference mode, disable basis, or enable fallback if appropriate for your symbol. Use the heatmap rows to understand whether price is extended relative to multiple anchored baselines simultaneously or only on short anchors. Treat squeeze dots and candle coloring as event markers, then use the trend label (continuation vs countertrend) and the VWAP states to decide whether the event aligns with your broader plan. Use basis vs chosen crosses and the basis-vs-reference multi-timeframe states as context shifts, not as isolated triggers. If you enable alerts, prefer those that include the multi-row hot/cold alignment gating when you want fewer, more context-filtered notifications. Pine Scriptยฎ indicatorby ZenAlgo_Official6
Quality-Controlled Trend StrategyOverview This strategy demonstrates a clean, execution-aware trend framework with fully isolated risk management. Entry conditions and risk logic are intentionally separated so risk parameters can be adjusted without altering signal behavior. All calculations are evaluated on confirmed bars to ensure backtest behavior reflects real-time execution. Design intent Many scripts mix entries and exits in ways that make results fragile or misleading. This strategy focuses on structural clarity by enforcing: confirmed-bar logic only fixed and transparent risk handling consistent indicator calculations one position at a time It is intended as a baseline framework rather than an optimized system. Trading logic (high level) Trend context EMA 50 vs EMA 200 defines directional bias Entry Price alignment with EMA 50 RSI used as a momentum confirmation, not as an overbought/oversold signal Risk management Stop-loss based on ATR Fixed riskโreward structure Risk logic is isolated from entry logic Editing risk without affecting signals All stop-loss and take-profit calculations are handled in a dedicated block. Users can adjust: ATR length stop-loss multiplier riskโreward ratio without modifying entry conditions. This allows controlled experimentation while preserving signal integrity. Usage notes Results vary by market, timeframe, and volatility conditions. This script is provided for testing and educational purposes and should be validated across multiple symbols and forward-tested before use in live environments. Pine Scriptยฎ strategyby AIScripts21
Allyhshn - Trend Reversal Indicator Allyhshn โ Trend Reversal Indicator Multi-Timeframe RSI & TSI Climax Detection System Is an advanced multi-timeframe reversal and climax detection tool designed to identify buying and selling exhaustion zones across multiple intraday and higher timeframes. The script combines RSI extreme conditions, price-location validation, and TSI (True Strength Index) confirmation to isolate high-probability reversal events, filtering noise and avoiding premature signals. 1) Core Concept The indicator focuses on identifying trend exhaustion and climax events, rather than continuous signals. A valid signal requires three layers of confirmation: a) Momentum extreme (RSI Buying or Selling Climax); b) Price context (price reaching statistically relevant zones); c) Trend exhaustion confirmation (TSI and TSI EMA thresholds). This structure makes the indicator particularly suitable for: * Mean-reversion setups; * Scalping reversals; * End-of-move detection; * Liquidity exhaustion zones. 2) Multi-Timeframe Architecture Automatic Timeframe Detection The script automatically detects the active chart timeframe and maps it to an internal enumeration: Supported Timeframes: * 5s, 10s, 15s, 30s * 1m, 5m, 15m, 30m * 1h, 3h, 6h Each timeframe has independent parameters, allowing precise tuning per market microstructure. 3) Timeframe-Specific Configuration For each supported timeframe, the user can independently configure: RSI Parameters: * RSI Length โ Sensitivity of momentum detection. * RSI Buying Climax โ Upper RSI threshold indicating buying exhaustion. * RSI Selling Climax โ Lower RSI threshold indicating selling exhaustion. Lookback Context * Lookback (N candles) โ Defines how far price extremes are evaluated to confirm exhaustion. * Prevents signals from triggering in irrelevant price areas. Trend & Signal Parameters: * Trend Overbought / Oversold โ Trend context values. * Trend Signal โ Smoothing parameter for internal calculations. 4) Price Location Validation (Context Filter) To avoid false signals, RSI extremes are not enough on their own. The script validates whether price is: * Near the lowest price region of the lookback (bullish exhaustion); * Near the highest price region of the lookback (bearish exhaustion). This ensures that: * Selling climaxes occur near downside extremes; * Buying climaxes occur near upside extremes. 5) TSI (True Strength Index) Confirmation Purpose TSI is used as a trend exhaustion and momentum decay filter. A signal is validated only when: * TSI crosses into a predefined bullish or bearish exhaustion zone; * TSI EMA confirms the loss of directional momentum. This avoids: * Counter-trend signals during strong trends; * Early reversals without momentum decay. 6) Selling Climax Detection (Bullish Reversal) A Selling Climax is detected when: * RSI is at or below the Selling Climax threshold; * Price reaches a statistically relevant lower zone; * TSI is below the bullish signal threshold; * TSI EMA confirms momentum exhaustion. Visualization * A green upward label (โSelling Climaxโ) is plotted below price. * Only the most extreme event within the lookback window is retained. This highlights zones where: * Sellers are exhausted; * Absorption or capitulation may be occurring; * A bullish reversal becomes statistically favorable. 7) Buying Climax Detection (Bearish Reversal) A Buying Climax is detected when: * RSI is at or above the Buying Climax threshold; * Price reaches a statistically relevant upper zone; * TSI is above the bearish signal threshold; * TSI EMA confirms momentum exhaustion. Visualization: * A red downward label (โBuying Climaxโ) is plotted above price. * Only the most extreme event within the lookback window is retained. This highlights zones where: * Buyers are exhausted; * Distribution or rejection may be occurring; * A bearish reversal becomes statistically favorable. 8) Signal De-Duplication & Quality Control To maintain chart clarity and signal quality: * Only one active signal per direction is maintained within the lookback window; * New signals replace old ones only if they occur at more extreme price levels; * The total number of visible labels is capped via user input. This prevents: * Signal clustering; * Visual noise; * Over-interpretation of repeated RSI extremes. 9) Visual Placement & Chart Integration * Labels are positioned using ATR-based vertical padding to avoid overlap with candles. * Signals are drawn directly on the price chart (`overlay=true`). * Designed to remain readable on ultra-low timeframes (seconds charts). 10) Display Controls Global Controls: * Show Flags โ Enable or disable all signals. * Only in Event โ Optional filter to restrict display to true event transitions. * Display (N) Flags โ Limits the number of historical signals shown. 11) Intended Use Cases This indicator is designed for traders who: * Trade reversals and mean reversion; * Operate on scalping and intraday timeframes; * Look for exhaustion rather than continuation; * Combine RSI with structural price context. It works especially well when combined with: * Order Flow / Volume Delta tools; * Liquidity and absorption analysis; * Support & resistance frameworks. 12) Account & Data Compatibility * Uses only native TradingView indicators (RSI, ATR, EMA, TSI). * Works on all TradingView accounts. * No external data or proprietary feeds required. 13) Key Strengths * True multi-timeframe independence; * Strong noise filtering; * Context-aware RSI usage; * Clear, non-repainting climax signals; * Professional-grade reversal logic. 14) Account Compatibility * Does not require proprietary order book or footprint data. * Works on all TradingView accounts. * Uses only publicly available TradingView Information.Pine Scriptยฎ indicatorby AllyhshnUpdated 21
SPS TrendFlip EntryใSPS TrendFlip Entryใ ๆฌในใฏใชใใใฏใใSPS TrendFlip Coreใใงๅคๅฎใใใ ใใฌใณใ่ปขๆๅพใฎใจใณใใชใผใฟใคใใณใฐใ่ฃๅฉใใใใใฎ ใตใใฆใฃใณใใฆ็จใคใณใธใฑใผใฟใผใงใใ โ ใญใธใใฏๆฆ่ฆ ใป็งปๅๅนณๅ็ทใฎ่ปขๆๅพใฎใฟใทใฐใใซใๆๅนๅ ใปCCI๏ผCommodity Channel Index๏ผใไฝฟ็จ ใปCCIใ ยฑ100 ใฎๅคๅดใใๅ ๅดใธๆปใๅใใๆคๅบ ใป่ปขๆๅพใๆๅคง2ๅใพใงใจใณใใชใผใตใคใณใ่กจ็คบ ใป็ก้งใชใทใฐใใซใๆธใใใใใใใฌใณใ่ปขๆๅใฎใตใคใณใฏ่กจ็คบใใพใใ โ ไฝฟใๆนใฎๆฆ่ฆ ใปๅไฝใงใฎไฝฟ็จใฏๆจๅฅจใใฆใใพใใ ใปๅฟ ใใSPS TrendFlip Coreใใจไฝต็จใใฆใใ ใใ ใปCoreใงใใฌใณใๆนๅใ็ขบ่ชใใEntryใงใฟใคใใณใฐใๆธฌใใพใ โ ๆณจๆ ใปๆฌในใฏใชใใใฏๅฃฒ่ฒทใ็ดๆฅๆ็คบใใใใฎใงใฏใใใพใใ ใป็ธๅ ด็ถๆณใซใใฃใฆใฏใทใฐใใซใๆฉ่ฝใใชใๅ ดๅใใใใพใ ใปๆ็ต็ใชๅคๆญใฏใ่ช่บซใฎ่ฒฌไปปใง่กใฃใฆใใ ใใ --- English --- This script is a sub-window indicator designed to assist with entry timing after a trend reversal identified by "SPS TrendFlip Core". โ Logic Overview ใปSignals are activated only after a moving average trend reversal ใปUses the Commodity Channel Index (CCI) ใปDetects when CCI returns inside the ยฑ100 range from outside ใปDisplays up to two entry signals after a trend reversal ใปSignals before the trend reversal are intentionally filtered out โ How to Use ใปThis indicator is not intended to be used alone ใปAlways use it together with "SPS TrendFlip Core" ใปUse Core to identify trend direction and Entry to time entries โ Disclaimer ใปThis script does not provide direct buy or sell instructions ใปSignals may not work in all market conditions ใปAlways apply your own judgment and proper risk management Pine Scriptยฎ indicatorby SPS_T5
Consolidating Trend MasterA complimentary Oscillator to the Hybrid ST/EMA Trend Table Indicator to help provide confident Confluence signals and when the market is consolidating/choppy/moving sideways. This Oscillator may also help someone with scalping. warning as always, no chart is 100% accurate. Pine Scriptยฎ indicatorby subcoolnate101
RSI + martingaleะขะพัะณะพะฒะฐั ัััะฐัะตะณะธั ะพัะฝะพะฒะฐะฝะฝะฐั ะฝะฐ ัะพะฒะผะตัะตะฝะธะธ ัะพัะณะพะฒะพะน ัะธััะตะผั ะะฐััะธะฝะณะตะนะป ะธ ะธะฝะดะตะบัะฐ ะพัะฝะพัะธัะตะปัะฝะพะน ัะธะปะฐ RSI. ะกะบัะธะฟั ะฒั ะพะดะธั ะฒ ัะดะตะปะบั ะฟะพัะปะต ะฟะตัะตัะตัะตะฝะธั ะทะฐะดะฐะฝะฝัั ััะพะฒะฝะตะน ะฟะตัะตะบัะฟะปะตะฝะฝะพััะธ ะธ ะฟะตัะตะฟัะพะดะฐะฝะฝะพััะธ RSI. ะะฐะฑะธัะฐะตั ะฟะพะทะธัะธั, ะฟะพ ัะผะพะปัะฐะฝะธั ัะผะฝะฐะถะฐั ัะฐะทะผะตั ะบะฐะถะดะพะน ะดะพะบัะฟะบะธ x2. ะะฐะบััะฒะฐะตััั ะฟะพ ัะตะนะบ-ะฟัะพัะธัั. A trading strategy based on combining the Martingale trading system and the Relative Strength Index (RSI). The script enters the trade after crossing the set overbought and oversold levels of the RSI. It takes a position, by default multiplying the size of each additional purchase by x2. It closes with a take profit.Pine Scriptยฎ strategyby sich111136
Trend Cloud with Buy/Sell Text [wjdtks255]Indicator Title: Trend Cloud with Buy/Sell Signal Pro Short Description A high-probability trend-following indicator based on Supertrend dynamics, enhanced with a Volume Filter to pinpoint explosive entries while minimizing false breakouts. Detailed Description (Overview) The Trend Cloud with Buy/Sell Text is designed for traders who prioritize clarity and momentum. It visualizes market trends through a "Trend Cloud" system and generates real-time BUY/SELL signals only when price action is backed by significant trading volume. Key Technical Pillars Dynamic Trend Cloud: Fills the area between the price and the Supertrend line, providing immediate visual feedback on trend strength and potential support/resistance zones. Smart Volume Filter: A unique logic that compares current volume against a 20-period moving average. Labels only appear when a trend shift occurs with above-average volume, filtering out weak "fakeouts." No-Repaint Labels: Signals are calculated and fixed at the close of the candle, ensuring that the BUY/SELL text remains permanent for reliable historical backtesting and live execution. The Alpha Hunter Strategy (How to Trade) 1. Long Entry (Buy) Condition: The cloud turns Aqua and a "BUY" label appears below the candle. Confirmation: Ensure the price remains above the Aqua Trend Line. Volume Check: The indicator automatically verifies if the volume is higher than the 20-period average before displaying the label. Exit: Exit when a "SELL" signal appears or the price closes below the Aqua line. 2. Short Entry (Sell) Condition: The cloud turns Red and a "SELL" label appears above the candle. Confirmation: Price should stay below the Red Trend Line. Exit: Exit when a "BUY" signal appears or the price closes above the Red line. Input Parameters & Optimization ATR Period (Default: 10): Determines the sensitivity to price volatility. ATR Factor (Default: 3.0): Controls the distance of the trend line. Increase to 3.5 - 4.0 to reduce noise in choppy markets. Volume Filter (Toggle): When enabled, only high-momentum signals are shown. Recommended Usage Best Timeframes: 15m, 1h, 4h. Asset Classes: Highly effective for Crypto (BTC/ETH) and high-volume stocks.Pine Scriptยฎ indicatorby wjdtks25554
Alpha Hunter Integrated MACD & Oscillator [wjdtks255]Indicator Title: Alpha Hunter Integrated MACD & Oscillator Pro Short Description A high-precision hybrid oscillator that integrates MACD dynamics with a secondary-smoothed histogram to eliminate market noise and capture trend reversals with minimal lag. Detailed Description Overview The Alpha Hunter Integrated MACD & Oscillator is designed to overcome the inherent lag of standard MACD indicators. By applying an exponential moving average (EMA) filter to the histogram itself and incorporating a momentum direction check, this tool identifies high-probability entry points while filtering out "whipsaws" commonly found in choppy markets. Key Technical Pillars Dual-Smoothed Histogram: Unlike standard oscillators, this script smooths the raw histogram values using a secondary filtering period. This reveals the true underlying momentum before price action fully shifts. Momentum Directional Filter: Entry signals are only triggered when the MACD lineโs slope aligns with the crossover, ensuring you don't enter against a stalling trend. Dynamic Trend Clouds: The visual fill between the MACD and Signal lines acts as a "Trend Cloud," providing immediate visual feedback on the strength and duration of the current trend. The Winning Trading Strategy (How to Use) To maximize win rates, it is highly recommended to use this indicator as a Confirmation Oscillator alongside a Long-term Trend Filter (like a 200 EMA) on your main chart. 1. Long Setup (Buy) Context: Price must be trading above the 200 EMA on the main chart. Signal: A green "BUY" triangle and label appear on the oscillator. Confirmation: The Histogram should be green and rising. Exit: Exit at a pre-defined Take Profit (TP) box or when a bearish MACD crossunder occurs. 2. Short Setup (Sell) Context: Price must be trading below the 200 EMA on the main chart. Signal: A red "SELL" triangle and label appear on the oscillator. Confirmation: The Histogram should be red and falling. Exit: Exit at the designated Stop Loss (SL) or when a bullish MACD crossover occurs. Input Parameters & Optimization Fast/Slow/Signal: Default 12, 26, 9. (Standard for most markets). Signal Smoothing: Set to 5 for a balance of speed and reliability. Increase to 8+ for swing trading on higher timeframes. Recommended Timeframes: 15m, 1h, and 4h for the best signal-to-noise ratio. Author's Note This indicator is a "No-Repaint" script. Signals are confirmed at the close of the candle to ensure reliability during live trading. Always use proper risk management.Pine Scriptยฎ indicatorby wjdtks2555556
T3 smooth MACD BB What this script does โ in plain words Smoothes the MACD with a special T3 filter, turning the raw MACD into a smoother line so shortโterm noise is reduced. Draws Bollingerโstyle bands around that smoothed MACD, giving a โmidโฏlineโ and upper/lower envelopes that show how far the line is from its recent average. Colors the main line green when itโs rising and red when itโs falling, helping you see the trend at a glance. Adds a bold zero line plus light gray markers on the bands so you can spot crossovers easily. Includes a translucent blue fill between the upper and lower bands for visual emphasis. This gives a clear, colorโcoded view of MACD momentum plus volatility bandsโall on the same indicator pane.Pine Scriptยฎ indicatorby luckyrooster47
True Early Rally Detector v2the best indicator that predicts bear market bottoms and the next parabolic movePine Scriptยฎ indicatorby KryptOnyxUpdated 14
MINI Lead Osc v2_ CCI_ Impulse_ REG๐น MINI Lead Osc v2 โ Momentum, Impulse & Early Reversal Tool MINI Lead Osc v2 is a leading momentum oscillator designed to detect early shifts in market strength, impulse exhaustion, and potential reversals before they become obvious on price. This indicator is part of the ICT Suite ecosystem and is engineered to work in confluence with: Regression SuperTrend (WAIT) Liquidity Oscillator (Structure & Bias) Used together, they form a complete top-down trading framework. โ๏ธ Core Logic MINI Lead Osc v2 blends multiple engines into a single clean signal: โข CCI + RSI slope momentum โข ATR volatility shift โข Pivot-based divergence detection โข Adaptive Sensitivity+ engine โข Regression channel (linreg + RMSE bands) The output is a normalized lead line that reacts before classic lagging indicators. ๐ What This Indicator Is Best For โ Early trend continuation signals โ Detecting impulse starts, weakness, and distribution โ Filtering noise during ranges โ Momentum confirmation for pullback entries โ Spotting divergence without repainting This is not a standalone โbuy/sell spamโ indicator โ it is a decision-quality tool. ๐ How to Use (Recommended Setup) For best results, use MINI Lead Osc v2 together with: 1๏ธโฃ Regression SuperTrend (WAIT) โ Defines dominant trend & market regime โ Filters counter-trend signals 2๏ธโฃ Liquidity Oscillator (Structure) โ Confirms break โ pullback โ continuation logic โ Adds HTF bias & session context 3๏ธโฃ MINI Lead Osc v2 (this script) โ Times entries โ Detects early momentum shifts โ Confirms impulse quality ๐ Trade only when all three align. ๐ง Important Notes โข Signals are non-repainting (bar-close confirmed) โข Designed for discretionary trading, not automation โข Works best on 5m โ 15m โ 1h timeframes โข Crypto, Futures, and FX friendly โ ๏ธ Disclaimer This indicator is for educational and analytical purposes only. It does not constitute financial advice. Always manage risk and confirm with price action.Pine Scriptยฎ indicatorby ugurilhan21118
MoneyMakers Scalping Signals1-5 min frame, a versatile market indicator designed to highlight emerging trends and structural shifts in crypto price action before they fully develop. By combining price dynamics, momentum behavior and market context into a clean visual output, it helps traders make more informed decisions without noise or lag. Suitable for both short- and mid-term analysis, the indicator offers a clearer view of potential reversal zones, trend continuations and key market cycles.Pine Scriptยฎ strategyby Zebras20651
Honor Estocastico + RSIHonor Stochastic + RSI (Honor Stoch) is a clean, high-clarity momentum oscillator designed for fast confirmation and disciplined entries. It combines a smoothed Stochastic (%K and %D) with an optional RSI overlay to help you read momentum shifts, potential reversals, and trend strength in one placeโwithout clutter. What you get Smoothed Stochastic (%K / %D): built with configurable K, D, and smoothing for cleaner signals. Key levels: 80 = Overbought 20 = Oversold 50 = Midline / equilibrium Visual zones: subtle fills to quickly identify overbought/oversold context. RSI (optional): Off by default. Enable it with โShow RSIโ to add a second confirmation layer without changing your workflow. How traders typically use it Look for %K crossing %D to spot momentum shifts. Use the 80/20 zones to identify potential exhaustion and reversals (especially when a trend is losing strength). Use the 50 line as a quick bias check (momentum above vs. below equilibrium). If enabled, confirm signals with RSI to avoid taking trades on weak momentum. Note: This indicator is a decision-support tool, not a signal machine. Always combine it with market structure, trend context, and risk management!. ----------------------------------------------------------------------------------------- Pine Scriptยฎ indicatorby GuajiTTvzla8
HoneG_CCIv14HoneG_CCI v14 This is a signal tool capable of both counter-trend and trend-following trading. Apply it to 1-minute charts. For trend-following, it features a rapid-fire mode. When conditions align, rapid-fire mode activates, and two indicators signaling the rapid-fire timing will turn ON/OFF in sync with price extension moments. ้ๅผตใใ้ ๅผตใใๅบๆฅใใตใคใณใใผใซใงใใ๏ผๅ่ถณใใฃใผใใซ้ฉ็จใใฆใใ ใใใ ้ ๅผตใใซใฏ้ฃๆใขใผใใใใใๆกไปถใๆใใจ้ฃๆใขใผใใ็บๅใใ้ฃๆใฟใคใใณใฐใ็ฅใใใไบใๆใฎ่กจ็คบใใไพกๆ ผใไผธใณใใฟใคใใณใฐใซๅใใใฆON/OFFใใพใใ Pine Scriptยฎ indicatorby TVYAMAUpdated 2
Triple Stochastic RSI [XYZ-Trades]Triple Stochastic RSI (original work from XYZ-Trades) with some minor additions to allow user to move table. Pine Scriptยฎ indicatorby Seanu308
Leotin ScalperThis is a quick scalping indicator. Mostly used on the 1 minute timeframe. It uses the RSI on the 14 period with 30 and 70. When it crosses the 70 line it and a hanging man or shooting star candle forms, it will give a sell indication. when crossing the 30 line and a hammer or inverted hammer is formed it will give a buy indication.Pine Scriptยฎ indicatorby TianLombaardUpdated 1114