Strategy-Picker evaluates market trend, momentum, and volatility across multiple timeframes (5m, 15m, and 60m) to recommend suitable options trading structures.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Strategy-Picker combines MACD, an 8-period EMA, and ADX readings with external VIX levels to suggest Put Credit Spreads, Call Credit Spreads, Iron Condors, Iron Butterflies, or debit spreads. Rendered in a separate pane, the indicator displays regime states and triggers time-based alerts. Users can adjust moving average lengths, ADX thresholds, VIX boundary levels, and target days-to-expiration guidelines.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
MACD Fast Length
int
12
fastLen
MACD Slow Length
int
26
slowLen
MACD Signal Length
int
9
sigLen
EMA Length
int
8
emaLen
ADX Length
int
14
adxLen
ADX Trend Threshold
float
20
adxTrendTh
TF Bull/Bear Score Threshold (of 4)
int
3
scoreTh
VIX Low → Debit only
float
16
vixLowTh
VIX IC Low
float
16
vixICLow
VIX IC High
float
19
vixICHigh
VIX IBF Low → Iron Butterfly
float
19
vixIBFLow
VIX IBF High → Iron Butterfly cap
float
23
vixIBFHigh
Show all 23 settings
Setting
Type
Default
Variable
VIX Mid → CS (ADX required)
float
18
vixCSMid
VIX High → CS (full size)
float
19
vixCSHigh
DTE — Credit Spreads (0 DTE)
int
0
dteCreditSpread
DTE — IC / IBF (3–7 DTE)
int
5
dteIronWings
DTE — Debit Spreads (14–21 DTE)
int
14
dteDebit
Allow Iron Condor
bool
true
useIronCondor
Allow Iron Butterfly
bool
true
useIronButterfly
Bars to wait after RTH open
int
2
waitBars
Use 60m as primary trend when TFs disagree
bool
true
use60mBias
Alert at 6:30 AM PT open (fixed)
bool
true
alert630
Alert at 7:00 AM PT (optional)
bool
true
alert700
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator scans a pasted list of symbols and shows matching long and short setups in a table in a separate pane. It uses a Supertrend crossover, then applies an ATR or fixed-point volatility range so quiet, sideways conditions can be skipped. Optional fil
Manias, Panics and Crashes is a separate-pane market regime indicator that quantifies market sentiment and systemic risk. It processes technical metrics including RSI, moving averages, and volume alongside optional intermarket data such as VIX volatility and c
This indicator classifies market behavior into momentum, mean-reversion, noise, or mixed regimes. It fuses four statistical predictability sensors—Variance Ratio across multiple horizons, return autocorrelation, Hurst exponent approximation, and fractal effici
This indicator classifies the market into gamma regime types (negative gamma trend, positive gamma mean-reversion, or transition) by calculating a composite score based on daily ATR ratios, session VWAP crossover frequencies, and opening range displacement. It
This indicator uses a Hidden Markov Model (HMM) framework combined with an adaptive dual moving average engine and Directional Movement Index (DMI) features to identify market regimes (bullish, bearish, or ranging/chop). It calculates regime probabilities on e
This indicator calculates standardized trend strength and historical volatility to estimate position sizes. It computes the differences between three user-defined EMAs standardized by price using MACD logic, while historical volatility is derived from the stan