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).
順勢指標(CCI)
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.
CM_Enhanced CCI V2Added 0 Line, + - 200 lines
Added a line that hi-lights the outside of the CCI
Updated 8/12/2014 by request for christian.david.75457
Added Ability To Plot 2nd CCI - !!!
Added ability to turn On/Off the +-200 lines.
Added Ability to Turn On/Off Show Area of CCI
Added Ability To Turn On/Off Show The Outer CCI Line
CCI Crossover AlertThis very simple indicator will give you a blue background where the CCI crossed from below -100 to above -100, and a red background where it crossed from above 100 to below 100.
CCI strategy 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.