ULTRA MASTER BUY GC ORB IB StrengthORB (Opening Range Breakout) IB (Initial Balance breakout) Golden Cross trend Strength filters (ADX, RSI, DI, VWAP, Volume) Score confirmation One alert per dayIndicador Pine Script®por gnanesh1majji114
MTF Fractal Model those who wanna use fractal model trading ,use it for best useIndicador Pine Script®por CandidCandle1118
Demo Indicator: AI Waves [Nexo Mechanics]This is a demo indicator that uses an AI selection model to choose between multiple moving-average "waves". It uses a UCB (Upper Confidence Bound) bandit model to dynamically choose between multiple moving-average “waves” and displays the selection plus basic learning metrics. At a high level, the model treats each wave as an option and keeps a running score for each one based on how it performed recently. It will usually stick with waves that have been doing well, but it will also occasionally try other waves so it doesn’t get stuck on something that stopped working. How the Model Learns When the model makes a prediction, it waits X bars (Prediction Horizon), then checks whether price moved in the predicted direction. If it did, that wave’s Avg Reward increases; if not, it decreases. Scoring Method For each wave, the model takes its Avg Reward and adds an exploration bonus that gets bigger when that wave hasn’t been used much yet. Conceptually: Score = Avg Reward + (Exploration Bonus). The exploration bonus grows with the Level of Exploration and shrinks as Uses increases, so the model will mostly follow the best-performing waves, but still occasionally test less-used ones to see if they’ve improved. Metrics Table Definitions Uses: how many predictions were made using that wave Avg Reward: how well that wave has worked recently (higher is better) Score: what the model uses internally to decide which wave to pick next (includes exploration) Notes This is intentionally lightweight and heuristic-based (not a deep learning model). It’s meant to show a practical way to use AI in Pine Script using a UCB approach. Not financial advice.Indicador Pine Script®por NexoMechanics4
MASTER BUY Golden Cross IB ORB ORB is Properly Locked ORB builds only between 9:15–9:30 After 9:30 it locks Range filter applied ✔ No repainting here 2️⃣ IB Session Uses input.session() IB builds only inside 9:30–10:30 Locks once session ends ✔ Very clean logic 3️⃣ Golden Cross Engine is State-Based Uses trendActive boolean Activates on crossover Deactivates on crossunder ✔ No repaint issue 4️⃣ One Alert Per Day Protection buyTriggered ✔ Prevents multiple alerts ✔ Watchlist safeIndicador Pine Script®por gnanesh1majji3
BTC 15m strat1 Inside BarThe strategy trades Bitcoin on the 15-minute chart using pullbacks to EMA20. Higher-timeframe SMAs define the main trend and filter out ranging periods. Entries occur only when price pulls back to EMA20 and then closes back in the trend direction. Additional confirmation comes from the daily SMA, EMA20 slope, and ADX strength (with a stricter threshold for shorts). Stop-loss is based on ATR, and take-profit is set as a fixed RR multiple. The strategy opens only one position per signal.Estratégia Pine Script®por tem1ch6
HJRC A6This strategy is an original, ethics-oriented reconstruction designed for research and discretionary trading support. It emphasizes fair execution, structural clarity, and disciplined risk control, rather than prediction or over-optimization.Estratégia Pine Script®por Wll4106842682
MA & BB Levels [ST]**MA & BB Levels ** is a comprehensive Multi-Timeframe (MTF) technical analysis tool designed to visualize key Weekly and Daily support and resistance levels on lower timeframe charts. This indicator helps traders identify significant dynamic levels that are often respected by institutional algorithms but are invisible on standard intraday charts. ### 🛠 Key Features 1. **Multi-Timeframe Overlays:** * Plots **Weekly** EMA 9, EMA 20, and Bollinger Bands (Upper/Lower). * Plots **Daily** EMA 9, EMA 20, and Bollinger Bands (Upper/Lower). * All levels are automatically calculated and synchronized, regardless of the chart's current timeframe. 2. **Smart Visuals:** * Uses extended lines to project levels forward, making it easy to anticipate price reactions. * Includes clear labels placed precisely on top of the lines (Label Lower Left style) to avoid obscuring the price action. * Customizable text sizes to fit different screen resolutions (4k/HD). 3. **Standardization :** * Part of the suite, ensuring optimized code performance and standardized inputs. * English-native codebase and settings. ### 📚 How to Use * **Trend Alignment:** Use the Weekly EMA 20 to gauge the macro trend direction while trading on intraday frames like 15m or 5m. * **Reversion Plays:** The Daily and Weekly Bollinger Bands often act as strong reversion points (Overbought/Oversold zones) when tested for the first time. * **Confluence:** Look for areas where a Daily EMA overlaps with a Weekly Bollinger Band level. These clusters often provide high-probability reaction zones. ### ⚙️ Settings * **Toggles:** You can individually turn on/off any Weekly or Daily level via the settings panel to keep your chart clean. * **Periods:** Standard defaults are EMA 9/20 and BB 20 (StdDev 2.0), but all periods are fully customizable. --- *Disclaimer: This tool is for educational purposes and technical analysis assistance only. Always manage your risk.*Indicador Pine Script®por impressive_Storkj9gr35
profitable"profitable" is a professional trading indicator designed to help traders understand market structure, timing, and key price levels in a clear and practical way. Its main purpose is to highlight where price is most likely to react by combining time-based sessions, important highs and lows, and average price ranges into one structured system. The indicator is built around session-based killzones such as Asia, London, and the different New York trading phases. For each session, it automatically draws a box that expands with price to mark the session high and low. These zones show where liquidity, volatility, and institutional activity are most likely to occur. Inside each killzone, the indicator can plot the session high, low, and midpoint, which are managed dynamically and remain on the chart until they are interacted with or invalidated. To measure volatility, the indicator tracks the price range of each session and calculates an average range over recent sessions. This helps traders quickly see whether current price movement is normal, compressed, or extended compared to recent market behavior. In addition, Bashh’s Cheatcode plots key higher-timeframe levels, including daily, weekly, and monthly opens, highs, and lows. These levels provide important context and help align intraday trades with the broader market structure. Optional alerts notify the trader when important levels are broken. The indicator also includes time-based reference lines, session opens, and vertical time markers to support precise execution and timing. An integrated Adaptive Symmetrical Average Range (ASAR) projects expected price expansion levels from a defined session anchor, helping identify potential exhaustion or reversal areas.Indicador Pine Script®por BastianwdhrAtualizado 4
Volumetric Supply and Demand Zones [BOSWaves]Volumetric Supply and Demand Zones - Impulse-Based Zone Detection with Embedded Volume Profile Analysis Overview Volumetric Supply and Demand Zones is an impulse-driven zone identification system that marks significant reversal areas through swing detection and volume accumulation patterns, where zone boundaries dynamically reflect actual trading activity concentration rather than arbitrary price levels. Instead of relying on traditional horizontal support/resistance lines or fixed pivot structures, zone placement, thickness, and volumetric composition are determined through ATR-normalized impulse detection, volume profile distribution analysis, and delta decomposition within base formation periods. This creates adaptive supply and demand boundaries that reflect actual volume accumulation patterns rather than simple price extremes - contracting zones around high-volume concentration areas when profile shows tight distribution, expanding zones during dispersed volume activity, and incorporating positive/negative delta breakdowns to reveal whether zones formed under buying or selling pressure dominance. Price interactions are therefore evaluated relative to volume-weighted zone structures and point-of-control levels rather than conventional naked price zones. Conceptual Framework Volumetric Supply and Demand Zones is founded on the principle that meaningful reversal zones emerge where significant volume accumulated during consolidation before impulse moves rather than at simple swing high/low pivot points. Traditional supply and demand methods identify zones using price structure alone through swing detection or candlestick patterns, which often ignores the underlying volume distribution and buying/selling pressure that validates institutional accumulation or distribution. This framework replaces price-only logic with volume-weighted zone construction informed by actual trading activity concentration and delta composition. Three core principles guide the design: Zone boundaries should encompass base formation periods preceding impulse moves, not isolated pivot candles alone. Volume profile distribution within zones must reveal where actual trading activity concentrated, identifying true points of control. Delta decomposition exposes whether zones formed under buying pressure (demand accumulation) or selling pressure (supply distribution). This shifts supply and demand analysis from naked price levels into volume-validated, delta-aware institutional footprint zones. Theoretical Foundation The indicator combines swing pivot detection, ATR-based impulse measurement, volume profile construction, and delta decomposition analysis. A pivot detection system identifies local swing highs and lows using configurable left/right bar parameters. Impulse validation measures the subsequent price move magnitude relative to ATR, confirming whether the swing preceded a significant directional thrust. Zone boundaries encompass a lookback period of candles forming the base, with maximum height capped by ATR multiplier to prevent excessively large zones. Volume profile divides each zone into horizontal rows, distributing volume proportionally based on price overlap and identifying the point of control (highest volume row). Delta profile separates volume into buying versus selling components using close-open relationships, revealing net directional pressure within each profile row. Five internal systems operate in tandem: Swing Detection Engine : Identifies pivot highs and lows using symmetrical left/right bar confirmation for potential zone anchor points. Impulse Validation System : Measures price movement magnitude following pivot formation, requiring ATR-multiple threshold breach to confirm zone significance. Volume Profile Constructor : Divides zone height into configurable rows, allocates volume proportionally based on bar price range overlap with each row, identifies POC as highest-volume row. Delta Decomposition Engine : Separates volume into buying (up-close bars) versus selling (down-close bars) components within each profile row, calculates net delta and dominant pressure direction. Zone Merge Logic : Detects overlapping zones of same type (supply/supply or demand/demand), combines boundaries and recalculates volume/delta statistics with weighted blending. This design allows supply and demand zones to reflect actual volume accumulation reality rather than reacting mechanically to price pivots alone. How It Works Volumetric Supply and Demand Zones evaluates price through a sequence of volume-aware zone construction processes: Pivot Identification : Swing detection algorithm identifies local highs and lows using configurable left/right bar symmetry, marking potential reversal zone anchors. Impulse Magnitude Validation : Following pivot formation, price movement measured relative to ATR over lookback period - move must exceed ATR multiplier threshold to confirm zone validity. Base Period Boundary Definition : Zone encompasses pivot bar plus configurable lookback candles forming the consolidation base preceding impulse move. Height Normalization : Raw zone height (high to low of base period) capped at maximum ATR multiplier to prevent zones becoming unreasonably large during extended consolidations. Volume Profile Row Allocation : Zone divided into configurable number of horizontal rows, each bar's volume distributed proportionally based on price range overlap with row boundaries. Point of Control Identification : Row with highest accumulated volume marked as POC, representing price level with maximum trading activity concentration within zone. Delta Component Separation : Each bar's volume classified as buying (close > open) or selling (close < open), allocated to respective delta buckets within overlapping profile rows. Delta Profile Construction : Net delta (buy volume minus sell volume) calculated per row, rendered as horizontal bars extending from zone right edge inward with green (positive) or red (negative) coloring. Overlap Detection and Merging : New zones checked against existing zones of same type, overlapping zones within merge gap threshold combined with boundary expansion and volume/delta statistics aggregation. Mitigation Detection : Price interaction monitoring using configurable method (wick or close) determines when zones violated, triggering zone deletion and cleanup of all visual elements. Together, these elements form a continuously updating supply and demand framework anchored in volume accumulation reality and delta pressure composition. Interpretation Volumetric Supply and Demand Zones should be interpreted as volume-validated institutional footprint zones: Demand Zones (Green) : Form at swing lows preceding upward impulse moves exceeding ATR threshold - represent areas where buyers accumulated positions before markup phase, volume profile shows where bids concentrated. Supply Zones (Red) : Establish at swing highs preceding downward impulse moves exceeding ATR threshold - identify areas where sellers distributed positions before markdown phase, volume profile shows where offers concentrated. Volume Profile Bars : Horizontal bars extending from zone left edge show relative volume distribution across price levels - longer bars indicate higher trading activity, revealing true institutional accumulation/distribution levels versus arbitrary zone edges. Point of Control Line (White) : Horizontal line within zone marks price level with maximum volume concentration - represents the most significant institutional activity level, often acts as magnetic price level during retests. Delta Profile Bars : Horizontal bars extending from zone right edge inward display net buying/selling pressure per price level - green bars show buy volume dominance (accumulation), red bars show sell volume dominance (distribution). Zone Info Box : Text panel on right edge displays zone type (SUPPLY/DEMAND), status (Fresh/Tested), total volume, net delta, and touch count - provides quantitative validation of zone significance. Fresh Status : Newly created zones not yet tested by price - highest probability reversal zones as institutional orders likely remain unfilled. Tested Status : Zones where price returned and interacted with boundaries - touch count reveals how many times zone provided support/resistance, excessive touches suggest weakening. Merged Zones : Wider zones with higher volume/delta values formed by combining multiple overlapping base periods - represent extended institutional accumulation/distribution areas with greater significance. POC Brightness : Brightest (white) volume profile bar marks point of control - visual emphasis highlights the most critical price level within zone structure. Volume distribution shape, POC placement, delta composition, and touch count outweigh simple zone boundary reactions. Signal Logic & Visual Cues Volumetric Supply and Demand Zones presents zone interaction insights rather than discrete directional signals: Fresh Zone Formation : New supply or demand zone created when swing pivot followed by ATR-threshold impulse - suggests institutional footprint left behind, high-probability reversal area established. First Retest (Fresh → Tested) : Price returning to previously untouched zone triggers status change and touch increment - historically highest-probability reaction level as unfilled orders likely remain. POC Magnetic Behavior : Price gravitating toward white POC line during zone interaction - suggests institutional activity concentration level acting as support/resistance within broader zone. Volume Profile Asymmetry : Profile showing volume concentrated at zone edge versus center reveals base formation character - edge concentration suggests quick accumulation before impulse, center concentration indicates prolonged consolidation. Delta Divergence Patterns : Demand zones showing negative delta profile (red bars dominant) or supply zones showing positive delta (green bars) reveal weak zone formation - pressure composition conflicted with expected direction. Delta Confirmation Patterns : Demand zones with strong positive delta (green bars) or supply zones with strong negative delta (red bars) validate institutional conviction - pressure aligned with expected reversal direction. Excessive Touch Degradation : Touch count exceeding 3-4 interactions suggests zone weakening - repeated tests consume institutional orders, reducing reversal probability. Mitigation Events : Price closing beyond zone boundaries (or wicking through, based on settings) triggers zone deletion - invalidation confirms institutional levels failed, trend continuation likely. The primary value lies in volume-validated zone structure and delta composition analysis rather than simple boundary touches. Strategy Integration Volumetric Supply and Demand Zones fits within institutional footprint and order flow-aware trading approaches: Fresh Zone Reversal Entries : Enter counter-trend positions at first retest of fresh zones with strong delta confirmation - unfilled institutional orders provide high-probability reaction levels. POC-Precise Limit Orders : Place entries at POC line rather than zone edges - point of control represents maximum volume concentration, offering tighter stop placement and better risk/reward. Delta-Filtered Zone Selection : Prioritize demand zones showing positive net delta and supply zones showing negative net delta-aligned pressure composition validates institutional conviction. Volume Profile Distribution Analysis : Favor zones with tight volume concentration (profile bars clustered) over dispersed distribution - concentrated profiles suggest decisive institutional accumulation/distribution. Merge-Enhanced Conviction : Treat merged zones with higher volume/delta totals as stronger reversal candidates - combined statistics represent extended institutional activity periods. Touch Count Degradation Filtering : Reduce position sizing or avoid zones with 3+ touches - excessive interaction depletes institutional orders, weakening reversal probability. Trend Continuation via Mitigation : Enter breakout positions when price closes beyond supply zones (uptrend) or demand zones (downtrend) - mitigation confirms trend strength overwhelming institutional levels. Multi-Timeframe Zone Confluence : Apply higher-timeframe zones for macro structure, use lower-timeframe volume profile to identify precise entry levels within larger zones. Technical Implementation Details Core Engine : Pivot detection with symmetrical left/right confirmation, ATR-normalized impulse validation Zone Construction : Base period lookback with ATR-capped height normalization and time-based extension Volume Profile System : Proportional volume allocation across configurable rows with overlap percentage calculation Delta Engine : Close-open relationship classification separating buy/sell volume with net delta calculation per row POC Identification : Maximum volume row detection with visual emphasis rendering Merge Logic : Overlap detection with gap threshold, boundary expansion, and weighted statistic aggregation Visualization : Multi-element rendering (zone boxes, profile bars, delta bars, POC lines, info panels) with proportional sizing Performance Profile : Custom type system for zone/profile/delta management, efficient array-based storage with configurable zone limits Optimal Application Parameters Timeframe Guidance: 1 - 5 min : Micro-structure supply/demand for scalping with tight ATR multipliers and reduced lookback 15 - 60 min : Intraday institutional footprint zones with balanced profile row count and merge sensitivity 4H - Daily : Swing-level accumulation/distribution areas with extended lookback periods and wider merge gaps Weekly - Monthly : Macro institutional zones with maximum profile detail and extended zone persistence Suggested Baseline Configuration: Swing Length : 8 Impulse Size (ATR) : 1.2 Base Lookback Candles : 3 ATR Length : 14 Maximum Zone Height (ATR) : 4.0 Maximum Zones : 10 Extend Zones (bars) : 60 Merge Overlapping Zones : Enabled Merge Gap (ATR) : 0.3 Mitigation Type : Wick Profile Rows : 10 Profile Width (%) : 0.5 Show POC Line : Enabled Show Delta Profile : Enabled Delta Profile Width (%) : 0.35 Show Zone Info Box : Enabled These suggested parameters should be used as a baseline; their effectiveness depends on the asset's volatility profile, volume characteristics, and preferred zone sensitivity, so fine-tuning is expected for optimal performance. Parameter Calibration Notes Use the following adjustments to refine behavior without altering the core logic: Too many zones cluttering chart : Increase Swing Length (10 - 12) to demand stronger pivots, or increase Impulse Size multiplier (1.5 - 2.0) to require larger moves for zone validation. Missing significant reversal levels : Decrease Swing Length (5-6) for earlier pivot detection, or reduce Impulse Size (0.8 - 1.0) to capture smaller but valid base formations. Zones too large/tall : Reduce Maximum Zone Height ATR multiplier (2.5 - 3.0) to cap vertical size, or decrease Base Lookback Candles (1 - 2) for tighter base periods. Zones too small to be useful : Increase Base Lookback Candles (4 - 6) to encompass longer consolidation periods, or raise Maximum Zone Height (5.0 - 7.0) for taller zones. Profile bars too granular : Decrease Profile Rows (6 - 8) for coarser distribution showing major volume clusters only. Profile lacking detail : Increase Profile Rows (15 - 20) for finer resolution revealing subtle volume distribution nuances. Zones merging too aggressively : Decrease Merge Gap ATR multiplier (0.1 - 0.2) to require tighter overlap for merge qualification, or disable merging entirely. Related zones not combining : Increase Merge Gap (0.5 - 0.8) to allow merging of zones with larger separation distances. Zones invalidating prematurely : Switch Mitigation Type from "Wick" to "Close" to require closing violation rather than intrabar penetration. Zones persisting too long after breach : Switch Mitigation Type from "Close" to "Wick" for faster invalidation on initial penetration. Profile bars invisible : Increase Profile Width percentage (0.6 - 0.8) for longer bars, improving visibility on cluttered charts. Delta profile obscuring volume profile : Reduce Delta Profile Width (0.2 - 0.3) to prevent overlap, or disable delta display temporarily. Adjustments should be incremental and evaluated across multiple session types rather than isolated market conditions. Performance Characteristics High Effectiveness: Range-bound and mean-reverting markets where institutional zones provide reliable turning points Instruments with consistent volume characteristics where profile distribution reveals true accumulation/distribution Swing trading approaches targeting zone-to-zone reactions with defined risk parameters Reversal strategies seeking volume-validated entry levels rather than blind counter-trend positions Markets where delta proxy correlates well with actual order flow (trending volume instruments) Position trading benefiting from macro supply/demand structure with embedded volume context Reduced Effectiveness: Extremely low volume environments where profile distribution becomes unreliable and sparse News-driven or gapped markets where zones form/invalidate without normal volume accumulation patterns Highly trending markets where zones consistently mitigate without providing reversal opportunities Instruments with erratic volume patterns making delta decomposition and profile interpretation misleading Very high-frequency timeframes (seconds) where base formation periods too short for meaningful volume accumulation Integration Guidelines Confluence : Combine with BOSWaves structure, market profile, or traditional technical analysis for zone validation within broader context Volume Profile Respect : Trust POC levels and high-volume profile bars over arbitrary zone edges for entry/exit precision Delta Confirmation Priority : Favor zones where delta composition aligns with expected direction - positive delta in demand, negative delta in supply Fresh Zone Preference : Prioritize first retests of untouched zones over repeatedly tested areas with high touch counts Merge Recognition : Treat merged zones with elevated volume/delta statistics as higher-conviction institutional footprint areas Touch Count Filtering : Reduce position sizing or avoid zones after 3+ touches as institutional order depletion reduces effectiveness Mitigation Discipline : Exit zone-based positions decisively when price closes beyond boundaries, respecting invalidation signals Multi-Timeframe Structure : Apply higher-timeframe zones for swing structure, use lower-timeframe profiles for tactical entry refinement Disclaimer Volumetric Supply and Demand Zones is a professional-grade supply/demand zone and volume profile analysis tool. It uses volume-based delta proxy to estimate directional pressure but does not access true order book data or institutional trade information. Results depend on market conditions, volume reliability, ATR characteristics, parameter selection, and disciplined execution. Volume profile and delta calculations represent approximations based on close-open relationships and price overlap formulas, not actual bid/ask transactions. BOSWaves recommends deploying this indicator within a broader analytical framework that incorporates price structure, order flow context, and comprehensive risk management.Indicador Pine Script®por BOSWaves66 1 K
BPS Dashboard (Alert)#BPS Dashboard (Alert) 1. Script Loading: Add the script to your chart. Ensure you are on a liquid ticker (like SPX or high-volume stocks) as the volatility and "Expected Move" calculations rely on consistent price data. 2. Dashboard Placement: By default, the dashboard is set to the Bottom-Right with Normal text size. If you need to move it, go to Settings > Dashboard Settings to adjust position and scale. 3. Trend Confirmation (Bias): Use the "Bias" cell as your primary filter. Only consider opening a Bull Put Spread when the status is BULLISH or STRONG BULLISH. 4. Volatility Check: Monitor the Ann. Vol (Annualized Volatility). The script highlights this in green when risk is low (<35%) and red when it's high (>50%). High vol increases your premium but also the risk of a fast move against you. 5. Strike Selection (Short Put): The dashboard automatically calculates a suggested Short Put strike based on a 1.3x standard deviation "Expected Move" (approx. 37 days to expiration). Use this as your primary anchor for the "sold" leg. 6. Spread Protection (Long Put): The Long Put strike is dynamically calculated based on the available buffer. This helps maintain a proportional risk-reward ratio regardless of market conditions. 7. Safety Margin (Buffer): Check the Buffer %! This tells you how much the price can drop before your Short Put is breached. Aim for a buffer of >6% (Green) for a conservative entry. 8. Automated Alerts: The script is programmed with sound-trigger logic. To activate, click the "Alerts" icon in TradingView, select "BPS Dashboard (Alert)" as the condition, and ensure "Play Sound" is checked. 9. Signal Execution: Buy Signal: Look for the green triangle below the bars (Neutral to Bullish shift). Sell/Exit Signal: Look for the red triangle above the bars (Shift to Bearish). 10. Risk Management: Never rely solely on the dashboard. Use the visual Linear Regression lines (LR50/LR100) on your chart to confirm that the price is not overextended before entering a new position. Indicador Pine Script®por Psychotrader40
Daily + Weeklyيتم يرسم خطين للقمة والقاع لليوم السابق وأيضا للقمة والقاع الأسبوع السابق بشكل تلقائي ودقيق Two lines are drawn: For the previous day's high and low, and also for the previous week's high and low, automatically and accurately.Indicador Pine Script®por abosaud01
Chan Lun Trend: Bottom Reversal & Top Escape Warning🇨🇳 中文版本 指标简介 本指标旨在通过数学建模模拟“缠论”中的趋势演变逻辑。它巧妙地结合了 RSV(未成熟随机值)、SMA 加权平均算法以及价格支撑阻力区间,通过一套平滑且敏感的趋势线,捕捉价格在极端区域的动能衰竭与反转机会。 🚀 核心功能 趋势线 (Trend Line): 紫红色加粗线,基于 $3K - 2D$ 的逻辑计算,能比传统 RSI 或 KDJ 更早发现动能转向。 底部爆发区 (Bottom Zone): 当趋势线进入 11 以下区域(黄色柱状图),提示市场进入超卖区,随时可能启动。 顶部风险区 (Top Zone): 当趋势线进入 89 以上区域(白色柱状图),提示获利了结,谨防冲高回落。 强力信号指示: ★ 买入/卖出: 结合了趋势线交叉与价格位置(中轴线以下买入,以上卖出),过滤掉大部分震荡杂波。 准备仓位/小心反转: 提前预警,给交易者心理准备时间 。 💡 如何使用 抄底逻辑: 当黄色柱状图出现后,密切关注趋势线上穿 11 或 0 的瞬间。如果此时出现红色下单柱,即为入场时机。 逃顶逻辑: 当白色柱状图密集出现,且趋势线下穿 89 或 100 区域。伴随绿色下单柱出现,应及时止盈。 过滤器: 该脚本内置了 mid_price(中轴价)过滤器,确保你不会在价格相对高位去追多。 ⚠️ 注意事项本指标更适用于趋势明显的市场或宽幅震荡。建议: 配合 K 线形态(如缠论中的分型、笔、线段)共同使用,效果更佳。 🌎 English Version Description This indicator is designed to simulate the trend evolution logic of Chan Lun (缠论) through mathematical modeling. It intelligently combines RSV (Raw Stochastic Value), SMA weighted algorithms, and Price Support/Resistance zones. By utilizing a smooth yet highly sensitive trend line, it captures momentum exhaustion and reversal opportunities in extreme market zones. 🚀 Key Features Trend Line: A bold fuchsia line based on the $3K - 2D$ logic. It identifies momentum shifts significantly earlier than traditional RSI or KDJ. Bottom Breakout Zone: When the trend line drops below 11 (highlighted by Yellow histograms), it signals a deep oversold area where a rebound is imminent. Top Risk Zone: When the trend line rises above 89 (highlighted by White histograms), it warns of profit-taking and potential pullbacks. Dynamic Signal Labels: ★ Buy/Sell: Advanced logic that combines trend crossovers with price position filters (buying below the mid-line, selling above it). Preparation/Caution: Early warning labels to give traders psychological time to prepare for a position change. Indicador Pine Script®por william_wqAtualizado 11
ND / NSAn indicator that shows No Demand and No Supply candles, in accordance with the Wyckoff methodology. The presence of No Demand in a downtrend may indicate that the trend will continue. Likewise, the presence of No Supply may indicate that the uptrend could continue. Similarly, at support or resistance levels, it may indicate an absence of demand or supply and, consequently, a lack of breakoutIndicador Pine Script®por juanmi231
Multibox USA IndexScript che disegna i Box delle sessioni sui mercati USAIndicador Pine Script®por Lullo732
Top score Scalping 3-Signal Dashboard v2If you are using this indicator in an international environment or want to understand the English terminology used in professional trading, here is a guide on how to use and interpret the **Scalping 3-Signal Dashboard v2**. --- ## 1. Understanding the Dashboard Logic The dashboard works on a **Confluence Model**. Instead of following one indicator blindly, it looks for "agreement" between three different types of analysis: * **Trend Analysis (EMA):** Shows the direction of the market. * **Momentum Analysis (RSI):** Shows the strength of the move. * **Volume Analysis (VFI):** Shows if "Big Money" is supporting the move. ### 📊 Score Interpretation The **Verdict** row is your final decision maker: * **"BUY ZONE" (Score 60% - 100%):** High probability bullish setup. All or most signals are aligned. * **"SELL ZONE" (Score 60% - 100%):** High probability bearish setup. * **"WAIT":** The market is in a **Conflict State**. (e.g., Price is going up, but volume is decreasing). **Do not trade.** --- ## 2. Trading Terms & Actions When using this tool, you will encounter these English terms in the settings and alerts: | English Term | Definition / Action | | --- | --- | | **Bullish** | Market is going up (Look for Buy). | | **Bearish** | Market is going down (Look for Sell). | | **Crossover** | When the Fast EMA crosses the Slow EMA (Trend change). | | **Neutral** | RSI is near 50; no clear strength in either direction. | | **Probability (Prob)** | The calculated confidence level of the signal. | | **Trigger** | The exact moment the "BUY" or "SELL" label appears. | --- ## 3. How to Execute a Trade (Step-by-Step) ### **Step 1: Check the Verdict** Wait for the **"BUY ZONE"** or **"SELL ZONE"** to appear on the dashboard. Do not enter if the dashboard says **"WAIT"**. ### **Step 2: Verify the Signal (The Arrow)** Look for the **Green Label (BUY)** below the candle or the **Red Label (SELL)** above the candle. * *Tip:* The best signals happen when the labels appear just as the EMAs cross each other. ### **Step 3: Set Your Exit (Risk Management)** Since this script doesn't provide exit targets, use these standard English trading rules: * **Stop Loss (SL):** Place it below the recent "Swing Low" (for Buys) or above the "Swing High" (for Sells). * **Take Profit (TP):** Aim for a **Risk/Reward ratio of 1:1.5 or 1:2**. --- ## 4. Optimization Settings (Inputs) If you want to change the settings, here is what the English labels mean: * **EMA Fast/Slow Length:** Adjusts how sensitive the trend lines are. * **Min Probability:** The threshold for showing arrows. If you want fewer, more accurate signals, increase this to **70%**. * **Weight Settings:** How much "importance" you give to each indicator. If you trust Volume more than RSI, increase the **VFI Weight**. --- ### 💡 Pro Tip for XAUUSD (Gold) Gold is highly volatile. In English, we call this **"Market Noise."** To avoid being "stopped out" by noise, it is best to use this indicator during high-volume sessions: 1. **London Session** (starts ~8:00 AM GMT) 2. **New York Session** (starts ~1:00 PM GMT) **Would you like me to translate the labels inside the script's code into English so the dashboard itself displays English text?**Indicador Pine Script®por thanachaiyo2789
Double Relative Strength Index - DRSI🎯 Overview This is the Double Relative Strength Index (DRSI) indicator for TradingView - an advanced momentum oscillator that applies a unique mathematical transformation to traditional RSI, creating amplified signals with reduced lag while maintaining trend awareness ⚡ 🧩 Core Components ⚙️ Indicator Settings 🎛️ Input Parameters A. 🎨 Color Settings: 6 different color themes: 🎨 Classic, ✨ Neon, 🚀 Modern, 💪 Robust, 🌈 Accented, ⚫⚪ Monochrome Each theme provides distinct bullish/bearish color pairs B. 📊 DRSI Configuration: 📏 Length: Default 14 periods 📈 Source: Default close price (customizable) 📈 Long Threshold: Default 57 (asymmetric upper level) 📉 Short Threshold: Default 56 (asymmetric lower level) 🧮 Technical Calculations A. 📈 Double RSI Formula: DRSI = 2 × RSI - RSI(RSI) First: Standard RSI calculation Second: RSI applied to first RSI values Mathematical transformation amplifies momentum changes B. 🔄 State Tracking System: State persists until opposite threshold is crossed Reduces whipsaws through state memory C. 🔔 Signal Detection: 🟢 isBull_D_RSI: (bullish condition) 🔴 isBear_D_RSI: (bearish condition) 🟢 Bull_D_RSI: Crossover signal (DRSI crosses above Long Threshold) 🔴 Bear_D_RSI: Crossunder signal (DRSI crosses below Short Threshold) 👁️ Visual Elements A. 📉 Main Plots: 📊 DRSI Line: Thick line (width 2) colored conditionally based on position relative to thresholds 🎯 Long Threshold Line: Upper boundary with thematic bullish color 🎯 Short Threshold Line: Lower boundary with thematic bearish color B. 🎨 Fill Areas: 🟢 Overbought Zone: Filled between DRSI and Long Threshold 🔴 Oversold Zone: Filled between DRSI and Short Threshold 🌈 Dynamic Middle Fill: Adaptive area that shifts based on market state C. 📊 Enhanced Visualization: 🎨 Colored Candles: Price bars colored based on DRSI signal state 🔺 Signal Markers: Triangle indicators above/below bars for entry signals 📝 Current Value Label: Real-time DRSI value displayed on last bar D. 📋 Table Display: Shows "⬆️ Bullish", "⬇️ Bearish", or "🔀 Reversion" with appropriate coloring 🔔 Alert System 🟢 LONG Alert: Triggers when DRSI crosses above Long Threshold 🔴 SHORT Alert: Triggers when DRSI crosses below Short Threshold Includes ticker symbol in alert message 🏁 Trading Logic 🎯 Primary Signals: 🟢 Bullish Setup: 📈 DRSI crosses above Long Threshold (57) 📊 Bullish state persists while DRSI > Short Threshold 🎨 Visual: Theme bull colors, bullish fills, up triangles 🔴 Bearish Setup: 📉 DRSI crosses below Short Threshold (56) 📊 Bearish state persists while DRSI < Long Threshold 🎨 Visual: Theme bear colors, bearish fills, down triangles ✨ Key Features: ⚡ Amplified Momentum: Double calculation provides faster response than standard RSI 🛡️ State Persistence: Reduces whipsaws by maintaining signal until opposite threshold crossed 🎯 Asymmetric Thresholds: 57/56 levels account for market bias vs traditional 70/30 👁️ Multi-Layer Visualization: Candles, fills, markers, and table provide comprehensive view 🛠️ Customizability: Six color themes adapt to different preferences and trading styles 💻 Code Structure The script is well-organized with clear sections: ⚙️ Input settings 🧮 DRSI calculations 🔄 State tracking logic 🎨 Color definitions 📊 Multi-layer plotting 📋 Table display 🔔 Alert conditions 🎯 Best Use Cases 📈 Momentum Trading: Detects accelerating/decelerating momentum with reduced lag 🔄 Swing Trading: Asymmetric thresholds work well for swing entry/exit points ⚡ Responsive Signals: Faster than traditional RSI for timely entries 📊 Multi-Timeframe Analysis: Works across various timeframes for confirmation ✅ Signal Filtering: State persistence filters out noise and false breakouts 🏆 Unique Advantages 🎯 Mathematical Innovation: DRSI formula transforms traditional oscillator behavior 🛡️ Reduced Whipsaws: State tracking prevents premature signal reversals 👁️ Comprehensive Display: Four visual layers (candles, fills, markers, table) communicate clearly ⚡ Balanced Responsiveness: Faster than traditional RSI but more stable than raw momentum 💼 Professional Presentation: Clean, modern interface suitable for serious trading analysisIndicador Pine Script®por Tiagorocha198917
ARVEX Impulse Cones v2.1 ARVEX Impulse Cones is a direction-and-volatility context tool that highlights strong impulse moves and visualizes a forward range framework based on recent volatility and trend conditions. It is designed for market analysis and context. It does not provide financial advice and should not be used as a standalone decision system. ⸻ What you see on the chart • Impulse Cone: a forward “cone” structure with an inner/outer band • Direction coloring (bull/bear) to reflect the current impulse context • Optional Flow Ribbon (EMA + volatility bands) for background trend context • Optional Previous Day Range overlay (prior high/low/mid) • Compact HUD showing: • impulse direction (Up / Down / None) • profile (Conservative / Aggressive / Flow) • score/state (information only) • remaining cone life (bars) ⸻ How it works (high level) • Detects impulse events using a combination of range/volatility measures, breakout logic, and trend slope • Builds a time-limited forward framework where band width adapts to current volatility • Optional higher-timeframe trend filter can be enabled to reduce counter-trend impulses ⸻ Alerts (optional) If enabled, alerts can notify when: • a new impulse framework becomes active • a “setup window” / higher-context state appears (Alerts are informational and depend on settings/timeframe.) ⸻ Notes / Disclaimer Forward frameworks are visual context only. Market behavior varies by symbol and timeframe. Always use your own confirmation and risk controls.Indicador Pine Script®por ARVEXalgo2
ARVEX OB RadarARVEX OB Radar is an automated order-block style zone mapper built around structural swing breaks and zone interaction tracking. It helps you highlight and manage potential OB areas on the chart and provides an optional rule-based quality score to prioritize zones. This script is intended for analysis and context only. ⸻ What you see on the chart • Bull / Bear OB-style boxes projected forward • Optional BOS markers (structural break events used as a trigger for zone creation) • Optional mitigation / touch markers when price revisits a zone • A small HUD showing the nearest bull / bear zone and the active preset/profile ⸻ 1) OB-style zone creation (structure-based) OB Radar tracks swing structure and identifies break events. After a confirmed structural break, it finds the last opposing candle in the pre-break sequence and defines an OB-style zone from that candle’s range (body/wick depending on your settings). • Bullish zone: last bearish candle before an upside structural break • Bearish zone: last bullish candle before a downside structural break ⸻ 2) Zone management (keep the chart clean) Zones can be managed automatically via settings such as: • Forward extension • Max active zones • Age fading / de-emphasis of older zones • Optional invalidation rules when price decisively breaks through the zone boundary ⸻ 3) Optional quality score (0–100) The script can compute a rule-based score to rank zones. Depending on your configuration/preset, the score may incorporate factors such as: • Relative displacement / impulse size • Volatility normalization • Higher-timeframe alignment filter (optional) • Additional confirmation heuristics (optional) Scores are meant to help prioritize zones, not to guarantee outcomes. ⸻ 4) Mitigation / interaction tracking (optional) When price revisits an active zone, OB Radar can mark the interaction as a mitigation/touch event. This can help you see which zones have already been tested versus untouched. ⸻ Alerts (optional) If enabled, alerts can notify you of: • Structural break events (BOS-style) • High-score zone interactions / mitigations (based on your threshold) Alerts are informational and trigger per your script rules. ⸻ Notes / Disclaimer All zones and scores are rule-based and depend on symbol, timeframe, and settings. Always confirm with your own method and risk management. Indicador Pine Script®por ARVEXalgo1
MTF Table Hariss 369MTF Table Hariss 369 MTF Table Hariss 369 is a multi-timeframe directional dashboard designed to provide a clear EMA-based trend bias along with ATR-derived risk levels across key timeframes — all in one compact table. This indicator is not a signal spam tool. It is built to help traders align entries with higher-timeframe structure and plan trades with pre-defined risk and reward levels. 🔍 How It Works For each timeframe shown in the table: 🔹 Direction (DIR) BUY → Price is above the EMA SELL → Price is below the EMA This ensures the table always shows a directional bias and never remains blank. 🔹 Entry Current close price of the selected timeframe 🔹 Stop Loss (SL) Calculated using ATR × SL Multiplier Dynamically adapts to volatility 🔹 Targets (TP1 / TP2) ATR-based projected targets Designed for scaling out or partial profit booking 🧠 Key Features ✔ Multi-Timeframe overview (5m → Weekly) ✔ EMA-based trend bias (non-repainting) ✔ ATR-based SL & TP levels ✔ Clean, distraction-free table layout ✔ Uses lookahead_off for safety ✔ Works on Crypto, Indices, Forex & Commodities 📌 Best Use Case This tool works best as: A trend alignment dashboard A trade planning assistant A confirmation layer for existing strategies 💡 Combine with: Market structure Support & resistance Volume or momentum tools ⚠️ Important Notes This indicator does not generate candle-by-candle buy/sell alerts. Signals update only on candle close (no repaint). ATR levels are reference points, not guaranteed exits. Always apply proper risk management. 🎯 Who Should Use This? ✔ Swing traders ✔ Intraday traders ✔ Position traders ✔ Traders using EMA-based trend systems ⚠️ Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations. All values shown (direction, entry, stop loss, and targets) are algorithmic references based on EMA and ATR calculations and should not be interpreted as guaranteed trade outcomes. Markets involve risk. Past performance does not guarantee future results. You are solely responsible for your trading decisions and risk management. The author assumes no liability for any losses incurred from the use of this indicator. Always: Confirm signals with your own analysis Apply strict risk management Use this tool alongside price action, structure, and market context By using this indicator, you agree that you understand and accept these risks. 🛠 Author Hariss 369Indicador Pine Script®por Hariss3695
Breakout Scanner (Crypto) Multi ExchangeBreakout Scanner – is a real-time crypto watchlist designed to highlight potential bullish and bearish breakouts across major exchanges. The scanner monitors up to 40 symbols simultaneously and detects structural breakout conditions using Jarvis’ breakout logic, with optional candle-body confirmation. Key features: • Multi-exchange support (Binance, KuCoin, MEXC, Kraken) • Long and short breakout detection • Sticky intrabar scan table to prevent missed signals • Optional on-chart markers and labels for the current symbol • Full alert support for LONG and SHORT signal lists How to add your own symbols Open the script settings → Inputs → select your exchange, then edit the token list in the code to add or replace symbols (USDT pairs). Keep the total number of tokens ≤ 40 to stay within TradingView limits. This script is a scanner / watchlist tool only. It does not place trades or manage exits and is intended for alerting and market awareness rather than execution.Indicador Pine Script®por JarvisPro2
ARVEX Hydra v2.2 ARVEX Hydra v2.2 is an all-in-one market structure and liquidity mapping overlay. It helps you visualize key structural events and commonly-used price areas on any chart, including: • Structure shifts (BOS / CHoCH) • Swing sweeps (liquidity raids) • Order-block style zones • Fair-value-gap style imbalances • Optional risk guide levels (R-multiples) Hydra is designed as an analysis and context tool. It does not provide financial advice. ⸻ What you see on the chart • A structure layer with labels such as BOS (break of structure) and CH (change of character) • SW markers for swing sweeps (wicks beyond a prior swing that revert back) • Highlighted zones for OB and FVG-style areas (optional) • Optional projected levels (e.g., R1 / R2 / R3 / R4) for visual planning • A compact HUD showing current state (bias/regime/profile + OB/FVG counts + legend) ⸻ 1) Market structure (BOS / CH) Hydra tracks swing highs/lows and identifies: • BOS when price breaks a recent structural swing level • CH / CHoCH when the swing structure shifts direction (character change) These labels are intended to highlight structure events that many traders watch for context. ⸻ 2) Liquidity sweeps (SW) Hydra optionally flags swing sweeps where price: • Wicks beyond a prior swing high/low • Then closes back within/inside that level This can help visualize areas where a swing level was briefly exceeded and then rejected. ⸻ 3) OB & FVG-style zones (optional) Hydra can draw zones that represent: • Order-block style areas (commonly defined as the last opposing candle before a structural break) • Fair-value-gap style areas (price imbalance zones) Zones can be extended forward and optionally faded/marked after mitigation, depending on settings. ⸻ 4) Regime / filters / declutter (optional) To keep charts readable, Hydra includes controls such as: • Bar-close confirmation for events • Spacing/declutter options (reduce label overlap) • Optional higher-timeframe alignment filters • Optional session/time filters (if enabled in your build) ⸻ 5) Risk guide (optional) Hydra can display a simple ATR-based risk guide with projected R-multiple levels. These levels are informational and meant for planning/visual reference only. ⸻ Notes / Disclaimer All outputs are rule-based and depend on symbol, timeframe, and settings. Always validate with your own method and risk management. Indicador Pine Script®por ARVEXalgo1
ARVEX Squeeze MapARVEX Squeeze Map is a volatility + trend context overlay that visualizes compression vs expansion, directional bias, and potential retest areas using a stacked, ATR-based cloud around price. It is designed as a context layer for analysis and discretionary decision-making. It does not provide financial advice. ⸻ What you see on the chart • A multi-layer cloud around a baseline average (three volatility shells) • Directional coloring (bullish vs bearish bias) based on the active context • Optional release markers when volatility transitions from compression into expansion • Optional retest zones projected forward after a release event (visual areas of interest) • A compact HUD with a context summary (components and an overall confidence score) ⸻ 1) Multi-layer volatility cloud Squeeze Map builds a volatility “shell” around a baseline using ATR-scaled bands: • Inner layer (near-mean reaction zone) • Mid layer (primary operating area) • Outer layer (extended / stretched conditions) This helps visualize whether price is moving close to its mean or operating at more stretched distances, relative to recent volatility. ⸻ 2) Compression vs expansion (“squeeze” state) The script evaluates volatility conditions by comparing measures of dispersion and range (e.g., standard deviation vs ATR behavior). When volatility is relatively suppressed, the environment is treated as compression. When volatility expands, the environment is treated as expansion. ⸻ 3) Release events and retest zones (optional) If enabled, the indicator can mark release events where price action transitions out of compression into expansion based on user-defined rules (e.g., break of recent extremes). After a release, Squeeze Map can project a retest zone forward for a configurable number of bars. These zones are informational and intended to highlight areas that some traders monitor for reactions or pullbacks. ⸻ 4) Context score (HUD) An optional HUD summarizes the environment using a composite score (0–100) built from multiple components such as: • trend/flow behavior • volatility regime • structural context • higher-timeframe alignment (if enabled) The score is intended as relative context, not prediction. ⸻ Typical use • Identify compression phases and monitor for expansion • Use the cloud as a dynamic context map (mean proximity vs extension) • Combine with other tools (structure, levels, execution rules) to plan and filter setups ⸻ Notes / Disclaimer All outputs are rule-based and depend on settings, symbol characteristics, and timeframe. Always validate with your own process and risk management. Indicador Pine Script®por ARVEXalgo1
Trend Tracking Signal System一款适合A股的交易决策工具,其核心逻辑可以拆解为以下四个维度: 1. 动能过滤:趋势双线 (Kinetic Dual-Lines) 系统不直接使用原始价格,而是通过线性回归斜率 (Slope) 对 EMA 进行修正。 买线 (Buy Line):极短周期的 EMA,反应瞬时价格重心。 卖线 (Sell Line):核心所在。它计算了 21 周期内的价格斜率,并外推 20 个周期。 原理:如果价格上涨但斜率放缓,卖线会迅速上移,导致买线跌破卖线(变蓝),从而在暴跌前提前离场。 视觉反馈: 黄色K线:买线上穿卖线,趋势确立。 蓝色K线:买线下穿卖线,趋势终结。 2. 形态捕捉:底背离 (Bottom Divergence) 逻辑:代码中通过 ff (EMA 3) 与 ma15 (EMA 21) 的交叉来定义。 实战意义:当股价经历长期下跌后,短期均线(3日)强力扭转上穿中期均线(21日),意味着空头动能枯竭。 显示:图表底部会标注 “底背离” 标签,这通常是左侧交易者的“潜伏”信号。 3. 仓位管理:跟进与加码 (Pyramiding Logic) 这是本系统最独特的逻辑,它通过统计 55日新高 (HHV 55) 后的表现来决定是否加仓: “跟” (跟进信号 - B1): 触发条件:股价放量突破 55 日最高点,且之前没有出现过止损信号。 含义:代表行情进入“右侧确认为真突破”阶段,适合在第一波回踩时进场。 “加” (多级加码 - B2/B3): 触发条件:在出现“跟”信号后,股价持续走强,且突破次数在 3-4 次以内。 含义:这是主升浪的标志。系统通过计数器 countBB 确保你不会在趋势末端盲目加仓,只在趋势爆发力最强的阶段提示“加”,实现利润滚雪球。 4. 环境感知:四维均线矩阵 (Market Matrix) 除了买卖线,图表上还有四条辅助线帮助判断环境: 主力 (Smart Money):红色线,代表中期成本重心。 操盘 (Operator):青色粗线,是波段的“生命线”,只要价格在其上方,皆可持股。 界点 (Boundary):洋红色线,20日均线,多空分水岭。 绿降 (Momentum Drop):绿色线,这是一个加速衰减公式。当绿线位于上方时,说明下跌惯性极大。 信号/现象 交易动作 逻辑背景 出现“底背离” 轻仓试探 跌势放缓,可能有反弹,适合左侧埋伏。 K线变黄 + “买入” 标准建仓 核心趋势转暖,买卖线完成金叉。 标签“跟”出现 确认持仓 确认有效突破 55 日压力位,趋势进入成长期。 标签“加”出现 重仓/加仓 进入主升浪,多头排列极其强劲。 K线变蓝 + “卖出” 清仓离场 动能斜率反转,趋势彻底走坏。 请注意:本策略仅供参考学习,请勿直接实盘,市场没有万金油指标。 投资有风险,入市需谨慎 1. The Kinetic Core The system uses Linear Regression Slope to refine standard EMAs. Trend Bars: When the "Buy Line" (Fast EMA) crosses the "Sell Line" (Slope-Adjusted EMA), candlesticks turn Yellow (Bullish) or Blue (Bearish). This slope-adjustment helps filter out whipsaws in choppy markets. 2. Bottom Divergence Detected via the EMA(3) and EMA(21) relationship. It flags potential market bottoms where selling pressure is exhausted, providing an early entry hint for contrarian traders. 3. Pyramiding: "Follow" (跟) & "Add" (加) This is a sophisticated position-sizing engine: "Follow" (跟): Triggered upon a valid 55-day high breakout. It signifies the transition from a breakout to an established trend. "Add" (加): These are secondary and tertiary buy signals during the Impulse Wave. The system counts the number of successful breakouts to ensure you are adding positions during the most profitable phase, not at the trend's end. 4. Market Matrix Smart Money (Red): Tracks institutional cost basis. Operational Line (Cyan): The "Mainline" of the swing; stay long as long as price holds above. Pivot Point (Fuchsia): The 20-period boundary between bulls and bears.Indicador Pine Script®por william_wqAtualizado 2