Know your Monthly, Weekly, Daily LevelsThis script will show monthly, weekly and daily (with or without pre market) levels on your intraday chart. You can chose what values of the corresponding candles (high, low, close) should be included.
Please consider following limitations:
1. Maximum of 500 drawing objects per chart
To make sure the most relevant levels are shown, values are sorted based on the latest close value before levels > 500 are cut off.
2. Lookback history
The max lookback history is limited by the currently selected timeframe. E.g. on a 5min timeframe, 20000 bars (Premium Plan) result in approx. 5 months of lookback period, meaning you may want to have a 30 min or higher chart open to get a complete picture of levels, while trading on a lower timeframe.
Grafici settimanali
High/Low/Open/Close Daily, Weekly, Monthly Line
I wrote this for the purpose of saving time while marking up charts by automating the process of drawing and labeling lines at areas of interest on larger
timeframes while still having the option to change the style and size of the lines and labels to adjust for any timeframe and avoid a messy chart.
I also used this as an exercise in menu organization giving users every imaginable option and producing clean readable code.
- This indicator draws a line on the Daily, Weekly, and Monthly bar at the High, Low, Open and Close of each bar as price
tends to react when revisiting these areas.
- Each set of bars has an optional identifying label with its own color set that can be shown with or without the lines
price value, and has drop down menus for size and style of each set of labels.
- Each set of lines has inputs for line/text color, line width and style, and can be hidden if the user doesn't have the need for any particular timeframe.
- Lines and Labels with delete when a new line is created.
- I recommend going into Chart Settings/Status Line and turning off indicator arguments OR moving the script to the top
of the indicator list to avoid an obstructed chart view with this indicators arguments. When Pine allows, I will update it to hide them.
Contains some public domain code from T.V. manuals and tutorial for creating drop down input menus for options.
/ ~For My Pal Jittery~
~ Who likes his clean chart and custom colors~
Weekly Returns with BenchmarkSome time ago I published Monthly returns table. Now It's time for weekly one.
To get it work you need a pretty big screen, but I hope it will be useful for some of you.
Features of this table includes:
Display weekly returns of your strategy, benchmark, and alpha over this benchmark.
Select benchmark to be another instrument
Select the date from which you want to compute monthly returns
Show/hide benchmark and alpha
Choose colors for gradient for gain/loss values
Use it with any type of strategy
Use it with replay
Thanks to @MUQWISHI to help me coding it.
It's not about the strategy itself but the way you display returns on your chart. So pls don't critique my choice of the strategy and its performance 🙂
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Key Levels// How it Works \\
Calculating Previous Days, Weeks and Monthly open, high, low, close and vwaps
Plots these levels on your chart
// Settings \\
You can enable/disable any of the levels you want to see
You can also change the amount of bars back the levels are plotted back to
// Use Case \\
These levels are often used in different methods of Technical analysis for support and resistance.
// Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
Day/Week/Month/3M/6M/12M MTF breaks by makuchakuThis indicator plots breaks for multiple timeframes. Works on Daily to Yearly timeframes.
Currently supported timeframes :
Daily
Weekly
Monthly
Quarterly
Half Yearly
Yearly
It currently plots all breaks together. From Indicator settings hide what you don't need and save as default settings.
Weekly Volume HeatmapThis tool is designed to visualize how the trading volume of each asset changes during the week.
How to use
This tool can help us better understand the market and answer many questions, such as:
◽ How to avoid getting stop hunted?
Typically, trading volume decreases at certain times of the week, which is the best time for large holders to manipulate the market. Low volume means there is less liquidity in the market. Large transactions in an illiquid market can cause large price changes.
Large holders (whales) have enough capital to push the price in the desired direction to trigger a cascade of stop-loss orders which can move the price further.
After a stop hunt, the market typically reverses, leaving stop hunted traders behind.
It is best to avoid using stop-loss orders and leveraged trading during these hours of the week.
◽ When’s the best time to make decisions
During some hours of the week the trading volume usually decreases; at these times, most traders are inactive and do not participate in transactions.
Therefore, the price changes that occur during these times lack conviction.
It is better to make decisions when there are more active traders in the market. At these periods, a relatively high trading volume is usually observed.
How it works
First, it calculates the average traded volume of each period (for example Monday 9:00 AM) from the first bar to the last bar. It then calculates the ratio of the average traded volume in each period to the average traded volume per week. Finally, the result is displayed as a percentage in each cell.
Different values are distinguished by different background colors. Light colors are used for low values and dark colors are used for high values.
Limits
It only works in the 1 hour time frame.
Samples
Stock => AAPL
Futures => ES1!
Forex => EURUSD
Key Levels (Time Frames - Weekly,Monthly,Quarterly,Yearly)This indicator plots the 4h, Daily, Weekly, Monthly, Quarterly, Yearly Open High, Low and Mids.
You can watch how these institutional trading levels work as support and resistance.
Most Important you can add alerts to these levels with a few clicks.
Just add/remove unnecessary levels for scaling problems.
For any error/suggestion/improvement just let me know.
Média 8, 21, 56, 200 SEMANAL - Augusto BackesFique tranquilo, aqui tem todas as médias que o Backes utiliza dentro de um indicador só, aproveite :)
weekly MapThis indicator shows the highest and lowest level of the previous week in the current week. This area is also divided into 4 sections that can be controlled from the settings section.
High Low Open Mid Ranges & Levels (Multi-Timeframe)This indicator automatically plots the chosen timeframe's high, low, mid point and open. These levels on higher timeframes act as support and resistance levels on lower timeframes, helping find entries, stoploss and profit targets.
Most common timeframes to choose are Daily, 1W, 1M, and 3M. Other timeframes that are good include, 2D, 2W and 2M.
For example, you can see in the snapshot below, we are on the 4hr TF showing those levels from the 2W. This historical 2W zone (open and mid) was (and currently still is) resistance. You can see it also provided a good entry to go short.
This is also useful for intraday scalping. Below, we are on the 15min TF with levels set on the 2D timeframe. You can see how the Open and Mid levels acted as resistance, providing good entries on range trades, with take profit set at the previous 2D low.
There is also a table which tells you all the main TFs high, low, open, and mid levels. They are the most important ones to look out for.
This indicator should not be used in isolation; it is best to pair it up with other TA such as orderblocks, S/D zones, S&R or overlay indicators.
Price Range TableThe table shows the ranking of the price as a percentage relative to the past candles.
100 ~ highest price of the time frame
0 ~ lowest price of the time frame
Swing VWAP Weekly Stock and Crypto StrategyThis is a simple yet very efficient swing strategy designed for crypto and stock market, using big timeframes.
Its main component is VWAP weekly, so for best scenarios its better to use big timeframes such as 8h+.
The rules for entry are simple:
If our close if above vwap weekly we enter long .
If our close is below vwap weekly we enter short.
We exit from the trade, when a reverse condition than the entry one is triggered.
Because this strategy has no risk management inside, I recommend to be careful with it.
If you have any questions, let me know
MTF Key Levels - Support and ResistanceThis indicator shows how to Multi Time Frame (MTF) interpret levels:
Watch how price acts around these levels and how they can act as support/resistance and can be used as great confluence levels for your technical analysis.
This indicator displays:
VWAP Levels
Daily / Weekly / Monthly / Yearly
Within the chart above I have marked out how displaying these VWAP levels can provide support and resistance levels to be aware of.
Daily – Weekly - Monthly – Yearly Levels
O = Open / H = High / L = Low
pO = Previous Open / pH = Previous High / pL = Previous Low / pEQ = Previous Equlibrium
Having previous Low/High levels makes you aware of Swing Failure Patterns (SFP). Also the daily/weekly/monthly opening and previous opening can assist with the trend.
Daily Open: Gives you an idea who is in control for the day. This level very often acts as strong support or resistance.
Weekly Open: Indicates where the price is within the higher timeframe.
Monthly Open & Yearly Levels: Overview of direction for the whole month without looking at a monthly chart and Yearly chart
Line Options
Within the line options you can choose to have a clean chart and display a “short line”. These line length can be adjusted by the user.
Line just to the right.
Line across the screen.
Disclaimer: The Monthly and Yealy VWAP will only show on higher timeframes this is due to restriction of how many candles can be shown on the chart. The candles displayed need to go back to either the start of the month of year to be able to calculate their VWAPs.
DAYOFWEEK performance1 -Objective
"What is the ''best'' day to trade .. Monday, Tuesday...."
This script aims to determine if there are different results depending on the day of the week.
The way it works is by dividing data by day of the week (Monday, Tuesday, Wednesday ... ) and perform calculations for each day of the week.
1 - Objective
2 - Features
3 - How to use (Examples)
4 - Inputs
5 - Limitations
6 - Notes
7 - Final Tooughs
2 - Features
AVG OPEN-CLOSE
Calculate de Percentage change from day open to close
Green % (O-C)
Percentage of days green (open to close)
Average Change
Absolute day change (O-C)
AVG PrevD. Close-Close
Percentage change from the previous day close to the day of the week close
(Example: Monday (C-C) = Friday Close to Monday close
Tuesday (C-C) = Monday C. to Tuesday C.
Green % (C1-C)
Percentage of days green (open to close)
AVG Volume
Day of the week Average Volume
Notes:
*Mon(Nº) - Nº = Number days is currently calculated
Example: Monday (12) calculation based on the last 12 Mondays. Note: Discrepancies in numbers example Monday (12) - Friday (11) depend on the initial/end date or the market was closed (Holidays).
3 - How to use (Examples)
For the following example, NASDAQ:AAPL from 1 Jan 21 to 1 Jul 21 the results are following.
The highest probability of a Close being higher than the Open is Monday with 52.17 % and the Lowest Tuesday with 38.46 %. Meaning that there's a higher chance (for NASDAQ:AAPL ) of closing at a higher value on Monday while the highest chance of closing is lower is Tuesday. With an average gain on Tuesday of 0.21%
Long - The best day to buy (long) at open (on average) is Monday with a 52.2% probability of closing higher
Short - The best day to sell (short) at open (on average) is Tuesday with a 38.5% probability of closing higher (better chance of closing lower)
Since the values change from ticker to ticker, there is a substantial change in the percentages and days of the week. For example let's compare the previous example ( NASDAQ:AAPL ) to NYSE:GM (same settings)
For the same period, there is a substantial difference where there is a 62.5% probability Friday to close higher than the open, while Tuesday there is only a 28% probability.
With an average gain of 0.59% on Friday and an average loss of -0.34%
Also, the size of the table (number of days ) depends if the ticker is traded or not on that day as an example COINBASE:BTCUSD
4 - Inputs
DATE RANGE
Initial Date - Date from which the script will start the calculation.
End Date - Date to which the script will calculate.
TABLE SETTINGS
Text Color - Color of the displayed text
Cell Color - Background color of table cells
Header Color - Color of the column and row names
Table Location - Change the position where the table is located.
Table Size - Changes text size and by consequence the size of the table
5 - LIMITATIONS
The code determines average values based on the stored data, therefore, the range (Initial data) is limited to the first bar time.
As a consequence the lower the timeframe the shorter the initial date can be and fewer weeks can be calculated. To warn about this limitation there's a warning text that appears in case the initial date exceeds the bar limit.
Example with initial date 1 Jan 2021 and end date 18 Jul 2021 in 5m and 10 m timeframe:
6 - Notes and Disclosers
The script can be moved around to a new pane if need. -> Object Tree > Right Click Script > Move To > New pane
The code has not been tested in higher subscriptions tiers that allow for more bars and as a consequence more data, but as far I can tell, it should work without problems and should be in fact better at lower timeframes since it allows more weeks.
The values displayed represent previous data and at no point is guaranteed future values
7 - Final Tooughs
This script was quite fun to work on since it analysis behavioral patterns (since from an abstract point a Tuesday is no different than a Thursday), but after analyzing multiple tickers there are some days that tend to close higher than the open.
PS: If you find any mistake ex: code/misspelling please comment.
Naked - Daily Weekly MonthlyUser request for Naked Daily Weekly Monthly Opens.
This indicator plots the Daily Weekly Opens (the day after day after creation), they then will stay on the chart until a candle close is completed on the other side of the plot.
In the above chart picture you can see how previous monthly and daily opens have acted as support and resistance.
Thanks go to:
StackOverFlow Bjorn Mistiaen
BTC top bottom weekly oscillatorThis indicator is based on the 20 weekly simple moving average and it could be used to help finding potential tops and bottoms on a weekly BTC chart.
This version uses an "oscillator" presentation, it fluctuates around the value zero.
The indicator plots 0 when the close price is near the 20 weekly moving average.
If it's below 0 it reflects the price being below the 20 weekly moving average, and opposite for above.
IT's possible to see how many times the price has hit the 0.5 coef support. In one case it hit 0.6 showing that the 0.5 support can be broken.
The indicator is calculated as Log(close / sma(close))
Instructions:
- Use with the symbol INDEX:BTCUSD so you can see the price since 2010
- Set the timeframe to weekly
Optionals:
- change the coef to 0.6 for a more conservative bottom
- change the coef to 0.4 for a more conservative top
BTC top bottom weekly bandsThis indicator is based on the 20 weekly simple moving average and it could be used to help finding potential tops and bottoms on a weekly BTC chart.
When using the provided "coef" parameter set to the default of 0.5 it shows how most bottoms since 2013 have hit the lower band of this indicator.
The lower band is calculated as exp(coef) * sma(close)
Instructions:
- Use with the symbol INDEX:BTCUSD so you can see the price since 2010
- Set the timeframe to weekly
- Use logarithmic chart (toggle "log" on)
Optionals:
- change the coef to 0.6 for a more conservative bottom
- change the coef to 0.4 for a more conservative top
Return by day of the weekBuy on Mondays sell on Tuesdays.
Just a simple tracking of returns.
It works only on the weekly charts
Yesterdays & Last Weeks High Low Close ExtensionsPlots the Extensions of Yesterdays and Last Weeks High Low Close
Unfortunately all of the levels wont always show therefore it is good use this in conjunction with my Levels script
I tried to combine the 2 scripts but doing so gave me memory overload errors in Tradingview thats why I have made them separate
Replay Mode - Check HTF CandleThis indicator is intended to be used while using Replay Mode.
A vertical line will be drawn when you can safely check the 4H, Daily, or Weekly candle without seeing future price.
It is similar to the built-in Session Breaks, but has the benefit of not needing to remove one candle before checking the Daily.
When the line is the color of your 4H settings, it is safe to check the 4H candle.
When the line is the color of your Daily settings, it is safe to check the 4H and Daily candles.
When the line is the color of your Weekly settings, it is safe to check the 4H, Daily and Weekly candles
Replay Mode - Check Daily/WeeklyThis indicator is intended to be used while using Replay Mode.
It is similar to the built-in Session Breaks, but has the benefit of not needing to remove one candle before checking the Daily.
When on an intraday chart (timeframe less than Daily), a vertical line will be drawn when you can safely check the Daily or Weekly candle without seeing future price.
When the line is the color of your Daily settings, it is safe to check the Daily candle.
When the line is the color of your Weekly settings, it is safe to check both the Daily and Weekly candle.
First Week Trend [MX]I created this indicator based on one of my ways of analyzing the BTC trend in particular, I noticed that the break of the first weekly candle usually indicates the trend for the rest of the month.
This indicator has a bug in which if you change the timeframe of the indicator it will show erroneous values
If you use the candlestick chart, you will need to pull the visual order of this indicator to the top to overlay the colors of the standard candles, or simply hide the standard candles
the trend colors are bugged in timeframes other than the weekly
special thanks to @xdecow who helped me with the code
////////////////////////////////////////////////////////////////////////
Eu criei esse indicador baseado em uma das minhas formas de analisar a tendência do BTC em específico, eu notei que o rompimento do primeiro candle do semanal costuma indicar a tendência para o resto do mês.
Esse script tem um bug em que se mudar o timeframe do indicador ele irá mostrar valores errados
Se você usa o gráfico de candlesticks, você precisará puxar para o topo a ordem visual desse indicador para sobrepor as cores do candles padrões, ou simplesmente ocultar os candles padrões
as cores da tendencia estão bugados em outros timeframes diferentes do semanal
agradecimentos especiais ao @xdecow que me ajudou no código