This script will count the bars back since the last time the current bar indicator value was either this low or this high.
It will provide the time in either, seconds, minutes, hours, days, weeks, months, or years.
There are currently no alerts setup for this script.
the length options only apply to the sources that have the "(MA)" in their...
This marker-only indicator traces highest and lowest bars using 5 different periods (the first 3 in aggregation and the rest as is) for a total of 10 support and resistance signals of varying strength. Use Cosmic Markers Lite on its own or add on top of existing chart patterns or other line indicators.
Map - an indicator that shows the highest and lowest points on the price movement road.
The calculation is based on the type of price data specified in the "Source" parameter and the length of the time interval specified in the "Length" parameter.
The indicator helps to visually find a local trend and rebound points.
Thanks for your attention!
Midpoint - MG indicator is an indicator available in Netdania application. I wanted to contribute of moving it to this environment for Tradingview users. The basic logic is the value obtained by adding the highest and lowest levels in the specified periods and dividing them into two. The specified range is left to user preference. The...
The VIX Fix measures how close the current market price is to the lowest price of the last X candles. When prices are in uptrends, the close is usually near the high. But prices close near the low in downtrends.
It works because it’s based on how traders behave. The calculation fixes some of the problems with the VIX.
This indicator is based on ...
A very simple, almost naive strategy, in which you buy on the lowest of the two previous candles and sell at the highest of the two previous candles. You can configure these highest and lowest lenght, in some assets two is too small of a number to make profit. You can also configure to exit the position after X, and I found that 7 (which is a week of working days)...
First all of Thanks to Pine Team for adding Arrays to Pine!
In this script I tried to make example for
1. Finding S/R lines using highest/lowest function
2. Using 1D array as 2D (we keep S/R levels and age)
3. "Age" usage for S/R levels, getting older on each candle and changing colors by their age (maximum age is 127 then it disappears)
You can use...
Highest / Highest High Highest (Data) - HHV (Data, Period)
Lowest / Lowest Low Lowest (Data) LLV (Data, Period)
These functions calculate the highest / lowest value of a selected data.
Highest High and Lowest Low options are mostly used.
The Highest function calculates the highest value of the selected data in the past.
The Lowest function calculates the lowest...
Similar to one of my previous scripts 'Ranged Volume', but instead of using volume, this script uses candle length mirrored. It creates a range using highest and lowest of a given period. When the range gets larger, it means the current candle is bigger than the largest candle of your given period (break-out).
Yellow = Bullish break out
Red = Bearish break...
A SuperTrend like indicator based on highest and lowest candle close from a few bars back. It looks almost the same as Donchian Channels but with a dominant trend direction inside (Black line).
Uptrend: Candle closed higher than highest close
Downtrend: Candle closed lower than lowest close
This works best on higher time frames since a daily close is more...
A simple script that shows mirrored regular volume bars with the purpose to show break-outs and low volume ranges, using highest and lowest of a few bars back.
Use Heikin Ashi function to smooth the colors with the trend.
No matter how much I like PineScript, there are still things missing in the language. One of the most annoying issues is that you cannot set dynamic length value for highest/lowest functions. This length must be fixed integer. But it doesn't make sense in a lot of cases, when you'd like to know what was the highest/lowest value of a series SINCE EVENT in the past,...
The oscillator version of the stationary extrapolated levels indicator. The methodology behind the extrapolated levels where to minimize the risk of making a decision based only on a forecast, therefore the indicator plotted levels in order to determine possible reversal points, signals where generated when the detrended series crossed over/under...
A way to see if market is trending or not trending based on highest and lowest closing price. Market is considered to be trending when the indicator is above 0 (in blue) and ranging when under 0 (in red)
Quite simple but its a way to calculate the trend force since trend can be measured thanks to highest/lowest.
Auto detect highest/lowest price within a range of bars. The range is user defined by selecting a fixed date (timestamp) for the left and right endpoints. As new bars appear in the chart, the endpoints do not move (thus "fixed" in time).
Optionally add Fibonnaci Lines (retracement or extension).
See the comments at the beginning of the script for a complete...