Member Portal · Swadesh LABS
Email or password not recognised. Check your credentials or use Activate Access if you're new.
New here? Purchase access then use Activate Access tab.
YOUR
ACCESS
ACTIVE
Your TradingView Invite Code
SC-V23-XXXXXXXXXX
Access Active · Lifetime
This code is tied to your TradingView username. Do not share it — it grants permanent access and cannot be transferred. Open TradingView → Pine Script Editor → Invite-only scripts → Enter this code.
Version
v2.9
Pine Script v6
Access Type
Lifetime
No subscription
Support
24h
Response time
📘
User Manual
Full reference documentation
⬇
Free Bonuses
Journal + Python engine
⚙
Installation Guide
Step-by-step setup
⚡
5-Step Protocol
Trading workflow
🔔
Alert Setup
8 pre-built alerts
🔬
Metric Explainers
Deep dive into all 7
📊
REM Module
Retracement evidence
🔍
Research Doc
Quantitative methodology
Support For issues with your invite or indicator questions, email support with your order reference and TradingView username. Response within 24 hours.
FREE
BONUSES
2 INCLUDED
Both tools below are included free with your purchase — no extra steps, no upsell. They are downloaded directly from your browser.
J
Bonus 01 · Free Download
STRUCTURA Trading Journal
v1.0 · HTML / JavaScript · No Installation Required

A trading journal built specifically around STRUCTURA's regime framework. Every trade entry captures the exact statistical context: RES level, SII score, H_L, active invalidations, and your trade outcome. Build a personal database of which regime conditions you actually trade profitably in.

What's included
✓ Trade entry/exit logging with all STRUCTURA fields
✓ R-multiple tracker & running equity curve
✓ Regime breakdown table (RES level breakdown)
✓ Win rate by STRONG / MODERATE / WEAK RES
✓ Monthly performance summary
Technical notes
✓ Runs entirely in your browser
✓ Works offline — no server required
✓ Data stored locally in your browser
✓ Export all trades to CSV any time
✓ Open-source HTML — you own it
⬇ Download Trading Journal v1.0
File: STRUCTURA_TRADING_JOURNAL_v1.html · ~180KB · Open in any browser
Py
Bonus 02 · Free Download
Python Backtesting Engine
v2.9 · Fully Audited · EURUSD H4 Validated

The complete Python implementation of every STRUCTURA metric. Run it on your own OHLCV data and independently verify every output. Includes the full execution engine with realistic next-bar-open entries, gap-model exits, 1% risk sizing, and block bootstrap Sharpe significance testing.

✓ DFA Hurst estimator (12-scale, R²≥0.90 guard)
✓ Shannon Entropy with Freedman-Diaconis binning
✓ Yang-Zhang OHLC volatility (3-component estimator)
✓ BNS bipower variation & jump ratio isolation
✓ CUSUM structural break detection
✓ H_stable cross-window Hurst variance
✓ Next-bar-open entries · gap-model exits · 1% risk per trade
✓ Block bootstrap Sharpe (5,000 iterations, p < 0.05)
✓ Full performance report: Sharpe, drawdown, R-multiples, regime breakdown
⬇ Download Python Engine v2.9
File: STRUCTURA_CORE_v2_9_fixed.py · Requires Python 3.8+ · pandas, numpy, scipy
Note on Python Requirements The Python engine requires: Python 3.8+, pandas, numpy, scipy, matplotlib. Install via: pip install pandas numpy scipy matplotlib. Provide your own OHLCV CSV data — see the script header for expected column format.
INSTALLATION
GUIDE
01Add to TradingView Chart
+

Open TradingView and navigate to any chart. Click Indicators in the top toolbar. Select the Invite-only scripts tab. Your STRUCTURA CORE indicator will appear here after the invite code is accepted.

If it doesn't appear yet: Open the Pine Script Editor at the bottom of TradingView → Click Open → Select Invite-only script → Enter your code from the Dashboard tab.

// After adding to chart: // The indicator opens in a SEPARATE PANE below price // overlay=false — price chart is not affected // max_bars_back=1000 — full historical calculation // Dashboard table appears in Top Right by default
02Recommended Timeframes
+

STRUCTURA CORE requires sufficient data variance to produce statistically reliable outputs. The longer the lookback window, the more reliable the readings.

H4 / Daily → OPTIMAL for swing trading (default N=100) H1 → Intraday swing. Reduce N to 60-80 Weekly → Macro structure. Increase N to 150-200 M15 & below → Not recommended. Use N=30-50 with caution M1 / M5 → Not supported. Insufficient data variance
03First Session Setup
+

Open Settings → Inputs in the indicator. The default values are calibrated for Forex/Equity markets on H4/Daily. Leave all defaults for your first full week of observation before making any adjustments.

