CCI 5 LEVELS BY MOADThe Commodity Channel Index ( CCI ) is a momentum oscillator used in technical analysis primarily to identify overbought and oversold levels by measuring an instrument's variations away from its statistical mean. Besides overbought/oversold levels, CCI is often used to find reversals as well as divergences. Originally, the indicator was designed to be used for identifying trends in commodities , however it is now used in a wide range of financial instruments.
There are several steps involved in calculating the CCI . The following example is for a typical 14 Period CCI:
CCI = (Typical Price - 14 Period SMA of TP) / (.015 x Mean Deviation)
Typical Price (TP) = (High + Low + Close)/3
Constant = .015
The Constant is set at .015 for scaling purposes. By including the constant, the majority of CCI values will fall within the 100 to -100 range.
Mean Deviation:
1) Subtract the most recent 14 Period Simple Moving from each typical price (TP) for the Period.
2) Sum these numbers strictly using absolute values.
3) Divide the value generated in step 2 by the total number of Periods (14 in this case).
Overbought and Oversold conditions can be used in their more traditional sense to identify future reversals. Remember true overbought/oversold thresholds values can and often do vary between instruments.
During a Bullish Trend, price crossing above the overbought threshold may indicate strong confidence in the move and price will continue to rise.
During a Bearish Trend, price crossing below the oversold threshold may indicate strong confidence in the move and price will continue to fall.
The first option is a modified CCI indicator that uses the "Arnaud Legoux Moving Average" instead of the SMA , and the source uses the VWAP instead of the HLC3. Added to this version an option to calculate CCI with different types of moving averages:
Green dots mean they are overbought
Orange dots mean they are oversold
Added a "SuperTrend Background" based on the modified CCI indicator:
Bull event = CCI crossing over the 0 line
Bear event = CCI crossing below the 0 line
Added a signal as EMA (modified CCI , signal length)
The second option is a standard CCI indicator that shows a coloured histogram of important levels, giving a good visual of the CCI levels. Added to this version is an extra coloured level +/-200 and an option to use Traditional CCI calculations according to user @JustUncleL
LEVELS:
Aqua: Greater than 200.
Lavender: Greater than 100 and less than 200.
Dark Lavender: Greater than 0 and less than 100.
Dark Coral: Less than 0 and greater than -100.
Coral: Less than -100 and greater than -200.
Light Red: Less than -200.
Search in scripts for "vwap"
Double CCIThe Commodity Channel Index (CCI) is a momentum oscillator used in technical analysis primarily to identify overbought and oversold levels by measuring an instrument's variations away from its statistical mean. Besides overbought/oversold levels, CCI is often used to find reversals as well as divergences. Originally, the indicator was designed to be used for identifying trends in commodities, however it is now used in a wide range of financial instruments.
There are several steps involved in calculating the CCI. The following example is for a typical 14 Period CCI:
CCI = (Typical Price - 14 Period SMA of TP) / (.015 x Mean Deviation)
Typical Price (TP) = (High + Low + Close)/3
Constant = .015
The Constant is set at .015 for scaling purposes. By including the constant, the majority of CCI values will fall within the 100 to -100 range.
Mean Deviation:
1) Subtract the most recent 14 Period Simple Moving from each typical price (TP) for the Period.
2) Sum these numbers strictly using absolute values.
3) Divide the value generated in step 2 by the total number of Periods (14 in this case).
Overbought and Oversold conditions can be used in their more traditional sense to identify future reversals . Remember true overbought/oversold thresholds values can and often do vary between instruments.
During a Bullish Trend , price crossing above the overbought threshold may indicate strong confidence in the move and price will continue to rise.
During a Bearish Trend , price crossing below the oversold threshold may indicate strong confidence in the move and price will continue to fall.
The first option is a modified CCI indicator that uses the "Arnaud Legoux Moving Average" instead of the SMA, and the source uses the VWAP instead of the HLC3. Added to this version an option to calculate CCI with different types of moving averages:
Green dots mean they are overbought
Orange dots mean they are oversold
Added a "SuperTrend Background" based on the modified CCI indicator:
Bull event = CCI crossing over the 0 line
Bear event = CCI crossing below the 0 line
Added a signal as EMA (modified CCI, signal length)
The second option is a standard CCI indicator that shows a coloured histogram of important levels, giving a good visual of the CCI levels. Added to this version is an extra coloured level +/-200 and an option to use Traditional CCI calculations according to user @JustUncleL
LEVELS:
Aqua: Greater than 200.
Lavender: Greater than 100 and less than 200.
Dark Lavender: Greater than 0 and less than 100.
Dark Coral: Less than 0 and greater than -100.
Coral: Less than -100 and greater than -200.
Light Red: Less than -200.
Intraday Trading ZonesThis script can help in intraday trading. It can plot
1. Previous day high, low and close.
2. Intraday Fibonacci levels
3. Big Round Numbers
3. CPR (Central Pivot Range)
4. VWAP
Smoke And MirrorsSmoke And Mirrors is an indicator combining few simple but often used indicators to a delightfully visual presentation. Smoke And Mirrors features a generic SMA from where it derives BBands and a Standard Deviation band, and in it's default configuration offers a small timescale Average True Range and also matches the generic SMA against VWAP in an oscillatory fashion. And that's not all! It also has very unique voodoo on top of it all, charting the distance between open and close and the distance between high and low based on the average of open, close, high and low. It's pretty intuitive and while the settings have numerous variables to tweak, they're mostly related to how the colors are displayed so you can set it up to match your current charts colors. The default settings are meant for charts with a normal change of around 1 unit, so if you're charting something that's in it's tens of thousands and varies daily by a 1000 or more, you might want to tone the "rate-of-change" numbers down to all the way to 1. Other than that, it's recommended that you play around with the numbers a little bit so that you know which band represents which indicator.
Don't hesitate to use any or all parts of the indicator in your own scripts! There's a handy hsva function that yields rgb color with transparency based on hue(0-360), saturation (0-1), value (0-1) and alpha (0-1) and plenty of examples on how to utilize it.
Weighted Harrell-Davis Quantile Estimator with AbsoluteDeviation
QUANTILE ESTIMATORS
Weighted Harrell-Davis Quantile Estimator with Absolute Deviation Fences.
DISCLAIMER:
The Following indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
The following indicator was made for NON LUCRATIVE ACTIVITIES and must remain as is, following TradingView's regulations. Use of indicator and their code are published for work and knowledge sharing. All access granted over it, their use, copy or re-use should mention authorship(s) and origin(s).
WARNING NOTICE!
THE INCLUDED FUNCTION MUST BE CONSIDERED FOR TESTING. The models included in the indicator have been taken from open sources on the web and some of them has been modified by the author, problems could occur at diverse data sceneries, compiler version, or any other externality.
Purpose:
Weighted Quantiles or <> are quite difficult to find on must systems, also it's non-weighted approach are rarely used to estimate the location parameter of price distribution WICH IS NOT NORMAL, all this in favour of it's non-robust counterpart, the Arithmetic rolling Mean or <> and it's weighted variants like the WMA, VWAP, etc.
Also, a big drawback from this is that must statistics derived from Normal-Distribution parameter location (the Mean) definitely will not fit for an efficient, nor robust estimation for price distributions, so their moments like the standard deviation, kurtosis, skewness, etc. will not be the better tools to build derived algorithms or technical indicators among price/volume.
In an effort searching better statistical tools for price distributions, I found the excellent work of Andrey Akinshin that took me to port some of their Math research contributions for the compute benchmarking field , and bring it here at the TradingView ecosystem to take a shot at the price distribution crazy fields. For a better detail of what the weighted Harrell-Davis Quantile Estimator can do, who better than drink directly from the source at References:
References:
Weighted Quantile Estimators.
DoubleMAD outlier detector based on the Harrell-Davis quantile estimator.
Unbiased median absolute deviation based on the Harrell-Davis quantile estimator.
Quantile confidence intervals for weighted samples.
Licensing:
This work is licensed under a Attribution-NonCommercial-ShareAlike 4.0 International Copyright (c) 2021 (CC BY-NC-SA 4.0)
Copyright's & Mentions:
The Gamma Functions & Beta Probability Density Functions C# implementations by the Math.NET Numerics, part of the Math.NET Project.
The Regularized Incomplete (Left) Beta Function C# implementation by the SAMTools, htslib project.
The Weighted Harrell-Davis Quantile estimator ; C# & R implementations by Andrey Akinshin.
External PineScript code, methods, support & consultancy by @PineCoders staff with special mention for:
+ "ma sorter ('sort by array' example)- JD" by @Duyck.
+ Porting, mods, compilation and debugging for this script by @XeL_Arjona for the TradingView's @PineCoders community.
Trade Vertex - Bank Nifty Volume IndicatorNSE:BANKNIFTY
We all know that the value of an Bank Nifty is derived from top banking sector underlying stocks.
The value of Bank Nifty is calculated from free float market capitalization.
Using the same formula, I made an indicator on the bases of weighted volume of each stock.
This indicator will help you to plot Volume on Bank Nifty.
Hull Suite by InSilico Extended 2x VersionJust an extended version of InSilicos great Hull Suite
Added Functions
- Second Hull Indicator with all options
- HTF color fix for the bands and barcolors
Hull MA with BB (With Alerts)This is a combination of the standard Bollinger bands with a VWAP(Pink line), and the 'Hull Trend with Kahlman' script by user capissimo, and the NMA (Moving Average 3.0 (3rd Generation)) script by everget.
You can find the original scripts here:
This indicator gives you several confirmations of a good entry and exit positions for Crypto currency like bitcoin and most alt coins. I use this on a 15min, 30min, 1hour, and 4hour chart for best results.
How to use:
Entry Signals:
-A candle closes above the NMA (Yellow Step Line). AND
-You see a Long (text) flag. AND
-The candles are near the bottom of the Bollinger bands and heading upwards.
Exit Signals:
-Candles have passed below and closed below the NMA (Yellow Step Line). AND
-You see a Short (text) flag.
It's important to use these confirmations with other indicators so you have the best entry/exit positions, and make sure you are on normal candles and not HA or any other types.
There are alerts built in that you can setup for the Short and Long text flags that you see. These are generally good alerts to follow. I use the alerts as a reminder to check the charts and see if my other indicators line up for a good trade.
GANN_EMA_VWAP_BY_THEHOUSEOFTRADERSGANN LEVELS + VWAP + 3 EMA= 50,100 & 200
GANN LEVELS = Eg. 10.25 = BLUE, 10.50 = PINK, 10.75 = BLUE, 11 = RED (VIP LEVEL)
Custom Moving Average LinesHeylo!
This is a script for basic market trend analysis using moving average lines. It features eight lines with eight choices of moving averages and adjustable sources & time periods . The choice of moving averages are stated below:
1. Simple Moving Average (sma)
2. Exponential Moving Average (ema)
3. Weighted Moving Average (wma)
4. Relative Moving Average (rma)
5. Hull Moving Average (hma)
6. Sine-Weighted Moving Average (swma)
7. Volume Weighted Moving Average (vwma)
8. Volume Weighted Average Price (vwap)
Planning on including other formula based indicators soon. Let me know if there can be some improvements made / errors so I can fix it.
Cheers!
SuTrading Gann Levels By NareshThis script is used to calculate the Gann square off 9 levels.
To Use this indicator Follow the below steps
1. open chart and add this indicator
2. at 9:35AM(IST) check the VWAP value of a stock and enter into scripts input then submit
3. scripts draws the recommended buy, sell and target levels on the chart by using Gann square off 9 algorithm.
Multi Time Frame Moving Averages [Anan]Hello friends,
All your popular moving average now in one indicator, also no need to open a lot of tabs to see where is that moving average at that time frame,
with multi time frame feature, now u can see up to six multi time frame MA in the same chart with option to show/hide it
list of moving averages:
SMA
Smooth SMA
SuperSmooth MA
EMA
DEMA
TEMA
Triangular MA
QEMA
RMA
Hull MA
KAMA
WMA
VWMA
VWAP
CTI
LSMA
VIDYA
Blackman Filter
Adaptive RSI
also there is an option to see the Average of four lengths, i backtest this and found it super great !
Heavy CandleHeavy Candle compares current candle size to its previous, the one before that and different Average True Ranges. The point is to objectively highlight a sizeable candle to enter the market with. The direction is based on if the close is above VWAP or below it.
To plot a signal, the new candle has to:
►Oversize previous candle times multiplier 1 one OR the candle before that times multiplier 1.
►Be higher than at least two Average True Ranges.
There is no built-in algorithm to judge the character of where the signal appears and of what quality it is. It can be used as a non-subjective entry trigger but only in conjunction with other analysis.
Traders are free to adapt the script to their needs and change the code as they see fit. Just mention me if you decide to make it public.
Radar Screen v3This is a combination of various indicators that very rarely conflict, thus giving us a good understanding:
- "Price Rally" detecting whether price is rallying, giving us confidence it will continue.
- Volume - knowing volume is going with the trend is a good confidence check.
- Trend Angle - This will go red or green depending on whether the price angle is going up or down, taken over three bars.
- VWAP for all of these stock traders.
- EMA8 is a very sensitive moving average, good for short term trades.
- CCI SMA is a strategy I commonly use, please check out my other indicators for a functional description.
- Stochastics is used throughout many systems.
- RSI BB shows where price is rebounding of the bollinger band and then moving up or down.
As per all of my indicators, the system is simple - The more green lines you see, the stronger the buy signal. The more red lines you see, the stronger the sell. If its a 50/50 mix of red and green, then don't trade.
I can customise this further or add other strategies, please message me.
[NLX-L1] Trend Index- NLX Modular Trading Framework -
This module is build upon the Trend Index by Mango2Juice (thanks for your permission to use the source!)
It includes all the common indicators and creates a positive or negative score, which can be used with my Modular Trading Framework and linked to an entry/exit indicator.
SuperTrend
VWAP Bands
Relative Strength Index ( RSI )
Commodity Channel Index ( CCI )
William Percent Range (WPR)
Directional Movement Index (DMI)
Elder Force Index ( EFI )
Momentum
Demarker
Parabolic SAR
... and more
- Getting Started -
1. Add this Trend Index to your Chart
2. Add one of my Indicator Modules to your Chart, such as the QQE++ Indicator
3. In the QQE Indicator Settings combine it with the Trend Index (and choose L1 Type)
4. Optional: Add the Noise Filter , and in the Noise Filter Settings you select the QQE Indicator as combination (and choose L2 for Type)
5. Add the Backtest Module to your Chart
6. Select the Noise Filter in the Backtest Settings
Indicator modules can be combined in many different ways in my framework - have fun!
- Alerts for Automated Trading -
The alerts module is coming soon and you will be able to create alerts to automated your trades.
See my signature below for more information.
NYSE Advance/DeclineAn indicator for traders who trade intraday on the US market. It makes use of the symbols made available by TradingView to show the number of advancing vs declining stocks.
The GREEN AREA represents advancing issues. The INTENSE GREEN AREA represents the advancing issues at daily high.
The RED AREA represents declining issues. The INTENSE RED AREA represents the declining issues at daily low.
The part above the BLUE LINE represents issues which are trading above their VWAP (volume-weighted average prices).
Golden Triangle StrategyGolden Triangle strategy setup is a variation of the buy-the-dip strategy, by Charlotte Hudgin.
You can find the detailed explanation here by Thomas N. Bulkowski thepatternsite.com
BUY
===
1. price should be trading above sma50
2. when it touches sma50 first time , check the starting rallypoint of where it initiated
3. from the above point to current close , see if you have white space , then draw the triangle
4. then check for volume confirmation ( current volume should be greater than last 4 ) --- I have slightly changed this to fit into hourly strategy by adding condition close>vwap
EXIT
====
1. Exit when close crossing down sma50 with at least 2% profit (slightly modified original condition)
StopLoss
========
2. stop loss is set to 6%
Warning
=======
For the use of educational purposes only
CC - Array-meta Consolidated Interval Display (ACID)This script extends my other two Array examples (which I've also provided to you open source):
The Ticker-centric 5m,15m,45m,1h,4h,1d resolution labels using arrays:
And the more Macro VIX,GLD,TLT,QQQ,SPY,IWM 1d resolution labels using arrays:
This script aims to show how to use min/max/avg with Arrays easily. My next example after this will be exploring the usage of variance versus covariance ratios over different periodic interval resolutions. Currently, this is using the following intervals: 5m,15m,45m,1h,4h,1d. It takes these intervals, calculates the values at those resolutions and puts the absolute min and max from the 5 minute to the 1 day resolutions.
It's more of an example of the power that arrays can hold, as all this truly is right now is a min/max bound calculator. The real gem lies in the avg calculators for multiple resoltuions tied into a single label with readable data. Check out the code and let me know what you think. If you need more examples, the other two scripts I mentioned before are also open source.
Using this on intervals of less than 1D sometimes times out, the way I wrote it is memory intensive, may not work for non-pro users.
Thanks!
NONE OF THIS IS FOREWARD LOOKING STATEMENTS, THIS IS NOT A PREDECTIVE ANALYSIS TOOL. THIS IS A RESEARCH ATTEMPT AT A NOVEL INDICATOR. I am not responsible for outcomes using it.
Please use and give criticisms freely. I am experimenting with combining resolutions and comparing covariance values at different levels right now, so let me know your thoughts! The last indicator will likely not be open source, but may be depending on how complex I get.
Growth Producer
Applicable to FTX:ETHPERP 15 min
Relative volatility index (RVI) that will determine the entry and exit points only when the volatility will start to increase and Money Flow index as an additional point for entry.
IMPORTANT
• Input Partial take profits in your Bot settings
• This is a trend strategy and works better in the trending market
• We added the trend identifier using the EMA and SMA interaction
• We added Take profit and stop loss levels
• We added inputs for the period selection, so you could see how the strategy is performing on a monthly basis.
• RVI for the entry conditions
• MFI was added for the additional entries.
• Partial Take-profits
ZVWAP strategyThis strategy is based on Z distance from VWAP indicator by LazyBear
I have added few filters to utilize the indicator ...
BUY Rule
=======
1. fast ema is above slow ema
2. zvwap is dipped below oversold area (default set to -0.5)
3. after the dip , while crossing above zero --- BUY
Note , when the above criteria is met , bar color is changed to yellow
Exit Rule
========
1. Exit when zvwap enters overbought line (default set to 2.0)
Stop Loss
========
default set to 5% ( you can change it in settings )
Note : strategy does not draw ema lines on the chart. Please add manually to your chart
warning: for education purposes only