Buying/Selling ClimaxEnglish:
This indicator is designed for the stock market and marks potential buying or selling climaxes. If a "buying climax" or "selling climax" is marked, the probability is high that this price level will not be exceeded or undershot quickly. The indicator is used exclusively on the weekly time level.
Conditions for a "Buying Climax":
- New 52-week high
- The week closes in the loss "red week”
Alternative: The week closes below the opening price of the previous week
Conditions for a "Selling Climax":
- New 52-week low or crash (in the stock).
- The week closes in profit "green week”
- The 2 previous weeks are losing weeks
Alternative: The week closes above the opening price of the previous week
Deutsch:
Dieser Indikator ist für den Aktienmarkt ausgelegt und markiert potenzielle Kauf-/ bzw. Verkaufs-Höhepunkte. Wird ein „Buying-Climax“ bzw. „Selling-Climax“ markiert, ist die Wahrscheinlichkeit hoch, dass dieses Preisniveau nicht so schnell überschritten bzw. unterschritten wird. Der Indikator wird ausschließlich auf der wöchentlichen Zeitebene eingesetzt.
Bedingungen für einen „Buying Climax“:
- Neues 52-Wochen Hoch
- Die Woche schließt im Verlust „red week“
Alternative: Die Woche schließt unterhalb des Eröffnungspreises der Vorwoche
Bedingungen für einen „Selling Climax“:
- Neues 52-Wochen Tief oder Crash (in der Aktie)
- Die Woche schließt im Gewinn „green week“
- Die 2 Vorangegangenen Wochen sind Verlustwochen
Alternative: Die Woche schließt oberhalb des Eröffnungspreises der Vorwoche
HIGH-LOW
High/Low MarkerThis is @Rene 's private Script for marking highs and lows for Vertex investing
My Highs and Lows are marked whenever a candle closes above or below an old high
Still a bit bugged as i only want it to show the most recent high after a low and vice versa -> High Low High Low
But i am new to Pine Script. Any help apprechiated.
Strongholds - Objective & Accurate Reference Points / StructuresVery early in my trading career, I came across Pivot Points only to find out that there are as many calculations as one pleases. It was hard to find out which ones work. Most of them probably did only out of randomness, so I ditched the strategy and looked for something else.
I previously used my Oracle Eye and Reference Points scripts but it is time for an upgrade.
Stronghold is a script I have used for quite some time now. I ditched daily and weekly closing prices as not that important. Instead, Strongholds are equipped with:
►Daily High & Low • Azure color
►Weekly High & Low • Dark blue
►Weekly old High & Low • Semi-transparent dark circles
►Monthly High & Low • Wizardly purple
There is an option to print:
►4h High & Low • Semi-transparent red
►VWAP • Lovely purple
►Weekly VWAP • Black
All of the levels and lines are set for 1m, 5m, 10m, 15m, 30m, 1h, 4h, 1D timeframes. If you use any alien timeframe, you may need to enter the code.
You can opt-in and out for certain timeframes. For example, daily levels are visible from 15m or 30, so the indicator won't draw them unless you want to. However, they will not be seen on higher timeframes as there is no reason to show them and oversaturate the chart with lines.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Remember that if you use this script with auto-scale, you need to tick Scale Price Chart Only . Otherwise, your chart will fly to the moon!
Good luck & have fun!
TSI Strength Meter vs USD with divergenceThis indicator consists of two lines. One is a gray line (USD) and the asset indicator is green or red.
The basis of this indicator is the true strength indicator (TSI) with parameters 5,15. Both line sets are based on a TSI (5,15).
The lookback period is for new highs / new lows. Default value is 200 periods.
GREEN/RED LINE
The first that is green and red is whatever you choose to display ( BTC in this case).
The green and red lines indicate going up or going down.
GRAY LINE
The gray line is the US Dollar . So everything is relative to that by default.
ZERO LINE CROSSES
These are momentum shifts. If you see a crossover of both around the zero line, its a good indication there is a change in momentum and a reversal of trend.
NEW HIGHS NEW LOWS
There are 4 new colors added to this indicator. For the asset you are viewing, a lime color means new highs within the lookback period. A new low is indicated by a yellow line color.
The new lows for the USD are white for new lows within the lookback period and blue line for the new highs.
DIVERGENCE
You can also spot divergences easily. For example, if a lime color is seen on the indicator line, that means "new high" but if it occurs below the last "new high" it means the asset is going up to new highs but the indicator is showing us that the readings are below the previous new highs, indicating a negative divergence.
The same goes for the yellow colored lines. higher yellows mean positive divergence.
And with the US Dollar , blue lines dropping means a negative divergence in the US Dollar , while white lines moving up means a positive dollar divergence.
INTERPRETATION
Examples:
If you see a green and sometimes red line of the asset indicator and a gray line that drops below the zero line; it may mean the asset is rising and the trend is up.
If you see a green and red line below the zero line and with a gray line above the zero line , it indicates there is a negative trend. If you suddenly see blue lines on the USD, this means its hitting new lows. If these blue lines then start to slowly move downwards; then we have a positive divergence. If that were to be followed by the green line crossing the zero line, its a pretty good be that the trend is changing and its a very good buying oportunity.
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.
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.
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
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.
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.
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.
PT High Low Version 1.0 of our PT High Low indicator helps create a visual for the Daily, Weekly, Monthly & Yearly range. These levels will give you an idea of where the price can react if reached. Consider them pivotal areas. We included a toggle that will help you go between the candle's High/Low to the candle's Open/Close. Both features are unique when scalping & swinging. The High/Low will paint a beautiful visual for your day to day trading & the Open/Close will help you determine where price maxed opened & closed for that specified timeframe.
Strategy:
Price tends to gravitate between the Daily level when playing intraday scalps. If playing the weekly, you want to be above the weekly pivot to punt longs & under the weekly level to punt shorts. More likely than not, when the price hits a monthly or yearly level, we get a noticeable reaction off it.
This Oscillator was built around our buy sell indicator & it is used on all time frames for swinging & scalping. It is included as part of the library. Just message us for access!