XRP RSI Strategy [3Commas]XRP RSI Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for XRP / USDT that opens a position only in deep-oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 Who is it for:
- Swing traders accumulating XRP on deep RSI flushes rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 28 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price a fixed percentage above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the strategy out of the market in normal conditions and only commits capital after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads. The strategy can drive a 3Commas DCA Bot end-to-end with no glue layer.
- On-Chart Transparency: The AO ladder, average entry, and take-profit target are plotted live, and the status table reports RSI, AOs filled, base/average entry, TP target, and max deployable capital — so the position state is always visible.
🔷 Considerations Before Using the Strategy:
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If XRP trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts. The 1.8× scaling amplifies both the recovery speed and the downside.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Trade Volume — Below the Statistical Floor: The reference backtest produced 75 closed trades over ~30 months. This is below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high profit factor as indicative rather than conclusive. The strict RSI < 28 filter is what keeps the trade count low.
Capital Deployment & Drawdown: The reference backtest reached a 1.00% maximum equity drawdown at default sizing — but that depends on the configured ladder fitting within XRP's observed swings. A deeper or more prolonged decline than the test sample would produce a larger drawdown.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees. With a fixed 3% take-profit the per-trade edge is modest, so a fee mismatch matters.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:XRPUSDT.P (Perpetual) — strategy is portable to any XRP / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — June 29, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 28.
Take Profit: 3% above average entry.
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +3,450.27 USDT (+3.45%)
Max Equity Drawdown: 1,010.83 USDT (1.00%)
Total Closed Trades: 75
Percent Profitable: 76.00% (57 / 75)
Profit Factor: 13.058
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (28), the five AO deviations and sizes, and the take-profit percentage match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note this configuration reached just 1.00%. Keep in mind the 75-trade sample is below the ~100-trade floor for statistical confidence, and the 13.058 profit factor reflects that small, favorable sample.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Indicator

Strategy

Indicator

Market Euphoria Index - MEI1. The Three Core Factors
The script measures market sentiment by evaluating three different "factors" of price action and assigning a score from 0 to 100 for both Euphoria and Panic.
RSI Factor (Momentum Extremes): It checks if the traditional RSI is overextended.
If RSI is above 70, it scales the value into an Euphoria Score. For example, an RSI of 85 will have a higher Euphoria score than an RSI of 75.
If RSI is below 30, it scales into a Panic Score.
VWAP Stretch Factor (Overextension): It measures how far the current price has stretched away from the Volume Weighted Average Price (VWAP), normalized by the Average True Range (ATR).
If the price shoots up higher than the VWAP by a multiple of the ATR (default is 2.0x), it triggers a maximum 100 Euphoria Score (indicating the asset is heavily overvalued relative to its average volume-weighted baseline).
If it crashes below the VWAP by the same distance, it triggers a 100 Panic Score.
Price Momentum / K's Factor (Candlestick Sentiment): This looks purely at the candlesticks over the last 14 periods (by default).
It counts how many candles closed higher than they opened (Bullish candles) and converts that ratio into an Euphoria Score.
It does the inverse for Bearish candles to create a Panic Score.
2. The Composite Blend
Once the script has the three Euphoria scores and three Panic scores, it averages them:
pinescript -
euphoriaScore = (rsiEuphoria + vwapEuphoria + momEuphoria) / 3
panicScore = (rsiPanic + vwapPanic + momPanic) / 3
Finally, it subtracts the panicScore from the euphoriaScore to get the final mei value.
3. Interpretation & Visuals
The indicator plots as a histogram with dynamic colors and static threshold lines:
> +50 (Red): Extreme Euphoria. The market is firing on all cylinders (RSI overbought, stretched far above VWAP, heavily bullish candles). High risk of a blow-off top reversal.
> +20 (Orange): Standard Euphoria/Strong Uptrend.
Between -20 and +20 (Gray): Neutral market.
< -20 (Teal): Standard Panic/Strong Downtrend.
< -50 (Green): Extreme Panic. The market is oversold, stretched far below VWAP, and showing heavy bearish momentum. High probability of a capitulation bottom bounce.
The script also includes built-in alert conditions (Extreme Euphoria Alert and Extreme Panic Alert) so you can automate notifications when the market reaches these psychological extremes! Indicator

Indicator

Indicator

Indicator

Indicator

