MarketCipher B Wavetrend DivergencesCreated for the MarketCipher Community and friends :)
I have published this before but it was taken down by Tradingview and PineCoders because they wanted a more in depth description so here it is:
This strategy is mainly based on Wavetrend Oscillator by LazyBear / blue momentum waves on MarketCipher B.
The Wavetrend indicator is a combination of 2 oscillator lines that signals the short term direction of the price once the lines cross. The Wavetrend indicator is useful but only once a divergence has been identified based on the crosses and the price which is what this strategy partly uses to open trades.
Here is a list and description of the different conditions that goes into the entries and exits.
Long trade:
1) Bullish divergence, regular or hidden
2) Price is above Exponential Moving Average
3) Chande Momentum Oscillator value is above x
Short trade:
1) Bearish divergence, regular or hidden
2) Price is below Exponential Moving Average
3) Chande Momentum Oscillator value is below x
The Exponential Moving Average (EMA) is a type of moving average that is price based, lagging (or reactive) indicator that displays the average price of a security over a set period of time. The EMA is however different from a normal moving average and values the recent price action. A Moving Average is a good way to confirm trends which is what it is used for in this strategy. If enabled the strategy will only open long trades above the EMA and only short trades below the EMA.
The Chande Momentum Oscillator is a technical momentum indicator and was designed specifically to track the movement and momentum of a security. The oscillator calculates the difference between the sum of both recent gains and recent losses, then dividing the result by the sum of all price movement over the same period. In this strategy it is used like the EMA to filter out bad trades that goes against the trend. The EMA is better at trading the overall trend but the Chande Momentum Oscillator is a lot better at identifying short term market conditions that are favorable for entering at divergences.
One of the most important aspects when creating a trading strategy is to know when to take profit and to make it as dynamic as possible so that it changes to the market conditions. This is what i have tried to do and the reason why this divergence trading strategy works well.
These are the 3 different exit conditions:
1) A dynamic take profit that will signal a short term trend reversal that is based on pivot points and moving averages.
2) Another dynamic take profit based on pivot points that like the previous take profit is used to determine and anticipate potential changes in market price and reversals.
3) A normal % fixed take profit
Photo of what the dynamic take profit looks like on the chart:
The pivot pointexit comes from this indicator that i have helped update and modify from the original script:
When you have found the right settings you can insert the messages from your automatic trading platform at the bottom of the inputs and then create an alert with your unique webhook address along with the alert message below:
{{strategy.order.alert_message}}
I hope this strategy will be useful to automate part of your trading or help you identify and backtest divergences for your manual trading.
Future updates to come.
Enjoy!
Centered Oscillators
TUE ADX/MACD Confluence V1.0The ADX and MACD confluence can be a powerful predictor in stock movements. This script will help you find those confluences in an easy to understand visual manner.
It includes Buy and Sell signals for detected confluences, and will show colored candles to help you determine when to exit a trade. When the candles turn to white that means the detected confluence is no longer in play and you may want to consider a trailing stop loss.
The Buy and Sell signals will display on the first occurrence of each confluence.
It's important to understand that both of these are lagging indicators, but with a careful attention to your stoploss you can easily generate a positive profit factor.
This code is provided open source and you're free to use it for any purpose other than resale.
SCCI KRAKEN [JoseMetal]============
ENGLISH
============
- Description:
This indicator is a Smoothed Commodity Channel Index with crosses with a signal SMA.
It combines 4 different and configurable timeframes to find dips and tops.
It has several configurable timeframe combinations, so you don't have to reconfigure the indicator on each timeframe, you can have a preset for your favorite timeframes, anyway, default ones are already coded in.
The SMAs are not visible to avoid too many lines confusion, but there're signals on each cross.
- Visual:
So you have 4 lines, 1 for each timeframe, when the SCCI is increasing it takes a bullish color, bearish color if going down.
You can customize 2 color setups, simple and multicolor, in both cases you can configure every single color, the main difference is that using "simple" just shows the same bullish/bearish color for each line but multicolor allows to setup different colors for EACH line/timeframe.
Crossover/under symbol changes depending on strength zone, a crossover on oversold area (bottom/green) triggers a cross, as well as a cross under in the overbought area (top/red), dots are shown when the zones are inverted.
Background color changes when all the lines/timeframes are in the same area, for example, if all 4 lines are below 0 it starts getting green (oversold), while over 0 it gets red (overbought), extreme levels gets lighter.
- Customization:
As usual in my indicators, everything is customizable, periods for de CCI, smoothness for it, the SMA periods, colors, timeframe setups...
The oversold and overbought areas are also customizable, being able to set zones for each.
The indicator has an option to show a different asset, because some testers asked me to add this in order to COMPARE directly against another asset, for example, you can have the same indicator for your current asset (let's say ETH) and another SCCI Kraken showing BTC, doing this allows to check if the asset is more bullish/bearish compared to another asset.
- Usage and recommendations:
Everything is good by default, of you want more accurate crosses you can increase the SMA periods a little, 6-8 instead of 4.
For scalping maybe a good idea to reduce the strong areas and get more signals, anyway i use it as default.
Finally, if you want to find an excellent dip/top increase the distance between timeframes in your setup, for example, go to 1 min and set the other timeframes to 15M, 1H and 4H, you'll get fewer signals but veeery accurate (fewer trades, more precision).
============
ESPAÑOL
============
- Descripción:
Este indicador es un índice de canal de materias primas suavizado con cruces con una señal SMA.
Combina 4 marcos temporales diferentes y configurables para encontrar dips y tops.
Tiene varias combinaciones de marcos temporales configurables, por lo que no tiene que reconfigurar el indicador en cada marco temporal, puede tener un preset para sus marcos temporales favoritos, de todos modos, los predeterminados ya están codificados.
Las SMAs no son visibles para evitar la confusión de demasiadas líneas, pero hay señales en cada cruce.
- Visual:
Así que tienes 4 líneas, 1 para cada temporalidad, cuando el SCCI está aumentando toma un color alcista, color bajista si va hacia abajo.
Puedes personalizar 2 configuraciones de color, simple y multicolor, en ambos casos puedes configurar cada color, la principal diferencia es que usando "simple" solo muestra el mismo color alcista/bajista para cada línea pero multicolor permite configurar diferentes colores para CADA línea/marco de tiempo.
El símbolo de cruce/bajo cambia dependiendo de la zona de fuerza, un cruce en la zona de sobreventa (abajo/verde) provoca un cruce, así como un cruce bajo en la zona de sobrecompra (arriba/rojo), los puntos se muestran cuando las zonas están invertidas.
El color del fondo cambia cuando todas las líneas/marcos de tiempo están en la misma zona, por ejemplo, si las 4 líneas están por debajo de 0 empieza a ponerse verde (sobreventa), mientras que por encima de 0 se pone rojo (sobrecompra), los niveles extremos se ponen más claros.
- Personalización:
Como es habitual en mis indicadores, todo es personalizable, los periodos del CCI, la suavidad del mismo, los periodos de las SMA, los colores, las configuraciones de los marcos temporales...
Las zonas de sobreventa y sobrecompra también son personalizables, pudiendo establecer zonas para cada una de ellas.
El indicador tiene una opción para mostrar un activo diferente, ya que algunos testers me pidieron que añadiera esto para poder COMPARAR directamente contra otro activo, por ejemplo, puedes tener el mismo indicador para tu activo actual (digamos ETH) y otro SCCI Kraken mostrando BTC, haciendo esto permite comprobar si el activo es más alcista/bajista comparado con otro activo.
- Uso y recomendaciones:
Todo está bien por defecto, de querer cruces más precisos se pueden aumentar un poco los periodos de la SMA, 6-8 en vez de 4.
Para scalping quizás sea una buena idea reducir las zonas fuertes y obtener más señales, de todas formas yo lo uso por defecto.
Por último, si quieres encontrar un excelente dip/top aumenta la distancia entre los marcos de tiempo en tu configuración, por ejemplo, ve a 1 min y pon los otros marcos de tiempo a 15M, 1H y 4H, obtendrás menos señales pero muy precisas (menos operaciones, más precisión).
LNL Squeeze ArrowsIf you struggle with the entries, low % win rate or trading the squeeze setup overall, this indicator is for you!
If you look closely at your losing trades, chances are the losers have one thing in common = inverse momentum. I created this tool after I found out that Stacked EMAs and picture perfect trend is not the only thing you need for a squeeze setup. Squeeze arrows pinpoint the exact moment where the squeeze momentum change happens (momentum change is absolutely crucial for the squeeze setup). These arrows will help you stay out of "everything was aligned but still failed" type of setups.
Squeeze Arrows:
1. Momentum Arrows (cyan blue/red) - Showing the best possible moment for an entry during the squeeze (after you see one, you can expect the squeeze to fire soon).
2. Slingshot Arrows (yellow) - Even though you can trade off of them, these arrows work mostly as a confirmation & caution tool. If an inverse slingshot arrow is plotted during a squeeze that means caution = you should wait because momentum is not on your side thus there there is a quite high probability that the squeeze can fire the other direction.
Squeeze Dots Trigger:
Represents the number of red dots (squeeze) after which the arrows should plot. Default = 5 (only after 5 red dots, arrows will appear), some traders like to set it on 3 or even 1.
Tips & Tricks:
1.Breakout or Bailout Mentality
- The big advantage of the arrows is the fact that they either work straight away or they don't. This is where you can apply the breakout or bailout mentality and really focus exclusively on the breakout part of the whole squeeze move. You can minimize the risk by putting mental stops just a few points below the last low of the candle where the arrows appeared. That way you can be stopped out even during the squeeze = won't hurt as much as when the squeeze fire the opposite direction. Reward may be the same but the risk is lower.
2. Yellow Flags
- Use the slingshot arrows as a caution tool. Even if all your squeeze criteria are met. Yellow inverse arrow = caution (wait for the true momentum change). Once the slingshot arrow appears in the conext of the trend, you are good to go.
3. Last Arrow Rule
- Sometimes you will see a lot of arrows during the longer squeezes. This is where the last arrow rule come in handy. The last arrow you see on chart can be canceled anytime by a new one. The last arrow is the valid one!
Hope you can squeeze from these squeeze arrows as much as there is to squeeze so you can finally trade the squeeze with ease.
Hope it helps.
On Balance Volume MomentumA combination of "On Balance Volume (OBV)" and "Volume Oscillator".
"OBV Momentum" is a trend momentum indicator, that can be used to identify strong trends and also trend changes based on volume.
High positive values indicate strong volume on the buy side, high negative values indicate strong volume on the sell side.
An increasing OBV momentum indicates a strengthening buy trend or a weakening sell trend,
decreasing OBV Momentum indicates a strengthening sell trend or weakening buy trend.
OBV Momentum is calculated by comparing a short vs. a long moving average and plotting the difference in volume.
OBV Momentum metric is absolute volume.
[TS] Enhanced MACDThis is an Enhanced version of the standard MACD Indicator.
It displays the MACD Histogram as a normalized oscillator for a better visual representation (With values between -100 to 100)
On the top we have the WaveTrend indicator, showing the general trend of an asset (4 Color codings)
On 0 line, with red and yellow circles, is displayed the Contraption (or so-called Squeeze) of the price action.
When these circles appear a major shift in trend is expected.
On the bottom, we have another set of circles, which measure the price compression - These signal a period of very low price volatility.
Phoenix Ascending SignalsThis is an overlay script for Phoenix Ascending Oscillator. This indicator will signal entries (red/green triangles) and bounces (yellow triangles). In settings select "Phoenix Ascending: Red RSI". You can overlay on the oscillator or over the chart (choose above and below bars in style settings)
MACD-VWhat is it?
The MACD-V indicator is the normal version of the MACD (Moving Average Convergence Divergence) indicator but normalized for volatility. It is normalized for volatility in order to compare momentum values across time and across tickers which the normal MACD indicator fails to do.
Formula
The formula for the MACD-V is as follows
MACD Line = [ / ATR(26)] * 100
Signal Line = EMA(9,MACD)
Histogram = MACD Line - Signal Line
How to Use
The MACD-V indicator is used to analyze normalized trends. If the MACD line is above 150, it is considered overbought. If the MACD line is below -150, it is considered oversold. Crossovers of the MACD line and the signal line are considered to be points of trend changes as well.
Features
Customizable Overbought/Oversold boundaries
Customizable colors
Credits
All credit for the idea behind this indicator goes to Alex Spiroglou CMT. His academic paper on the indicator can be found here .
In addition to Alex's idea for the paper, one TradingView user, Mik3Christ3ns3n has created a partial version of it which can be found here .
Accelerating Dual Momentum ScoreThis is a score metric used by the Accelerating Dual Momentum strategy.
According to the website you referenced when you created, the strategy is as follows:
Strategy Rules
This strategy allocates 100% of of the portfolio to one asset each month.
1. On the last trading day of each month, calculate the “momentum score” for the S&P 500 ( SPY ) and the international small cap equities (SCZ). The momentum score is the average of the 1, 3, and 6-month total return for each asset.
2. If the momentum score of SCZ > SPY and is greater than 0, invest in SCZ.
3. If the momentum score of SPY > SCZ and is greater than 0, invest in SPY .
4. If neither momentum score is greater than 0, calculate the 1-month total return for long-term US Treasuries ( TLT ) and US TIPS (TIP). Invest in whichever has the higher return.
Source: portfoliodb.co
[Klemenxina] FisherRevisited one of my first fisher scripts, after a friend showed me a different way to look a fisher.
Indicator uses smoothing to eliminate lag and then puts the values into fisher transform to normalize prices, thus making turning points in price clearer.
Triangles/overbougth/oversold areas signal a good chance of price changing direction.
Meaning green triangle = bull and purple triangle = bear.
Script also includes regular divs with filtering above/below midline for trend reversals.
If you have any improvement ideas MSG me.
MACD Volume S2 By Gammaprod>> How to use this indicator :
1. Set your teadingview theme to dark theme.
2. My indicator is valid for forex, stock and but more valid for crypto.
3. Use three timeframe for more validation (choose between those, that fit to your trading style) :
- Timeframe 1m, 5m, and 15m for Scalping
- Timeframe 30m, 1h and 4h for Intraday
- Timeframe 4h, 1D and 1W for Swing Trading
4 . Always use THREE INDICATORS FROM GAMMAPROD, those three indicators is back to back each other, by the way, I only made those three indicators only (for now) :
- Trendlines Boll Ichi Crypto by Gammaprod
- Stoch RSI Divs Zone Crypto by Gammaprod
- MACD Volume Crypto by Gammaprod
>> How to setting :
1. Trendlines Boll Ichi Crypto by Gammaprod
A. Support and Resistence
- Well if you familiar with this indicator you can add it, but recommended for Timeframe 30m or more
B. Trendlines Primary or Trendlines Secondary
- Timeframe 1m you DON'T NEED Trendlines Primary or Trendlines Secondary
- Timeframe 5m you DON'T NEED Trendlines Secondary, but you CAN ADD Trendlines Primary if you fell it helpful (for me, it is helpful to find where the candles start or the end trend or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 15m you DON'T NEED Trendlines Secondary, DEFENITELY add Trendlines Primary it will help to find where the candles stop or a consolidation or where the candles will surpass a resistance or a support).
- Timeframe 30m or more, DEFENITELY NEED BOTH Trendlines Primary and Secondary Trendlines, it will help to find where the candle stop or consolidation or where the candle will surpass a resistance or support).
C. Bolinger, Ichimoku Cloud and Lagging Span
- Please DON'T CHANGE IT at all, it's really helpful to know when and where to make an entry decesion or a trend or a consolidation, if you don't understand how to read it, you better to learn it first (on "how to read" section and "How to OPEN position" the section below)
2. Stoch RSI Divs Zone Crypto by Gammaprod (DON'T CHANGE IT)
3. MACD Volume Crypto by Gammaprod (DON'T CHANGE IT)
>> How to read :
1. Sell or Buy Priority :
A. Buy Priority
- Color background on macd and stoch rsi is pink or purple sell is the priority, (if you're not sure to buy, just wait until the best moment to sell)
B. Buy Priority
- Color background on macd and stoch rsi Teal or light green buy is the priority, (if you're not sure to sell, just wait until the best moment to buy)
C. Indecision / Golden Moment
- Color background on stoch rsi yellow is indecision / golden moment of reversal pattern (wait until it formed background only on Stoch RSI), please becareful at this moment.
2. Trend / Consolidation :
A. BULLISH trend
- When Stoch RSI and MACD have teal or light green background that's means BULLISH trend, better to confirm by the candle is above green cloud and lagging span (red line) is also above the candle.
B. BEARISH trend
- When Stoch RSI and MACD have the Pink or purple background that's means BEARISH trend, better to confirm by the candle is above purple cloud and lagging span (red line) is also below the candle.
C. CONSOLIDATION
- When Stoch RSI have the mix background that's means CONSOLIDATION, better to confirm by the candle is in or near to green / purple cloud and lagging span (red line) is also on the candle.
3. Special Mark
A. Ideal Bullish :
- Near line 20 and green / teal background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for buy
B. Not an Ideal Bullish :
- Near line 80 and green / teal background = if this happens make sure you know what happen, it could be a false signal or bullish continual pattern
C. Ideal Bearish :
- Near line 80 and pink / purple background = When Stoch RSI have the char R / H on lime color label, that's means divergence or hidden divergence for buy position, if you not see this label that's means just a standard confirmation for sell position.
D. Not an Ideal Bearish:
- Near line 20 and pink / purple background = if this happens make sure you know what happen, it could be a false signal or bearish continual pattern
E. The Beginning of Reversal (from BEARISH to BULLISH) :
- When Stoch RSI line shaping GREEN position is near 20.
- MACD lines still PINK, position lines is UNDER the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL PINK (light pink) and the BACKGROUND still PINK / PURPLE.
- Position CANDLES NEAR BLUE line, NEAR PURPLE CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
F. The Beginning of Reversal (from BULLISH to BEARISH) :
- When Stoch RSI line shaping PINK position is near 80.
- MACD lines still GREEN, position lines is ABOVE the HISTOGRAM, but the HISTOGRAM start to SHAPE FALL GREEN (light green) and the BACKGROUND still TEAL / GREEN.
- Position CANDLES NEAR WHITE line, NEAR TEAL CLOUD, and lagging span (red line) STILL ON the area candle. (it used to be confirmed with the golden moment).
G. False Signals, or It could be a Golden Moment (better to see it on TF 15 or bigger):
- Near line 20 or 80 and yellow background = When Stoch RSI have the char R / H on color label, that's means divergence or hidden divergence for buy / sell position, if you not see this label that's means just a standard confirmation for buy / sell depends on where the Stoch RSI line if near 20 that's means buy, near 80 means sell
>> How to OPEN position:
A. Bullish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles above the green cloud.
- Lagging span (red line) above the candles.
- then open buy near yellow line (the first option) / blue line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Teal or Green background.
- The lines is shaping green.
- Better if on the bottom (at a range 20).
3. MACD Volume Crypto by Gammaprod
- Teal or Green background.
- The lines is shaped or shaping green.
- Better if at the green histogram.
B. Bearish
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles below the purple cloud.
- Lagging span (red line) below the candles.
- then open buy near yellow line (the first option) / white line (the second option) (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Pink or purple background.
- The lines are shaping pink.
- Better if the line on the top (at a range 80).
3. MACD Volume Crypto by Gammaprod
- Pink or purple background.
- The lines are shaped or shaping green.
- Better if at the pink histogram.
C. Consolidation
1. Trendlines Boll Ichi Crypto by Gammaprod
- The candles on the cloud (green or purple).
- Lagging span (red line) on the candles.
- then open buy near the white or blue line (always confirm the position with two other indicators below).
2. Stoch RSI Divs Zone Crypto by Gammaprod
- Mix background specially on a timeframe 15m or more.
- The line move fast up and down.
- Better if on the bottom or the top of the lines (at a range 20 or 80).
3. MACD Volume Crypto by Gammaprod
- Changing the background.
- The line is near the middle line.
- Have small Histogram.
>> The secret ingridient is comparing the timeframe :
The example scalping (Timeframe 1m, 5m and 15m)
- TF 1m is for making an open position.
- TF 5m is for making a judgement of the trend market.
- TF 15m is to confirm that judgement from TF 5m, be careful if it not similar then it used to be a consolidation or the beginning of the reversal.
There's a lot a way to open the position than above information that i gave it to you, but consider there are a limit char on this column, I hope it will help your trading and make a more profit on it.
Infiten's Price Percentage Oscillator Channel (PPOC Indicator)What is the script used for?
Infiten's Price Percentage Oscillator (PPOC Indicator) can be used as a contrarian indicator for volatile stocks and futures to indicate reversals, areas of support and resistance. For longer term trading, if the Short SMA or prices go above the High PPO Threshold line, it is a sign that the asset is overbought, whereas prices or the Short SMA going below the Low PPO Threshold line indicates that the asset is oversold.
What lines can be plotted?
Low PPO Thresh - Calculated as -PPO Threshold * Short MA + Long MA : Gives the price below which the PPO hits your lower threshold
High PPO Thresh - Calculated as PPO Threshold * Short MA + Long MA : Gives the price above which the PPO hits your upper threshold
MA PPO : Plots candles with the Low PPO Thresh as the low, High PPO Thresh as the high, Short MA as the open, and Long MA as the close.
Short SMA : plots the short simple moving average
Long SMA : plots the long simple moving average
Customizable Values :
Short MA Length : the number of bars back used to calculate the short moving average for a PPO
Long MA Length : the number of bars back used to calculate the long moving average for a PPO
PPO Threshold : the percent difference from the moving average expressed as a decimal (0.5 = 50%)
Recommendations:
Longer timeframes like 300 days are best with larger PPO Thresholds, I recommend using a PPO Threshold of 0.5 or higher. For shorter timeframes like 14 days I recommend setting smaller PPO Thresholds, like 0.3 or lower. I find that these values typically capture the most extremes in price action.
MACD-V Volatility Normalized MomentumFull Credit to Alex Spiroglou, DipTA(ATAA), CFTe, and author of the MACD-V.
papers.ssrn.com
Alex recently received the CMT Dow Award for his work to improve on the classic MACD indicator. The MACD-V tackles some obvious challenges with the classic MACD indicator, which is normally an unbounded indicator and inconsistent between different symbols and markets.
"Our goal is to improve an existing tool (MACD), so that - by eliminating its shortcomings - we will be creating a unique type of hybrid 'boundless oscillator', that opens the doors for several pattern recognition opportunities which would not be definable using the classic MACD."
When the oversold/overbought range of 150 and -150 was determined, Alex tested where 95% of the data fell within the bands using the S&P price history as reference. Users are encouraged to find ranges relevant to the securities/instruments they are analyzing.
Enjoy!
RISK managment TOOL not a netive english speakr - soory for spelling problems.
this tool purpse is to help you dtermine postion sizing
it take a trend meeter of your chose and mesure it with the high and low of lookback number (defult is 100 )
you can chose your trend meeter from 'close','VOL', 'MA short' , 'MA long' , 'MACD', 'VOL MA', 'ATR', 'MFI', 'TSI'
with that you can see if you are "overbought" or "oversold " with the highest and lowest of a lookback period
and size acording to that .
the MA box - MAshort and MA long is the same box for the MACD ma for calcs and for the TSI
for long - if in lower band buy +++ if midelle buy +++ if high buy +
for short - if in highr band short +++ if midelle short ++ if low short ++
hope it will help you
for source - comment email and tip.
כלי ניהול הסיכונים הזה נועד להראות לכם את היחס של המתנד הנבחר ביחס לגבוהה והנמוך בבחירת טווח הזמן הנבחר ( דיפולט הוא 100 ימים אחורה ) ובכך לעזור לכם בהחלטת גודל הפוזציה
הכלי נועד לעזור בוויזאולציה של הטרנד לעומת האיתות שאתם מקבלים ביחס לגבוהה או הנמוך של 100 ימים אחורה
אם אתם מתכננים עסקת לונג העדיפות לקנות כאשר הסמן נמצא ברצועה התחתונה ובמקום זה תוכלו להגדיל את הפוזציה ל +++
כאשר הסמן נמצא ברצועה האמצעית אפשר לקנות ++
וכאשר הסמן נמצא למעלה עדיף לשקול את הפוזציה או לקנות +
ההפך לשורט.
לקבלת הקוד אפשר להשאיר מייל בתגובה + טיפ.
תודה ל @daviddtech tnx to
MACD DerivativesMACD Derivatives v1.1
Shows MACD value and derivative of MACD value in the histogram. The histogram shows 1st or 2nd order derivative as indicated in the settings. The derivative value represents the slope, the direction of change and change rate of the MACD value, aiming to give influence on possible trend turns on MACD value, ideally the possible direction change of MACD/price before the actual turn.
- 1st order derivative represents the increase or decrease of the MACD value, shown as positive or negative histogram value respectively;
- Similarly, 2nd order derivative represents the increase or decrease in the difference of the 1st order derivative value, represented via the histogram.
Both of the derivative functions are according to the value difference of n-th bar. The value n is customizable in the settings.
The indicator is based on the source code of built-in MACD indicator excluding the signal and the usual MACD histogram calculations, i.e. the signal is removed and the histogram shows the 1st or 2nd derivative of the MACD value.
For example: You can not get information about the future price via this indicator but some supportive information and visualization on the trend change such as "The uptrend is slowing down, and this slowing down is getting quicker."
Disclaimer: It is NOT recommended to open or close positions based solely on this indicator. The derivative value answers only one question, i.e. the change in last MACD value. Does not indicate any future value and I mean it.
EsIstTurnt's Relative Value Comparison Multi SymbolCompare the relative valuation of up to 8 tickers. By taking a shorter term moving average and dividing by a longer term moving average(optionally with an offset) we get a value that is either above or below 1. Easy to tell what is undervalued and overvalued with this setup. Useful for comparing different asset classes or sector specific securities looking for outperformers/underperformers. Overvalued and Undervalued levels marked by Red and Green background. Recommended in conjunction with other indicators of your choosing for confirmation of trend changes but this is good for getting a broader view of the market you're interested in. Multiple timeframes, sources available however you should tinker with it to find what gives you the best view for your preferred timeframe.
EMA Slope HistogramThe script shows change in a single EMA over a specified period as a histogram. The period of EMA as well as Change period can be specified. Moreover, it also shows change in direction of EMA. The change can be negative for a downward trend and positive for an upward trend.
Stochastic MACDStochasticMACD (SMACD) is an oscillating momentum indicator. It is based on MACD but run through a stochastic oscillator.
This results in an indicator with all the same properties as MACD but with the benefit that the absolute levels can be compared to history values.
Moving Average Convergence Divergence with Rate of Change
Purpose - MACD is an awesome indicator. However, I felt I could improve the existing MACD indicator by also letting it visualize the rate of change (ROC) of the histogram (whether rate of change is increasing or decreasing - just like a derivative). By doing so, the indicator will better show the rate of change of the trend.
How It's Done - To the original MACD indicator, I have added a bit more conditional statements that automatically calculates the ROC in MACD histogram and visualizes through 8 different colors.
Interpretation - While the histogram is above 0, darker color indicates the stronger up trend, and lighter the color, weaker the up trend and potentially indicates the bears are overtaking, and vice versa for the case where the histogram is below 0.
Fibonacci Zone Oscillator With MACD HistogramThe columns
After I found a way to calculate a price as a percent of the middle line of the KeltCOG Channel in the KCGmut indicator (published), I got the idea to use the same trick in the Fbonacci Zone Channel (also published), thus creating an oscillator.
I plot the percent’s as columns with the color of the KeltCOG Channel. Because the channels I created and published (i.e. Fibonacci Zone, Donchian Fibonacci Trading Tool, Keltner Fibzones, and KeltCOG) all use Fibonacci zones, this indicator also reports the position of the close in their zones.
Strategy and Use:
Blue column: Close in uptrend area, 4 supports, 0 resistance, ready to rally up.
Green column: Close in buyers area, 3 supports, 1 resistance, looking up.
Gray column: Close in center area 2 supports, 2 resistances, undecided.
Yellow column: Close in sellers area 1 support, 3 resistances, looking down.
Red column: Close in downtrend area, 0 support, 4 resistances, ready to rally down.
I use this indicator in a layout with three timeframes which I use for stock picking, I pick all stocks with a blue column in every timeframe, the indicator is so clear that I can flip through the 50 charts of my universe of high liquid European blue chips in 15 minutes to make a list of these stocks.
Because I use it in conjunction with KeltCOG I also gave it a ‘script sets lookback’ option which can be checked with a feedback label and switched off in the inputs.
The MACD histogram
I admire the MACD because it is spot on when predicting tops and bottoms. It is also the most sexy indictor in TA. Actually just the histogram is needed, so I don’t show the macd-line and the signal line. I use the same lookback for the slow-ma as for the columns, set the fast-ma to half and the signal-line to a third of the general lookback. Therefore I gave the lookback a minimum value of 6, so the signal gets at least a lookback of 2.
The histogram is plotted three times, first as a whitish area to provide a background, then the colums of the Fibzone Oscillator are plotted, then the histogram as a purple line, which contrasts nicely and then as a hardly visible brown histogram.
The input settings give the option to show columns and histogram separate or together.
Strategy and use:
I think about the columns as showing a ‘longer term chosen momentum’ and about the histogram as a ‘short term power momentum’. I use it as additional information.
Enjoy, Eykpunter.
KEForce‴ | Kaizen Evolution Force‴What does he do?
This indicator gives buy or sell signals, based on the retracement of the short and medium period moving averages.
What is it composed of?
The middle line is the axis also known as the pullback region. When price is in a strong trend, you'll se a regular bouncing (pullback) up to the 20 level line a downtrend, as well as a regular pullback down to the -20 level line on an uptrend. There is also a 40 overbought and -40 oversold regions in which a reversal is most likely to occur.
Depending on the timeframe you trade, you can change the value of this levels as you wish.
How does it work?
For example: if a price is in an uptrend...
1st: if the price pullsback to the small (9) or medium (21) moving average then
2nd: see if the indicator will pullback close to the 0 level or the -20 levelcheck. If it does
3rd: see if there is no diverncey between the price and indicator. If not
4th: put a buy position at the maximum of the buying candle and wait for the price breakout this signal line
5th: the surf the profit.
Real Woodies CCIAs always, this is not financial advice and use at your own risk. Trading is risky and can cost you significant sums of money if you are not careful. Make sure you always have a proper entry and exit plan that includes defining your risk before you enter a trade.
Ken Wood is a semi-famous trader that grew in popularity in the 1990s and early 2000s due to the establishment of one of the earliest trading forums online. This forum grew into "Woodie's CCI Club" due to Wood's love of his modified Commodity Channel Index (CCI) that he used extensively. From what I can tell, the website is still active and still follows the same core principles it did in the early days, the CCI is used for entries, range bars are used to help trader's cut down on the noise, and the optional addition of Woodie's Pivot Points can be used as further confirmation of support and resistance. This is my take on his famous "Woodie's CCI" that has become standard on many charting packages through the years, including a TradingView sponsored version as one of the many stock indicators provided by TradingView. Woodie has updated his CCI through the years to include several very cool additions outside of the standard CCI. I will have to say, I am a bit biased, but I think this is hands down one of the best indicators I have ever used, and I am far too young to have been part of the original CCI Club. Being a daytrader primarily, this fits right in my timeframe wheel house. Woodie designed this indicator to work on a day-trading time scale and he frequently uses this to trade futures and commodity contracts on the 30 minute, often even down to the one minute timeframe. This makes it unique in that it is probably one of the only daytrading-designed indicators out there that I am aware of that was not a popular indicator, like the MACD or RSI, that was just adopted by daytraders.
The CCI was originally created by Donald Lambert in 1980. Over time, it has become an extremely popular house-hold indicator, like the Stochastics, RSI, or MACD. However, like the RSI and Stochastics, there are extensive debates on how the CCI is actually meant to be used. Some trade it like a reversal indicator, where values greater than 100 or less than -100 are considered overbought or oversold, respectively. Others trade it like a typical zero-line cross indicator, where once the value goes above or below the zero-line, a trade should be considered in that direction. Lastly, some treat it as strictly a momentum indicator, where values greater than 100 or less than -100 are seen as strong momentum moves and when these values are reached, a new strong trend is establishing in the direction of the move. The CCI itself is nothing fancy, it just visualizes the distance of the closing price away from a user-defined SMA value and plots it as a line. However, Woodie's CCI takes this simple concept and adds to it with an indicator with 5 pieces to it designed to help the trader enter into the highest probability setups. Bear with me, it initially looks super complicated, but I promise it is pretty straight-forward and a fun indicator to use.
1) The CCI Histogram. This is your standard CCI value that you would find on the normal CCI. Woodie's CCI uses a value of 14 for most trades and a value of 20 when the timeframe is equal to or greater than 30minutes. I personally use this as a 20-period CCI on all time frames, simply for the fact that the 20 SMA is a very popular moving average and I want to know what the crowd is doing. This is your coloured histogram with 4 colours. A gray colouring is for any bars above or below the zero line for 1-4 bars. A yellow bar is a "trend bar", where the long period CCI has been above/below the zero line for 5 consecutive bars, indicating that a trend in the current direction has been established. Blue bars above and red bars below are simply 6+n number of bars above or below the zero line confirming trend. These are used for the Zero-Line Reject Trade (explained below). The CCI Histogram has a matching long-period CCI line that is painted the same colour as the histogram, it is the same thing but is used just to outline the Histogram a bit better.
2) The CCI Turbo line. This is a sped-up 6 period CCI. This is to be used for the Zero-Line Reject trades, trendline breaks, and to identify shorter term overbought/oversold conditions against the main trend. This is coloured as the white line.
3) The Least Squares Moving Average Baseline (LSMA) Zero Line. You will notice that the Zero Line of the indicator is either green or red. This is based on when price is above or below the 25-period LSMA on the chart. The LSMA is a 25 period linear regression moving average and is one of the best moving averages out there because it is more immune to noise than a typical MA. Statistically, an LSMA is designed to find the line of best fit across the lookback periods and identify whether price is advancing, declining, or flat, without the whipsaw that other MAs can be privy to. The zero line of the indicator will turn green when the close candle is over the LSMA or red when it is below the LSMA. This is meant to be a confirmation tool only and the CCI Histogram and Turbo Histogram can cross this zero line without any corresponding change in the colour of the zero line on that immediate candle.
4) The +100 and -100 lines are used in two ways. First, they can be used by the CCI Histogram and CCI Turbo as a sort of minor price resistance and if the CCI values cannot get through these, it is considered weakness in that trade direction until they do so. You will notice that both of these lines are multi-coloured. They have been plotted with the ChopZone Indicator, another TradingView built-in indicator. The ChopZone is a trend identification tool that uses the slope and the direction of a 34-period EMA to identify when price is trending or range bound. While there are ~10 different colours, the main two a trader needs to pay attention to are the turquoise/cyan blue, which indicates price is in an uptrend, and dark red, which indicates price is in a downtrend based on the slope and direction of the 34 EMA. All other colours indicate "chop". These colours are used solely for the Zero-Line Reject and pattern trades discussed below. They are plotted both above and below so you can easily see the colouring no matter what side of the zero line the CCI is on.
5) The +200 and -200 lines are also used in two ways. First, they are considered overbought/oversold levels where if price exceeds these lines then it has moved an extreme amount away from the average and is likely to experience a pullback shortly. This is more useful for the CCI Histogram than the Turbo CCI, in all honesty. You will also notice that these are coloured either red, green, or yellow. This is the Sidewinder indicator portion. The documentation on this is extremely sparse, only pointing to a "relationship between the LSMA and the 34 EMA" (see here: tlc.thinkorswim.com). Since I am not a member of Woodie's CCI Club and never intend to be I took some liberty here and decided that the most likely relationship here was the slope of both moving averages. Therefore, the Sidewinder will be green when both the LSMA and the 34 EMA are rising, red when both are falling, and yellow when they are not in agreement with one another (i.e. one rising/flat while the other is flat/falling). I am a big fan of Dr. Alexander Elder as those who follow me know, so consider this like Woodie's version of the Elder Impulse System. I will fully admit that this version of the Sidewinder is a guess and may not represent the real Sidewinder indicator, but it is next to impossible to find any information on this, so I apologize, but my version does do something useful anyways. This is also to be used only with the Zero-Line Reject trades. They are plotted both above and below so you can easily see the colouring no matter what side of the zero line the CCI is on.
How to Trade It According to Woodie's CCI Club:
Now that I have all of my components and history out of the way, this is what you all care about. I will only provide a brief overview of the trades in this system, but there are quite a few more detailed descriptions listed in the Woodie's CCI Club pamphlet. I have had little success trading the "patterns" but they do exist and do work on occasion. I just prefer to trade with the flow of the markets rather than getting overly scalpy. If you are interested in these patterns, see the pamphlet here (www.trading-attitude.com), hop into the forums and see for yourself, or check out a couple of the YouTube videos.
1) Zero line cross. As simple as any other momentum oscillator out there. When the long period CCI crosses above or below the zero line open a trade in that direction. Extra confirmation can be had when the CCI Turbo has already broken the +100/-100 line "resistance or support". Trend traders may wish to wait until the yellow "trend confirmation bar" has been printed.
2) Zero Line Reject. This is when the CCI Turbo heads back down to the zero line and then bounces back in the same direction of the prevailing trend. These are fantastic continuation trades if you missed the initial entry either on the zero line cross or on the trend bar establishment. ZLR trades are only viable when you have the ChopZone indicator showing a trend (turquoise/cyan for uptrend, dark red for downtrend), the LSMA line is green for an uptrend or red for a downtrend, and the SideWinder is either green confirming the uptrend or red confirming the downtrend.
3) Hook From Extreme. This is the exact same as the Zero Line Reject trade, however, the CCI Turbo now goes to the +100/-100 line (whichever is opposite the currently established trend) and then hooks back into the established trend direction. Ideally the HFE trade needs to have the Long CCI Histogram above/below the corresponding 100 level and the CCI Turbo both breaks the 100 level on the trend side and when it does break it has increased ~20 points from the previous value (i.e. CCI Histogram = +150 with LSMA, CZ, and SW all matching up and trend bars printed on CCI Histogram, CCI Turbo went to -120 and bounced to +80 on last 2 bars, current bar closes with CCI Turbo closing at +110).
4) Trend Line Break. Either the CCI Turbo or CCI Histogram, whichever you prefer (I find the Turbo a bit more accurate since its a faster value) creates a series of higher highs/lows you can draw a trend line linking them. When the line breaks the trendline that is your signal to take a counter trade position. For example, if the CCI Turbo is making consistently higher lows and then breaks the trendline through the zero line, you can then go short. This is a good continuation trade.
5) The Tony Trade. Consider this like a combination zero line reject, trend line break, and weak zero line cross all in one. The idea is that the SW, CZ, and LSMA values are all established in one direction. The CCI Histogram should be in an established trend and then cross the zero line but never break the 100 level on the new side as long as it has not printed more than 9 bars on the new side. If the CCI Histogram prints 9 or less bars on the new side and then breaks the trendline and crosses back to the original trend side, that is your signal to take a reversal trade. This is best used in the Elder Triple Screen method (discussed in final section) as a failed dip or rip.
6) The GB100 Trade. This is a similar trade as the Tony Trade, however, the CCI Histogram can break the 100 level on the new side but has to have made less than 6 bars on the new side. A trendline break is not necessary here either, it is more of a "pop and drop" or "momentum failure" trade trying in the new direction.
7) The Famir Trade. This is a failed CCI Long Histogram ZLR trade and is quite complicated. I have never traded this but it is in the pamphlet. Essentially you have a typical ZLR reject (i.e. all components saying it is likely a long/short continuation trade), but the ZLR only stays around the 50 level, goes back to the trend side, fails there as well immediately after 1 bar and then rebreaks to the new side. This is important to be considered with the LSMA value matching the side of the trade, so if the Famir says to go long, you need the LSMA indicator to also say to go long.
8) The Vegas Trade. This is essentially a trend-reversal trade that takes into account the LSMA and a cup and handle formation on the CCI Long Histogram after it has reached an extreme value (+200/-200). You will see the CCI Histogram hit the extreme value, head towards the zero line, and then sort of round out back in the direction of the extreme price. The low point where it reversed back in the direction of the extreme can be considered support or resistance on the CCI and once the CCI Long Histogram breaks this level again, with LSMA confirmation, you can take a counter trend trade with a stop under/over the highest/lowest point of the last 2 bars as you want to be out quickly if you are wrong without much damage but can get a huge win if you are right and add later to the position once a new trade has formed.
9) The Ghost Trade. This is nothing more than a(n) (inverse) head and shoulders pattern created on the CCI. Draw a trend line connecting the head and shoulders and trade a reversal trade once the CCI Long Histogram breaks the trend line. Same deal as the Vegas Trade, stop over/under the most recent 2 bar high/low and add later if it is a winner but cut quickly if it is a loser.
Like I said, this is a complicated system and could quite literally take years to master if you wanted to go into the patterns and master them. I prefer to trade it in a much simpler format, using the Elder Triple Screen System. First, since I am a day trader, I look to use the 20 period Woodie's on the hourly and look at the CZ, SW, and LSMA values to make sure they all match the direction of the CCI Long Histogram (a trend establishment is not necessary here). It shows you the hourly trend as your "tide". I then drill down to the 15 minute time frame and use the Turbo CCI break in the opposite direction of the trend as my "wave" and to indicate when there is a dip or rip against the main trend. Lastly, I drill down to a 3 minute time frame and enter when the CCI Long Histogram turns back to match the main trend ("ripple") as long as the CCI Turbo has broken the 100 level in the matched direction.
Enjoy, and please read the pamphlet if you have any questions about the patterns as they are not how I use these and will not be able to answer those questions.
Predictive MACDThis is MACD indicators have display prediction of next 3 bar which if close price not change or price move following directions of momentum this indicators will show how price will move next 3 bar.