This is an example of how to reference higher timeframe data without the need for a 'security()' call. I have attempted to create the function example: f_insecurity() with the purpose of wrapping up and pumping out all common relevent HTF price data that's needed for your everyday indicators in a reliable fashion.
I put most importand moving avarages for most importand time frames together. When you whatching a graph you are sometimes missing another time frime very importand moving avarage and there is a reaction on price. with this multi time frame multi ma indicator you can see all of them at once. it makes a little mass if you let all of them together. so you might...
Example primarily focuses on: • creating a simple function to get a time offset value • using the offset to set drawing locations in the future • how to properly set up and manipulate line positions Extras ( end of script ): • inclusion of vertical lines for visualising start and end points using the time offsets • inclusion of label to read out the current...
This is a study intended to port the work of /u/QuantNomad's "Kozlod - All-time high/low alerts" to pine version 4 without giving any alerts. It is intended to capture the most extreme points on any given price chart in real time, the absolute high and absolute low points. Ideally, the plotted lines would strictly diverge from one another in opposite directions...
█ OVERVIEW This indicator calculates relative volume, which is the ratio of present volume over an average of past volume. It offers two calculation modes, both using a time reference as an anchor. █ CONCEPTS Calculation modes The simplest way to calculate relative volume is by using the ratio of a bar's volume...
World Clocks - something for fun Happy New Year! ps: in case no update on the charts then the clock will not update too and will lag or stop till a new update is received
█ OVERVIEW Calculating time-based offsets is necessary when coders need to draw lines or labels into the future because using `xloc = xloc.bar_time` in `label.new()` or `line.new()` is then mandatory. This script provides a function to help with those calculations: f_timeFrom(_from, _qty, _units) The function calculates a negative (into the past) or...
A basic functionality addition to alarms Now you will be able to fire an alarm at a desired time It needs to be added in a timeframe small enough for the alarms to show. So if you want to fire at a specific hour an alarm you need to add it minimum at the 1h timeframe Enjoy it
A truly time based indicator to check the strength of the asset based on "Time". The main idea came to my mind about 2 years ago, When i was counting the candles in an impulse move and comparing it to number of retracement candles . So i got a period (13 for example) and checked the price change between the 13 candles, Then the space between those two...
Hello Pine Scripters, Sometimes we need to run some processes in the scripts on last N bar but currently we don't know bar_index value of realtime bar or number of remaining bars before we reached it. So most of us use "start date" as input and run some processes after "start date". This experimental script finds last Nth bar approximately. As you can see in...
There seems to be no open source forex trading session DST (Daylight Savings Time) aware scripts which I think is absurd. This amazing community deserves better. So I adapted some code by icostan adding DST capabilities. Original code by icostan here I added DST code. Warning may not be perfect yet. Could be a bug or two. It only supports 3 major sessions...
Dynamic grid system based on supertrend. note: the input nlines/nfractions are not locked so if values too high might start overlapping line objects.
Alpha Performance of Period (PoP) produces a visualization of returns (gains and losses) over a quarterly, monthly, or annual period. It also displays the total % gain and loss over any length of days, months, and years as defined by the user. Performance of Period (PoP) can be used to understand the performance of an asset over multiple periods using a single...
Okay, so this is a lot. It started mostly with me combining indicators and looking for ideal entry criteria. It is also a collection of conditions, whether used or unused, for my current chosen "best" strategy. It is currently set how I like it, but it has changed with time, and will continue to do so. Within, there are variables that are unused, but offer some...
Renko is a very useful charting method for analyzing stock movement. It does a great job of filtering out all the excess noise so that all we're left with is pure price action. But, what about time? Time is a fundamental part of chart analysis and we are only seeing part of the picture. After all, shouldn't we take a very different approach to trading signals from...
This has been done before in different ways, however, my goal is to publish a single, simplified copy/paste version of the idea so you can quickly and easily incorporate it into your strategy backtesting. You can designate weekdays, weekdays + weekends for 24/7 markets, and also session range. So, you trade bitcoin? It works. CME futures? It works. You are a...
Highlights different world session times the times and highlight colors can be adjusted
Public Version - This is a session timing indicator for people in the PST time zone and represents each major session with a different color time block for intraday studies.