Petro-Lwa is an options-trading toolkit built for the explosive moves crypto markets are famous for. It carries ten options strategies from Guy Cohen's Bible of Options Strategies — adapted to crypto's high implied volatility, sudden regime shifts, and parabolic moves — plus a master Adaptive Cycle selector (XI) that reads the current phase and points you to the right one.
This package gives you two TradingView Pine v6 indicators:
| File | Purpose |
|---|---|
| PETRO-LWA-XI.pine | The Master · Adaptive Cycle Protocol. Detects current market phase + IV regime + recommends the right strategy of the moment. |
| PETRO-LWA-I-X.pine | The Companion · Scans for individual setup conditions of all 10 base strategies and prints a label whenever a setup forms. |
Grab PETRO-LWA-XI.pine and PETRO-LWA-I-X.pine. They are plain text files — about 350 and 250 lines each.
Sign into tradingview.com and open a BTC or ETH chart at the 1D timeframe for the master XI script. The companion I-X works on any timeframe (4H or 1D recommended).
Click Pine Editor at the bottom of the chart. Select all default content and replace it with the contents of PETRO-LWA-XI.pine. Click Save (name it PETRO-LWA · XI) and Add to chart.
Repeat with PETRO-LWA-I-X.pine. Both can run on the same chart simultaneously — XI shows the master phase + recommendation, I-X surfaces individual setup labels.
Cloud icon → Save as… → call it PETRO-LWA · BTC 1D. Reopening this layout restores Petro with all inputs preserved.
The Adaptive Cycle Protocol prints a 12-row panel in the top-right of your chart. Here is what every row means:
| Row | Meaning |
|---|---|
| PHASE | ACCUMULATION / BULL RUN / TOP FORMATION / BEAR MARKET / NEUTRAL. The current crypto cycle phase, derived from drawdown vs ATH + 50/200 EMA alignment. |
| Drawdown vs ATH | How far below the recent 180-bar high price is sitting. Deeper drawdown = closer to a bear/accumulation phase. |
| Trend (50 vs 200) | Classic EMA stack. BULL = 50 above 200 above price; BEAR = inverse; NEUTRAL = mixed. |
| IV Regime | LOW (BUY VOL) / MID (MIXED) / HIGH (SELL VOL). Tells you whether to be a vol buyer or seller. |
| IV Rank (Proxy) | 0–100 percentile of current realized vol vs last 252 bars. Pine cannot read Deribit IV directly so realized vol is the proxy. |
| 30D Realized Vol | Annualized standard deviation of daily log returns over the last 30 days. Crypto: 50–150% is normal. |
| 🎯 PRIMARY | The recommended primary strategy from the base ten for the current phase × IV combination. |
| 🛡 HEDGE | The recommended overlay or hedge to run alongside the primary. |
| Max Risk / Trade | Dollar risk per trade computed from your Account Size × Risk % input. Never exceed this. |
| Note | Plain-English summary of why this strategy fits now. |
The companion script prints a bottom-right panel with the 10 base strategies and an "ARMED" indicator when each strategy's setup conditions are currently met. A green ● ARMED on a row means: if you were to enter this strategy right now, the underlying market conditions favor it.
Whenever a setup goes from un-armed → armed, the script also drops an on-chart label at that candle. So you get both a real-time state view AND a historical record of every setup formation.
| # | Strategy | When to use it | Max Loss | Max Reward |
|---|---|---|---|---|
| I | Long Straddle | Major catalyst coming, direction unknown | Premium paid | Unlimited |
| II | OTM Strangle Ambush | Cheaper vol play, expect bigger swing | Premium paid | Unlimited |
| III | Bull Call Spread Ladder | Bullish trend, want defined risk | Spread width | Spread width |
| IV | Bear Put Backspread | Bearish, want big downside | Strike diff | Unlimited |
| V | Iron Condor | Range-bound, sell premium | Wing width | Net credit |
| VI | Covered Call | Own spot, want monthly income | Spot decline | Strike + premium |
| VII | Call Ratio Backspread Rocket | Strong bull, want explosive upside | Strike spread | Unlimited ↑ |
| VIII | Long Put Synthetic Straddle | HODLer, want crash protection + profit | 2× premium | Unlimited both |
| IX | Long Iron Butterfly | Tight range, cheap entry | Net debit | Wing − debit |
| X | Collar Fortress | Protect spot near ATH | Spot → Put | Spot → Call |
| XI | Adaptive Cycle Protocol | The master · selects from I–X based on phase + IV | Variable | Variable |
For the full step-by-step on each strategy (DNA, execution steps, risk profile, crypto-specific notes), see the Petro-Lwa page and expand each card.
The Master XI script supports alert() calls that send a JSON payload to the Lasirèn bridge whenever a phase transition is detected. This is what enables Lasirèn to rotate your strategy posture automatically.
{
"agent": "PETRO-LWA",
"action": "phase_signal",
"symbol": "COINBASE:BTCUSD",
"phase": "BULL RUN",
"iv_regime": "MID (MIXED)",
"iv_rank": 48,
"primary": "VI · Covered Call Yield Generator",
"hedge": "III · Bull Call Spread Ladder",
"dd": -4.2,
"max_risk": 200,
"time": "1715420400"
}
To enable: right-click the chart → Add alert → Condition = PETRO-LWA XI · Adaptive Cycle Protocol → choose Any alert() function call → in Notifications, paste your Lasirèn bridge URL into the Webhook field. TradingView Premium is required for webhooks; the email/push alerts work on every tier.
The five issues users hit most often — and the exact fix.
| Symptom | Fix |
|---|---|
| Pine compile error on paste | Re-download .pine directly — clipboard paste may drop characters. Both files compile clean on Pine v6. |
| "No phase change in months" | Working as designed. Phase shifts are rare; a quiet master XI is doing its job. Trust it. |
| Companion (I-X) prints too many ARMED setups | Filter by the master XI PRIMARY pick. Only act on companion signals that match the master's recommended strategy. |
| IV Rank looks off vs Deribit | The Pine proxy is 252-bar realized vol percentile, not true IV. Cross-check deribit.com before sizing the trade. |
| Webhooks not firing to Lasirèn | Requires TradingView Premium. Verify the HMAC secret matches between TradingView setup and the Lasirèn bridge env. Inspect bridge logs for rejection reason. |
Know the phase. Know the IV. Deploy the right strategy. Protect the capital first. Petro-Lwa surfaces the setup — you place the trade, you own the risk.