OPEN-SOURCE SCRIPT
80% Rule Backtest

Strategy Overview: 80% Rule Backtest Tool
This strategy tester is designed to validate the classic 80% Rule setup within a defined ETH futures session. Signals are triggered when price reenters the prior day's value area and holds for a qualified duration — targeting the Point of Control (POC) for primary exits, while tracking full value area traversals for research purposes.
- 📅 Session Logic: Anchored to a true 22-hour ETH futures window (5PM–3PM Pacific), with global time zone support
- 🧠 Signal Confirmation: Price must reenter and hold inside value area for ≥ 45 minutes to validate entry
Note: Optimized for 15-minute charts — aligns exactly with traditional rule definition (3-bar hold)
- 🎯 Targets: Primary TP at POC; visual logs for full VAH/VAL reach
- 🔍 Manual Override Mode: Precise SVP-level control when auto logic isn’t preferred
- 🔧 Debug Mode: Single-bar diagnostic labels for development and forward testing
This tool supports both auto-calculated and manually anchored value areas, allowing traders to blend systematic backtesting with discretionary insight.
working on this tool to be used as a strategy tester
This strategy tester is designed to validate the classic 80% Rule setup within a defined ETH futures session. Signals are triggered when price reenters the prior day's value area and holds for a qualified duration — targeting the Point of Control (POC) for primary exits, while tracking full value area traversals for research purposes.
- 📅 Session Logic: Anchored to a true 22-hour ETH futures window (5PM–3PM Pacific), with global time zone support
- 🧠 Signal Confirmation: Price must reenter and hold inside value area for ≥ 45 minutes to validate entry
Note: Optimized for 15-minute charts — aligns exactly with traditional rule definition (3-bar hold)
- 🎯 Targets: Primary TP at POC; visual logs for full VAH/VAL reach
- 🔍 Manual Override Mode: Precise SVP-level control when auto logic isn’t preferred
- 🔧 Debug Mode: Single-bar diagnostic labels for development and forward testing
This tool supports both auto-calculated and manually anchored value areas, allowing traders to blend systematic backtesting with discretionary insight.
working on this tool to be used as a strategy tester
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.