Key defaults to verify:

Lookback Window N = 100 (primary control — adjust first) Long Hurst N_L = 100 (should equal N) Short Hurst N_S = 30 (keep at N_L ÷ 3) SII Green threshold = 0.70 (DEPLOY threshold) SII Red threshold = 0.40 (ASIDE threshold) Jump Ratio Red = 0.15 (0.20-0.25 for crypto)
04Understanding the Dashboard
+

The dashboard table appears in the top-right of the indicator pane. It shows all 7 foundation metrics plus the full REM breakdown in real time. If it's cut off, change Table Position to Top Left in Settings → Display.

Row 1: v1.2 Verdict → DEPLOY / CAUTION / ASIDE Row 2: H (Hurst) → Trend memory [0,1] Row 3: E% (Entropy) → Disorder percentage Row 4: σ (Yang-Zhang) → Realised volatility Row 5: J (Jump Ratio) → BNS jump component Row 6: CUSUM → Structural break stat Row 7: SII → Composite integrity [0,1] Row 8: Invalidations → I1/I2/I3/I4 or "None" Row 9: RES Score → Retracement evidence [0,1] Row 10: RES Level → STRONG/MODERATE/WEAK/NONE
⚠ Never act on RES when v1.2 shows ASIDE. The REM requires an intact structural foundation to produce valid outputs.
ALERT
SETUP

Set alerts in TradingView: right-click chart → Add Alert → Condition: STRUCTURA CORE v2.3 → select alert name. Always set to trigger Once per bar close — not per tick.

Alert NameFires WhenUse For
RES Strong Evidence
RES crosses above Strong thresholdPrimary entry-watch. Retracement statistically strong.
RES Dropped — No Evidence
RES falls below Weak thresholdExit warning — retracement thesis no longer supported.
RES Invalidated
Any I1–I4 triggersImmediate attention. RES overridden to zero.
I1 — H_L Below 0.50
Long Hurst drops below 0.50Early warning of trend memory failure.
I4 — CUSUM Break
CUSUM exceeds 1.36Hard stop-trading signal. Structural break active.
SII Degraded
SII drops below 0.40Structural collapse. Avoid new entries.
SII Intact
SII rises above 0.70, no CUSUMMarket recovery confirmed. Favorable conditions.
HDI Strong Signal
H_L ≥ 0.55, H_S < 0.55, HDI ≥ 0.15Early retracement fingerprint. Cross-check RES.
Minimum Pair for Active Trades Set RES Strong Evidence + RES Invalidated as your baseline for every active position. Add I4 CUSUM Break as hard stop-trading override.
5-STEP
PROTOCOL

Follow this sequence every session. Most sessions you will reach step 2 or 3 and correctly identify that conditions don't qualify. That restraint is the system working.

01
Check the v1.2 Verdict First
Read the Verdict at the top of the dashboard. ASIDE = stop. Do not proceed under any circumstances. CAUTION = halve your intended position size. Only on DEPLOY do you move to step 2.
Rule: v1.2 ASIDE means no trade — regardless of anything else you see.
02
Verify All Invalidations Clear
Check the Invalidations row. Any active I1–I4 means RES is already overridden to zero. Wait for complete clearance — the flashing red background stops when all invalidations clear. Do not proceed until the row reads "None".
03
Read the RES Score and Level
With DEPLOY verdict and clean invalidations, read the RES Score and its evidence level. Only act at MODERATE (≥0.55) or STRONG (≥0.75). Examine the component breakdown — if HDI contribution is near 0.40, structural divergence is strong.
04
Confirm Directional Bias
The RES score tells you a retracement is statistically occurring — it does NOT tell you direction. Use H_L and H values to determine trend direction. H_L > 0.55 = uptrend persistence. Use price structure and key levels to time your entry on the retracement.
05
Monitor for Invalidation During Trade
Once in a trade, continue monitoring the dashboard. If any I1–I4 triggers, the thesis is compromised — reduce position or move to break-even. If v1.2 degrades to ASIDE, the structural environment has changed and the trade rationale no longer holds.
LEARNING
RESOURCES
Parameter Quick Reference
N Lookback Window — Primary control. Adjust first. Default 100.
N_L Long Hurst Window — Should equal N. Default 100.
N_S Short Hurst Window — Keep at N_L ÷ 3. Default 30.
N_REM REM Primary Move — EDS calculation window. Default 20.
SII Thresholds — Green 0.70 / Red 0.40. Standard.
Jump Red — 0.15 (FX/equities) · 0.20–0.25 (crypto)
RES Strong — 0.75 threshold. Trade only at this or MODERATE.