BTC 4-Year Cycle Labels + Future Points**BTC 4-Year Cycle Labels + Future Points**
This script is a simple visual roadmap for Bitcoin’s historical 4-year rhythm. It marks the major cycle tops and cycle lows that have defined Bitcoin’s previous macro cycles, then projects the next theoretical cycle points forward using the same measured cycle spacing.
The idea behind this tool is not to claim that Bitcoin must repeat the past perfectly. Markets evolve. Liquidity changes. Participants become more sophisticated. The ETF era, institutional flows, macro policy, and global adoption can all distort or even break patterns that once looked obvious.
But that is exactly why this indicator exists.
Bitcoin has spent more than a decade moving through recognizable expansion and contraction phases. Each cycle has had a major euphoric top, followed by a long bear-market drawdown and eventual accumulation low. This script takes those historical turning points and places them directly on the chart so the structure can be seen clearly.
The historical cycle labels included are:
**Cycle Tops**
* 25 Nov 2013
* 11 Dec 2017
* 08 Nov 2021
* Projected: 06 Oct 2025
**Cycle Lows**
* 12 Jan 2015
* 10 Dec 2018
* 07 Nov 2022
* Projected: 05 Oct 2026
The projected dates are based on the recurring spacing from prior Bitcoin cycle pivots. In this version, the projection uses a default 1428-day cycle spacing, which carries the 2021 top forward into the projected 2025 top, and the 2022 low forward into the projected 2026 low.
The script also includes background cycle zones. The red-shaded regions represent the historical top-to-low bear-market windows, while the green-shaded regions represent the broader expansion and recovery phases between cycle lows and tops.
This makes it easier to visually compare where Bitcoin is now relative to prior cycle structure.
The purpose of this script is to answer one question:
**Is Bitcoin still following the old cycle, or is the cycle finally breaking?**
If the projected window continues to hold, then Bitcoin may still be moving inside a recognizable 4-year structure. If price behavior begins to diverge meaningfully from the historical rhythm, that may be evidence that the market is entering a new regime.
This script is best used on higher timeframes, especially weekly and monthly Bitcoin charts. It is not designed for short-term trading signals. It does not generate buy or sell alerts. It does not predict a specific price target. The future labels only mark projected time windows, not guaranteed outcomes.
Useful ways to use this indicator:
* Compare the current Bitcoin cycle against prior macro cycles.
* Study the timing between historical tops and lows.
* Observe whether Bitcoin is compressing, extending, or breaking its 4-year rhythm.
* Use the projected future labels as time-based reference points.
* Combine with macro liquidity, on-chain data, sentiment, trend structure, and risk models.
Important note:
The projected cycle top and cycle low should be treated as a time-map, not a prophecy. The market does not owe anyone a repeat. Patterns become fragile when everyone sees them. The value of the script is not that it guarantees the future, but that it gives traders and investors a clean framework for watching whether the old cycle continues to matter.
Bitcoin has always forced the market to question what it thinks it knows.
Maybe the 4-year cycle continues.
Maybe it shifts.
Maybe it breaks completely.
Where we go from here is a choice the market leaves to us.
Indicator

RichmondHillCM - BTC vs Business Cycle (ISM PMI)BTC vs Business Cycle (ISM PMI)
This indicator overlays the U.S. ISM Manufacturing PMI against Bitcoin price to help you frame BTC within the broader macro/business cycle. The idea is simple: manufacturing activity is a classic gauge of economic momentum, and BTC has historically behaved differently in expansionary versus contractionary macro environments. This tool makes that relationship visible at a glance.
What it does
It pulls monthly PMI data and monthly BTC price, then normalizes Bitcoin into the PMI's 40–70 range so both can be read on the same scale. The PMI line is color-coded by regime, and Bitcoin is plotted alongside it for easy comparison.
Regime classification
Expansion — PMI at or above 50 (amber)
Strong Expansion / Bull — PMI at or above the Bull Threshold, default 55 (green)
Contraction — PMI below 50 (red)
The 50 level marks the expansion/contraction boundary, and a configurable Bull Threshold marks the stronger-momentum zone. Background shading highlights contraction and strong-bull periods, and labels mark the moments PMI crosses 50 in either direction.
Reading the panel
A live info table (top-right) summarizes the current PMI value, the active regime, whether BTC is in a "bull-supportive" macro environment, and the latest BTC price.
Inputs
PMI Symbol — the data feed for PMI. Availability depends on your PulseWire data access. If the default doesn't load, try alternates such as FRED:NAPM, ECONOMICS:USPMI, or another ISM/PMI source your plan supports.
Bull PMI Threshold — adjusts where the "strong expansion" zone begins.
Shade Regimes — toggles background shading on/off.
Notes
This is a macro-context tool, not a timing or entry/exit signal generator. PMI is monthly and released with a lag, so treat it as a regime backdrop rather than a trade trigger. Not financial advice — do your own research. Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Indicator

