Quite recently TradingView added the possibility to create and use Libraries in PineScript. With this feature PineScript became higher quality of coding language overnight. Libraries enable splitting your code into multiple files, providing easier access to code reusability.
I was working on a script which included 3000 lines of code, which was recompiling 1:30...
This simple library is built with an aim of getting the last available bar information for the chart. This returns a constant value that doesn't change on bar change.
For backtesting with accurate results on non standard charts, it will be helpful. (Especially if you are using...
What is it?
The real generic library. Which means it is just covering most built-in indicators / functions, but with more parameters, so the user don't have to write more few lines to achieve something simple and replicative.
Will tidy it up, and setting up in later stage.
Welcome to inbox me to improve the library...
TODO: add library description here
canwestart(UTC, prd) this function can be used if current bar is in last Nth bar
UTC : is UTC of the chart
prd : is the length of last Nth bar
Returns: true if the current bar is in N bar
Tʜᴇ Lɪɴᴇᴀʀ Rᴇɢʀᴇꜱꜱɪᴏɴ Cʜᴀɴɴᴇʟꜱ
Linear Regression Channels are useful measure for technical and quantitative analysis in financial markets that help identifying trends and trend direction. The use of standard deviation gives traders ideas as to when prices are becoming overbought or oversold relative to the long term trend
The basis of a linear regression...
The timeframeToMinutes() function returns the number of minutes in an arbitrary timeframe string.
Returns the number of minutes in the supplied timeframe string, which is arbitrary, i.e. it doesn't have to be the timeframe of the current chart but can be taken from an input.
The sole advantage over the short...
SadLittleThings Price Compare With Offset MTF by RagingRocketBull 2018
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.
- compare current asset's price with 2 custom ext...
Plot waindrops (custom volume profiles) on user defined periods, for each period you get high and low, it slices each period in half to get independent vwap, volume profile and the volume traded per price at each half.
It works on intraday charts only, up to 720m (12H). It can plot balanced or unbalanced waindrops, and volume profiles up to 24H...
Get higher time frame candles overlaid on a lower timeframe chart.
Add 1H candles on 1M or 1D on 30M
Overlaid candles feature wicks and multiple display options to customize appearance.
Add the indicator multiple times to get MTF (multiple time frames) all on one chart.
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.
► 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...
Full code and description: github.com/samgozman/MTF-EMA-Signal-and-Resistance
The idea of this script is quite simple. Imagine that you have a 200-day EMA and its support or resistance line is the 200-week EMA.
Then if EMA 200 1D > EMA 200 1W then the trend is bullish.
That is, EMA 200 1D is the signal line, and EMA 200 1W is the resistance.
Of course, you...
This is a introductory strategy to the multi time frame approach.
In this example we are usign a cross over between 2 moving averages. In this case the trend decider(bigger timeframe 2h) and the actual chart ma (1h).
At the same time I applied an extra for MTF RSi calculation.
Rules are simple :
short on 1h -> we enter when we have a crossunder between...
Multiple moving averages with same interval in candle bar smoothness over multiple time frames.
option to show/hide the level of resolution for the mtf's default shows 1 ma can go up to 8th resolution.
option for manual input timeframes and configure ma.
This script is a mixture of my two previous scripts "True Strong Classical Support/Resistance Levels" and "Hidden Supports & Resistances + Round Levels". This combination brings on better identification of the most efficient support/resistance levels.
Note that "Hidden SnR Levels" part of the code is only expected to work on Forex charts, but apart from that, the...
See the current pair's Supertrend direction on 4 different timeframes at once, so you won't get caught with your pants down trading against the trend. Handy for quickly space-barring through a watchlist.
Default settings are (from top to bottom) Daily, 4H, 1H and 15M but these can be changed. Any suggestions, let me know.
Today I share The Wlliams %R
- 5 diferent length
- 1 extra signal with the technique used in the ultimate oscillator
- Fibo Leves based on ob os leves "width it's automatic"
- Colored bars bassed en average strength
- The indicator that is modified now has the same range as the ultimate oscillator.