MTF TrendLines [Private]As the name suggests, the Multi-Timeframe (MTF) Trendlines indicator allows you to extrapolate trendlines from a higher timeframe into your chart timeframe. A maximum of one upper trendline and one lower trendline will be plotted per indicator instance. You can load multiple copies of the indicator into your chart and manually set each copy to operate in a different higher timeframe.
The trendlines are based on the two most recent upper and lower qualifying pivots found in the higher timeframe, and you can adjust the pivot size via the settings menu. In order to qualify, an upper trendline must have a flat to downward slope and a lower trendline must have a flat to upward slope. In both cases there should not be any breach of the trendline between the two pivots. A tolerance factor is provided so you can introduce some leeway in terms of what constitutes a breach.
As mentioned above, the trendlines are actually extrapolated into the chart timeframe. By that we mean that the cluster of bars that comprise each individual pivot in the higher timeframe are located in the chart timeframe, and the bar with the highest-high/lowest-low is used as the actual pivot point. This is necessary because, for example, the high of a daily pivot bar may not always exactly match the highest-high found in the pivot cluster in the chart timeframe.
In terms of selecting the higher timeframe, there are two modes of operation which can be selected via the settings dialog. In Auto Mode the indicator will automatically select the higher timeframe to use based on your chart timeframe. In Manual Mode you select the higher timeframe to use. In either case the selected higher timeframe must always be greater than or equal to the chart timeframe.
Along with each trendline you can also elect to plot pivot markers as well as price labels. Each can be customized and/or toggled on or off via the settings dialog.
The pivot markers will display as up or down triangle shapes plotted below (for lower trendline) or above (for upper trendline) the two price bars that represent the two pivots used in generating the trendline. You have the option to display just the marker, or display the marker plus the timeframe.
The price labels will display on the most current price bar (an offset is provided) and can be configured to display the trendline value as of that bar, the trendline timeframe, or both. You can also adjust the orientation of the price labels.
For the trendlines themselves, you can adjust the color, thickness, and line type. You can also toggle upper and lower trendlines on or off independently.
Please visit the link in our Signature for pricing.
Multi-timeframe
Multi-TimeFrame Bollinger BandsScript which plot multi-timeframe bollinger bands, up to 3 different timeframes. It is intended to show higher timeframe bands on a smaller timeframe. Default options are 1m, 5m and 15m and used on a 1m chart for crypto-currencies.
It can be used to get a better overview of the current trend.
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
Multi Timeframe Moving AveragesThis indicator allows you to view a moving average (EMA or SMA) of your choosing on other time frames than what you are currently on.
The reason I wanted to develop this was for use as a filter. Let's say you wanted to make sure the daily time frame was trading above a certain moving average so you could be sure you were playing with the trend. But you wanted to make your entries and exits on a smaller time frame. This Multi-Timeframe Moving Average indicator can then be used to keep an eye on that daily moving average while looking at the shorter term time frames on the same chart.
MTF Trailing SL Strategy [QuantNomad]This is a Multi-Timeframe version of my Trailing SL Strategy.
Few weeks ago I published Trailing SL Strategy. There I used only basic Trailing SL to enter positions.
It worked pretty well so I tried to work on it a bit. I thought what if you can use the same ATR TSL on different timeframes and combine them into one signal.
In this strategy you can use only ATR stops and choose 3 other higher timeframes in addition to your current timeframe.
You'll see Trailing SL plotted on the chart form all these timeframes.
Entry Long position if all 4 time-frames agree on long signal.
Exit Long positions when at least 2 time-frames disagree on long signal.
Entry to Short position if all 4 time-frames agree on Short signal.
Exit from Short positions when at least 2 time-frames disagree on Short signal.
Here is the link to my basic Trailing SL Strategy:
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!
Scalp King v2.0 - Multi-time VWAP, multi-condition alertsMulti time-range VWAP with Multiple condition alerts - version 2.0 - by Viral Killer
This is a script that contains 3 VWAP modes, 5 min, 60 min and 240 min timeframes, all on the same indicator. You add it to the 5 min chart, but seems to work on other ranges.
Usually, when the VWAP wave crosses above, it is a buy signal, although not perfect. This ensures there is also a MAC-D buy confirmation, for a much stronger buy signal.
You can setup SUPER alerts which ensure multiple time ranges line up, before alerting. Some are already built in.
Yellow Wave is 5 min VWAP , crossing from below into positive is a buy signal. Note the word signal, not guaranteed buy.
Orange Wave is 60 min VWAP , crossing from below into positive is a buy signal.
Purple Wave is 240 min VWAP , crossing from below into positive is a buy signal.
The blue wave is 5 the minutes RSI and the other lines are 1h/4h, corresponding to oversold and overbought signals.
U will see a trail of red and blue arrows on the MAC-D, this script knows when the MAC-D is losing power.
Green dots are a buy, dark dots are a sell. Green with orange rim is a weak buy.
If you see 2 or 3 green dots from different time frames very close together, that is a much stronger buy signal. If the MAC-D also agrees, well, it is very strong. This is shown as blue circle white arrow up.
Exit when you see a red cross or red arrow down, RSI overbought and MAC-D crossing down respectively.
You can use multi condition alerts, i.e. alert me to a STRONG BUY when 5 min VWAP crossed above while the 60 min is positive too, aaaand the MAC-D agrees.
Enjoy.
-Viral Killer
[fikira] Bollinger Bands + Higher Time FramesHere is my take on BB and MTF, based on the most excellent work of
"PineCoders" (MTF Selection Framework functions)!
The big advantage is that on 1 image you can easily see where
price is compared to 5 or less BB Bands (each of different Time Frames).
This gives a lot of Support and Resistance area's!
Includes:
- 1 Bollinger Bands (can be enabled/disabled - "Bollinger Bands"
- 4 Bollinger Bands (each can be enabled/disabled - "HTF Selection 1-4")
Each BB has its colour (can be changed)
- Labels (Timeframe and price) can be enabled/disabled
- Labels position and size can be changed
...
Donchian Cloud - evoA cloud based on the highest high and lowest low of a given period (Donchian), same lines used in Ichimoku Cloud (Conversion line or Base line).
Short term line is based on current time frame, long term line is based on your given multiple of current time frame.
The color of the lines is based on up or down movement.
I stole a piece of code from PineCoders for the multiple time frame:
I have not used this in my trades (yet) so I don't know how good it is, just posting because it looks nice :)
Feel free to share your settings if you can find good ones.
[KICK] Volatility HeatmapWith this indicator you can gauge the price volatility of an instrument across multiple timeframes in a very compact visualization. It allows you to find critically low areas of volatility and predict the likelihood of an imminent move or the conclusion of a move. While you can do this with other indicators, it is often easy to miss low volatility on timeframes that you don't normally survey.
Features:
Measure volatility using either Average True Range Percentile Rank (ATR-PR) or Historical Volatility Percentile (HVP)
Measure volatility from any other source (e.g. Volume, or custom series from another indicator) using HVP
2 Rendering Modes (Smooth and Distinct) as seen in the sample chart above
Ability to show current timeframe Volatility in bar chart above the heatmap
Get alerts when a certain number of timeframe levels (configurable) are showing critically low volatility (implying imminent move)
Get an alert when the current timeframe volatility level emerges from a critically low volatility zone (usually indicating the start of a significant move)
The bands on the map are 1x, 2x, 3x, 5x, 8x, 13x, 21x, and 34x the curent timeframe. The volatility measurements go (from lowest to highest): Lime, Blue, Dark Purple -> Light Purple (gradient), Magenta, Pink. If you see grey blocks/bands, these indicate that the instrument you are using does not have enough historical data to determine the volatility based on your timeframe and reference period. For example, if you are using a reference period of 100 and are on the daily view, to render the bottom-most band (x34) you would need around 3400 days of data (over 9 years).
You can use this indicator in multiple ways. My favorite way personally is to look for areas that have multiple consecutive timeframes showing low volatility warnings and then enter when the highest of those timeframes turns back to purple. Use other methods, analysis, or indicators to determine direction (or just straddle P.A. with market stops). If I am scalping, then I will generally mostly watch the "current timeframe" and get alerts when it emerges from low volatility.
Use the link below to watch a tutorial video, request a trial, or purchase for access.
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.
MTF Bollinger Bands %BMulti Time Frame (MTF) Bollinger Bands %B option:
1. On/ Off Bollinger Bands %B - M15 (15-Minute)
2. On/Off Bollinger Bands %B - H1 (1-Hour)
3. On/Off Bollinger Bands %B - H4 (4 Hour)
4. On/Off Bollinger Bands %B - D1 (Daily)
5. On/Off Bollinger Bands %B - W1 (Weekly)
6. On/Off Bollinger Bands %B - M1 (Monthly)
7. On/Off Panel Info: Color note & %B value
MACD Multi Time FrameThis is non-repainting multi time frame MACD script. You can choose HTF manually or HTF is calculated automatically if HTF Mode is "Auto" that is default.
MultiTimeFrame Fractals D W M [xdecow]This indicator shows fractals in different timeframes. With the possibility of coloring the bars with any combination of current, daily, weekly and monthly timeframes.
The return points are calculated as follows:
high > last 3 highs and close above highest low
low < last 3 lows and closes below lowest high
The direction of higher timeframes fractals tend to be more durable and reliable. This indicator helps to find the fractal alignment of different timeframes, so that you can look for trade opportunities in the same direction as the higher timeframes and improve your chances.
Borjas Tarh EMA/SMA Combo MTFBorjas Tarh EMA/SMA Combo MTF
Include 4 Sets of EMA s & SMA s which can apply to multiple Time Frames .
Each Moving Average can be edited or be toggled. So you can watch specific EMA s/ SMA s on other Time Frames .
© mrhashem
© Borjas Tarh Company
Multi Timeframe EMA Golden Ropes [SOMMI 1.0 EDIT]Come and try out my famous Golden Ropes 💛💛💛💛
When a boxer is in the ring, they lean on the ropes for safety. And I provide this technique here, to you for free! 🥊 🏆
...
How SOMMI uses his Golden Ropes...
It is simple 200 period EMA.
Be bullish when price is above it, and be bearish when price is below it.
This is meant to establish a bias, and not a strategy by itself.
Execution
- You can use this with a strategy such as Stochastics, RSI or MACD. 💚
- For example, when we're above the Golden Ropes, look for "dips" to buy, using your indicator 🧡
- And when we are below the Golden Ropes, look for "peaks" to sell. 💙
- Make sure you use a stop which is just beyond the Golden Ropes, if you are close to it.
...
Two of my favorite scalping strategies...
STRATEGY #1:
- The market is trending one way (example: Down) and then comes back and touches the Golden Rope and holds there .
- This is a great selling opportunity, most indicators will tell you to sell at this point. Lean on the Golden ropes!
STRATEGY #2:
- The market is slowly grinding upwards and comes back near the Golden Ropes, and holds.
- Buy the dip, and put a stop beyond the Golden Ropes. 💛
BONUS!!
STRATEGY #3:
- The market has been grinding one way for a long time, on your selected time-frame. In this example, imagine it's been going up...
- It comes back towards the Golden Ropes and CUTS right through it on the downside.
- Sell through the Golden Rope, with a stop just above it.
- You MUST have a good price on this strategy, if you are too late and miss it, avoid FOMO and wait for the next trade!
🥊
MTF Smoothed Moving Averages x4A set of smoothed moving averages that stay at a fixed timeframe, regardless of the timeframe of the chart but don't have nasty jaggedy lines. Instead, they are smooooooooooooth...
ANN BTC MTF Golden Cross Period MACDHi, this is the MACD version of the ANN BTC Multi Timeframe Script.
The MACD Periods were approximated to the Golden Cross values.
MACD Lengths :
Signal Length = 25
Fast Length = 50
Slow Length = 200
Regards.
Squeeze MTF HeatmapHere is a multi-timeframe heat map using one of the most apreciated indicators in Tradingview: Squeeze Momentum Indicator by LazyBear.
Study shall be added to 15min chart.
It indicates squeeze and momentum at: 15 min, 30 min, 60 min, 240 min and 1 Day.
Thanks to © azimuthdynamics for inspiration and portion of code
Thanks to Lazy Bear for coding Squeeze Momentum Indicator
BB-levels_MTFThis indicator draws Bollinger Bands- levels from higher timeframes on the chart's right border as a horizontal support/resistance lines. BB(20)- levels are shown from timeframes MN, 2W, 1W, 1D, 4H and 1H.
Levels are shown both for Standard Deviation 1 (dotted BB25- and BB75- lines) and STD 2 (solid BB0- and BB100- lines), as well as SMA20 (blue BB50- line).
You can choose if you want to see only the lines or the labels also. And you can modify the line's length and width, and the label's position on the screen also.
Multi Timeframe Trending State DetectionThis script shows the "trending" state of a symbol at a certain moment in time on a certain set of timeframes. A trending symbol is a symbol that is moving out of a current balanced state to search for a new accepted price level. The detection of the state is done by looking at the place where the current price is related to 2 bollinger bands.
Depending on the place where the price is, the symbol is ...
a) ... not trending. It is chopping around. (Color Gray)
b) ... trending. The trend shows a certain strength. (Color Green for uptrend, Color Red for downtrend)
c) ... trending and arriving at (a temporary) peak and can possibly revert. Good for profit taking, or entering counter-trend. (Color Yellow for uptrend, Color Orange for downtrend)
By moving over the current main chart, you can see in the data window at the right, what was the state on a certain date for all timeframes together. All states are color-coded. By checking the bubble help in input, a textual explanation of the actual colored states (1 per timeframe) is displayed on top of the history and is updated at every change. To read well the bubble help, the control has to be set on full-screen temporarily.
The script is dynamic in 2 dimensions.
a) When you select a certain timeframe, all lower timeframes will not be displayed. Only the higher supported timeframes are included.
b) In input, you can specifiy a subset of timeframes you want to follow by checking or unchecking the appropriate timeframes.
The combination of the 2 selections gives you the ultimate list of timeframes shown.
You can infuence the detection by selecting in input another set of bollinger bands, characterized by the number of standard deviations and the length of the mean needed for the calculation of the bollinger bands .
How to read the indictor ?
A horizontal line gives you the history of the "trending state" on 1 timeframe over all bars accessible.
A vertical column gives you the "trending state" on all timeframes at a certain bar.
The last vertical column gives you the most recent "trending state" on all timeframes.
[BA] Multi Time Frame Moving Averages for BTCThis is a multi time frame moving average script. It includes 7 moving averages. Most of them are SMAs and WMAs but EMA were also used. Time frame was set to 1 day. It means that you can change the time frame of your chart freely without losing your lines. Levels will not change.
I wrote this script just to trade BTC. I prefer daily and weekly charts with this script but lower time frames are also preferable.
Since some of the lengths are too high; older exchanges are recommended due to their relatively deep historical data.
While MA1 is for taking actions like 'take profit' or 'stop loss' or just to follow 'price action' easily, other MAs are for seeing supports and resistances.
MA6 and MA7 are disabled by default in order to minimize the confusion but you can enable them from settings if you need to.
Since some newer exchanges have less historical data, you may not see MA4 and MA5 on the daily chart. In such circumstances MA6 and MA7 might be helpful to use as substitution. Some may like to use all of them.
I am using this script just for BTC but it can be useful for other coins as well.