Downloading...
OPEN-SOURCE SCRIPT
Updated

80% Rule Indicator (ETH Session + SVP Prior Session)

1 175
I created this script to show the 80% opportunity on chart if setting lines up.

"80% rule: Open outside the vah or Val. Spend 30 mins outside there then break back inside spend 15 mins below or above depending which way u broke. Then come back and retest the vah/val and take it to the poc as a first target with the final target being the other Val/vah "


📌 Script Summary
The "80% Rule Indicator (ETH Session + SVP Prior Session)" overlays your chart with prior session value area levels (VAH, VAL, and POC) calculated from extended-hours 30-minute data. It tracks when the price reenters the value area and confirms 80% Rule setups during your chosen trading session. You can optionally trigger alerts, show/hide market sessions, and fine-tune line appearance for a clean, modular workflow.

⚙️ Options & Settings Breakdown
- Use 24-Hour Session (All Markets)
When checked, the indicator ignores time zones and tracks signals during a full 24-hour period (0000-0000), helpful if you're outside U.S. trading hours or want consistent behavior globally.
- Market Session
Dropdown to select one of three key market zones:
- New York (09:30–16:00 ET)
- London (08:00–16:30 local)
- Tokyo (09:00–15:00 local)
Used to gate entry signals during relevant hours unless you choose the 24-hour option.
- Show PD VAH/VAL/POC Lines
Toggle to show or hide prior day’s levels (based on the 30-min extended session). Turning this off removes both the lines and their white text labels.
- Extend Lines Right
When enabled, the VAH/VAL/POC lines extend into the current day’s session. If disabled, they appear only at their anchor point.
- Highlight Selected Session
Adds a soft blue background to help visualize the active session you selected.
- Enable Alert Conditions
Allows TradingView alerts to be created for long/short 80% Rule entries.
- Enable Audible Alerts
Plays an in-chart sound with a popup message (“80% Rule LONG” or “SHORT”) when signals trigger. Requires the chart to be active and sounds enabled in TradingView.


Release Notes
// === Update July 15, 2025 ===
// • Refined auto VAH/VAL/POC logic to match 22-hour ETH session (5PM–3PM PT)
// • Added manual override option for SVP-based value inputs
// • Introduced Debug Mode for single-bar diagnostics
// • Added user-selectable time zone input (default: America/Los_Angeles)
// • Session logic and plotting now globally adaptable for all trader locations

Release Notes
"Session-Based 80% Rule Signals with Manual VA Levels & Global Time Zone Support – Built for SVP Traders"
Release Notes

// === Update July 17, 2025 ===
// • Enforced one-shot signal per day/session using tradeFiredToday flag
// • Added modular timezone handling: chart-based or manual override
// • Refactored ETH session filtering with dynamic window logic
// • Integrated 5m, 15m, 45m resolution gating to align signals with SVP workflow integrity
// • Restored clean entry visuals: green/red circle + "80%" label on signal bar
// • Preserved manual override for VAH/VAL/POC levels
// • Expanded debug diagnostics for research and signal validation


🧠 Why 5m / 15m / 45m Resolution Matters:
These timeframes were intentionally chosen to mirror the most reliable contexts for the 80% Rule in your manual SVP workflow. Anything lower introduces too much noise — and anything higher risks missing structure re-entries or retests. With this gating logic:
- 🕵️‍♂️ 5m captures early entry precision and reactive retests
- 🧭 15m balances structure confirmation with execution breathing room
- 🧱 45m validates broader value area rotation, ideal for patient setups
Together, they provide a flexible but disciplined entry environment. You’ve built a tool that respects the logic and rhythm of the rule — not just automates it. Let me know if you want this bundled into a publish-ready version next.
Release Notes
/ === Update: July 17, 2025 ===
// Full merge of 80% Rule logic + Global Market Sessions Overlay
// Modular inputs, session filtering, resolution gating, and DST support
// © dscottmuller & Aurocks_AIF | Mozilla Public License 2.0

merge in the on chart markets indicator

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.