OPEN-SOURCE SCRIPT

Odd_mod Econ Calendar

已更新
A modification of Economic Calendar Events: FOMC, CPI, and more written by jdehorty. Please send all tips his way as he is maintaining the underlying data for the Calendar and the original concept.

List of changes:
  • Optimized code, will only run once on initialization now(No random line in middle of screen on bar change)
  • Legend - Added short names
  • Legend - Removed header
  • Legend - Made repositionable with selectable top margins
  • Legend - Removed data name from legend when it is disabled
  • Legend - Removed border


Original Description by jdehorty :

This script plots major events from the Economic Calendar that often correspond to major pivot points in various markets. It also includes built-in logic to retroactively adjust larger time intervals (i.e. greater than 1 hour) to be correctly aligned with the interval during which the event occurred.

Events are taken from the Economic Calendar and will be updated periodically at the following library:
EconomicCalendar

The above library can be used to conveniently access date-related data for major Meetings, Releases, and Announcements as integer arrays, which can be used in other indicators. Currently, it has support for the following events:

FOMC Meetings
The FOMC meets eight times a year to determine the course of monetary policy . The FOMC's decisions are based on a review of economic and financial developments and its assessment of the likely effects of these developments on the economic outlook.

FOMC Minutes
The FOMC minutes are released three weeks after each FOMC meeting. The minutes provide a detailed account of the FOMC's discussion of economic and financial developments and its assessment of the likely effects of these developments on the economic outlook.

Producer Price Index (PPI) Releases
The Producer Price Index (PPI) measures changes in the price level of goods and services sold by domestic producers. The PPI is a weighted average of prices of a basket of goods and services, such as transportation, food, and medical care. PPI is a leading indicator of CPI .

Consumer Price Index ( CPI ) Releases
The Consumer Price Index ( CPI ) measures changes in the price level of goods and services purchased by households. The CPI is a weighted average of prices of a basket of consumer goods and services, such as transportation, food, and medical care. CPI is one of the most widely used measures of inflation .

Consumer Sentiment Index ( CSI ) Releases
The University of Michigan's Consumer Sentiment Index ( CSI ) is a measure of consumer attitudes about the economy. The CSI is based on a monthly survey of U.S. households and reflects the consumers' assessment of present and future economic conditions. The CSI is a leading indicator of consumer spending, which accounts for about two-thirds of U.S. economic activity.

Consumer Confidence Index ( CCI ) Releases
The Consumer Confidence Index is a survey that measures how optimistic or pessimistic consumers are regarding their expected financial situation.

Non-Farm Payroll (NFP) Releases
The Non-Farm Payroll (NFP) is a measure of the change in the number of employed persons, excluding farm workers and government employees. The NFP is a leading indicator of consumer spending, which accounts for about two-thirds of U.S. economic activity.
版本注释
Feature creep edition-
  • Updated input menu again
  • Fixed lines not applying to the right bars in some cases
  • Added option to enable a countdown to the next event on the legend
  • Added settable alerts (Untested so unknown if working)
版本注释
Updated to the newest dataset provided by the great jdehorty.

🪳 Bugfix - Disabling the table will hide all cells now even if an alarm or countdown is set.
alertCPICSIFOMCfomcmeetingforecastingmacronfpoddPPIsentiment

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明