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:
Timeframe
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] Volume + MTF MAVolume normally has 1 Moving Average (standard orange coloured)
This script gives 1 extra Moving Average (default blue coloured)
BOTH MA can be shown with Multi Time Frames,
based on the most excellent work of "PineCoders"
(MTF Selection Framework functions)!
This can provide more insights, also the crossovers can be interesting!
So, default there are 2 MA's of the present Time Frame + extra 2 TF's of these MA's
(default 2 and 4 times of the present TF)
All can be enabled/disabled,
Only 1 MA:
With labels and values:
Here 2 MA but + only 1 extra TF:
[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
...
Candle OpenerIllustrates open and close of the superior candles; the timeframe is choosable from pulldown menu.
Label shows the price of the open and indicate chosen superior candle's status (bull/bear) according to the current close.
インジケーターの設定ドロップダウンメニューから上位足の始値と終値をスイッチングできるので、タイムフレームを跨がずに現在足からラインを引くことができます。表示した上位足の始値を示すラベルは、当該足が陽線か陰線かによって色が反転します。
ライントレードの補助用インジケータとしてご利用ください。
How to Overlay First LTF Bar of DayExample how to overlay the first lower timeframe bar of the day across the entire day. Set chart to a timeframe that is lower than 1 Day period. Also included option for coloring wick pressure of that bar.
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!
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.
ALLinTension v5.0 ::: Allin® MarketEnergy™You need two indicators for it to work: AllinTension 5.0 and AllinStrategy 5.0 and use them in sinergy.
They measure and gather information and then present them in an intuitive way for better opportunity spotting and a better and quicker decision making about buy or sell entries in certain markets.
In works with crypto, stock, fiat and futures market.
I will explain how it works o a page but as a thumb rule: the more GREEN you see turning up like an energy the more LONG situation is and the more RED you see turning up like en energy the more SHORT the situation is.
The best thing about a product of mine is that it can be backtested. Results of backtesting yields up to 85% of accuracy and risk-reward ratio up to 5X or more.
Indicator - AllinTension 5.0
This indicator will enable you to actually feel the market on several levels. Exploiting informations from different timeframes and different oscillators with different setting and average them out.
With this indicator you will either confirm the sensed direction or you will skip the opportunity because signals are not properly aligned. To be able to resist FOMO is really crucial here. Opportunities are in abundance. There will be more. A lot more. Really.
How to read it and properly use it?
For more in depth understanding on how it works and proper usage of it There is lot of information on the page.
Strategy: AllinStrategy 5.0
This strategy indicator is used as a backtesting platform for different types of various settings for a selected pair.
Backtesting means you can test each TimeFrame (best 1-9min) with various AllinTension indicator settings. You will get a result for profitability in the last period (but it is not that important anything but for maybe feeling bad you missed it), success rate in percent (anything above 70% is good enough) and you have to watch the ratio of the max dropdown and average trade size (least acceptable is -5x, better is 2x or less).
So you will learn which strategy (TF and indicator setting) has steadily preformed best while being profitable in the past and assume it will do that in the same manner with same accuracy in the future. It sometimes changes so you need to preform rutine testing after some bigger market movements.
With this you will find the best preforming TImeFrame for each window. You will adjust settings for each window differently to diversify view on the market. My personal best setting are for the first window 4-16-64, second window 3-9-27, third window 2-8-32 and forth last window 5-20-80.
So ALLinStrategy is a visual representation of the market and the most important thing, it includes a feature "Strategy Tester" to backtest chosen strategy. The results may surprise you and they can all be proven!:) So what do you do in this case? :):)
But to really understand the market and given signals from this Strategy, you will need indicator ALLinTension or you are going blindfolded guess trading.
How to read it and properly use it?
For more in depth understanding on how it works and proper usage of it There is lot of information on the page.
For strategy to work you first have to find profitable and accurate enaugh TF (more than 70% should do the trick)and indicator settings (there are some favorites) and apply it to your executing strategy.
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...
Multi EMA/MA with fixed timeframe by TopsyKrettThis script shows several EMAs and MAs, fully editable
The moving averages dont change when changing candlelength
Unedited it gives:
- 4 EMA (weekly, monthly, quarterly, anual)
- 3 MA (7day, 14day, 28day)
based on daily close
In the script are two additional EMAs and MAs mutet, easy to activate with pine editor
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.
Shade a particular timeframeI couldn't find a script that shades a particular timeframe so I created one where you can adjust the times, colors, and transparency. Pretty simple but nice if you just want to trade before or after certain times. Only issue is it seems to default to Eastern times. Lucky you if you are on the east coast of the USA! Everyone else add or subtract from that timeframe.
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.