Multi SMA EMA WMA HMA BB (4x5 MAs Bollinger Bands) Adv MTF - RRBMulti SMA EMA WMA HMA 4x5 Moving Averages with Bollinger Bands Advanced MTF by RagingRocketBull 2019
Version 1.0
This indicator shows multiple MAs of any type SMA EMA WMA HMA etc with BB and MTF support, can show MAs as dynamically moving levels.
There are 4 MA groups + 1 BB group, a total of 4 TFs * 5 MAs = 20 MAs. You can assign any type/timeframe combo to a group, for example:
- EMAs 12,26,50,100,200 x H1, H4, D1, W1 (4 TFs x 5 MAs x 1 type)
- EMAs 8,10,13,21,30,50,55,100,200,400 x M15, H1 (2 TFs x 10 MAs x 1 type)
- D1 EMAs and SMAs 8,10,12,26,30,50,55,100,200,400 (1 TF x 10 MAs x 2 types)
- H1 WMAs 7,77,89,167,231; H4 HMAs 12,26,50,100,200; D1 EMAs 89,144,169,233,377; W1 SMAs 12,26,50,100,200 (4 TFs x 5 MAs x 4 types)
- +1 extra MA type/timeframe for BB
There are several versions: Simple, MTF, Pro MTF, Advanced MTF and Ultimate MTF. This is the Advanced MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +2 custom Timeframes for each group (2x5 MTF) +1 TF for BB, TF XY smoothing
- Pro MTF: 4 custom Timeframes for each group (4x3 MTF), 1 TF for BB, MA levels and show max bars back options
- Advanced MTF: +2 extra MAs/group (4x5 MTF), custom Ticker/Symbols, Timeframe <>= filter, Remove Duplicates Option
- Ultimate MTF: +individual settings for each MA, custom Ticker/Symbols
Features:
- 4x5 = 20 MAs of any type
- 4x MTF groups with XY step line smoothing
- +1 extra TF/type for BB MAs
- 4x5 = 20 MA levels with adjustable group offsets, indents and shift
- supports any existing type of MA: SMA, EMA, WMA, Hull Moving Average (HMA)
- custom tickers/symbols for each group - you can compare MAs of the same symbol across exchanges
- show max bars back option
- show/hide both groups of MAs/levels/BB and individual MAs
- timeframe filter: show only MAs/Levels with TFs <>= Current TF
- hide MAs/Levels with duplicate TFs
- support for custom TFs that are not available in free accounts: 2D, 3D etc
- support for timeframes in H: H, 2H, 4H etc
Notes:
- Uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Uses symbol textbox instead of input symbol to avoid establishing multiple dummy security connections to the current ticker - otherwise empty symbols will prevent script from running
- Possible reasons for missing MAs on a chart:
- there may not be enough bars in history to start plotting it. For example, W1 EMA200 needs at least 200 bars on a weekly chart.
- price << default Y smoothing step 5. For charts with low/fractional prices (i.e. 0.00002 << 5) adjust X Y smoothing as needed (set Y = 0.0000001) or disable it completely (set X,Y to 0,0)
- TradingView Replay Mode UI and Pinescript security calls are limited to TFs >= D (D,2D,W,MN...) for free accounts
- attempting to plot any TF < D1 in Replay Mode will only result in straight lines, but all TFs will work properly in history and real-time modes. This is not a bug.
- Max Bars Back (num_bars) is limited to 5000 for free accounts (10000 for paid), will show error when exceeded. To plot on all available history set to 0 (default)
- Slow load/redraw times. This indicator becomes slower, its UI less responsive when:
- Pinescript Node.js graphics library is too slow and inefficient at plotting bars/objects in a browser window. Code optimization doesn't help much - the graphics engine is the main reason for general slowness.
- the chart has a long history (10000+ bars) in a browser's cache (you have scrolled back a couple of screens in a max zoom mode).
- Reload the page/Load a fresh chart and then apply the indicator or
- Switch to another Timeframe (old TF history will still remain in cache and that TF will be slow)
- in max possible zoom mode around 4500 bars can fit on 1 screen - this also slows down responsiveness. Reset Zoom level
- initial load and redraw times after a param change in UI also depend on TF. For example:
D1/W1 - 2 sec, H1/H4 - 5-6 sec, M30 - 10 sec, M15/M5 - 4 sec, M1 - 5 sec.
M30 usually has the longest history (up to 16000 bars) and W1 - the shortest (1000 bars).
- when indicator uses more MAs (plots) and timeframes it will redraw slower. Seems that up to 5 Timeframes is acceptable, but 6+ Timeframes can become very slow.
- show_last=last_bars plot limit doesn't affect load/redraw times, so it was removed from MA plot
- Max Bars Back (num_bars) default/custom set UI value doesn't seem to affect load/redraw times
- In max zoom mode all dynamic levels disappear (they behave like text)
1. based on 3EmaBB, uses plot*, barssince and security functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private version
3. Levels = trackprice implementation
4. Show Max Bars Back = show_last implementation
5. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
6. Smoothing is applied by default for visual aesthetics on MTF. To use exact ma mtf values (lines with stair stepping) - disable it
Good Luck! You can explore, modify/reuse the code to build your own indicators.
Multi-timeframe
Fisher Transform Multi-Timeframe (Backtest)This is the Backtest Strategy for mortdiggiddy's "Fisher Transform Multi-Timeframe"
For more details check his study:
Multi-Timeframe Stochs by Tom L.I find it really usefull. Can put 4 different timeframes.
Thanks again to Tom !
PMA4LIFE
RAF3x
Multi-Timeframes(simplified)Its a simplified version of the script "Ultimate Moving Average Multi-Timeframes" by Chris Moody.
Ive removed the second MA, removed the change colors feature and added the option to change the line width of the indicator
Multi Timeframe EMAs (Fib@MWD)plot fibonacci EMAs 21,55,233 on the timeframes monthly, weekly and daily.
Multi Timeframe EMAs (Round@MWD)plot round number EMAs 20,50,200 on the timeframes monthly, weekly and daily.
MTF TRIX - squattterBest setting is 5, with a couple of signal lines set to 7 and 14 for crossovers or bounces.
Multi Timeframe RSI 80 20 Different with 80 - 20 lines to help catch bottoms on multi time frames. The default was 70 - 30. Changed it to be more artistic the current RSI and 1 day are red the rest are white.
Merge Of RSI & Stochastic RSI [salar88]This Indicator Include Stochastic RSI And Multiple Time Frame RSI
I Wish Its gonna useful for tradingview users
Ultimate 'Multi-Timeframe' Multi-Averages + Bitfinex Margin %Added Bitfinex % longs and shorts to the "Ultimate Multitimeframe Multiaverages" indicator.
It works with all coins using charts from Bitfinex.
Ichimoku Cloud x10 - Time fixedDraws up to ten ichimoku clouds, timeframe independant.
Just select your ichi settings, and which timescales you want to see. Enter 0 to disable, if you want less than 10 clouds.
Multi SMA EMA WMA HMA BB (5+5 MAs + Bollinger Bands) MTF by RRBMulti SMA EMA WMA HMA BB (5+5 Moving Averages of Any Type with Bollinger Bands) MTF by RagingRocketBull 2018
Version 1.0
This indicator shows multiple MAs of any type (SMA EMA WMA HMA etc) with BB and MTF support
There are several versions: Simple, MTF, Pro MTF and Ultimate MTF. This is the MTF version. The Differences are listed below. All versions have BB
- Simple: you have 2 groups of MAs that can be assigned any type (5+5)
- MTF: +assign 1 custom Timeframe to any group combo (5+5 Custom TF)
- Pro MTF: +multiple Timeframes for multiple MA groups (4*3 MTF), horizontal levels and show max bars back options
- Ultimate MTF: +individual settings for each MA, multiple Timeframes
There are 2 groups of MAs, 3rd group is BB. You can:
- show/hide all MAs in a group. Use length 0 to hide a particular MA independently or uncheck in Style.
- apply any MA type to all MAs in a particular MA group. For example, you can assign all EMAs the HMA type. Groups are called EMAs and SMAs just for reference.
- assign Custom Timeframe to a particular MA/BB group combination or all groups. For example, show daily (D) EMAs+SMAs on H1 Timeframe, or only H4 (240) BB on H1.
You can use different types of MAs as dynamic S/R levels to trade of off and MA crosses as signals for possible trend change (golden/death bull/bear crosses).
Current Timeframe MAs can be used together with Custom Timeframe MAs on a single chart. Higher TF MAs are more important than lower TF MAs.
Most common MA types are: SMA, EMA, WMA, HMA.
Most common MA lengths are: 12, 20, 26, 30, 50, 100, 200, 400 etc.
MTF Notes:
- Script UI uses simple timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- Groups that are not assigned a Custom TF will use Current Timeframe (0).
- MTF will work for any MA type assigned to the group. BB group always uses SMA type.
- MTF works both ways: you can display a higher TF MA/BB on a lower TF or a lower TF MA/BB on a higher TF.
- MTF MA values are normally aligned at the boundary of their native timeframe. This produces stair stepping when a higher TF MA is viewed on a lower TF.
Therefore Point Density/Smoothing is applied by default on MA MTF for visual aesthetics. Set to 0 to disable and see exact ma mtf values (lines with stair stepping and original mtf alignment).
- Smoothing is disabled for BB MTF because fill doesn't work with smoothed MAs after duplicate values are replaced with na.
- MTF MA Value fluctuation is possible on the current bar due to default security lookahead
Features:
- 2 groups of custom 5+5 MAs of any type including Hull Moving Average (HMA)
- BB
- 1x Custom Timeframe with step line smoothing for 3 groups (MAs + BB)
1. based on 3EmaBB, uses plot, fill, security, change, barstate, stdev and custom hma functions
2. you can't set certain constants from input due to Pinescript limitations - change the code as needed, recompile and use as a private script version
3. you can't have plot* inside ?/if/for/function, and implementing condition forks using 2 sets of plots (na vs non-na) doubles indicator params and styles - confusing
4. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Feel free to use. Good Luck!
Ichimoku Cloud Score MTFThis is a simple multi time frame (MTF) conversion of the Ichimoku Cloud Score indicator.
All credit goes to the following users for the initial implementations:
- User @dashed :
- User @sjb933 :
This script calculates the Cloud Score based on the sjb933 version; all I've done is convert the script to Pinescript version 3 (to ensure the security function works as intended) and add MTF capability.
I'm a big fan of MTF analysis when using indicators (particularly oscillators). Using a higher time frame runs into the issue of the indicator repainting until the relevant higher time frame candle closes (this is inevitable and logical - so don't comment saying it repaints!). However, for lagging indicators such as this one, adding a lower time frame provides potential entry and exit signals into the larger trend, and also provides early warning of large trend shifts before the current time frame will. This can give you more control over your trades, and in my experience helps lagging indicators such as Ichimoku stay relevant in high volatility markets that are vastly different from when the indicators were conceived.
Any queries please let me know.
Cheers,
RJR
Multi Time Frame 3x EMA 5min 15min and 60minThanks to Jurij for his coding on single MTF EMA I added 2 more, but changed the time frame to 5min, 15min and 60min
IntelliTrader - STOCH - MTF 1m / 5m / 15m / 1h / 4h / 1dlight green = 1m
green = 5m
light blue = 15m
blue = 1h
light purple = 4h
purple = 1d
Ultimate 'Multi-Timeframe' Multi-AveragesPlots different kinds of averages (EMA, SMA, SMMA, WMA, VWMA) referred to a fixed timeframe/period indipendent from the one that you are watching (example: plot daily EMA on the 4h chart).
Highlights the crossing of averages.
Strenght and MomentumThe scope of this script is to measure momentum and strenght of EURO and DOLLAR using their indexes.
Forza (line) above 0 means EURO is stonger than DOLLAR
Momento (histogram) above 0 means EURO has a positive momentum against DOLLAR
The added value to see MACD and RSI directly on EURUSD chart is that indexes consider also other pairs so their RSI and MACD has a larger view on forex markets.
Script has also an option for multi timeframes.
I think that could be used as filters for LONG or SHORT positions in lower time frames.
NeoButane Bitfinex BTC Longs vs. Shorts Tickers Simplified (MtF)With optional overlay for high/low candle values and daily resolution close. Now with MtF to add customization .
Made because I'm too lazy to constantly re-add tickers and to reduce noise.
TSP Cycles DoubleDouble Cycles
You can setup higher timeframe cycle period's as argument, default is M30
Volume Weighted Average Range Bands [DW]This is an experimental study designed to identify the underlying trend bias and volatility of an instrument over any custom interval TradingView supports.
First, reset points are established at points where the opening price of the interval changes.
Next, Volume Weighted Average Price (VWAP) is calculated. It is the cumulative sum of typical price times volume divided by the cumulative volume. The cumulation starts over upon each reset point.
After that, Volume Weighted Average Range (VWAR) is calculated. The formula structure is the same as VWAP, except using range rather than typical price.
Lastly, the bands are calculated by multiplying the VWAR by the specified multiplier (approximate Golden Ratio by default) and by 1 through 5, then adding to and subtracting from the VWAP.
Custom Bar Colors are included.