Library "TimeFilter" provides utilities for dates and times inSession(session, timezone, period) Parameters: session (simple string) timezone (simple string) period (simple string) Returns: bool inSession Whether the current time is within the defined time session inDateRange(startDate, endDate)...
Library "Holiday" - Full Control over Holidays and Daylight Savings Time (DLS) The Holiday Library is an essential tool for traders and analysts who engage in backtesting and live trading . This comprehensive library enables the incorporation of crucial calendar elements - specifically Daylight Savings Time (DLS) adjustments and public holidays - into...
Library "chrono_utils" 📝 Description Collection of objects and common functions that are related to datetime windows session days and time ranges. The main purpose of this library is to handle time-related functionality and make it easy to reason about a future bar checking if it will be part of a predefined session and/or inside a datetime window. All...
Library "SessionAndTimeFct_public" is_in_session(sessionTime, sessionTimeZone) : Check if actual bar is in specific session with specific time zone Parameters: sessionTime sessionTimeZone is_session_start(sessionTime, sessionTimeZone) : Check if actual bar the first bar of a specific session Parameters: sessionTime ...
ATR+ Advanced Sessions ATR for Daterange The ATR+ adds the following additional filters to the stock ATR indicator by Tradingview: - Calculates the overall average ATR for a user defined daterange, optionally filtered by trading session and selected weekdays, presented as a secondary line over the standard ATR line. - Basic ATR line, with colour highlight to...
Just a basic list date script to display various conference dates from the crypto sector. Updates to add more conferences. Red - BTC Miami Blue - Consensus
This script marks important seasonal dates with a vertical line that Gann used to watch for Trend changes. March 21st June 22nd September 23rd December 22nd And 50% Levels - Minor seasonal dates. February 4th May 6th August 8th November 7th In the settings you can change line colors and toggle the Offset. Offset is the way the script draws lines to show...
Implements and backtests a simple 200 day moving average trend following rules based on last day of month to limits trades to 12 per year. From the book : 5 BEST Moving Average Strategies (That beat buy and hold) by Steve Burns and Holly Burns Click on the cog to set the input date range eg; 2000-01-01 to 2016-12-31 The book back tested SP500 returns from...
This indicator shows the beginning and the end of quantitative easing policy.
Show specific dates/bars (useful for Ichimoku cloud) Show where are -9th bar, -20th bar, -26th bar, -52th bars in the past
This very simple script adds a corridor for two low price ranges, where Corona started to hit. Useful to visualize where a stock currently trades at, relative to the Corona / Covid-19 crisis. Can easily be adjusted for different dates regarding any major events, crashes. Useful when you run out of Alarms and just want to see "is that still below or above where it...
Example how to backtest specific date(s) which can be useful for testing seasonality strategy ideas such as "Sell in May", etc. If using Daily period with wild card dates it will not trade on 1st day of month. If market is closed will trade on next open day. Works only with Daily or lower timeframes. When using on Daily timeframe set dates 1 day earlier to...
Example how to automatically set the date range window to be backtested from X days or weeks ago to present. Additional options are also included to manually set the date range or to show entire range available. Normally when you change chart period it changes the number of days being backtested, which means as you increase the chart period (for example from 5min...