This script shows three CCIs in one frame, three different frames (20,140,3360) on the same chart.
Purely for for visual purposes values multiplied with e.
CCI is using simple moving average and mean deviation, a basic versatile momentum oscillator-indicator.
Useful for 2h charts.
Overlays data (by default 'close') from a different period.
Explanation of Lookahead (same as TV's concept of 'lookahead' from their references):
Assume X is the requested period and Y is the current period, X > Y (e.g. X = '1D' and Y = '15').
If Lookahead = true then all the Y bars (e.g. 15 minute candles) of the last X (e.g. last day) will have their close keep...
I had seen something like this on metatrader but not here. Since I use TradingView and not metatrader had some fun with this. Indicates up or down for 4 chosen time Frames and as such helps to see the historical trend. Works best on daily or shorter charts because of load time.
User can choose the length of the two exponential moving averages used on each time...
sometimes you just want to plot an Indicator value from a higher Timeframe on your Chart. For most Indicators this is pretty straightforward however there is one Indicator that has been giving me quite a headache while trying to do this: The Average Directional Index . Anyway after going through almost 200 versions of this script I finally found a...
trying to understand strategies, it appears that there is a lot of black magic in how a strat works behind the scenes.
anyway, it's hard to analyse what's all the data with one gazillion entries, and i wanted to know how we can manipulate/do stuff with a chart.
so, i needed to know how to "give" the script my values to work on. bundled two wants/needs into one,...
Provides 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.