Strategy · Pine Script v6 · On the chart

v29 Coldstart Options Proxy

by syrilj

A strategy that uses the underlying stock as a timing proxy for buying around 21-day at-the-money call options.

View on GitHub

GitHub stars1on the repository
Pine versionv6current
Lines of code552
Settings40inputs
LicenceNone stated
Last update2 months ago8 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 strategy, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.

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

A symbol profile preset selects gates and a higher timeframe. Entries depend on a volume profile value area, a swing VWAP, MACD Heikin-Ashi and a squeeze reading, plus a gate for FOMC days combined with an elevated VIX. Size is scaled by a Kelly fraction and a risk percentage, and trades can be force-closed after a number of bars. The tester does not model real option profit and loss.

Details

Published by

syrilj on GitHub

Draws

On the price chart

Markets

Stocks

Timeframes

H4 and above

Risk Notes

  • The strategy enters trades without a stop loss

Topics

algorithmic-tradingbacktestingfastapifintechmachine-learningnextjspythonquantitative-financereacttrading

Settings

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

SettingTypeDefaultVariable
① Symbol profilestringIONQprofile
Value area fillbooltrueshowVA
POC + VWAP linesbooltrueshowLevels
Stop / trail while in tradebooltrueshowStops
BUY / EXIT markersbooltrueshowSignals
Trade labelsbooltrueshowLabels
DashboardbooltrueshowDash
Gate traffic lightsbooltrueshowGates
Soft position backgroundbooltruecleanBg
Target DTE (days)int21dteDays
OTM % (0 = ATM)float0.0otmPct
Min size (skip weak)float0.35minSizeFrac
Show all 40 settings
SettingTypeDefaultVariable
Risk % equity / tradefloat10.0riskPct
Kelly fractionfloat0.5kellyFrac
Force exit at ~DTE barsbooltrueexitOnDte
Enable FOMC ∧ VIX gatebooltrueuseSurgical
FOMC day NOW (manual)boolfalsefomcDay
VIX symbolsymbolTVC:VIXvixTicker
VIX elevated if abovefloat20.0vixElevated
VA %float70.0vaPct
VP rowsint25rows
VP lookbackint20lookback
MACD fastint12fastL
MACD slowint26slowL
HTF if CustomtimeframeDhtfCustom
Swing periodint50prd
VWAP APTfloat20baseAPT
Vol SMAint20volLen
Vol lookint5volLook
SQZ lengthint20bbLen
BB multfloat2.0bbMult
KC multfloat1.5kcMult
Min confidencefloat0.55minConf
Soft confidencebooltruesoftConf
Hard stop ATRfloat1.5stopAtr
Trail ATRfloat2.5trailAtr
Arm trail ATRfloat1.0armTrailAtr
Need HTF greenbooltruec_reqHtf
Need above VWAPbooltruec_reqAboveVwap
Need vol expandboolfalsec_reqVolExpand
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 strategy calculates multiple technical indicators including EMAs, SuperTrend, ADX, RSI, MACD, Stochastic, and volume MA to generate entry signals for Indonesian stocks. It supports three entry trigger modes: Composite Score, Pullback, and Breakout, with f

Strategy v6 TrendOscillators & momentum
Updated 3 months ago · MIT GitHub repository of Saham: Papan Gerak Strategy By. Akhmfz
257 stars

This overlay strategy is built for ES futures on the one-minute chart. It plots a volume-weighted moving average of price opens and standard-deviation bands at Fibonacci ratios, plus a second longer volume-weighted average from a higher-timeframe open. Call an

Strategy v5 Volatility & bandsMoving averages
Updated 6 weeks ago · None stated GitHub repository of ES Futures 1M No Repaint
106 stars

This strategy plots on the price chart and enters when three smoothed moving averages are aligned, RSI is on the matching side of 50, and a Williams fractal appears. An upward stack with RSI above 50 and a down fractal opens a long; the opposite setup opens a

Strategy v5 Moving averagesOscillators & momentum
Updated 2 years ago · GPL-3.0 GitHub repository of 3SmmaCrossUp + Fractal + RSI
105 stars

This overlay strategy looks for gold scalps from break of structure and change of character. It enters long when a bullish break, a bullish character change, and an optional volume filter align, and short on the opposite set. Optional RSI levels can block trad

Strategy v6 SMC / ICT / price actionOscillators & momentum Repaints

This strategy plots the previous daily high and low on the price chart and calculates the Andean oscillator bull and bear components with an exponential moving average signal. It looks for a bull or bear cross of that signal, then confirms the setup against re

Strategy v5 Oscillators & momentumSupport & resistance Repaints
Updated 3 years ago · MIT GitHub repository of Daily High/Low and Andean Oscillator Strategy

This strategy trades 1-minute futures contracts on Binance. It plots pivot high and low resistance and support levels on the price chart, along with an EMA and a custom Cto indicator. Long and short entries trigger on EMA and Cto crossovers combined with price

Strategy v5 TrendMoving averages Repaints
Updated 2 years ago · None stated GitHub repository of Binancash Futures Strategy 1M Candles

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

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

Compare brokers