PROTECTED SOURCE SCRIPT
PivotStrike Pro 1M + Time-Anchored Pivots

# PivotStrike Pro 1M — Supertrend Style + Time-Anchored Pivots
**PivotStrike Pro 1M (PSP1M-ST)** blends a fast Supertrend-style trend engine with **time-anchored major S/R pivots** that stay locked to the candles as you scroll and zoom. It’s designed for **clear, one-shot Buy/Sell flips** on the 1-minute chart while keeping your chart readable and decisive during strong moves.
## What it does
* **Supertrend Rails (non-repainting on close)**
Green rail sits **below** price in uptrends; red rail sits **above** price in downtrends. When the regime flips, you get a **single Buy or Sell flag**—no re-printing on the same bar.
* **Time-Anchored S/R Pivots**
Confirms **major swing highs/lows** using left/right pivot windows and anchors each level to the bar’s timestamp. Lines extend to the right and **remain aligned with price** when you zoom.
* **Simple, production-ready alerts**
Built-in alerts for Buy/Sell flips so you can route to notifications or bots.
## Why it’s different
* **One-shot signals** you can trust at regime change (no clusters of duplicate arrows).
* **Locked pivots** using `xloc=bar_time`, so support/resistance doesn’t drift when you change the view.
* **HTF option** for the Supertrend engine if you want to smooth 1-minute noise.
## Inputs (quick guide)
* **Indicator Timeframe**: leave blank for chart timeframe (1M), or choose a higher TF to smooth (e.g., 3M/5M).
* **ATR Period / ATR Multiplier**: default **10 / 3.0** (same feel as classic Supertrend).
* **Source**: HL2 (default).
* **Change ATR Method**: RMA(TR) on; toggle off to use `ta.atr`.
* **Show Buy/Sell Signals / Highlighter**: visual preferences.
* **Major S/R (Pivots)**: enable, choose left/right bars (defaults 8/8), line count, style, and transparency.
## Recommended 1M presets
* **ATR Period 10**, **Multiplier 3.0**, **Source HL2**, **Highlighter ON**, **Signals ON**.
* If the rail feels too tight/loose: nudge Multiplier **2.5–3.5**.
* Live scalping? Keep timeframe on **Chart**. Want fewer flips? Try **3M/5M** engine via *Indicator Timeframe*.
## How to read it
* **Trend**: Follow the rail—green below = uptrend bias; red above = downtrend bias.
* **Buy/Sell**: Acts at the **confirmed regime flip**. Use pivots to assess nearby S/R for entries, partials, or stop placement.
* **Pivots**: Recent highs (red lines) and lows (green lines). Breaks/holds around these areas often mark continuation vs. fade zones.
## Alerts
* **PSP1M-ST: BUY / SELL** — triggers on confirmed flips.
Tip: Pair with a simple “rail touch/close beyond” rule in your strategy if you want automation.
## Repainting & HTF notes
* The rail and flags **do not repaint after bar close** on the chart timeframe.
* If you pick a **higher Indicator Timeframe**, the engine only finalizes when that **HTF bar closes** (normal behavior). For pure 1M confirmation, leave the timeframe blank.
## Best practices
* Use pivots to avoid chasing into resistance/support.
* Combine with volume or session filters (e.g., avoid lunch chop).
* Scale risk by distance to the rail; trail behind the rail for simple exits.
> **Disclaimer**: This script is for educational use only. Markets carry risk. Always test and manage risk before trading.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.