Square Root BTC Cycle PredictorWelcome to the Square Root Cycle Predictor
If you have been watching Bitcoin for a few years, you already know it moves in massive and predictable waves. This indicator is designed to map out those waves using a simple but powerful mathematical concept.
The Math Behind the Magic
Why do we use square roots to predict BITSTAMP:BTCUSD ? The answer is simple. Bitcoin grows exponentially. When you look at a standard price chart, the early years look completely flat and the recent years look like a vertical wall. It is very hard to see the rhythm.
But when you apply a square root scale to the price, that exponential curve transforms into a straight diagonal line. Once the curve is straightened out, the market cycles start to look like a perfect staircase. This indicator measures the height of that staircase in steps.
How It Predicted Previous Cycles
The beauty of this model is that it relies on historical consistency. When we measure the past cycles on this square root scale, the numbers are incredibly clean.
Past bull markets have reached their tops at exactly 13, 21, and 23 steps.
Past bear markets have found their bottoms at exactly 8 and 14 steps.
The indicator automatically detects these legs and draws the geometric levels right on your chart. It does not guess. It just follows the mathematical staircase that Bitcoin has been climbing since 2015.
What Could Happen Next
Right now, the indicator is tracking the current bull market. Based on the historical rhythm, it projects two major things for the future.
First, it calculates where the next bear market bottom might be. It looks at three scenarios including a mild drop of 16 steps, a medium drop of 18 steps, and a severe drop of 20 steps from the cycle top. The table on your screen shows the exact price and estimated date for these scenarios.
Second, it projects the next massive bull market peak. It takes the primary bear market bottom and adds 25 steps to it. This projected top aligns beautifully with the historical time it takes to peak after a Bitcoin halving event.
How to Use This Tool
Look at the large table in the bottom right corner. It gives you the exact prices and dates for the current market status and future projections.
The horizontal grey lines are your geometric support and resistance levels.
The vertical lines show the estimated dates for the next major cycle events.
You can change the settings to adjust the step size or the starting price if you want to test different theories.
Markets are driven by human psychology, but human psychology often follows natural geometric patterns. This tool simply highlights those patterns.
Disclaimer: This indicator is built for educational and research purposes only. It is a mathematical hypothesis and not financial advice. Always do your own research and manage your risk. Indicator

