APEX - Moving Averages [v1]A moving average is the most known indicator that takes into consideration price from the last several periods of the price and calculates a smoothed line also known as a Moving average. This way you will cut out a lot of the noise and have a different view.
The most common usage is the moving average crossover system when you buy and sell when a crossover happens. This system is in general not very profitable but can be used effectively in trending markets.
There is really no general rule to what length should be used. The most well-known and respected lengths are 20 / 50 / 100 / 200 for almost all average. These values are respected as strong resistance and support levels. but if you plan to use a crossover Systems the most profitable settings tend to be when the averages are close together 14 and 28 etc. But this is an area I would appeal to for you to really try out what works and what does not.
Other uses of moving averages are the following:
Crossover system
Moving averages are pointing up and price crosses below (Buy Pullback)
The slow-moving average is Below the fast moving average to help to identify possible bullishness
Can be used as support and resistance lines
If you are an advanced user you may want to try out the following techniques:
Create your own moving average by combining several of those together with the source function
Using the Average True Range to create Keltner Channels
Using Standard deviation to create Bollinger bands (Bollinger bands are also accessible on their own)
You can use Moving averages to smooth the noise on other indicators such as RSI / CCI / MFI
Cari dalam skrip untuk "CCI"
APEX - Bollinger Bands %BBollinger Bands %B is essentially BB Range it is an indicator derived from the standard Bollinger Bands. Bollinger Bands are a volatility indicator that creates a band of three lines which are plotted on the screen.
Bollinger Bands %B works the same as other momentum oscillators, it is best to look for short-term oversold in this case a volatility imbalance between upper and lower volatility. You are looking for values that are near 0 or negative.
Compared to other momentum Oscillators the %B is slightly less responsive than CCI but it does provide more signals than RSI / STOCH and STOCHRSI.
Divergences for many indicators v2.0A gift from me to all.
This script is developed to find Divergences for many indicators. it analyses divergences and then draws line on the graph. red for negatif, lime for positive divergences.
Currently script checks divergence for RSI, MACD, MACD Histogram, Stochastic, CCI, Momentum, OBV, Diosc, VWMACD and CMF indicators. You can use some or all of these indicators to check divergences as you wish by choosing them on the menu. Also you can add/remove many other indicators to the script to check if there is divergence.
The script first calculates tops/bottoms by using higher time frame zig zag and then finds divergences.
Higher Time Frames are
if currend period 1 min => HTF = 5 mins
if currend period 3 mins => HTF = 15 mins
if currend period 5 mins => HTF = 15 mins
if currend period 15 mins => HTF = 1 hour
if currend period 30 mins => HTF = 1 hour
if currend period 45 mins => HTF = 1 hour
if currend period 1 hour => HTF = 4 hours
if currend period 2 hours => HTF = 4 hours
if currend period 3 hours => HTF = 4 hours
if currend period 4 hours => HTF = 1 day
if currend period 1 day => HTF = 1 week
if currend period 1 week => HTF = 1 week
future plan : script finds regular divergences, soon I will add hidden divergences and also I plan to add alert ;)
Williams %R IndicatorDeveloped by Larry Williams, Williams %R is a momentum indicator much like the Stochastic Oscillator and is especially popular
for measuring overbought and oversold levels. The scale ranges from 0 to -100 with readings from 0 to -20 considered overbought,
and readings from -80 to -100 considered oversold. Typically, Williams %R is calculated using 14 periods and can be used on intraday,
daily, weekly or monthly data.
This implementation is enhanced with CCI in the form of background colors as a confirming signal and an indication of a prevailing trend.
Average Indicators Positionsby this script you can see the average level of macd, macd-asprey, rsi, stochastic, cci, momentum, obv, DI, volume weighted macd, cmf indicators within a period. It also calculates and creates the same graph for higher time frame, so you can see average levels for current and higher time frame. you can also check it for divergence/convergence. You can use it as you wish and add/remove indicators.
Commodity Channel Index + [CryptoxJedi]This is an updated version of the previous CCI+ indicator I published. This one is open source, so please use / improve it as you see fit.
As before, have added a zero line and 250 / -250 lines which are all adjustable for your trade system.
Enjoy
CXJ
[RESEARCH] Mean Absolute DeviationHello traders and developers!
I was wondering how built-in "dev" function in Pine is calculated so I made a little research.
I examined 7 samples:
0) "dev" function itself
1) "dev" according to its description: series - sma(series)
2) Mean Absolute Deviation
3) ratio of the absolute difference from 1) divided by period
4) ratio of the difference from 1) divided by period
5) Median Absolute Deviation
6) tricky for-loop to calculate Mean Absolute Deviation
The results of the null and sixth samples are identical.
So, TV built-in "dev" function represents Mean Absolute Deviation and it's description is incorrect.
Where it is used? For example: Commodity Channel Index. You can check its original formula and if you used simple standard deviation instead of MAD in your CCIs - well guys, you were wrong.
Good luck!
Intellitrader - Buy Random BACKTESTERI created a little backtester that it combines some of what we need to backtest to finetune a good strategy for Intellitrader.
RSI
STOCH
STOCHRSI
CCI
Price Change
Build A BotThis is the Robot we built during the 60 Minute Build-A-Bot webinar on September 12, 2018. We had a great time, and a lot of participation and the best part was that we finished up this robot and even ran a backtest in exactly 60 minutes! We built this robot based on recommendations and suggestions from those who were attending live. Lots of pieces in this robot, but you can always tinker with it, remove stuff, add things, whatever you want!
This version uses the CCI as a trigger for trade entry. The other version uses the Hull Moving Average as a trigger for trade entry.
Build A Bot Hull TriggerThis is the automated trading system we built during the 60-Minute Build-A-Bot webinar on September 12, 2018. We had a lot of fun, and implemented a TON of indicators LIVE during this webinar! And the best part is that as a group we researched, designed, and built a profitable robot in exactly 60 minutes!
We started by voting on the type of trading system, and this is a trend following system because it got the most votes. Then, the attendees in the webinar sent in their suggestions for indicators and settings during the live webinar (still counting toward the 60 minutes). Once we had the indicators on the chart, and we discussed various settings we could use, we got to work building the robot, and ran the first strategy test...and it was profitable!
This version uses the Hull Moving Average as a trigger for initiating the trade, and everything else is the same for the filters. The other version uses the CCI as a trigger for the trade, and many other indicators as filters.
OBV/CCI By AssetDisplay on balance volume, with trend strength identification by colour of another asset in a window of your current chart.
SHERRIFx (variation) IN TRENDI share this script where I made some modifications to the SHERRIF strategy to perform trend scalping.
I use:
- Bollinguer Bands (20)
- CCIs (14 and 40)
- EMAS (20, 57, 100, 200)
- Stochastics (13,3,3) in 70, 30.
I apply in low temporalities, especially M15 and M1, it can also be used to make binaries or in higher temporalities by modifying the constants.
If you improve this program, share it.
Greetings.
wz_Kripto Index RSI[WOZDUX]Crypto RSI. On the basis of crypto-index is created, the indicator for the study of cryptocurrencies (KRIN). The wt indicator (this is a modified and improved CCI indicator) is superimposed on the crypto index. The indicator (SIN_WT) shows the speed of movement of the crypto index (blue line) and the speed of movement of the local cryptocurrency price (red line), which is loaded into the window. Thus, the local currency in relation to the crypto community is studied.
WZ_Kripto Index WT (KRIN_WT) [WOZDUX]On the basis of crypto-index is created, the indicator for the study of cryptocurrencies (KRIN). The wt indicator (this is a modified and improved CCI indicator) is superimposed on the crypto index. The indicator (KRIN_WT) shows the speed of movement of the crypto index (blue line) and the speed of movement of the local cryptocurrency price (red line), which is loaded into the window. Thus, the local currency in relation to the crypto community is studied.
[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
OBV coded with CCICumulative on balance volume, colour coded as green when there is a positive commodity channel index value, or red when negative.
AutoView - Hodl to SodlWrite your own strategy and use Hodl to Sodl to send Alerts for when to buy & sell, and automatically plot your anticipated buys/sells to the chart. A must have for AutoView users. Requires Pine Script coding. Not compatible with "Strategy Tester" tab and "Paper Trading" tab in TradingView.
Hodl-Sodl itself is not a strategy. It is a framework for building AutoView strategies. For demonstration purposes, the image featured with this script shows an example of a very simple CCI strategy (and not a very good one), but you would presumably replace that with your own ideas. If you'd like a little help plugging in your own strategy, contact jdhadwin for custom coding.
Commodity Channel Index colored overbought and oversoldHello,
the cci coloration, in the areas of overbought and oversold, is not very precise; it is possible to make this precise?
thank you
Variability Channel Index (by vitelot)This is a momentum, trend, as well as a divergence indicator.
It is similar to CCI, though it is based on a slow and fast EMA in connection to ATR, which
allows to interprete it easily.
Both EMAs and ATR have customisable period.
Further explanation and basic usage can be found in the comment section inside the script.