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ç
順勢指標(CCI)
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!
SRSI/CCI :: ALLinPower v10.0
Everything you see in this indicator has beed designed with purpose to ease your trading with visual technical analysis of the market. It pulls data from 7 different TimeFrames and it can not be more simpler visual representation of its calculations when applied on chart.
When applied on chart, you will see two sets of WAVES. First set is made out of SRSI calculation and the second is made out of CCI calculation. Both of them follows the same rules.
Background GREEN/RED wave is made out of Multiple Timeframes and it represents a TREND. GREEN for LONG, RED for SHORT trend.
Over the background wave there is a wave made of current TimeFrame data and its main purpose is to see when the POWER of certain direction will diminish. The less time little wave stays in current trend the more likely is that it will change the trend based on lack of power the market is getting in certain direction.
HOW TO USE IT?
Rule 1.
TIMEFRAMES
Choose the best TimeFrame for the job. I use: 1min, 2min, 3min, 5min, 8min, 13min, 21min, 34min or 56min (golden ratio). You can also pick a different TF but only to up to 1h TF chart as it does not work well with TF over 1h. Smaller TF is used for SCALPING of DAY TRADING higher TF is used for SWING TRADING. You get the picture?
Rule 2
TO ENTER BUY/LONG POSITION: When big trend wave is below the middle line and coloured in RED and little wave just entered the area and exits it very soon after. Basically when RED straight line gets smaller and smaller (the POWER of SHORT diminishes) it is a sign for LONG.
TO ENTER SELL/SHORT POSITION: When big trend wave is over the middle line and coloured in GREEN and little wave just entered the area and exits it very soon after. Basically when GREEN straight line gets smaller and smaller (the POWER of LONG diminishes) it is a sign for SHORT.
To ease yourself the spotting of this instances just follow the GREEN/RED dots and use ALERTS (choose BUY POWER for LONG signals or choose SELL POWER for SHORT signals) to make yourself free from staring at a computer/mobile all the time and just wait for a signal.
Rule 3
CAUTION
Do not rush to enter a position and try to predict what indicator will do next. It does not end well.
Be aware you are not exiting a position in panic that would be too soon or even worse, you get married to bad trade and you are not exiting even though you should exit by many signals you get.
Use risk management strategy to protect your capital.
Follow the rules and make your trading easier and better.
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
Cyber Momentum V2This Oscillator is another version of my previous Oscillator Cyber Momentum … in this version the CCI formula added to the core calculation therefore there is small differential behavior rather than Cyber Momentum because of different calculation methods …
But both of them are in the same concept; the most optimized signals are those that are in confluence of Cyber Momentum and Cyber Momentum V2 ...
Cyber MomentumThis oscillator is the combination of different settings RSI , RSX , STOCHRSI , MSI ,... in a Stochastic function that can help traders to understand the weakness and strength of momentum in candle sticks in different time frames.
This oscillator organized by three Line , control zone and Divergence Line
1:) Fast Line
2:) Slow Line
3:) Heavy Line
4:) Neutral Zone between Fibo 38.2% & 61.8%
5:) Bullish Control Zone
6:) Bearish Control Zone
7:) Divergence Line
And there are two theories of finding tradable signals behind those parts .
The first and the most simplest theory is the situation that the Fast Line has the possibility to be supported by Slow or Heavy Lines and basically reverse its slope !!
But there are some rules and notes for this theory ... First of all the accuracy and rate of that is variable in three main categories of situation
1:) with or without price action reversal structure like reversal pattern (Head&Shoulder , Quasimodo , .... )
2:) with or without regular divergence
3:) in which control zone ?
So basically the most powerful setup occurs when price action is already in the reversal structure and the potential to have at least one drive of regular divergence exist and also the Fast Line is in the opposite control zone of the current time frame trend .... so obviously if one of those rules will not be satisfied so the signal will be the less value
The second theory is the signals that occur after the reversal, obviously a sign of trend continuation. there are two type of that you can use with this oscillator
The first one happens when price reverses its trend and this oscillator is moving to the neutral zone ... so if at least one drive of hidden divergence exist the neutral zone will have good possibility to reverse the slope of the oscillator obviously this would happen usually after hidden divergence confirmed .
and the second one is basically the first type but after the reversal Subsequently in the outside of the bullish/bearish control zone ... those kinds of signals are NOT the reversal potency signal at all !! they designed for trend continuation... be careful of them and try trade with your old friend trend ! .... also The existence of hidden divergences will be better for trade in this kind of signals .
The idea of this oscillator was inspired by @mrhashem Borjas Tarh Momentum.
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.
Simple CCI Spotter™TradeChartist Simple CCI Spotter is an elegant version of the classic CCI indicator and helps spot price trends using visually engaging and appealing CCI plot and background. The Bull and the Bear background fills are highly useful for traders who like to visually understand areas of entry and exit based on CCI .
===================================================================================================================
What does Simple CCI Spotter do?
Plots CCI with visually engaging colours for Bull and Bear zones (Green and Red) with optional background fill.
Plots CCI coloured bars on main chart based on user preferred Upper and Lower CCI bands (Default - 25/-25).
Plots CCI based on EMA smoothing (1 for Regular CCI without smoothing).
Plots Heikin Ashi CCI if enabled from indicator settings.
Plots CCI highs of Bull Zone and RSI lows of Bear Zone. Helps visually spot divergences.
===================================================================================================================
Note:
Default Settings:
5 period EMA Smoothed CCI .
For Heikin Ashi CCI on normal bars, enable ᴜsᴇ ʜᴇɪᴋɪɴ ᴀsʜɪ ᴄᴄɪ and change EMA CCI sᴍᴏᴏᴛʜɪɴɢ to 1.
===================================================================================================================
ALLinDivergence v12.60 :: PinPoint BUY/SELL OpportunitiesEasy to spot BUY/LONG or SELL/SHORT ENTRY POINT opportunities.
Just follow this 9 RULES!
Rule 1. ONLY THINK OF GETTING IN A POSITION when BackgroundWave is coloured GREEN and ON POSITIVE SIDE of Flat White Line
Rule 2. ONLY THINK OF GETTING IN A POSITION when BackgroundWave is coloured RED and ON NEGATIVE SIDE of Flat White LineRule
Rule 3. ENTER BUY POSITION (Same Direction) when HigherHighs of MiniWave are coloured GREEN and they are getting BIGGER - needs to be confirmed with RULE 1.
Rule 4. ENTER BUY POSITION (Change) when LowerLows of MiniWave are coloured RED and they are getting SMALLER - needs to be confirmed with RULE 2.
Rule 5. ENTER SELL POSITION (Change) when HigherHighs of MiniWave are coloured GREEN and they are getting SMALLER - needs to be confirmed with RULE 1.
Rule 6. ENTER SELL POSITION (Same Direction) when LowerLows of MiniWave are coloured RED and they are getting BIGGER- needs to be confirmed with RULE 2.
Rule 7. Draw DIVERGENCE TRENDLINES on HIGHS or LOWS to ease your "spotting capabilities" and to be able to set up whatever ALERT you need
Rule 8. IF NOT SURE - CLOSE THE POSITION
Rule 9. DO NOT BE GREEDY - FOLLOW THE PLAN, whatever it is - but definitely THE PLAN SHOULD EXIST)
TIP:
1. First choose your favourite TimeFrame (mine is 30min) and draw all the Lines you need for better preview of the situation and LOCK them (believe me!:)
2. After some move (BUY/SELL) is just about to get confirmed on 30min TF, you can go on lesser TF (i usually analyze 1min, 3 min, 9 min and 15 min) down to TF that its GREEN/RED waves still makes sense (does that makes sense?)
3. On smaller TF you will get confirmation faster but sometimes they are more unreliable than in bigger TF. But if it aligns with a confirmation from 30min TF than i guess it should be OK to judge a bit early:)
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.
Adaptive Commodity ChannelThis is part 4 of 11 in the system named Ninetales/Volt V2 you can find on Tradingview.
Use it however you would use standard CCI, just add your preferred values to test against each other, and set the period you would like for it to backtest.
RSI, CCI WaveTrend God by Keiron RichieThis script uses Relative Strength Index ( RSI ), Commodity Channel Index ( CCI ) and WaveTrend (WT) together as an oscillator with an additional custom RSI rate of change indicator and buy/sell background color zones derived from a complex combination of these indicators.
The White line shows the moving average of RSI as an oscillator
The Green line is the fast Exponential Moving Average ( EMA ) of CCI & the Red line is the slow EMA of CCI .
The Blue area is the EMA of WaveTrend WT
How to read:
If the RSI , CCI or WT crosses above a programmed threshold and the other lines are also within a pre-defined buy range then the background will change to green for buy.
If the RSI , CCI or WT crosses below a programmed threshold and the other lines are also within a pre-defined sell range then the background will change to red for sell.
Where requirements are not met, the background is neither green nor red.
There are also red and green indicator x’s at the top/bottom of the indicator. They show a drastic change in Relative strength within a short period. This often indicates an immediate buy or sell opportunity.
Buy, Sell, Exit Buy and Exit Sell alerts are included.
Use the link below to obtain access to this indicator.
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.
Toguro1000's CCI (Anti Fake-Divergence)TUTORIAL
1 - Look for divergence.
2 - Check the anti-fake div bar color. (White means you are good to go, colored means there is a high probability that the divergence will not play (fake divergence).