MMM Dragon Flow 3.0MMXM Dragon Flow is a custom technical analysis indicator designed to help traders read market structure, trend direction, dynamic support/resistance, pivot zones, previous session levels, PVA volume behavior, and dashboard-based market conditions in one chart.
MMXM Dragon Flow เป็นอินดิเคเตอร์วิเคราะห์ทางเทคนิคที่ออกแบบมาเพื่อช่วยให้นักเทรดอ่านโครงสร้างราคา ทิศทางแนวโน้ม แนวรับ/แนวต้านแบบไดนามิก โซน Pivot ระดับราคาของรอบก่อนหน้า พฤติกรรม PVA Volume และสภาพตลาดผ่าน Dashboard ได้ในกราฟเดียว
Main Features / คุณสมบัติหลัก
1. Dragon Flow Trend Channel
The Dragon Flow channel is based on EMA structure and helps visualize the current market direction. It can be used to identify bullish, bearish, or sideways conditions.
Dragon Flow Trend Channel ใช้โครงสร้าง EMA เพื่อช่วยแสดงทิศทางตลาดปัจจุบัน ใช้ดูว่าราคาอยู่ในภาวะขาขึ้น ขาลง หรือ Sideway
2. Trend Line
The indicator includes a longer-term trend line to help compare current price movement against the broader market direction.
อินดิเคเตอร์มีเส้นแนวโน้มระยะยาวเพื่อช่วยเปรียบเทียบการเคลื่อนไหวของราคาปัจจุบันกับทิศทางตลาดโดยรวม
3. PVA Candles and Volume Flow
The script can color price candles and volume bars based on PVA behavior, helping traders identify normal volume, rising volume, and climax volume conditions.
สคริปต์สามารถเปลี่ยนสีแท่งราคาและแท่ง Volume ตามพฤติกรรม PVA เพื่อช่วยแยกภาวะ Volume ปกติ Volume เพิ่มขึ้น และ Climax Volume
4. Previous Session Levels
The indicator displays Previous High, Previous Low, and Previous Close levels. These levels can be used as important reference zones for possible liquidity reactions and price response.
อินดิเคเตอร์แสดงระดับ Previous High, Previous Low และ Previous Close เพื่อใช้เป็นโซนอ้างอิงสำคัญที่ราคาอาจเกิดการตอบสนองหรือเกิดปฏิกิริยาจากสภาพคล่อง
5. Expanded Pivot Support and Resistance
This version includes adjustable Pivot S/R distance. Traders can expand or reduce the distance between Pivot, R1, R2, R3, S1, S2, and S3 using the Pivot S/R Distance Multiplier.
เวอร์ชันนี้มีระบบปรับระยะห่างของ Pivot S/R ได้ นักเทรดสามารถขยายหรือลดระยะระหว่าง Pivot, R1, R2, R3, S1, S2 และ S3 ได้ผ่านค่า Pivot S/R Distance Multiplier
A multiplier of 1.00 keeps the original classic pivot levels. Values above 1.00 expand support and resistance farther away from the Pivot, which may be useful for volatile markets such as gold, indices, and crypto.
ค่า 1.00 คือระดับ Pivot ดั้งเดิมแบบ Classic Pivot หากใช้ค่ามากกว่า 1.00 แนวรับและแนวต้านจะถูกขยายออกจาก Pivot มากขึ้น เหมาะกับตลาดที่มีความผันผวนสูง เช่น ทองคำ ดัชนี และคริปโต
6. Staggered Level Labels
The script includes staggered labels to reduce label overlap when support and resistance levels are close together. This improves chart readability without changing the actual price levels.
สคริปต์มีระบบขยับตำแหน่งป้ายชื่อระดับราคาแบบ Staggered Labels เพื่อลดการซ้อนกันของป้ายเมื่อแนวรับและแนวต้านอยู่ใกล้กัน ช่วยให้กราฟอ่านง่ายขึ้นโดยไม่เปลี่ยนระดับราคาจริง
7. Gap Line
The indicator can display a session gap line based on the difference between the session open and the previous close.
อินดิเคเตอร์สามารถแสดงเส้น Gap โดยอ้างอิงจากความต่างระหว่างราคาเปิดของ Session และราคาปิดก่อนหน้า
8. Dashboard Panel
The dashboard summarizes key market information including price, trend, pivot, main plan, guardrail, nearest level, R/S levels, PVA status, range, and market notes.
Dashboard สรุปข้อมูลสำคัญ เช่น ราคาปัจจุบัน แนวโน้ม Pivot แผนหลัก จุดเฝ้าระวัง ระดับราคาที่ใกล้ที่สุด ค่า R/S สถานะ PVA Range และ Note ของตลาด
How to Use / วิธีใช้งาน
- Use the Dragon Flow channel to identify the current market direction.
- ใช้ Dragon Flow Channel เพื่อดูทิศทางตลาดปัจจุบัน
- Use the trend line to compare short-term movement with the broader trend.
- ใช้เส้น Trend เพื่อเปรียบเทียบการเคลื่อนไหวระยะสั้นกับแนวโน้มใหญ่
- Use Previous High, Previous Low, and Previous Close as important reaction zones.
- ใช้ Previous High, Previous Low และ Previous Close เป็นโซนสำคัญที่ราคาอาจเกิดการตอบสนอง
- Use Pivot, R1-R3, and S1-S3 as support and resistance reference zones.
- ใช้ Pivot, R1-R3 และ S1-S3 เป็นโซนอ้างอิงแนวรับและแนวต้าน
- Adjust Pivot S/R Distance Multiplier if the support and resistance levels are too close together.
- ปรับค่า Pivot S/R Distance Multiplier หากแนวรับและแนวต้านอยู่ใกล้กันเกินไป
- Use Stagger Level Labels to make level labels easier to read.
- ใช้ Stagger Level Labels เพื่อให้ป้ายชื่อระดับราคาอ่านง่ายขึ้น
- Use PVA volume behavior to identify rising activity or climax conditions.
- ใช้พฤติกรรม PVA Volume เพื่อดูภาวะ Volume เพิ่มขึ้นหรือ Climax Volume
- Use the dashboard as a quick market summary, not as a standalone buy or sell signal.
- ใช้ Dashboard เป็นตัวช่วยสรุปสภาพตลาดอย่างรวดเร็ว ไม่ใช่สัญญาณซื้อขายเดี่ยว ๆ
Recommended Markets / ตลาดที่เหมาะสม
This indicator can be used on forex, gold, indices, crypto, stocks, and other liquid markets. It is especially useful for intraday analysis, session-based trading, and multi-timeframe market structure reading.
อินดิเคเตอร์นี้สามารถใช้ได้กับ Forex, Gold, Indices, Crypto, Stocks และตลาดที่มีสภาพคล่อง เหมาะสำหรับการวิเคราะห์ Intraday การเทรดตาม Session และการอ่านโครงสร้างราคาหลาย Timeframe
Important Note / หมายเหตุสำคัญ
Expanded Pivot S/R levels are modified reference levels. If the multiplier is set above 1.00, the levels are no longer pure classic pivot levels. They become expanded support and resistance zones designed to improve spacing and readability in volatile markets.
ระดับ Expanded Pivot S/R เป็นระดับอ้างอิงที่ถูกปรับแต่ง หากตั้งค่า Multiplier มากกว่า 1.00 ระดับเหล่านี้จะไม่ใช่ Classic Pivot ดั้งเดิม 100% แต่จะเป็นโซนแนวรับและแนวต้านแบบขยาย เพื่อเพิ่มระยะห่างและทำให้อ่านกราฟง่ายขึ้นในตลาดที่ผันผวน
Disclaimer / ข้อจำกัดความรับผิดชอบ
This script is not financial advice, investment advice, or a solicitation to buy or sell any financial instrument. It is an algorithmic analysis and visualization tool only. Trading involves risk, and users are responsible for their own trading decisions.
สคริปต์นี้ไม่ใช่คำแนะนำทางการเงิน ไม่ใช่คำแนะนำการลงทุน และไม่ใช่การชักชวนให้ซื้อหรือขายสินทรัพย์ใด ๆ เป็นเพียงเครื่องมือช่วยวิเคราะห์และแสดงผลเชิงระบบเท่านั้น การเทรดมีความเสี่ยง ผู้ใช้งานต้องรับผิดชอบต่อการตัดสินใจของตนเอง Indicator

