This is an example script for checking how far the current bar has progressed towards it's completed state. This works for any time frame, eliminating extra logic calls and conversions for each timeframe.period. It is not intended to be a standalone indicator, but rather as a resource for additional logic triggers on the real time bar of a pine script. The main...
Library "ConverterTF" I have found a bug Regarding the timeframe display, on the chart I have found that the display is numeric, for example 4Hr timeframe instead of '4H', but it turns out to be '240', which I want it to be displayed in abbreviated form. And in all other timeframes it's the same. So this library was created to solve those problems. It converts...
Library "Time" Utilities for measuring time. bar() Gets the number of milliseconds per bar.
Various methods to calculate a symbol's timezone offset as a numerical value in hours and decimal minutes. This value may be useful to script authors in certain situations where timezone information needs to be available in a numerical format while using intraday charts. Special thanks to @LucF and TradingView Support for their efficiency advisements! NOTICE:...
Library "LibraryCheckNthBar" TODO: add library description here canwestart(UTC, prd) this function can be used if current bar is in last Nth bar Parameters: UTC : is UTC of the chart prd : is the length of last Nth bar Returns: true if the current bar is in N bar
Library "FunctionDaysInMonth" Method to find the number of days in a given month of year. days_in_month(year, month) Method to find the number of days in a given month of year. Parameters: year : int, year of month, so we know if year is a leap year or not. month : int, month number. Returns: int
Library "FunctionDatestring" Methods to stringify date/time, altho there is already builtin support for it. datetime(unixtime) a stringified date stamp at specified unix time. Parameters: unixtime : int unix timestamp. Returns: string date_(unixtime) a stringified date stamp at specified unix time. Parameters: unixtime : int unix timestamp....
With this indicator, you can choose candles in the period you want on your chart. How ? • If your chart is 5 minutes, the duration should be greater than 5 on this indicator. If you do not do it this way, there will be gaps in the price, it will not give the right result. • If you want to see it in minutes, you must enter a direct numerical value. For...
This strategy allows you to back test longing or shorting or do nothing during time increments of 30 minutes for various days of the week. For example if you want to see if every Saturday if Bitcoin dropped in value from 1600-7000 UTC, this script will allow you to test that. Make sure you are in the 30 minute time frame while viewing the performance and trade history.
This script automatically highlights the Igor Session time zones based on the Chart Champions TPO time and volatility theory.
Have you ever wondered if you are trading at the right time of the day or feel like all the good trades happen when you are sleeping? Well now you can check your theory :) This Script allows you to highlight a time range on your chart over a 24hour time period. For example 3AM to 6AM The script has two time variables, set your start time and end time based on a...
This strategy allows you to back test longing or shorting or do nothing during time increments of 30 minutes. The price trends in one direction every 30 minutes and this strategy allows you to test various 30 minute time frames across a range of dates to capitalize on this. Make sure you are in the 30 minute time frame while viewing the performance and trade history.
This Script plots the ICT Killzones in the Chart using a new Panel. It's based on the Major Forex Sessions and this is usually where Key Swing Points occur. It has a lookback of 20 days for Performance reasons. CUSTOMISATION - Time can be modified - Lines width can be modified - Lines colours can be modified DEFAULT By default the Killzones will be based on NY...
The Natural Stochastic Indicator was created by Jim Sloman and this is another indicator from his Ocean series which I will eventually publish all of them. Big thanks to @altcoinz and @tmac87 for giving me all of the source code in order to publish Jim's life work. This is another momentum indicator but unlike a traditional stochastic indicator, this one doesn't...
The script highlights Frankfurt's opening range up until New York's close. It is described as No Trading Zone in Gabrielle Fabris's The Price in Time book. Projections of the Frankfurt range are potential supports and resistances and they are used in trade management & for taking profits in his system. Full rules are not mine to share. You have to read the book...
Fibonacci time zones, based on the Fibonacci number sequence, are vertical lines that represent potential areas where a swing high, low, or reversal could occur. Trend-Based Fib Time shows probable price corrections in an existing trend. A useful tool to use in addition to Elliot Wave counting, Fib Time helps to identify how far the wave is likely to travel ...
Description of the Time_Wolna indicator The indicator is designed to study the behavior of time. There are many indicators that study just the price, a little less indicators that study the volume of trading and vanishingly few indicators that study time. This is not an oscillator, it does not have oversold or overbought levels. This indicator has an indefinite...
Function to convert unix time to a datestamp string.