Coloured CCI Histogram V2.0 by JustUncleLThis is a requested update of this script. This is a standard CCI indicator that shows a coloured histogram of important CCI levels, giving a good visual of the CCI levels. Added to this version is an extra coloured level +/-200 and an option to calculate CCI with EMA instead of the standard SMA.
CCI LEVELS:
Light Green - Greater than 0 and less than 100.
Green - Greater than 100 and less than 200.
Aqua - Greater than 200.
Light Red - Less than 0 and greater than -100.
Red - Less than -100 and greater than -200.
Magenta - Less than -200.
If you would like different colour arrangement just change them in the "Style" settings of the indicator.
Chỉ số Kênh hàng hóa (CCI)
CCI Strategy Reversed Backtest The Commodity Channel Index (CCI) is best used with markets that display cyclical or
seasonal characteristics, and is formulated to detect the beginning and ending of these
cycles by incorporating a moving average together with a divisor that reflects both possible
and actual trading ranges. The final index measures the deviation from normal, which indicates
major changes in market trend.
To put it simply, the Commodity Channel Index (CCI) value shows how the instrument is trading
relative to its mean (average) price. When the CCI value is high, it means that the prices are
high compared to the average price; when the CCI value is down, it means that the prices are low
compared to the average price. The CCI value usually does not fall outside the -300 to 300 range
and, in fact, is usually in the -100 to 100 range.
You can change long to short in the Input Settings
Please, use it only for learning or paper trading. Do not for real trading.
MTF Stochastic CCI ALERTWorks good on 5 or 15min set to the 2hr or 4hr time frame.
Set an alarm (Set an alert on each Long/Short "crossing down", 0.8 (or anything below 0.99), "on condition" )
Or just as a visual.
Best to use other factors to confirm but most of the time it does a pretty decent job.
Price Action Trading System v0.3 by JustUncleLThis is an updated and improved version of my "Price Action Trading strategy". I have added two extra optional filters, one is a trend direction filter based on the MACD slow EMA(17), blue line, and the other is a RSI(7) filter which works similarly to CCI(14) but slightly different dynamics (thank you to gianfranco60 for the suggestion). Also made a couple of corrections:
- input for lenLower minval=1 should be maxval=-1
- one bar pullback did not reset trigger, missing some alerts
Some Notes about usage:
- this is an alert indicator not a signal generator, each alert is a strong trend continuance candidate,
but should be treated on it's own merits by looking at chart dynamics and market conditions.
- will work well on trending markets only.
- works best on the first alert after MACD cross over.
- don't take trades when MACD and signal are close together.
- don't trade when channel and slow MA are flat or close together or
chopper (yellow and blue MA cross over quickly over short period).
Stochastic CCI MTF w/ UP/DOWN colours - squattterStoch CCI has a nicer divergence than Stoch RSI.
Enjoy!
Stochastic CCI MTF w/ UP/DOWN colours - squattterStoch CCI has nicer divergences than Stoch RSI.
Enjoy.
CCI with Volume Weighted EMA Here is an attempt to improve on the CCI using a volume weighted ema which is then plugged into the CCI formula.
Use:
The CCI with VW EMA is an oscillator that gives readings between -100 and +100. The usual use is to 'go long' with values over +100 and short on values less than -100.
Another use of this oscillator is a countertrend indicator where one sells at crosses under +100 and buys on crosses over -100.
Trend and Entry CCI ST15This is a T3 CCI with a fast and slow line as well as extreme lines, a -15,15 filter to make zero line rejections and crosses more mechanical and help weed out whipsaw. I will probably update description in the future and get into more detail about how the indicator is used but for now if you want more info look up woodie CCI patterns :) Good Luck!!
SuperTrend Oscillator v3Version 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock , just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock , the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).
SuperTrend OscillatorVersion 3: Improved aesthetically, complete turnaround for the strategy with which to use this indicator.
Once again, thanks to BlindFreddy and ChrisMoody for the bits of code that were assembled into this indicator.
Make the chart yours using the share button for the indicator with barcolors functionality.
Changes from v2 and looking forward: Indicator now uses a 14 length SuperTrend with no ATR multiplier. This my preferred use and I'd be grateful to hear your case for a different length/multiplier. Removed the Bollinger Bands and retracement dots due to these being gimmicky and marginally useful. There may be a version 4 should a similar concept using a rate of change analysis turn out to be useful. I have also tried -in vain- to plot internal trend peaks as horizontal S/R levels. Please pm if you are willing to help in that respect.
Strategy: The indicator will display the trend as a red/green area. It measures the spread between the closing price and the SuperTrend line, much like a CCI (close and ma). When the area contracts warning bars of the opposite trend color will warn of a reversal. When this happens, these areas will either be defended, reviving the trend, or will break, causing a trend flip. SuperTrend is unique in that breaks are typically large candles, and that its levels, especially on Weekly, Daily, Hourly, Minute timeframes, these levels will be defended (think similar to a 200sma or a 21ema). The STO making new highs within (internal) a trend is an overextension sign.
CVX Example: This is not a full analysis of CVX's stock, just an example potential trades. On the posted chart I used a weekly and a daily STO.
Long 1:The weekly showed warnings and then flipped. The daily made a double bottom, showed warnings and then flipped the daily STO at trendline support.
Long 2:The weekly still shows an uptrend, the daily made a weak break to downtrend and reversed back upwards at trendline support, forming a double bottom. Note the conservative exit when the STO made an internal new high.
Long 3: looking forward on CVX stock, the current downtrend made a weak break and is showing sings of reversal (pin bar) at horizontal support. Go long on flip of the daily (conservative) or flip of the hourly (aggressive).
4H CCI Strategy 1.5Included adaptive lot size based on ATR, and also ATR based stop and take profit levels.
Risk/reward increased to 1:2 and should work in all ranging FX pairs as long as they are not trending.
Once the market starts trending it'll eat this bot alive.
Cheers,
Ivan Labrie
Time at Mode FX
4H CCI Strategy 1.4Here's the last version...quick hack job.
I'm sure it can be improved, but this is a rough sketch, code wise.
The strategy works in range bound enviroments, so cointegrated pairs like AUDCAD will shine with it.
Cheers,
Ivan Labrie
Time at Mode FX
4H CCI Strategy 1.3Still working on fixing the code 100%.
Will update with a new version soon.
This one's fine tuned for gold (tp and sl size, and contract size for a 100k account)
Cheers,
Ivan Labrie
Time at Mode FX
4H CCI StrategyJust a test...I'm not sure this will work 100%. I think the backtest is flawed (the exit parameters look suspicious)
Anyway, the strategy does make sense, maybe in live trading it'll toss good signals.
Can we apply it to our demo account here? (trading panl) Anyone?
CCI with averagesI coded this indicator to adapt a few techniques I learned from Constance Brown to CCI, which is a very good momentum indicator which gives great signals if you know how to read them.
I plotted a few examples on the chart.
As you can see, it complements a trader's bar chart reading skills nicely if applied correctly.
Hope you can find it of use.
Cheers,
Ivan.
Commodity channel index x2 v1Slightly enhenced CCI. Take a look how difference between slow and fast CCI displayed as histogram can predict possible reverse.
EDIT: fast = 14, slow = 28 works better.
CM Willams %R and CCI BackGround HighlightCM_Willams %R and CCI BackGround Highlight
Created By User Request
Indicator Highlights:
Creates Red BackGround Highlight if CCI Or Williams %R are Above Upper Line (User Defined)
Creates Green BackGround Highlight if CCI Or Williams %R are Below Lower Line (User Defined)
Ability to Turn On/Off either Williams %R or CCI Highlights in Inputs Tab via Check Boxes.
Ability To Set All Parameters for CCI and Williams %R in Inputs Tab.
Ability to Set High/Low “Threshold” Lines for Both CCI and Williams %R in Inputs Tab.
***I was asked if you could plot Back Ground Highlights on Two Individual Indicators AND have it show if BOTH Indicators were Overbought and Oversold.
***The answer is Yes. On the Chart Above I have the same Shade of Red and Green for Both Indicators. However, you will notice when Both Indicators Show OverBought…Both Plot Red Back Ground Highlights Which = a Brighter Red. The same is True for Oversold Conditions. The Green Shows a Brighter Shade of Green.
***VERY IMPORTANT - It is difficult for a programmer to release Indicators with this feature because depending on what color background you use on your charts…THE COLORS LOOK COMPLETELY DIFFERENT. So If You Don’t Use The Black Back Ground Shown Above You Most Likely Will Need To Adjust The Transparency, and Possibly The Colors Themselves!!!!
Reference Page
UCS_Momentum Oscillator - Version 2This is Version - 2 of the Momentum Oscillator, Like i said on the prior version, This version has an Indicator for Trends.
Marks only Overbought and Oversold Based on the TREND.
The Trend dots are calculated exactly like the Slingshot system trend.