Indicator · Pine Script v6 · Own pane

Strategy-Picker

by hintheman· code credited to Hin + Claude

Strategy-Picker evaluates market trend, momentum, and volatility across multiple timeframes (5m, 15m, and 60m) to recommend suitable options trading structures.

View on GitHub

GitHub stars13on the repository
Pine versionv6current
Lines of code348
Settings23inputs
LicenceCustom licence
Last update2 months ago12 Aug 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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.

Details

Published by

hintheman on GitHub

Code credit

Hin + Claude, as written in the script's header

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Trend, Volatility & bands, Screeners & dashboards

Markets

Indices, Stocks

Timeframes

M15-H1

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
MACD Fast Lengthint12fastLen
MACD Slow Lengthint26slowLen
MACD Signal Lengthint9sigLen
EMA Lengthint8emaLen
ADX Lengthint14adxLen
ADX Trend Thresholdfloat20adxTrendTh
TF Bull/Bear Score Threshold (of 4)int3scoreTh
VIX Low → Debit onlyfloat16vixLowTh
VIX IC Lowfloat16vixICLow
VIX IC Highfloat19vixICHigh
VIX IBF Low → Iron Butterflyfloat19vixIBFLow
VIX IBF High → Iron Butterfly capfloat23vixIBFHigh
Show all 23 settings
SettingTypeDefaultVariable
VIX Mid → CS (ADX required)float18vixCSMid
VIX High → CS (full size)float19vixCSHigh
DTE — Credit Spreads (0 DTE)int0dteCreditSpread
DTE — IC / IBF (3–7 DTE)int5dteIronWings
DTE — Debit Spreads (14–21 DTE)int14dteDebit
Allow Iron CondorbooltrueuseIronCondor
Allow Iron ButterflybooltrueuseIronButterfly
Bars to wait after RTH openint2waitBars
Use 60m as primary trend when TFs disagreebooltrueuse60mBias
Alert at 6:30 AM PT open (fixed)booltruealert630
Alert at 7:00 AM PT (optional)booltruealert700
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.

Similar Pine Scripts

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

Indicator v5 TrendVolatility & bands
Updated 1 year ago · MPL-2.0 GitHub repository of Trend Following Setup - Sideways Market Skipper Scanner

Manias, Panics and Crashes

by MeridianAlgo
9 stars

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

Indicator v6 Oscillators & momentumVolatility & bands
Updated 4 months ago · MIT GitHub repository of Manias, Panics and Crashes

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

Indicator v6 TrendMean reversion
Updated yesterday · MIT GitHub repository of Predictability Regime Index [WavesUnchained]
92 stars

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

Indicator v5 Volatility & bandsTrend
Updated 8 weeks ago · Custom licence GitHub repository of Moon Dev GEX Regime & Trap
46 stars

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

Indicator v5 AI / machine learningTrend
Updated 7 weeks ago · None stated GitHub repository of HMM Enhanced: Regime Probability
43 stars

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

Indicator v5 TrendVolatility & bands
Updated 1 year ago · None stated GitHub repository of Trend Strength & Volatility v2

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers