HTF Highs Lows [JV]█ OVERVIEW
This script presents a label with an overview of higher timeframe highs and lows. This can be useful information as we all know that price likes to revisit previous highs and lows area, specially on the higher timeframe.
█ CONCEPTS
This information can be relevant and valuable for various reasons:
Finding horizontal Support and Resistance
Get a better view on Market Structure
Provide some information about Order Flow
TrendLines
...
█ FEATURES
Plots
This script provides the option to show information about 3 timeframes
Each timeframe can be separately shown or hidden
The Y position of the info label can be user defined, based on high or low of the chosen timeframe
The X offset of the info label can be adjusted to the user's liking and the chart resolution
The label color and text color can be user defined
The info label's size can be user defined
█ NOTES
Caveat
The timeframes must be chosen in order of size. Meaning that the highest timeframe should be on top. This is title as such on the info label, but I want to mention it again as it's something to pay attention to.
Repainting
The question that pops up all the time is: Does it repaint ?
I will quote PineCoders on this:
We're pretty sure Wilder was not asked very often if RSI repainted. Why? Because it wasn't in fashion—and largely unnecessary—to ask that sort of question in the 80's. Many traders back then used daily charts only, and indicator values were calculated at the day's close, so everybody knew what they were getting. Additionally, indicator values were calculated by generally reputable outfits or traders themselves, so data was pretty reliable. Today, almost anybody can write a simple indicator, and the programming languages used to write them are complex enough for some coders lacking the caution, know-how or ethics of the best professional coders, to get in over their heads and produce code that does not work the way they think it does.
Briefly: yes, it repaints and no it does not matter.
Simple because we are working with highs and lows on a higher timeframe. So if we get a new high or low within a certain time frame, we want this new high or low to be displayed and, for me, it's not relevant if this information appears when it happens or when the candle closes.
Questions & Suggestions
Questions, suggestions or even a word of thanks are always welcomed in the comments section. I usually answer within the same day.
█ THANKS
A word of thanks to, and I hope I am allowed to use hyperlinks here, LonesomeTheBlue for being an inspiration on coding style and his work on arrays in Pine Script and to lmatl for his support, words of advice and letting me borrow his brain now and then.
High
1D Low/High MA + Least Square Mean (3 indicators in 1)This indicator is a combination of 3 public indicators being:
* a standard Simple Moving Average with the source as the candle low & length of 2
* a standard Simple Moving Average with the source as the candle high & length of 2
* the Least Square Mean with a source of high + low /2 and length of 9
This combo was inspired by Tyler Coates who crafted EMASAR.
He regularly uses the a SMA with source of Low / High and length of 2 for defining trading daily ranges as well as the Least Square Mean for calculations in the his trading which he teaches via youtube.
I hope this indicator will reduce time spent on setting up charts.
TPCharts HighOfWeekShows the days on which highs and lows for a week occurred (Sunday through Saturday).
Yeah, you could download data feeds and write some Python, but not everybody wants to do that.
Usage:
Get probability on your side when entering or taking profits.
If 60% of the weekly lows are on a Tuesday, what day probably works best to buy?
Keep in mind that many altcoins have slightly different weekly patterns.
Options in settings:
1. Show each day's name in a bubble underneath.
2. Display "summary" total stats for highs / lows when over 50 SMA.
Future updates:
Handle bear markets for final stats. Currently only calculates high/lows in summary bubble when over the 50 SMA.
NSDT Daily Key LevelsSimple script to show key levels of current day and previous day. Labels can be turned on and off as needed. Line colors, thickness and style can be changed. Modified the "M/W/D Level" script from paaax. Credit for original code goes to him. Link to script and profile posted in code of this script.
Daily High & Low BoundaryDisplays the day's progressive high and low of the day colorized by the day of the week.
Open=Low and Open=High with ConditionHello Everyone Its indicator Base On Candle (Bar)
How to work its indicator?
➤ if Open = low and pervious bar close > open when Long signal and if Open = High and pervious bar close < open When Short
Indicator Feature
➤ Long Signal with Alert
➤ Short Signal with Alert
➤ Take Profit with Alerts calculated by Long or Short Bar Open You can also choose Percentage or Point by default percent
➤ Trailing Stop Loss with Alerts
Important: This Indicator we are using for Automation Trading if You Want This Indicator Access, Please Contact me PM on Tradingview
Realtime All-Time High and All-Time Low Tracker [WIP]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 and widen with new highs or lows on a hypothetical "all-time" resolution.
Most of the original code was replaced and I'm trying to resolve a bug where the script fails to register new highs or lows while at the same time making sure that earlier data is plotted correctly. If applied to an asset that has not yet recovered , is just too new, or has not achieved a lower low than its opening price, this indicator ceases to function correctly. This would not be an issue if pine script was more general purpose and had something similar to Python's max(list) function.
Any and all suggestions are welcome. This is simply to serve as a springboard for any programmers trying to design algorithms or strategies that use these variables on any price chart.
Happy Hunting!
- Patch Hemlock
Local Limit UpperDisplays recent higher and lower highs.
In it's simplicity is a lot more powerful than might appear at first glance.
Does not rely on volatility calculation.
Can be linked together to create an objective view of recent resistance levels.
Makes current trends more visible.
Excellent as a trailing stop (short) algorithm.
Can be used with its sibling: Local Limit Lower
low and high X Bars//This script finds High and Low X bars back. Simple pine script, can customize lookback period.
Initial Balance (IB) and Previous Day / Week High, Low & ClosePlots Historical key levels for volume profile idea.
Plots the following:
- Previous Day High
- Previous Day Low
- Previous Day Close
- Previous Day IB High
- Previous Day IB Low
- Current Days IB High
- Current Days IB Low
IB is based on first hour of trading.
Made specifically for ASX stocks, have not tested it on other exchanges or assets.
Previous days highs and lowsA script which marks a line pointing the highs and lows of the previous trading day.
Day start top and bottomThis code is modified to draw the first 15 minutes(variable in setting by default 15m is set) of the high and lows through out the day.
It will work on time frames less than than or equal to 1st input. Hope this code helps you all.
IMPORTANT SETTING DETAILS:
1.Res = input(title="Starting X minutes lines to be Displayed",defval="15", type=input.resolution)
2.Day_start_15m=input("0915-0930",title="your country's Trading session time (starting X minutes)")
make sure to enter the starting 15 min of your country trading time in the input in 2nd input
both the above input 1 and 2 must be equal in time i.e "0915-0930"=15min and first one is also 15m
you need to make sure that the input settings are correct. It is By default set For INDIAs trading start time, you have to set start time according to your country.
Rabbit HoleHow deep is the Rabbit hole? Interesting experiment that finds the RISING HIGHS and FALLING LOWS and place the difference between the highs and lows into separate arrays.
== Calculations ==
In case current high is higher than previous high, we calculate the value by subtracting the current highest high with the previous High (lowest high) into array A,
same method for the lows just in Array B.
Since we subtract highs and lows it means velocity is taken into consideration with the plotting.
After adding a new value we remove the oldest value if the array is bigger than the Look back length. This is done for both lows and highs array.
Afterwards we sum up the lows and highs array (separately) and plot them separately, We can also smooth them a bit with Moving averages like HMA, JMA, KAMA and more.
== RULES ==
When High Lines crosses the Low Line we get a GREEN tunnel.
When Low Lines crosses the High line we get the RED tunnel.
The Greenish the stronger the up trend.
The Redish the stronger the downtrend.
== NOTES ==
Bars are not colored by default.
Better for higher time frames, 1 hour and above.
Enjoy and like if you like!
Follow up for new scripts: www.tradingview.com
High Low Rate Of ChangeAn experimental indicator using Pine Script Arrays. The indicators measures the rate of change of the highest highs and lowest lows. I call it the "High Low Rate of Change".
The H/L Rate of Change indicator finds the delta between the current highest high and previous highest high and after some filtering places these values into an array.
Same goes for the lowest lows.
In the end Sum it all up into the Histogram with optional smoothing using Exponential moving average (EMA).
==Colors==
Green: Up Trending.
Light Green: Weakening up trend.
Red: Down Trending.
Light Red Weakening Down Trending.
==Notes==
Bar colors are disabled by default.
Supports EMA smoothing (enabled by default).
Like if you Like and Enjoy!
Follow up for upcoming indicators: www.tradingview.com
Key Levels TheHuntThis indicator is made to show you some key levels on the chart on the different timeframes. You can hide them or show them in the settings. The levels are the Monthly Weekly and Daily opens, current monthly, weekly and daily high / low, last weeks high / low & last daily high / low as well as Monday high and low. These levels can be used as key pivots or key liquidity areas. You can also adjust the time to also use the correct Mon range for forex pairs.
As you can see on the chart, that is how the levels show up on the chart.
Historic High Lows AdaptiveThis will plot in the ticker opened:
-All-time High and Low
-1 Year High and Low
-6 Months High and Low
-3 Months High and Low
-1 Month High and Low
-1 Week High and Low
-Previous day High and Low
Colors, extending the line to the right, width, showing price tag are all parameters.
High and Low calculations are updated daily
Lines haves issues sometimes rendering when the candles are in a period too small.
RSIofAggregateHighsThis strategy is based on aggregate of highs of specified length. Then this value is input to RSI 14 period.
Take long when the curve crossing up 23.6 , 32.8 , 50 , 61.8 and 72 ... These are Fib numbers ... ( you could use simple oversold level 20 or 30 , simple overbought level 70 or 80. )
Better results found when crossing up 50 line. Closing the LONG trade also use the same setting but when crossing down.
It best works for one hour / 4 hours chart.
Tested for SPY , QQQ and AAPL symbols.
Stop Loss set to 8%
I have also added SHORT parameter , however SHORT trade results are NOT good on any time frame.
Warning
for the use of educational purposes only
Pivots High Low (HH/HL/LH/LL)/Trend [Anan] Hello Friends,,
This is pivot points high low with pivot trend to define the trend direction.
Pivot trend is the pivot points average.
Options:
- Pivot Point Period
- Show/hide Pivot Points Labels
- Show/hide Bull/Bear Labels ( depends on pivot trend)
- Show/hide Pivot Center Line (Bull>Center, Bear<Center)
- Show/hide Support/Resistance Level Extensions
- Show/hide Fractal Break Arrows (you can set alerts as well)
[co.n.g] LeathermanThis is a modest approach of assembling my most favorite strategies into a single indicator script!
I extended the functionality of the ART to the maximum in this piece of price action and volume analysis.
The original "Average Range Targets" - though by default turned off t due to heavily re-scaling the chart -
and the previous day's high and low.
What I've added:
high and low of the actual week
high and low of the previous week
open of the day
close of the previous day
VWAP of the daily session - adjustable to any length
VWAP of the weekly session
opening range / inital balance of the session -fixed to 15 Minutes
I've decluttered the chart as good as possible.
KNOWN BUGS:
Sometimes the plotting is incorrect due to rescaling or zooming in and out of the chart.
How to use - a quick price action guide:
The breakout of the open range is often indicating the trend of the day, a false breakout is often seen as a reversal sign.
A price below the VWAP is seen as cheap, a price above as expensive. In contrary to others, I personally prefer to see a rising price on a rising VWAP ;
additionally, I like bounces off or spikes and reversals through the VWAP , either the daily or the weekly.
The highs and lows of the days and weeks are seen as support and resistance . Trade preferably long above and short below those levels.
The ADR is an indication not working perfectly, especially with stocks.
!!! WARNING !!!
Don't rely solely on a single script nor a single indicator!
Always consider the price action, the trend, the overall market and especially the volume.
There is no "Get-Rich-Quick"-scheme, learn to read the chart and trade accordingly.
Enjoy and make money!
Yours,
Constantine
p.s.:
If you like to show your gratitude for my work:
CHEER!
Session High and Session LowI have heard many people ask for a script that will identify the high and low of a specific session. So, I made one.
Important Note: This indicator has to be set up properly or you will get an error. Important things to note are the length of the range and the session definition. The idea is that you would set it up for what's relevant to your trading. Going too far back in the chart history will cause errors. Setting the session for a time that is not on the chart can cause errors. If you set it to look farther back than there are bars to display, you may get an error. What I've found is that if you get an error, you just need to change the settings to reflect available data and it will be able to compile the script. At the time of its publishing, the default range start is set to 10/01/2020. If you're looking at this years later, you'll probably have to set the range to something more recent.
Features:
Plot or Lines:
Using Plot (displayed), the indicator will track the high/low from the end of the session into the next session. Then at the start of the next session, it will start tracking the high/low of that session until its end, then track that high/low until the start of the next session then reset.
Using lines, it will extend horizontal lines to the right indefinitely. The number of sessions back that the lines apply to is a user-defined number of sessions. There are limits to the number of lines that can be cast on a chart (roughly 40-50). So, the maximum number of sessions you can apply the lines to is the last 21 sessions (42 lines total). That gets really noisy though so I can't imagine that is a limiting factor.
Colors:
You can change the background color and its transparency, as well as turn the background color on or off.
You can change the highs and lows colors
You can adjust the line width to your preference
Session Length:
You can use a continuous session covering any user-defined period (provided its not tooooo many candles back)
You can define the session length for intraday
You can exclude weekends
Display Options:
You can adjust the colors, transparency, and linewidth
You can display the plotline or horizontal lines
You can show/hide the background color.
You can change how many sessions back the horizontal lines will track
Let me know if there's anything this script is missing or if you run into any issues that I might be able to help resolve.
Here's what it looks like with Lines for the last 5 sessions and different background color.
Yesterday's open, high, low and closeA very simple script to plot the yesterday's OHLC, to be used in an intraday graph.
There were other scripts like this, but their code was ugly, filthy, smelly, and WET, so I did this.
TheStrat MTF High/LowI just started learning about #TheStrat by Rob Smith. I created this tool as it helps me see the bigger TFs over my short TF periods. It plots the Highs and Lows of the current and past Quarter, Month, Week, Day, 6hour, and 1hour. (I added the 6 hour for myself for use with cryptos which run 24 hours). It leaves the previous Highs/Lows plotted as well so you can see how the candles are moving within the bigger candlestick . Example, if you select the 15 minute candlestick , it will also list the current high/low for the 1h, 6h, D, W, M, and Q.
It has customization that will disable whatever TF's you are not interested in.
It has auto-detect and disable lower TFs that are less than or equal to the current selected TF. This function will only work to disable when one of the above mentioned periods is selected. Example, if you select the M candle, it will disable the M, W, D, 6h, and 1h. Only the bigger TF of the Q will be visible. Example of when function wont work, if you selected the 2 Month candle it will not disable any of the TFs.
I am open to any ideas that you experienced Stratters offer. As soon as I get better at the system and generate some income for myself, I will likely make it open source. Hope this helps.