Indicator · Pine Script v4 · On the chart

Head

by dgnsrekt

This indicator template generates an options reticle overlay on the price chart, plotting horizontal out-of-the-money strike price targets and vertical expiration crosshairs.

View on GitHub

GitHub stars7on the repository
Pine versionv4older, still runs
Lines of code37
Settings0inputs
LicenceMIT
Last update6 years ago20 Oct 2020

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above, or the copy button on the code below.
  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

37 lines of Pine Script v4 from options_reticle/templates/head.pine, published under MIT. Keep the author's credit and licence lines when you reuse it.

head.pine

//@version=4
//
//Script Details
//Version: {{ version }}
//Processed Date: {{ processed_date }}
//Tickers: [{{ first_ticker }} -> {{ last_ticker }}]
//Count: {{ ticker_count }}
//Download Timestamp: {{ download_timestamp }}
//Days until expiration: {{ days }}
//
//                        .-._                                                   _,-,
//                         `._`-._                                           _,-'_,'
//                            `._ `-._                                   _,-' _,'
//                               `._  `-._        __.-----.__        _,-'  _,'
//                                  `._   `$==="""           """===$'   _,'
//                                     `._/)  ._               _.  (\_,'
//                                      )*'     **.__     __.**     '*(
//                                      $  .==..__  ""   ""  __..==,  $
//                                      $   `"._(_).       .(_)_."'   $
// /$$$$$$$$ /$$$$$$  /$$      /$$  /$$$$$$        /$$$$$$$  /$$$$$$$  /$$$$$$ /$$    /$$ /$$$$$$$$ /$$   /$$
//| $$_____//$$__  $$| $$$    /$$$ /$$__  $$      | $$__  $$| $$__  $$|_  $$_/| $$   | $$| $$_____/| $$$ | $$
//| $$     | $$  \ $$| $$$$  /$$$$| $$  \ $$      | $$  \ $$| $$  \ $$  | $$  | $$   | $$| $$      | $$$$| $$
//| $$$$$  | $$  | $$| $$ $$/$$ $$| $$  | $$      | $$  | $$| $$$$$$$/  | $$  |  $$ / $$/| $$$$$   | $$ $$ $$
//| $$__/  | $$  | $$| $$  $$$| $$| $$  | $$      | $$  | $$| $$__  $$  | $$   \  $$ $$/ | $$__/   | $$  $$$$
//| $$     | $$  | $$| $$\  $ | $$| $$  | $$      | $$  | $$| $$  \ $$  | $$    \  $$$/  | $$      | $$\  $$$
//| $$     |  $$$$$$/| $$ \/  | $$|  $$$$$$/      | $$$$$$$/| $$  | $$ /$$$$$$   \  $/   | $$$$$$$$| $$ \  $$
//|__/      \______/ |__/     |__/ \______/       |_______/ |__/  |__/|______/    \_/    |________/|__/  \__/
//
//FOMO DRIVEN DEVELOPMENT [Filter > Entry > Exit > Timing > Survial]
//DGNSREKT (2020)
//

TITLE = "{{ title }}"
SHORT_TITLE = "{{ short_title }} [{{ first_ticker }} -> {{ last_ticker }}]"

study(title=TITLE, shorttitle=SHORT_TITLE, overlay=true, max_bars_back={{ max_bars_back }})

Overview

Head includes a fill mode that dynamically shades the area between historical price and the target strike, coloring green when in-the-money and red when out-of-the-money. A target information panel details contract specifications, expiration timelines, and strike distances. It also supports Quick Action PUT mode when chart symbols are inverted. Ticker parameters and thresholds are injected dynamically via a companion CLI tool rather than standard script inputs.

Details

Published by

dgnsrekt on GitHub

Type

Indicator, Pine Script v4

Draws

On the price chart

Category

Support & resistance, Screeners & dashboards

Markets

Stocks, Indices

Timeframes

Any timeframe

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.

Topics

tradingviewoptions-tradingpython3

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

575 stars

This overlay indicator scans a pasted list of symbols for ICT liquidity sweep patterns using prior swing sweeps. The screening method looks back one, two, or three swings and can list long and short signals in a results table with adjustable rows, position, an

Indicator v5 SMC / ICT / price actionScreeners & dashboards
Updated 1 year ago · MPL-2.0 GitHub repository of ICT Liquidity Sweep Pattern Scanner
330 stars

This indicator monitors multiple cryptocurrency symbols for trading signals. It calculates and plots entry prices, take profit, and stop loss levels for each symbol including BTCUSDT, ETHUSDT, BNBUSDT and others. Price crossovers trigger buy, sell or close ale

Indicator v5 Support & resistanceScreeners & dashboards
Updated 2 months ago · None stated GitHub repository of Multi Alert Long/Short [Alorse]

BZ-tracker

by Allen1212
303 stars

The BZ-tracker indicator marks ARK Invest buy and sell transactions on stock charts with labels. It plots green labels for purchases and red labels for sales, each annotated with a multiplier such as X1 or X2 to show the number of ARK ETFs trading the stock on

Indicator v4 Support & resistanceScreeners & dashboards
Updated 2 years ago · None stated GitHub repository of BZ-tracker
257 stars

This indicator overlays an intraday SPX and ES chart with a midnight session range, regular-trading-hours opening levels, and a VWAP projection box. It draws the midnight high, mid, and low, flags edge rejections within an absolute tolerance, and plots optiona

Indicator v6 TrendSupport & resistance
Updated 6 weeks ago · None stated GitHub repository of SPX Midnight Box + Snag Logic

Golden Bullet Strategy

by TradersPost
218 stars

The Golden Bullet Strategy is an overlay signal indicator based on Smart Money Concepts and time-based liquidity models. It identifies liquidity sweeps of a designated reference session range during a specified hunt window. It then confirms Market Structure Sh

Indicator v6 SMC / ICT / price actionSessions & time
Updated 3 months ago · None stated GitHub repository of Golden Bullet Strategy

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