LibraryTimeframeHelperLibrary "LibraryTimeframeHelper"
Helper functions to work with timeframes: to get the next higher TF, and to make the string pretty for use in labels. Perhaps I'll add more later.
f_getHigherTF(_TF)
f_getHigherTF(): Converts the input timeframe into the next one up in the list of commonly used timeframes. NOTE: You can NOT use a TF from this function as input to a request.security() call if called from this library because it gets converted to a series (since there's nothing special about this function, I expect this probably goes for any library). However, you CAN copy the code and use it directly in your script, in which case the output is only a simple variable and thus suitable for the timeframe of a request.security() call.
Parameters:
_TF (string) - The timeframe to convert.
Returns: : A string in standard timeframe format.
f_prettifyTF(_TF)
f_prettifyTF(): Converts the input timeframe from standard timeframe format to the format shown by TradingView on a chart. The output is not suitable for use as an input timeframe of a request.security() call.
Parameters:
_TF (string) - The timeframe to convert.
Returns: : A string in prettified timeframe format.
Tf
EMA Multiple TF v2EMA , that you can view from multiple Time Frames across all Time Frames
An important point is that when accessing higher timeframe from a lower timeframe there will be timeframe gaps. For example 15 min ema values will update every 3 bars on a 5 min chart, and because of this there will be gaps in the ema line.
If you want to see continuous lines you can uncheck the gaps options which will draw the value until it's updated.
3 TimeframesThis script allows you to overlay 2 other timeframes' open and close over your chart. It also has the option to overlay Heikin Ashi candles open and close over regular candles and vice versa, simply change the values in the settings. You can also set alerts for specific open/close.
Heikin Ashi Historical TF Developmental BarsAn improvement to the built-in security(heikinashi()...) method, this indicator plots Heikin Ashi (HA) candles for an input timeframe (TF) on an underlying regular candlestick chart of a shorter TF. The improvement is that it plots the value of each in-development HA bar as it would have appeared while still repainting, for each underlying chart bar. The last chart bar of each TF matches the value available from security() calls and from HA charts directly.
For best results, be sure to use a HA TF greater than chart TF (I prefer 1 minute unless longer history is required).
1 hour HA on 1 minute underlying price chart
4 hour HA on 1 minute underlying price chart
V3: Release.
Heikin Ashi Historical TF Candles, with AlertsRunning on 1-minute regular candle chart, this indicator plots the HA candles of any timeframe, recalculating the in-process values of that candle during each minute of its life.
Also contains our AV trading signals, and data gap detection/trade prohibition.
V72: New indicator.
Single Timeframe Moving AverageProvides Moving average of 200 and 50 at the specific timeframe regardless of what interval you're looking at.
Saving the need to change it manually each time you switch the interval.
In this chart, I am looking at 4H interval with EMA of 50/200 of daily timeframe.