Bestest MA. Compare 2 x 7 MA's at different resolutionAdjust time, length, visibility, colour.
SMA and EMA can use different time resolution.
This is version 1 aka work in progress.
Timeframe
HTF High/LowThis simple script draws the previous higher timeframe candle high/low to your chart.
You can also make the script paint the zone between the low/open and the high/close.
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
Higher Timeframe EMAThis script plots a higher timeframe EMA to your chart.
You can specify the timeframe and the length of the EMA in the settings.
This chart demonstrates the 5-minute 50EMA (black) combined with the 1-hour 50EMA (colored) on the 1 minute timeframe.
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.
SadLittleThings Price Compare With Offset MTF by RRBSadLittleThings Price Compare With Offset MTF by RagingRocketBull 2018
Version 1.0
This indicator lets you compare multiple assets across different timeframes, supports offsets and alpha multipliers.
Standard TradingView Compare doesn't have Offset/Timeframe/Multiplier options, hence this indicator.
Features:
- compare current asset's price with 2 custom ext OHLC sources
- plot sources as lines/bars/candles
- use offset:
- for lines - both positive/negative offsets, unlimited
- for bars/candles - only positive offsets <= 5000
- specify timeframe for each source
- uses timeframe textbox instead of input resolution dropdown to allow for 240 120 and other custom TFs
- support for timeframes in H: H, 2H, 4H etc
- show/hide sources
- colorize sources
- convert source price to 1000s, mlns, or blns using alpha multiplier
- total bars counter
Notes on using offsets:
- Max offset is defined by study max_bars_back which is limited to 5000 for free accounts. This variable specifies the number of history bars an indicator can access.
- if you see the 'internal server study error' => one of the indexes of ohlc series is out of bounds (i.e. close ) => decrease the offset <= 5000 or switch to line type
- you will be limited only by the total number of bars in history (n) +/- 1 full screen of empty bars
- you can't scroll past the beginning of history - 1 empty screen and past the end of history + 1 empty screen to be able to still see the line with applied offset
- before applying a large offset, scroll back long enough to make sure you have enough history loaded
- if you have a long history the indicator will get slower, its UI less responsive. Reloading the page may fix that.
- you will not see source's history past the beginning of the current asset - open the chart with the longest history first (i.e. BLX, not COINBASE)
- Make sure that the Left Price Scale shows up with Auto Fit Data enabled. You can reattach the indicator to a different scale in Style.
- you may not be able to plot intraday TFs < current TF, because free accounts are limited to TFs >= D1 (i.e. D, 2D, 3D, W), but you can still plot, say, H4+ on a lower TF H1 chart
1. uses plot*, security, change
Daily Moving AveragesPlots the 20, 50, 100 & 200 daily moving averages on any lower timeframe, but it uses a custom function to calculate the plots rather than using the security() function, so the lines are smooth rather than jagged.
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
Heffae Resolution Commander (RAW)This is a script to call resolutions with some math on top of your base resolution.
Using the modulo operator to quantize integer values, it works by converting the modified resolution integer to a 4 digit string value.
Use the function within your own scripts to call funny resolutions otherwise difficult to calculate.
You cannot add series expressions to the resolution value since pine does not allow "series" as a resolution for a security call
However, you could easily stack a crapload of these together and use an expression to switch the referenced security function for your purposes.
This is the raw timeframe output as integer, not string.
To go back to string outputs (for use in security calls etc) unslash line 52 //resvalue
For those interested in the verbose version of the timeframe mod function, showing all the steps, here is a pastebin:
pastebin.com
Cheers! Drop a line / comment if you enjoy or have any questions on how to integrate this into your script@!
The Modulo operator is so much fun!
Heffae Resolution CommanderThis is a script to call resolutions with some math on top of your base resolution.
THIS IS NOT AN INDICATOR TO USE ON A CHART!!! The resolution call function is really useful for your own scripting ideas!
Using the modulo operator to quantize integer values, it works by converting the modified resolution integer to a 4 digit string value.
The function within this script is what is valuable, use it within your own scripts to call funny resolutions otherwise difficult to calculate.
You cannot add series expressions to the resolution value since pine does not allow "series " as a resolution for a security call
However, you could easily stack a crapload of these together and use
an expression to switch the referenced security function for your purposes.
The SMA and plot overlay are just there to show a visual example of how the function works.
You can view the raw timeframe output integer by getting rid of tostring(x) and // out the security calls,
plotting the raw function outputs.
For those interested in the verbose version of the timeframe mod function, showing all the steps, here is a pastebin:
pastebin.com
Cheers! Drop a line / comment if you enjoy or have any questions on how to integrate this into your script@!
The Modulo operator is so much fun!
[AGHYAD]EMA-CROSS+CCI_BASED_ON_RENKO////////////////////////////////////////////
// 4 HOURS
// -------------------------- BUY --------------------------
// 1. MUST: Set Time_Frame To 1D
// 2. STRONG: Any Green Signal!!
////////////////////////////////////////////
EMA-CROSS + CCI SIGNALS BASED ON RENKO WITH CUSTOM TIME-FRAME