This script plots vertical lines on major U.S. economic events that can impact a trading day. Allowing you to decide if you want to trade on that day or to help with back testing (limited in how far back one can go). The indicator preview chart doesn't show the vertical lines for whatever reason. Here is a snapshot image. This is completely different code...
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...
Library "EconomicCalendar" This library is a data provider for important dates and times from the Economic Calendar. events() Returns the list of dates supported by this library as a string array. Returns: array : Names of events supported by this library fomcMeetings() Gets the FOMC Meeting Dates. The FOMC meets eight times a year to determine the...