Base PivotsOverviewThis indicator identifies major structural support and resistance levels based on pivot highs and lows, drawing clean, contained horizontal levels that step forward dynamically with price. Instead of running into infinite space, lines map directly to price action and freeze the exact moment a breakout threshold is breached.
To help filter out market noise and minor price fluctuations, it integrates a multi-layered verification system, ensuring only significant market turning points are displayed on your chart.
Key FeaturesPre-Pivot Trend Filter: Validates structural turning points by requiring price to make a meaningful percentage move over a chosen lookback window before a pivot line can form.
Contained Real-Time Extensions: Unbroken lines trail cleanly up to the current bar. The exact moment a breakout occurs, the line freezes and terminates strictly at that breach bar.
Dual-Mode Breakout Thresholds: Choose between a fixed Percentage breakout or a volatility-adjusted ADR/ATR Multiple to determine precisely when a support or resistance level is considered broken.
Clean Chart Proximity Merging: Automatically prevents cluttered charts by filtering out and merging new lines that form too close to already active levels.
Independent State Visibility: Includes fully flexible visibility toggles to selectively display active support, active resistance, broken support, or broken resistance lines.
Dynamic Information Labels: Displays the precise price level, how many chart bars the level has survived, and the maximum adverse excursion (depth percentage) reached during the line's lifespan
How It Works (Under the Hood)
Detection: The script scans historical price data using a user-defined left/right strength lookback window to isolate pivot wicks.
Pre-Trend Check: It assesses the trend run-up or run-down leading to the pivot. If the move is less than the user-configured percentage, the pivot is completely ignored.
Tracking & Breakdown Loops: Validated lines are stored in real-time array structures. On each bar, it computes volatility metrics. If a candle closes past the boundary (plus your ATR or percentage cushion), the level converts into a historical broken state instantly.
User Inputs Guide
Lookback: Distance needed to confirm a high or low peak.
Pre-Pivot Change Threshold (%): Minimum percentage run required prior to validation.
Max Active Lines: Limits the total number of unbreached lines drawn on your screen.
Style Toggles: Fully customize line styles (Solid/Dotted/Dashed), font sizing, visual offsets, and visibility blocks for broken versus active states. Indicator
