Supertrend ++Supertrend ++ is an HTF (HigherTimeFrame) Supertrend with an optional Volume Filter with adjustable value in the Settings.
Signals are represented by Green Labels (Buy) to indicate a Long Entry or Red Labels (Sell) to indicate a Short Entry.
Note that the script does not Repaint and that you have the option of placing a single Alert for the two available Alerts.
Always use the option "Once per bar" and not "Once per bar close" when placing an Alert of individual type.
If you have any suggestions or need help, please let us know in the comment area.
Good Trade everyone and remember, Risk Management remains the most important.
HTF
Example - HTF Values Without 'Security()'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.
[FTA] Logarithmic MACD with Regular and Hidden DivergencesThis is a highly stable, volatility adaptive, Moving Average Convergence Divergence (MACD) that uses a modified calculation based on improved logarithmic measurements of the momentum.
1- This MACD provides the trader with most accurate detection of divergences, both regular and hidden ones, and shows them on the MACD Histogram.
2- Furthermore, the MACD/Signal divergences are also easily detectable (unlike the regular MACD which often does not provide accurate divergences; see the screenshot for comparison).
3- Finally, due to some different calculation methods, this MACD, unlike the regular MACD, is highly stable in higher time frames even in the most volatile markets (such as BTC, ETH, ADA, etc...) and thus can easily be utilized for the market prediction state in the crypto (see the screenshot for comparison).
Use it and let me know what you think about it in comparison to regular MACD!
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.
VOLatiliUMThis is a useful conjunction of volume and volatility together in one script, so I named it a blended name!
It can show the diagram of:
- Volume
- Volume Variation (Volume - Past Volume)
- Volume Density (Volume / (High - Low))
- Volatility in combination with the aforesaid ones
It also offers two concepts of bar colorizing, by using the size of the bars or by applying volatility from a higher time frame (HTF).
The option "Absolute Bar Values" is included for the ones who like to see all bars positive above the zero line!
Feel free to use the script and send me your opinions. Thanks.
CC - ATR BandsPlots ATR bands around candles at any HTF resolution you desire, taken in through the inputs. The white line represents the open of the HTF, the red and green the expected boundaries. You can use the risk tolerance slider up/down to adjust how risky you want to be with the ATR bands.
I am not responsible for outcomes using this method, indicator or anything else. Please do your own due diligence.
umr Level TreeShows following levels and labels (which can be individually controlled):
OHLC levels of Today, Yesterday, This week, Last week, This Month, Last Month
Daily Simple Moving Averages (50, 100, 200)
Horizontal Grid on 50, 100 pips for FX instruments.
(to do) Add ATR or Std Deviation
(to do) Add Daily Change levels % i.e. 0.5%, 1%, 2%
(to do) Add Daily change in pips levels (for fx) i.e. 50 pips, 100 pips etc
Dual Volatility StopThis merges Volatility Stop & its MTF version both published by u/TradingView . Background is colored green or red when both the current timeframe Vstop and higher timeframe Vstop point in same direction. Aim is to take the standard Vstop script which differentiates market from only uptrend/downtrend to uptrend/downtrend/sideways. There is a tradeoff with this, that there is no need for the Vstop to be always in a position which reduces trade time & frees up capital. However this leads to situations where it takes slightly more time to catch on to a trend after a reversal.
Green Background = Buy
Red Background = Sell
No Background = Flat
MTF Stoch RSI ScreenerDisplays when multiple timeframes of Stochastic RSI are overbought/oversold. Multiple consecutive timeframes being overbought/oversold can signify a short term top or bottom.
Thanks to Micse in Pinescripters telegram who helped remove a few errors from this.
HTF Candle CloseThis draws a label to alert user when a higher timeframe candle closes on a intraday chart.
Purpose of it is so that people who mainly use lower timeframe charts do not forget to look at higher timeframe candle closes.
HTF Candlestick Patterns [TradingView] vX by DGTCandlesticks are graphical representations of price movements for a given period of time. They are commonly formed by the opening, high, low, and closing prices of a financial instrument. They have their origins in the centuries-old Japanese rice trade and have made their way into modern day price charting.
It’s important to note that candlestick patterns aren’t necessarily a buy or sell signal by themselves. They are instead a way to look at market structure and a potential indication of an upcoming opportunity. It is always useful to look at candlestick patterns in context like any other market analysis tool and candlestick patterns are most useful when used in combination with other techniques. There are countless candlestick patterns that traders can use to identify areas of interest on a chart, where some candlestick patterns may provide insights into the balance between buyers and sellers, others may indicate a reversal, continuation, or indecision.
Reversal patterns are quite useful when used in context. Reversal patterns should form at the bottom of a downtrend or at the top of an uptrend. Otherwise, they are not a reversal patterns, but continuation patterns. Most reversal patterns require confirmation such as price move in the direction of reversal accompanied by appropriate trading volume. The reversal patterns can further be confirmed through other means of traditional technical analysis—like trend lines, momentum, oscillators, or volume indicators—to reaffirm buying or selling pressure. The patterns themselves do not guarantee that the trend will reverse. Investors should always confirm reversal by the subsequent price action before initiating a trade.
This study implements some of the most commonly used candlestick patterns in a context with directional movement indicator. On request users can adjust the strong trend threshold from dialog box, eighter can disabled correlation with directional movement indicator. To add additional sight to analysis the simple moving averages of 20, 50, 100 and 200 periods are added (configurable)
You may add additional indicators of your choice. Colored DMI, BB Cloud or Price Distance to its MAs may help
Enjoy it!
Disclaimer: The script is for informational and educational purposes only. Use of the script does not constitutes professional and/or financial advice. You alone the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd tradingview user liable for any possible claim for damages arising from any decision you make based on use of the script
Heikin-Ashi Source Function HTFHigher TimeFrame using custom source function for toggling traditional Candle sources or Heikin-Ashi sources on a traditional Candles chart.
Thanks to PineCoders for rounding method: www.pinecoders.com
Thanks to @LucF and @RicardoSantos for their advice and enlightenment as always.
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
CactusTrend-8HThis a trend based indicator that can help with finding both low timeframe and high timeframe trends within price action. I personally like to use this indicator on a 8H timeframe (2h also works well), the clouds represent high timeframe trend, bullish when blue and bearish when red. The candles themselves are coloured based on low timeframe trend when red PA is bearish LTF and when blue PA is bullish LTF. I think using both trend indicators together can be pretty rewarding, as it can be super profitable to take LTF profits when price is touching HTF trend support etc.
TradeChartist MTF RSI Spotter™TradeChartist MTF RSI Spotter is an elegant Multi Timeframe RSI tool that helps spot price trends using visually engaging and appealing RSI plots and backgrounds compared to the basic RSI plot. Also the Bull and the Bear background fills + HTF RSI based background fills are highly useful for traders who like to visually understand areas of entry and exit based on RSI .
What does ™TradeChartist MTF RSI Spotter do?
Plots RSI with visually spottable colors for Bull and Bear zones (Green and Red) with optional background fill.
Plots RMA based on User specified length.
Plots user preferred HTF RSI on same chart as chart TF - HTF resolution from indicator settings drop-down must be used.
Fills Bull and Bear zone colors based on HTF based RSI movement.
Spots Regular RSI Bullish and Bearish Divergences.
Plots RSI color candles on main chart based on Upper and Lower RSI band.
Plots RSI based on RSI smoothing (1 for Regular RSI without smoothing) and Heikin Ashi RSI if opted from indicator settings.
This indicator works like a dream when used with other indicators for confirmation of Trends.
Note 1: Divergences don't work to trader's expectations all the time. It is a great indicator but has to be used with caution and entries must be confirmed using another indicator like Volume , Trend, fundamentals, market sentiment etc. They can't be used on their own to decide entry and exit.
Note 2: Bull and Bear RMA with chart TF RSI should be used for confirmation and not as a standalone indicator for entry and exit.
Example charts
Premium Scripts - Trial access and Information
Trial access offered on all Premium scripts.
PM me directly to request trial access to the scripts or for more information.
HTF Sniper Strategy CompanionProfit Sniper companion indicator to use ideally on higher timeframes (HTF) to alert on trend changes and Bollinger Band Squeeze Conditions.
To be used as a visual tool alongside "Profit Sniper 2.0" Indicator to allow you to identify market changing between trending & ranging state and trade Long or Short accordingly, example use is on the 30 minute Heiken Ashi to identify bullish or bearish trends to guide lower timeframe trading plays.
Level KingShows key historical support & resistance (S/R) levels on multiple timeframes
Shows two nearest levels below and above current close price on 2 selected time frames
Option to select timeframes (daily, weekly, monthly, current)
Option to display moving average S/R levels as well (daily and weekly)
Option to display levels for current bar only, or to show all historic S/R levels as they occurred
Strategies include:
Enter or add to long positions on "support" (when price touches a green/blue line)
Enter or add to short positions on "resistance" (when price touches a red/purple line)
Take profit from a long position when a "resistance" level is touched for the first time
Take profit from a short position when a "support" level is touched for the first time
Highs & Lows of Last [x] Bars===========
Highs & Lows of Last Bars
===========
We have found this indicator invaluable over the past few years - whether you prefer to trade Crypto, Forex, Commodities or something else this indicator could prove really useful. It's always nice to know the highs and lows of the last Week or Month, the problem being the information is only really relevant at the start or end of that chosen time period; throughout the mid-section of that time period the chart will either be displaying irrelevant information or info that has been/is being re-painted. Not good!
Our Highs & Lows of Last Bars Indicator will remove this re-painting problem and display up-to-date information from higher time frames without compromising the integrity of your current chart period.
-----------
Most high & low finder indicators will use, (for example), a 'W' or 'M' as their higher TF to get HTF results - we do things just a little bit differently, it's like this:
Most other High/Low Indicators:
~ MON 1st (get high/low value from 'W' TF) ~
~ MON 8th (get new data and plot from 'W' TF)
etc. - This leads to gaps in the data, re-painting and missing lots of potential mid-week trades.
Our High & Low of Last Bars:
~ MON 1st (get high/low value from LAST 7 DAYS) ~
~ TUE 2nd (get high/low value from LAST 7 DAYS) ~
etc.
This provides a much smoother High/Low plot with more relevant information. You can clearly see areas of support and resistance, updated on the LTF chart using data from a HTF.
Because we've included 2 TF's you can use simultaneously you can see when the lower TF touches the Higher TF this (generally, but not always!) means there's a breakout coming!
Hope this is useful to you guys!
Good Luck and Happy Trading!
Moving Average MTF Live [Experimental]Hello Everyone,
While using "Security" function for Higher Time Frames (htf) you must accept "Repainting" issue or better you must use previous day data such "security(syminfo.tickerid, 'D', close, lookahead=barmerge.lookahead_on)" that's best normally (or barmerge.lookahead_off). But the problem is (as you can see) it uses previous day data, and this causes latency.
So how to draw LIVE and NON-REPAINTING HTF moving averages?
Until the last candle of higher time frame all is fine and no repaint issue. when it came to last candle of HTF and if we use real data, (because of we can not know the future) while price is changing it starts drawing on each candle of current period without correcting old ones (this is repaint issue). it needs to calculate number of curent time frame candles for higher time frame and must change all points in that period as you can see in the video below.
We have "50 lines" limitation in current Pine version. we hope to have unlimited lines in next versions.
This work is completely experimetal.
btw Thanks to all Pine Platform Developers, They are doing very good job !
Better to watch following video to see how they look like:
P.S. There is no check for Higher time frame, so you should set time frame for HTF accordingly in the options.
Enjoy!
CHK FOLLOW THE STAIRSCHK FOLLOW THE STAIRS....
The stairs are nothing but HIGH LOW CHANNEL at HTF or LTF
I observed 10 Period Moving Average an optimum length for the Staircase
you can change it to 8 or 13, one will generate noise, other will generate lag
Tinker with the Staircase Time Frame to get an optimum fit
The script also shows Strength of the Trend.
If there is a gap between the price and the stairs, that is relection of the strength
The script can also be used for scalping.
Pivots MTF [LucF]Pivots detected at higher timeframes are more significant because more market activity—or work—is required to produce them. This indicator displays pivots calculated on the higher timeframe of your choice.
Features
► Timeframe selection
— The higher timeframe (HTF) can be selected in 3 different ways:
• By steps (15 min., 60 min., 4H, 1D, 3D, 1W, 1M, 1Y). This setting is the default.
• As a multiple of the current chart's resolution, which can be fractional, so 3.5 will work.
• Fixed.
— The HTF used can be displayed near the last bar (default).
— Note that using the HTF is not mandatory. If it is disabled, the indicator will calculate on the chart's resolution.
— Non-repainting or repainting mode can be selected. This has no impact on the display of historical bars, but when no repainting is selected, pivot detection in the realtime bar will be delayed by one chart bar (not one bar at the HTF).
► Pivots
— Three color schemes are provided: green/red, aqua/pink and coral/violet (the default).
— Both the thickness and brightness of lines can be controlled separately for the hi and lo pivots.
— The visibility of the last hi/lo pivots can be enhanced.
— Prices can be displayed on pivot lines and the text's size and color can be adjusted.
— The number of bars required for the left/right pivot legs can be controlled (the default is 4).
— The source can be selected individually for hi and lo pivots (the default is hlc3 and low .
— The mean of the hi/lo pivot values of the last few thousand chart bars can be displayed. Pivots having lasted longer during the mean's period will weigh more in the calculation. The mean can be displayed in running mode and/or only showing its last level as a long horizontal line. I don't find it very useful; maybe others will.
► Markers and Alerts
— Markers can be configured on breaches of either the last hi/lo pivot levels, or the hi/lo mean. Crossovers and crossunders are controlled separately.
— Alerts can be configured using any of the marker combinations. As is usual for my indicators, only one alert is used. It will trigger on the markers that are active when you create your alert. Once your markers are set up the way you want, create your alert from the chart/timeframe you want the alert to run on, and be sure to use the “Once Per Bar Close” triggering condition. Use an alert message that will remind you of the combination of markers used when creating the alert. If you use multiple markers to trigger one alert, then having the indicator show those markers will be important to help you figure out which marker triggered the alert when it fired.
A quick look at the pattern of these markers will hopefully convince you that using them as entry/exit signals would be perilous, as they are prone to whipsaw. I have included them because some traders may use the markers as reminders.
Using Pivots
These pivots can be used in a few different ways:
— When using the high / low sources they will show extreme levels, breaches of which should be more significant.
— Another way to use them is with hlc3 (the average of the high , low and close ) for hi pivots and low for the lo pivots. This accounts for my personal mythology to the effect that drops typically reach previous lows more easily than rallies make newer highs.
— Using low for hi pivots and high for lo pivots (so backward) can be a useful way to set stops or to detect weakness in movements.
You will usually be better served by pivots if you consider them as denoting regions rather than precise levels. The flexibility in the display options of this indicator will help you adapt it to the way you use your pivots. To indicate areas rather than levels, for example, try using a brightness of 1 with a line thickness of 30. The cloud effect generated this way will show areas better than fine lines.
Realize that these pivot lines are positioned in the past, and so they are drawn after the fact because a given number of bars need to elapse before calculations determine a pivot has occurred. You will thus never see a pivot top, for example, identified on the realtime bar. To detect a pivot, it takes a number of bars corresponding to the dilation of the higher timeframe in the current one, multiplied by the number of bars you use for your pivots' right leg. Also note that the Pine native function used to detect pivots in this indicator considers a summit to be a top when the number of bars in each leg are lower or equal to that top. Bars in legs do not need to be progressively lower on each side of the pivot for a pivot to be detected.
If you program in Pine
— See the Pinecoders MTF Selection Framework for an explanation of the functions used in this script to provide the selection mechanism for the higher timeframe.
— This code uses the Pine Script Coding Conventions .
Thanks
— To the Pine coders asking questions in the Pine Script chat on TV ; your questions got me to write this indicator.
HTF Candle Projection by 2tmThis Script shows Higher Time Frame (HTF) Candles while you use Lower Time Frame (HTF) Candle Chart.
There are 4 kinds of HTF. 1 Day, 1 Week, 1 Month and 1 Year.
As you know the EQ(Equilibrium)Line can be a GREAT Support/Resistant Line, so I added on this scrypt.
Thank You and hope your Successful investment.
이 지표는 낮은타임프레임에서 차트를 열었을때 일봉이상의 타임프레임을 활용하는데 도움이 되는 지표입니다.
기본적으로 일봉 Open과 주봉 Open 및 일봉 EQ와 주봉 EQ는 매우 강력한 지지저항이 됩니다.
이 두개 라인만 켜놓고 지지 저항을 확인하는 방식으로 단타, 추세 매매를 할 수 있습니다.
여러분의 성투를 기원합니다.
HTF Candle [Custom Time Period] by JustUncleL [SOMMI 1.0 edit]This is a custom High Time Frame indicator, originally created by JustUncleL. 💚
I have edited the Pine Script to allow a custom Time Period input. 💛
In the original version, you could only select from a few time periods as your High Time Frame. 💙
In this version you can put any time frame as your reference. 🧡
Example: 6-hour HTF or 2-Day HTF
SOMMI'S SPECIAL NOTES:
-This indicator works with Heikin-Ashi candles.
-Please change your candles to Heikin-Ashi and apply the indicator.
-Advised to disable "Body Wicks"
-Advised to also refresh your page a few times a day as it doesn't update properly due to limitations of TradingView / Pinescript currently.
💙💛💚🧡