[SK] RSI/CCI Correlating OscillatorThe combination of RSI and CCI can be a powerful tool to efficiently signal the strength of the trend and upcoming reversals.
The magic comes when you're able to correlate both indicators correctly, this is the power I give you with the RSCCIO.
I've added additional features to each indicator that make signals more clear and easier to identify.
On the RSI
Directional color coding similar to what you can find on a MACD. This helps to identify the general trend ( above or below midline ) and the of the movement within.
For precise correlation the RSI is adjusted to a midline of 0. You can still enter the overbought/oversold levels as you'd expect on a regular RSI and it will be automatically adjusted.
On the CCI
Extreme strength / weakness color coding when the value exceeds the range makes signals more clear.
For precise correlation with the RSI, we need to scale down the value of the CCI with the Sensitivity Input. The default value works overall but feel free to play around to adjust the scale of the CCI movement.
---
RSI Relative Strength Index
The RSI is a momentum indicator that measures the magnitude of recent price changes. An asset is usually considered overbought when the RSI is above 70% and oversold when it is below 30%.
CCI Commodity Channel Index
The CCI was originally developed to spot trend changes. Use the CCI on the longer-term chart to establish the dominant trend and on the shorter-term chart to isolate pullbacks and generate trade signals.
順勢指標(CCI)
TSI HMA CCIHi!
This strategy has TSI and CCI indicators with the CCI being based on a HMA instead of the Price.
There is a number of conditions that must combine to create buy or sell signals, but it is basically a couple of MA crossovers.
The strategy opens new orders on each candle if the conditions are met, Either direction, so it is hedging.
It wont open new orders if there is a floating loss, and so is constantly attempting to hold a floating profit (drawup instead of drawdown)
But It has a StopLoss (set by user) for closing of losing orders, and it closes all orders in basket style when account is in profit to users set amount target profit.
Low commission set to simulate swap but Forex pairs generally dont have commission like the crypto exchanges do. So if you use this on cryptos, remember to increase the commission to your brokers amount.
Crypto users will likely find that because this opens so many orders the commission could erase its profits.
So i recommend this for Forex only, and perhaps, only NZDUSD 4H chart. other pairs, change settings for.
The strategy has settings for testing on target time spans, so you could test it on just Jan-Feb 2020 for example, if you want, or from Jan 2020 to present day.
Have Fun! Open Script for copy/paste/edit/publish your own version :)
Commodity Channel Index + Relative Strength Index (Same Scale)Mashup, combining (adjusted) RSI and CCI.
These two indicators serve similar functions, but on different scales. I combined the two versions from the TradingView Built-In library into one chart, keeping the default setting for the CCI signal lines and fitting the RSI's default signal lines to them, so that they line up. I therefore adjusted the RSI to match the approximate range of the CCI and added additional lines to represent the maximum and minimum values of the RSI (0 - 100).
I did that by multiplying the RSI with 5, and subtracting 250.
Adjusted RSI = (RSI * 5) - 250
So the upper signal line (default: 70) now matches the line used for the CCI at 100. The lower signal line (default: 30) lines up with -100.
If you want to adjust them, you need to use the formula. I annotated the code if you want to dive deeper.
This indicator uses the original code and styling of the default Built-In RSI and CCI. Credit goes to the appropriate developers. My only intent is to mash up both of these indicators, making it easier to compare them.
Interpreting this indicator is the same as interpreting the underlying indicators. If you find any unexpected correlations, comment.
CCI with EMA StrategyI designed it as buy and sell when the cci 0 point cut, but you can optimize it by changing the buy sell points
I used moving average to smooth out cci's movements
Machine Learning: kNN-based Strategy (update)kNN-based Strategy (FX and Crypto)
Description:
This update to the popular kNN-based strategy features:
improvements in the business logic,
an adjustible k value for the kNN model,
one more feature (MOM),
a streamlined signal filter and
some other minor fixes.
Now this script works in all timeframes !
I intentionally decided to publish this script separately
in order for the users to see the differences.
Trend MagicTrend Magic is originally a MT platform (MetaTrader) indicator and it can be used with any forex trading systems / strategies for additional confirmation of trading entries or exits. Converted the MT platform code to TradingView Pine version 4. Also you can use Multiple Time Frame.
It also works well with Crypto and Stock Markets.
Trend Magic consists of two main calculation parts as momentum and volatility:
First part is ATR based (like ATR Trailing Stop) logic, second part is all about CCI which also determines the color of Trend Magic.
Blue: when CCI is positive
Red: when CCI is negative
Also added alert condition regarding price crosses :
when LOW CrossesAbove TM
and HIGH CrossesBelow TM
Enjoy
Kıvanç Özbilgiç
The WWG Plan Indicator V2█ OVERALL
This indicator was specifically created for the Walsh Wealth Group.
In short it is a fusion of some of the most basic and widely used indicators to show overbought patterns and trend reversals.
Its best usage is with LTF scalping and agressive profit taking but can also be used to find HTF dips and buy-zones.
█ FEATURES
Buy Signal (Buy):
Printed only with all confirmations triggered
Small Buy Signal (B1 & B2)
Printed if some of the confirmations are triggered and can be treated as DCA entries or for further
confirmation with other indicators and basic TA.
Crayons (Color Bars):
Blue: RSI is oversold
Olive: RSI and Stoch RSI are oversold
Yellow: RSI, Stoch RSI are oversold and lower Bollinger Bands are crossed by Low
Orange: RSI, Stoch RSI and CCI are oversold
Trailing SL:
If activated in the config, a trailing SL can be displayed on the chart based on ATR.
█ SETTINGS
The underlying indicators used are RSI, Stoch RSI, Bollinger Bands, MACD and CCI.
All possible configs can be changed in the config settings.
█ GENERAL INFORMATION
Depending on the settings, the indicator performance will be highly affected.
This indicator is only displaying highly oversold areas and events of trend reversal it is not a *God*-Signal and will print false positives.
█ ALERTS
An alert for the main buy-signal is implemented and can be used via the TV alert functionality.
StochRSI x RSI x CCI x EMAsWanted to put this out there. Kind of a rough explanation but basically I wanted to build an indicator that takes out emotions and is easy to read. The indicator is basically RSI, stochRSI, CCI, and EMAs into an easy to read package. The traffic lights at the end will tell you if stochRSI/RSI and price action above according to EMA ribbon are in agreement. RSI with a period of 2 also always seemed very useful to me but it was just extremely distracting to look at it. I tried to make many rules in this indicator to find as much confluence between RSI, stochRSI, CCI, and EMAs to help you make better decisions. What is shown on the indicator is not necessarily a buy/sell signal. It should be seen as a way to view strength of price and possible momentum changes.
I find that one of the biggest distractions of indicators is taking your eyes off what is really happening at the chart above. This indicator uses popular and well used tools and helps you to get an easier visual of what is happening.
Purple lines at top and bottom: Short RSI ob/os
Red/orange and blue/green lines at top and bottom: When stochRSI kd and CCI also crosses +/- 100 or 200
Blue background: when stochRSI k > d and short RSI crosses above 30
Red background: when stochRSI k < d and short RSI crosses below 70
Green crosses: StochRSI is above 80 and making higher highs
Red X crosses: StochRSI is below 20 and making lower lows
Red/green fill of stochRSI and purple/blue dots on RSI: When short RSI and stochRSI are both ob/os
Red/green fill of RSI: Green when Long rsi > 50, red when Long rsi < 50
60/40 lines: Possible support/resistance for RSI
Traffic lights
1st light: Long RSI > EMA and stoch RSI k>d or vice versa
2nd light: Price above EMA 1 and 2 or vice versa
3rd light: when lights 1 and 2 are in agreement
Hope you enjoy!
Machine Learning: kNN-based StrategykNN-based Strategy (FX and Crypto)
Description:
This strategy uses a classic machine learning algorithm - k Nearest Neighbours (kNN) - to let you find a prediction for the next (tomorrow's, next month's, etc.) market move. Being an unsupervised machine learning algorithm, kNN is one of the most simple learning algorithms.
To do a prediction of the next market move, the kNN algorithm uses the historic data, collected in 3 arrays - feature1, feature2 and directions, - and finds the k-nearest
neighbours of the current indicator(s) values.
The two dimensional kNN algorithm just has a look on what has happened in the past when the two indicators had a similar level. It then looks at the k nearest neighbours,
sees their state and thus classifies the current point.
The kNN algorithm offers a framework to test all kinds of indicators easily to see if they have got any *predictive value*. One can easily add cog, wpr and others.
Note: TradingViews's playback feature helps to see this strategy in action.
Warning: Signals ARE repainting.
Style tags: Trend Following, Trend Analysis
Asset class: Equities, Futures, ETFs, Currencies and Commodities
Dataset: FX Minutes/Hours+++/Days
Momentum Explosion 2CCI RSI"Momentum Explosion Template for Mobile Metatrader", that is a trading system trend momentum based on two Commodity Channel Index (CCI) , RSI and two Moving Averages.The trading signals are generated by the crossing of the moving averages confirmed by the agreement of the two CCIs and the RSI.
Two Moving averages Filtered by double CCI and RSI
Credit is to Dimitri Author Beejay (Forex Factory)
Trading Rules Momentum Explosion
Buy
EMA 8 crosses upward SMA 26.
CCI 34 periods > 0
CCI 55 periods > 0
RSI 26 > 48.
Sell
EMA 8 crosses downward SMA 26.
CCI 34 periods < 0
CCI 55 periods < 0
RSI 26 < 48.
CCI colored RSIKnowing how to write code will hopefully be my saving grace with trading. Regardless, I have things to learn yet and the CCI indicator seems to get a lot of respect from chart-art minimalists.
On Investopedia, it says, “The CCI compares the current price to an average price over a period of time. The indicator fluctuates above or below zero, moving into positive or negative territory. While most values, approximately 75%, fall between -100 and +100, about 25% of the values fall outside this range, indicating a lot of weakness or strength in the price movement”
So I decided to have the regular RSI colored with information from the CCI that I just learned about. RSI color changes depending on whether or not the CCI was extended beyond the –100 and 100 extremities, as this indicates trend strength, and helps to not exit a trade early. Arrows are drawn for when the CCI crosses the 0 point of the CCI, which if overlaid, is the 50 on the RSI.
I have also added the option of having the background shaded according to CCI signals. Crosses OVER the –100 and 100 are the early and late bullish signals, while crosses UNDER the –100 and 100 are early and late bearish. I added to the RSI according to how Investopedia says to trade the CCI here.
www.investopedia.com
I added lines to the RSI to delineate the zones that Constance Brown talks about in her work with the RSI.
I kept the code simple to demonstrate my process, editing out lines instead of deleting, etc. I hope it helps somebody new to programming in Pine Script be able to hop right in.
Happy Turkey Day! Gobble Gobble. Say “Gobble Gobble” out loud. Do it.
Edit: Gratuity options removed. Try not to support terrorism this holiday season. And ffs turn off that race-baiting fact-destroying humanity threatening trash on your tv. We fight terrorism all day up in this mf. Savin stupid hoes and everything. Because it's the right thing to do. Not because Soros said so and paid TradingView enough.
Hull FisherThis strategy has a Fisher-Transform indicator applied to the highs and lows of a Hull moving average instead of the price. It also has a Commodity Channel Index to help with entry/exit. Each part of the strategy can be turned on and off, for example turn off CCI or HMA so they are not used in the order opening/exiting. The base of the strategies entry and exit logic is the fisher transform line, if it crosses over outside the lines or either side of zero (adjustable in settings).
This example on ETHBTC Daily chart has common crypto exchange commission 0.25% added. Please adjust that setting to suit your pair/broker. For example a Forex pair does not have that much commission so reduce it for Forex charts.
Can be applied to any time frame or trading instrument.
Improved Commodity Channel IndexI took the normal CCI version and I made it better and more pleasantly visual.
At the same time now the CCI changes color based on the direction is going to take
We also have more levels, to define even better the current situation.
Details are simple :
green color cci = uptrend - > buy
red color cci = downtrend - > sell
Ehlers Adaptive Commodity Channel Index V1 [CC]The Adaptive Commodity Channel Index V1 was created by John Ehlers (Rocket Science For Traders pgs 236-237) and this is the typical Commodity Channel formula with the introduction of adaptive lengths based on his earlier work with indicators such as the Mother of Adaptive Moving Averages. For longer term signals you would get a bullish signal when CCI is above 0 and a bearish signal when CCI falls below 0. For shorter term signals you would get a bullish signal when crosses over it's overbought level or when it crosses above it's oversold level or vice versa. I have included both signals to make it easier.
Let me know if you want a custom script written or if you have a special request for me
Easy System 420In this strategy, 15 indicators are used, each giving its results as a numerical value, which then is added or subtracted from the total points, gathered from all 15 indicators.
Many thanks to RafaelZioni for his great work making the EasySys1 script which i modified to create this script.
Onchart is drawn some of the indicators, but not all, a info panel is drawn showing the value each indicator has calculated. The info panel can be turned on or off.
Many of the indicator settings can be changed by user, and this is recommended, to tune the strategy to users chosen pair/timeframe.
Therefore any pair or timeframe can be used, the strategy tester results showing possible results, remember to set commission to match your broker. example chart settings here have common crypto exchange commission value: 0.25%
indicator list : SAR + STT + ZigZag + ROC + DMI + CCI + Weis + SMA + AO + MOM + Hist + BB + Ichimoku + HMA
CCI Strategy v2This was a strategy I found based on MT4. It takes CCI readings, then transforms them into a weighted moving average illustration. This is represented as:
Red Line - A six period moving average taken from CCI (NOT PRICE)
Green Line - A sixty-six period moving average taken from CCI (NOT PRICE)
Blue Line - CCI plotted
I have also added some levels and bollinger bands to highlight changes in activity.
The strategy is:
BUY - When the red line crosses upwards over green line.
SELL - When the red line crosses downwards over green line.
Extra confirmation is available by watching the blue line, it should be above red to buy, below red to sell. If the blue line drops in the opposite direction, this may be an opportunity to buy on a pull back.
If you wish for any modications to be applied, please do not hesitate to contact me.
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.
CCI & EMA_CROSS_PaydarCCI & EMA_CROSS_Paydar
Hello everyone
This indicator is actually a very efficient oscillator,
This system is a unique combination of indicators CCI and EMA, which of course has special settings, these settings are adjusted as much as possible due to signaling.
As you can see in the picture:
CCI: the two colors line, green and red, are actually the same indicator CCI that I set to 20.
*Note that in index CCI I have set the lines +100 and -100 to +75 and -75 for less error and a stronger signal to sell or buy.
EMA: The white line, which is in the form of steps, is in fact the same indicator of EMA, which I have considered as a value of 9.
_________________________________________________________________________________________________________
Instructions
-> areas:
Zone +75 to +200 = positive range or incremental price or bullish
Zone +75 to -75 = Neutral range or almost constant price (no fluctuations or very wet fluctuations)
Zone -75 to -200 = single range or discount price or bearish
->How to use:
Buy = In the bearish range, if line CCI intersects line EMA upwards and goes to the neutral zone.
None = if the index (or index lines) collide in the neutral zone
Sell = In the bullish range, if line CCI intersects line EMA down and goes to the neutral zone.
-> Please comment on this system or if you have a good experience in changing the values of the indicators or it seems to you, please share.
With great respect to:
Who had published the main idea of this system.
VVOscillator [nb]Multiple volume oscillators in one.
Description:
As Warren Guppet once said, be “fearful when others are buying less, and greedy when others are selling less.”
Divergences are the main point of usage of all bundled indicators.
OBV Oscillator, remade. The formula has been changed to smooth out the way OBV is calculated during a trending move
OBV Oscillator, original OBV formula.
Price Volume Trend Oscillator. Similar to OBV, except price is taken into account as well.
Price Volume Trend Oscillator, log.
Accumulation/Distribution. (close - low) - (high - close) / (high - low), then multiplied by volume
Chaikin Money Flow . Very similar to accum/dist except it was already made into an oscillator.
OBV just by itself. Change style to line for easier interpretation.
Experimental function that utilizes a part of CCI
This is the unedited "Variable Volume Oscillator v1" released for free use. In the time since I've created it, I've realized it's something I'd like to share because I like it and hope you will too.
CCI - SWIFF KNIFECCI indicator swiff knife.
A lot of different usages of CCI ae possible with this script :
- 2 CCI lines crossovers.
- CCI - 0 Line crossovers
- CCI + Moving Average crossovers (many types of MA are available)
Filters can be added.
CCI can be used as a confirmation indicator, a continuation indicator, an exit indicator, a chopiness indicator .... It can even make coffee, who knows.
CCI Indicator [SystemAlpha]This is a CCI indicator enhanced with:
- Show Alert
- Fill on oversold and overbought levels
- Show Regular and Hidden divergence
- Show Divergence Labels
T3-CCI Impulse [SystemAlpha]FX Sniper's T3-CCI indicator modified with bar color and regular divergence.
Also added option to change bar color based on Elder's Impulse System.
Daytrade strategy RSI CCI EMA 4/8This strategy is designed for daytrade charts.
Its made from
EMA 4 / EMA 8 to check for crosses
RSI levels for overbough/oversold
CCI levels
For entry, we check first if the ema 4 crossed ema 8
Secondly we confirm by checking the level of RSI level
Finally we confirm with CCI level
If all of them are on the same page we enter.
For exit we have a fixed pip points system for TP/SL