INVITE-ONLY SCRIPT

Crptopastor support & Resistance Pro

45
What is “Cryptopastor SR Pro (v2)”?
An adaptive support-and-resistance engine that clusters swing points into price zones, then auto-draws trade plans (entry, stop-loss, multi-stage take-profits) and breakout alerts — in a single, self-contained Pine v6 study.

Why traders use it
  • []Cuts through chart noise by keeping only the strongest confluence zones.
    []Updates widths automatically to match recent volatility.
    []Plots ready-made long or short setups you can accept, ignore or tweak.
    []Fires alerts the instant price closes across a zone’s midpoint.
  • Works on any symbol and any timeframe, from 1 min scalps to weekly swing charts.


How it works (under the hood)
  1. []Pivot harvesting – Every bar, the script scans the last prd candles for confirmed highs/lows with ta.pivothigh / ta.pivotlow.
    []Data pool maintenance – It stores only the most recent maxnumpp pivots, keeping the dataset light.
    []Clustering – Pivots lying inside a dynamic channel width (ChannelW % of the past 300-bar range) merge into a common zone.
    []Strength scoring – Each zone’s score = number of pivots inside it. The top maxnumsr zones that beat min_strength survive; weaker or overlapping zones are discarded.
    []Visual rendering – Zones appear as translucent boxes: lime below price (potential support) or red above (potential resistance). Mid-prices are auto-labelled with timeframe + value.
    []Breakout detection – When a candle closes across any zone midpoint, an alert fires (“Support Broken” / “Resistance Broken”).
  2. Trade-plan overlay (optional) – The script finds the closest valid zone and prints:
     • Entry at midpoint
     • Stop-loss buffered by sl_buffer_pct of zone height
     • Up to num_tp_levels take-profit labels on successive opposite zones


Key inputs & typical tweaks
  • []Pivot Period (prd) – Higher on H4/D1, lower on scalps.
    []Source – “High/Low” (classic) or “Close/Open” for body-based pivots.
    []Maximum Channel Width % – Tighten in ranging markets, widen in trending ones.
    []Minimum Strength – Raise to display only the most respected zones.
  • Show Trade Setups – Toggle if you want a pure S/R map without entries/SL/TPs.


Practical guide
  1. []Add the indicator to your chart and adjust ChannelW % until each zone looks realistic for your symbol’s volatility.
    []Hover a zone to view its pivot count; more pivots = stronger level.
    []Enable alerts → “Support or Resistance Broken” to catch live momentum shifts.
    []If you trade the built-in setups, confirm them with your own filters (volume, trend filters, etc.) and size positions around the printed stop-loss.
  2. Disable the Trade Setup layer when back-testing other strategies — the S/R boxes remain.


What makes it different from classic horizontal lines?
  • []Zone widths breathe with market range instead of staying fixed.
    []Self-filtering strength score removes the clutter of weak levels.
    []Integrated, label-based trade plans eliminate spreadsheet math.
    []Pure price-action logic — no MAs, RSI, Bollinger Bands or repackaged public code.


Pine-snip preview
Pine Script®
// simplified glimpse only float ph = ta.pivothigh(high, prd, prd) float pl = ta.pivotlow(low, prd, prd) // …clustering & scoring…


Disclaimer
This indicator is a technical-analysis tool, not financial advice. Test thoroughly on demo or small size before risking capital.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。