OPEN-SOURCE SCRIPT

VIX Opening Gap

Overview

This simple script generates alerts based on the difference between the previous trading day's VIX close and the current trading day's opening bar. It is designed for use on the TVC version of the VIX chart, with 1-minute bars.

Features

The script flags one of four conditions based on the difference between the previous day's close and the current day's open: (1) open up; (2) open down; (3) gap up; and (4) gap down. The thresholds for gaps up and down are expressed as percentages and can be changed in the input settings.

The script can assess the gap at the first bar of the premarket session or at the first bar printed after market open. Change this by toggling the "Use Premarket Hours" feature in the input settings.
optionsVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明