Vision Essentials - MACDVision Essentials - MACD is the second indicator in our Essentials pack. It's a fully customizable MACD indicator with some extra perks the Vision team feels provides helpful & simplified insight when studying a chart.
What makes this indicator different?
Under the Standard mode you'll feel right at home compared to a standard macd indicator. Our Advanced mode is where things change a bit more. Under Advanced mode outside of the visual customization we provide visual outputs identifying bullish/bearish crossovers of the macd & signal, and track the high and low points of the macd with a second set of colors which users can customize. We also plot text in these areas so there's a clear indication of what the changing colors mean.
How do I use this indicator?
To start, it's best you have an understanding of what MACD (moving average convergence divergence) is. There are lots of great educational ideas here on TradingView which we recommend absorbing. We highly recommend you start with this article directly from the TradingView Help Center
Settings
MACD Mode - Standard provides you with a closer to traditional style MACD whereas Advanced at a glance highlights areas such as crossover points, highs, lows, and current direction relative to histogram movement.
MACD Settings - Select the source & values used for the macd calculations. close is the most commonly used source, and 12/26/9 are the most common length values. Adjust these to see how the indicator behaves. Lowering the fast and slow values will result in more activity, but be aware that doesn't = more accuracy.
Standard Visual Settings - STANDARD MODE: These settings will adjust the color you want to use as an indication of bullish & bearish movement.
Advanced Visual Settings - ADVANCED MODE: Use these settings to adjust the color you want to use as an indication of bullish, bearish, recent macd highs, recent macd lows, and text color.
High/Low Distance - ADVANCED MODE: This setting defines how far back the indicator looks to find the most recent highs/lows of macd.
Enable Crossover Bars - ADVANCED MODE: This settings enables the vertical bars that connect the center of the histogram to the macd/signal "wave" to indicate where crossovers are happening.
Convergence
Multi timeframes RSI Screener & indicator by noop42Since my previous x4 multi timeframes Stochastic RSI script seems to have been appreciated, I decided to make a 2nd version of this tool which focuses on the RSI indicator only.
Default parameters
RSI length : 14
Timeframes: 5, 15, 60, 240
OB/OS zones : 70 & 30
Repaint mode: enabled
Display lines: enabled
Display screener: enabled
Convergence warnings: timeframes 1, 2 & 3
Details
Repaint mode : Disabling it makes the indicator wait for the current candle to close before to change its value
Display lines: Allows you to disable RSI lines drawings, in order to move the screener on your main chart for example.
Display screener: Allows you to disable the screener, in order to use RSI lines only
OB/OS convergences warnings : Allows you to select which timeframe(s) must be taken into consideration for convergence signals (Selected timeframes can be distinguished in the screener, followed by a * char in the timeframes column)
Note The Stochastic RSI version of this tool is available here
Multiple Oscillator Crossing - TradingEDThis case study is based on different previous studies: ADX Triple , MACD Triple & RSI Triple , with three different counts to compare different oscillations of each indicator. Actually, this indicator is complementary to those previously mentioned . The use of this indicator is restricted to private use, and it can be used only by invitation. Different functionalities have been added to the original codes, such as alerts and signals that seek to make trading much easier to interpret by any type of trading operator of any experience level , from beginner to intermediate and advanced .
Key components of the original ADX indicator:
• The DIRECTIONAL MOVEMENT INDEX (DMI) is a technical indicator that measures both the strength and direction of a price movement and is intended to reduce false signals.
• The DMI uses two standard indicators, one negative ( -DI ) and one positive ( +DI ), in conjunction with a third, the AVERAGE DIRECTIONAL INDEX ( ADX ), which is non-directional but shows momentum.
• The larger the spread between the two primary lines, the stronger the price trend. If +DI is way above -DI the price trend is strongly up. If -DI is way above +DI then the price trend is strongly down.
• ADX measures the strength of the trend, either up or down; a reading above 20 indicates a strong trend.
ADX is plotted as a single line with values ranging from a low of zero to a high of 100. ADX is non-directional; it registers trend strength whether price is trending up or down. The indicator is usually plotted in the same window as the two DMI lines, from which ADX is derived. When +DI is above -DI, there is more upward pressure than downward pressure in the price. Conversely, if -DI is above +DI, then there is more downward pressure on the price. This indicator may help traders assess the trend direction. Crossovers between the lines are also sometimes used as trade signals to buy or sell, theay are the main trade signals. A long trade is taken when the +DI crosses above the -DI and an uptrend could be underway. Meanwhile, a sell signal occurs when the +DI instead crosses below the -DI.
Key components of the original RSI indicator:
● The Relative Strength Index ( RSI ) is a popular momentum oscillator developed in 1978.
● The RSI provides technical traders signals about bullish and bearish price momentum, and it is often plotted beneath the graph of an asset's price.
● An asset is usually considered overbought when the RSI is above 70% and oversold when it is below 30%.
It is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to assess overbought or oversold conditions in the price of an asset. The RSI is displayed as an oscillator (a line chart moving between two extremes) and can read from 0 to 100. Overbought does not necessarily mean that the price will reverse lower, just as oversold does not mean that the price will reverse higher. Rather, the overbought and oversold conditions simply alert traders that the RSI is near the extremes of its recent readings.
Key components of the original MACD indicator:
● The Moving Average Convergence Divergence ( MACD ) is calculated by subtracting a long period (26) Exponential Moving Average ( EMA ) from a short (12) period EMA .
● MACD triggers technical signals when it crosses above (to buy) or below (to sell) its signal line.
● The speed of crossovers is also taken as a signal of a market is overbought or oversold.
● MACD helps traders to understand whether the bullish or bearish movement in the price is strengthening or weakening.
It is a momentum indicator that follows the trend and shows the relationship between two moving averages of the price of a security. It can function as a trigger for buy and sell signals, when you cross above (to buy) or below (to sell) your signal line. It helps to understand if the movement is bullish or bearish , if it is getting stronger or weaker. The further the MACD is above or below its baseline, it indicates that the distance between the two EMAs will be growing, often shown with a histogram that graphically represents the distance between the MACD and its signal line, and It is used to identify when the bullish or bearish momentum.
Main functions of this modified indicator:
1) The SOURCE for the counts can be determined by the trader (close, open, etc).
2) In some cases, you can select the type of MOVING AVERAGE , among many available options ( SMA , EMA , DEMA , HMA , etc.)
3) The MEASURE can be based on a CANDLES count if you are trading OHLC Charts from 1D onwards , or if your trading is intraday, you can also select counts by MINUTES , HOURS or DAYS , depending on your trading style.
4) LENGTH , by default it will be loaded as in the STRATEGY , but considering the previous point, you can modify it according to your convenience.
5) You have the option to hide or show a LABEL at the top of the chart, with respect to the signals: BULLISH green, BEARISH red. *
6) You have the option to hide or show INDICATORS or SIGNALS based on EACH OSCILLATION .
Main performance functions of this modified indicator:
I) In the case of the PERFORMANCE that appears at the right of the chart, you have the option to adjust the WIDTH of each box.
II) The TEXT of the PERFORMANCE is not modifiable, but you can customize the default color. *
III) The BACKGROUND of the PERFORMANCE , you can customize the default color. *
IV) You have the option to hide or show a PERFORMANCE that appears at the right of the chart.
Main functions to customize the style of this indicator:
a) For any type of SIGNAL , it is painted as a VERTICAL LINE in the graph, you can change the color that comes by default. *
b) In the case of the LABELS that appear at the top, the text is not modifiable, but you can customize both the type of label and change the default color. *
c) When you have a SHORT SIGNAL or a LONG SIGNAL , you can change the EMOTICON that comes by default. **
* By default, they are marked as red for downtrends and green for uptrends.
** By default, they are marked with an emoticon indicating the possible direction of the price, down if it is bearish or up if it is bullish .
HTF Candles by DGThigher timeframe (multi timeframe) candles
a simple study introducing new pine function box.new
Composite Index [TipsChain]This is a formula Ms Brown developed to identify divergence failures with in the RSI . This also highlights the horizontal support levels with in the indicator area.
The Composite Index study comprises 2 momentum indicators on the RSI which are smoothed using a moving average. Control of the upper and lower indicators can be used to adjust the periods represented by each through the Object Properties dialog box for the study.
The Composite Index is an oscillator that will warn when the RSI is failing to detect a price trend reversal by forming divergences with the RSI. It can be used in any time frame or market.
Usage:
1. Check hidden and regular divergences on RSI+COMPOSITE_INDEX and PRICE+COMPOSITE_INDEX.
2. After finding divergence wait for COMPOSITE_INDEX to cross under/over it's moving averages to trigger.
[TrustedSignals] Oscillator DivergencesDivergences are powerful tools that assess the price momentum and the likelihood of a price reversal. A positive divergence occurs when the price of an asset makes a new low while an oscillator, starts to climb. Conversely, a negative divergence is when the price makes a new high but the oscillator analyzed makes a lower high.
Once again, with the idea of providing an All-in-One indicator, this script can display the Divergences in up to 9 most used oscillators (RSI, Stochastic RSI, Stochastic, Williams%, MFI, ChangeMO, CCI, BB %B) including our own branded no-lag ‘ TS Oscillator ’
We have also included an optional custom no-lag smoothing function, that allows the user to smooth out the noise on all the oscillators and increase their accuracy, without delaying the actual data. This feature can be turned off if necessary and the smoothing length can be manually adjusted.
After the user selects from the first input the desired oscillator, the indicator can display Regular and Hidden Divergences on the chart.
The lookback period of the divergences is also fully configurable, as the settings for each of our individual oscillators.
Bull vs Bear Power by DGTElder-Ray Bear and Bull Power
Dr. Alexander Elder cleverly named his first indicator Elder-Ray because of its function, which is designed to see through the market like an X-ray machine. Developed in 1989, the Elder-Ray indicator can be applied to the chart of any security and helps traders determine the strength of competing groups of bulls and bears by gazing under the surface of the markets for data that may not immediately be ascertainable from a superficial glance at prices
The Elder-Ray indicator is comprised by three elements – Bear Power, Bull Power and a 13-period Exponential Moving Average.
As the high price of any candle shows the maximum power of buyers and the low price of any candle shows the maximum power of sellers, Elder uses the 13-period EMA in order to present the average consensus of price value. Bull power shows whether buyers are capable of pushing prices above the average consensus of value. Bear power shows whether sellers are capable of pushing prices below the average consensus of value. Mathematically, Bull power is the result of subtracting the 13-period EMA from the high price of the day, and Bear power is the result of subtracting the 13-period EMA from the low price of the day.
What does this study implements
Attempts to customize interpretation of Alexander Elder's Elder-Ray Indicator (Bull and Bear Power) by
• adding additional insights to support/confirm Elder’s strategy with different indicators related with the Elder’s concept
• providing different options of visualization of the indicator
• providing smoothing capability
Other Indicators to support/confirm Elder-Ray Indicator:
Colored Directional Movement Index (CDMI) , a custom interpretation of J. Welles Wilder’s Directional Movement Index (DMI) , where :
DMI is a collection of three separate indicators ( ADX , +DI , -DI ) combined into one and measures the trend’s strength as well as its direction
CDMI is a custom interpretation of DMI which presents ( ADX , +DI , -DI ) with a color scale - representing the trend’s strength, color density - representing momentum/slope of the trend’s strength, and triangle up/down shapes - representing the trend’s direction. CDMI provides all the information in a single line with colored triangle shapes plotted on the top. DMI can provide quality information and even trading signals but it is not an easy indicator to master, whereus CDMI simplifies its usage.
Alexander Elder considers the slope of the EMA, which gives insight into the recent trend whether is up or down, and CDMI adds additional insight of verifying/confirming the trend as well as its strength
Note : educational content of how to read CDMI can be found in ideas section named as “Colored Directional Movement Index”
different usages of CDMI can be observed with studies “Candlestick Patterns in Context by DGT", “Ichimoku Colored SuperTrend + Colored DMI by DGT”, “Colored Directional Movement and Bollinger Band's Cloud by DGT”, and “Technical Analyst by DGT”
Price Convergence/Divergence , if we pay attention to mathematical formulations of bull power, bear power and price convergence/divergence (also can be expressed as price distance to its ma) we would clearly observe that price convergence/divergence is in fact the result of how the market performed based on the fact that we assume 13-period EMA is consensus of price value. Then, we may assume that the price convergence/divergence crosses of bull power, or bear power, or sum of bull and bear power could be considered as potential trading signals
Additionally, price convergence/divergence visualizes the belief that prices high above the moving average or low below it are likely to be remedied in the future by a reverse price movement
Alternatively, Least Squares Moving Average of Price Convergence/Divergence (also known as Linear Regression Curve) can be plotted instead of Price Convergence/Divergence which can be considered as a smoothed version of Price Convergence/Divergence
Note : different usages of Price Convergence/Divergence can be observed with studies “Trading Psychology - Fear & Greed Index by DGT”, “Price Distance to its MA by DGT”, “P-MACD by DGT”, where “Price Distance to its MA by DGT” can also be considered as educational content which includes an article of a research carried on the topic
Options of Visualization
Bull and Bear Power plotted as two separate
• histograms
• lines
• bands
Sum of Bull and Bear Power plotted as single
• histogram
• line
• band
Others
Price Convergence/Divergence displayed as Line
CDMI is displayed as single colored line of triangle shapes, where triangle shapes displays direction of the trend (triangle up represents bull and triangle down represent bear), colors of CDMI displays the strength of the trend (green – strong bullish, red – strong bearish, gray – no trend, yellow – week trend)
In general with this study, color densities also have a meaning and aims to displays if the value of the indicator is falling or growing, darker colors displays more intense move comparing to light one
Note : band's upper and lower levels are calculated by using standard deviation build-in function with multiply factor of 0.236 Fibonacci’s ratio (just a number for our case, no any meaning)
Smoothing
No smoothing is applied by default but the capability is added in case Price Convergence/Divergence Line is assumed to be used as a signal line it will be worth smoothing the bear, bull or sum of bear and bull power indicators
Interpreting Elder-Ray Indicator, according to Dr. Alexander Elder
Bull Power should remain positive in normal circumstances, while Bear Power should remain negative in normal circumstances. In case the Bull Power indicator enters into negative territory, this implies that sellers have overcome buyers and control the market. In case the Bear Power indicator enters into positive territory, this indicates that buyers have overcome sellers and control the market. A trader should not go long at times when the Bear Power indicator is positive and he/she should not go short at times when the Bull Power indicator is negative.
13-period EMAs slope can be used in order to identify the direction of the major trend. According to Elder, the most reliable buy signals are generated, when there is a bullish divergence between the Bear Power indicator and the price (Bear Power forms higher lows, while the market forms lower lows). The most reliable sell signals are generated, when there is a bearish divergence between the Bull Power indicator and the price (Bull Power forms lower highs, while the market forms higher highs).
There are four basic conditions, required to go long or short, with the use of the Elder-Ray method alone.
In order to go long:
1. The market is in a bull trend, as indicated by the 13-period EMA
2. Bear Power is in negative territory, but increasing
3. The most recent Bull Power top is higher than its prior top
4. Bear Power is going up from a bullish divergence
The last two conditions are optional that fine-tune the buying decision
In order to go short:
1. The market is in a bear trend, as indicated by the 13-period EMA
2. Bull Power is in positive territory, but falling
3. The most recent Bear Power bottom is lower than its prior bottom
4. Bull Power is falling from a bearish divergence
The last two conditions are optional, they provide a stronger signal for shorting but they are not absolutely essential
If a trader is willing to add to his/her position, he/she needs to:
1. add to his/her long position, when the Bear Power falls below zero and then climbs back into positive territory
2. add to his/her short position, when the Bull Power increases above zero and then drops back into negative territory.
note : terminology of the definitions used herein are as per TV dictionary
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Trading Psychology - Fear & Greed Index by DGTPsychology of a Market Cycle - Where are we in the cycle?
Before proceeding with the question "where", let's first have a quick look at "What is market psychology?"
Market psychology is the idea that the movements of a market reflect the emotional state of its participants. It is one of the main topics of behavioral economics - an interdisciplinary field that investigates the various factors that precede economic decisions. Many believe that emotions are the main driving force behind the shifts of financial markets and that the overall fluctuating investor sentiment is what creates the so-called psychological market cycles - which is also dynamic.
Stages of Investor Emotions:
* Optimism – A positive outlook encourages us about the future, leading us to buy stocks.
* Excitement – Having seen some of our initial ideas work, we begin considering what our market success could allow us to accomplish.
* Thrill – At this point we investors cannot believe our success and begin to comment on how smart we are.
* Euphoria – This marks the point of maximum financial risk. Having seen every decision result in quick, easy profits, we begin to ignore risk and expect every trade to become profitable.
* Anxiety – For the first time the market moves against us. Having never stared at unrealized losses, we tell ourselves we are long-term investors and that all our ideas will eventually work.
* Denial – When markets have not rebounded, yet we do not know how to respond, we begin denying either that we made poor choices or that things will not improve shortly.
* Fear – The market realities become confusing. We believe the stocks we own will never move in our favor.
* Desperation – Not knowing how to act, we grasp at any idea that will allow us to get back to breakeven.
* Panic – Having exhausted all ideas, we are at a loss for what to do next.
* Capitulation – Deciding our portfolio will never increase again, we sell all our stocks to avoid any future losses.
* Despondency – After exiting the markets we do not want to buy stocks ever again. This often marks the moment of greatest financial opportunity.
* Depression – Not knowing how we could be so foolish, we are left trying to understand our actions.
* Hope – Eventually we return to the realization that markets move in cycles, and we begin looking for our next opportunity.
* Relief – Having bought a stock that turned profitable, we renew our faith that there is a future in investing.
It's hard to predict with certainty where we exactly are in the market cycle, we can only make an educated guess as to the rough stage based on data available. And here comes the study "Trading Psychology - Fear & Greed Index"
Factors taken into account in this study include:
1-Price Momentum : Price Divergence/Convergence versus its Slow Moving Average
2-Strenght : Rate of Return (RoR) also called Return on Investment (ROI) is a performance measure used to evaluate the efficiency of an investment, net gain or loss of an investment over a specified time period, the rate of change in price movement over a period of time to help investors determine the strength
3-Money Flow : Chaikin Money Flow (CMF) is a technical analysis indicator used to measure Money Flow Volume over a set period of time. CMF can be used as a way to further quantify changes in buying and selling pressure and can help to anticipate future changes and therefore trading opportunities. CMF calculations is based on Accumulation/Distribution
4-Market Volatility : CBOE Volatility Index (VIX), the Volatility Index, or VIX, is a real-time market index that represents the market's expectation of 30-day forward-looking volatility. Derived from the price inputs of the S&P 500 index options, it provides a measure of market risk and investors' sentiments. It is also known by other names like "Fear Gauge" or "Fear Index." Investors, research analysts and portfolio managers look to VIX values as a way to measure market risk, fear and stress before they take investment decisions
5-Safe Haven Demand : in this study GOLD demand is assumed
What to look for :
*Fear and Greed Index as explained above,
*Divergencies
Tool tip of the label displayed provides details of references
Conclusion:
As investors, we always get caught up in the day to day price movements, and lose sight of the bigger picture. The biggest crashes happen not when investors are cautious and fearful, it's when they're euphoric and expecting financial instruments to continue going higher. So as we continue investing, don’t forget to stop and ask yourself, where in the chart do you think we are right now? The Market Psychology Cycle shines light on how emotions evolve, fear and greed index can come in handy, provided that it is not the only tool used to make investment decisions. It is easy to look back at market cycles and recognize how the overall psychology changed. Analyzing previous data makes it obvious what actions and decisions would have been the most profitable. However, it is much harder to understand how the market is changing as it goes - and even harder to predict what comes next. Many investors use technical analysis (TA) to attempt to anticipate where the market is likely to go. Investors are advised to keep tabs on fear for potential buying the dips opportunities and view periods of greed as a potential indicator that financial instruments might be overvalued.
Warren Buffett's quote, buy when others are fearful, and sell when others are greedy
Trading success is all about following your trading strategy and the indicators should fit within your trading strategy, and not to be traded upon solely
Disclaimer : The script is for informational and educational purposes only. Use of the script does not constitute professional and/or financial advice. You alone have the sole responsibility of evaluating the script output and risks associated with the use of the script. In exchange for using the script, you agree not to hold dgtrd TradingView user liable for any possible claim for damages arising from any decision you make based on use of the script
Price Distance to its MA by DGTPrices high above the moving average (MA) or low below it are likely to be remedied in the future by a reverse price movement as stated in an Article by Denis Alajbeg, Zoran Bubas and Dina Vasic published in International Journal of Economics, Commerce and Management
Here comes a study to indicate the idea of this article, Price Distance to its Moving Averages (P/MA Ratio)
The analysis expressed in the paper indicates that there is a connection between the distance of the prices to moving averages and subsequent returns : portfolios of stocks with lower prices to moving averages generally outperformed portfolios of stocks with higher prices to moving averages. This “overextended” effect is more pronounced when using shorter moving averages of 20 and 50 days, and is especially strong in short-term holding periods like one and two weeks. The highest annual returns are recorded when buying in the range of 0-5% below shorter moving averages of 20/50 days, and 0-10% below longer moving averages of 100/200 days. However, buying very far below almost all moving averages on almost all holding periods produces the lowest returns.
The concept of this study recognizes three different modes of action.
In a clearly established upward trend traders should be buying when prices are near or below the MA line and selling when prices move too far above the MA.
Conversely, in downward trend stocks should be shorted when reaching or going above the moving average and covered when they drop too far below the MA line.
In a sideways movement traders are advised to buy if the price is too low below the moving average and sell when it goes too far above it
Short-term traders can expect to outperform in a one or two week time window if buying stocks with lower prices compared to their 20 and 50 SMA/EMA, one to two-week holding periods is quite high, ranging from 72,09% to 90,61% for the SMA(20, 50) and 85,03% to 87,5% for the EMA(20, 50). The best results for the SMA 20 and 50, on average, are concentrated in the region of 0-5% below the MA for the majority of holding periods. Buying very far below almost all MA in almost all holding periods turns out to be the worst possible option
Candle patterns, momentum could be used in conjunction with this indicator for better results. Try Colored DMI and Ichimoku colored SuperTrend by DGT
Moving Averages Convergence (Agulhada do Didi)The script is based on a strategy developed by Odir “Didi” Aguiar called “Agulhada do Didi”.
It consists in the use of 3 moving averages:
SMA 3
SMA 8
SMA 21
Strategy:
When the averages come together, preferably they pass through a candle, there is a signal. The crossing of the short average (3) with the long average (21) provides us with a confirma-tion of the entry.
Buy:
The average of 3 periods comes out on top, 8 goes in the middle and 21 goes down.
Sell:
Average of 21 periods comes out on top, 8 in the middle and 3 down.
Convergence/divergence indicatorConvergence/divergence indicator (CDI)
Class : arbitrage oscillator
Trading type : intraday trading
Time frame : 1 hour
Purpose : trading on divergence
Level of aggressiveness : standard
Arbitrage - several logically related transactions aimed at profit from the difference in prices for the same or related assets at the same time in different markets.
Pair trading is a trading strategy based on trading a pair of financial instruments that have some fundamental or statistical relationship, expressed in the fact that the price ratio of these instruments tends to return to a certain average value in the long term.
“Convergence/divergence indicator (CDI)” using correlation analysis from different time frames provides information about statistical relationship between pair of assets.
Correaltion - a statistical relationship between two variables, showing that a larger value (in the case of positive, direct correlation) or a smaller (in the case of negative, inverse correlation) corresponds to a larger value of one value in a certain part of the cases.
The correlation coefficient is a statistical measure of the strength of the relationship between the relative movements of two variables.
The values range between -1.0 and 1.0.
A correlation of -1.0 shows a perfect negative correlation, while a correlation of 1.0 shows a perfect positive correlation.
A correlation of 0.0 shows no linear relationship between the movement of the two variables.
“Convergence/divergence indicator (CDI)” a) allows to find assets where pair arbitrage is possible and determines the moments in time and prices when the conditions for pair arbitrage are ideal.
“Convergence/divergence indicator (CDI)” evaluates the statistical relationship between pair of assets in a particular period of time and, if it is available, seeks for the divergence in price fluctuations of these “identical” assets.
“Convergence/divergence indicator (CDI)” displays the current value and dynamics of the Pearson correlation coefficient for a pair of selected assets based on daily (thick blue line) and hourly (thin red line) data.
Basic parameters:
- asset 1 (name of the trading instrument 1);
- asset 2 (name of the trading instrument 2);
- period_d (number of periods used to calculate daily correlation).
- period_h (number of periods used to calculate hourly correlation).
To gain the access to this indicator, please, send a private message to Trade24Fx.
Double MA CCI"What is the Commodity Channel Index (CCI)?
Developed by Donald Lambert, the Commodity Channel Index (CCI) is a momentum-based oscillator used to help determine when an investment vehicle is reaching a condition of being overbought or oversold. It is also used to assess price trend direction and strength. This information allows traders to determine if they want to enter or exit a trade, refrain from taking a trade, or add to an existing position. In this way, the indicator can be used to provide trade signals when it acts in a certain way.
KEY TAKEAWAYS
• The CCI measures the difference between the current price and the historical average price.
• When the CCI is above zero it indicates the price is above the historic average. When CCI is below zero, the price is below the hsitoric average.
• High readings of 100 or above, for example, indicate the price is well above the historic average and the trend has been strong to the upside.
• Low readings below -100, for example, indicate the price is well below the historic average and the trend has been strong to the downside.
• Going from negative or near-zero readings to +100 can be used as a signal to watch for an emerging uptrend.
• Going from positive or near-zero readings to -100 may indicate an emerging downtrend.
• CCI is an unbounded indicator meaning it can go higher or lower indefinitely. For this reason, overbought and oversold levels are typically determined for each individual asset by looking at historical extreme CCI levels where the price reversed from." ----> 1
SOURCE
1: (SINCE IM NOT A "PRO" MEMBER I C'ANT POST THE SOUCRE URL..., webpage consulted at : 8:50 GMT -5 ; the 2020-01-18)
I- Added a 2nd MA length and changed the default values of the source type and switched the SMA to a MA.
II- In process to add analytic MACD histogram correlation and if possible, ploting a relative histogram between the CCI upper and lower band.
P.S.:
Don't set your moving averages lengths to far from each other... This could result in fewer convergence and divergence, also in fewer crossing MA's.
Have a good year 2020 !!
//----CODER----//
R.V.
unRekt - KISS MacdieMacdie is the MACD 'Moving Average Convergence Divergence' indicator and is part of the 'keeping it simple' series that have a similar color scheme. MACD is based on the difference between two moving averages calculated for different periods, typically 12 and 26. The MACD can show trend and strength of an asset while also showing Divergences.
BEST Supertrend MAHello traders,
That one is an experiment
I was curious to see what a supertrend based on moving average cross could give
How does it work?
Bull event: fast moving average crossing over the slow moving average
Bear event: fast moving average crossing under the slow moving average
When the event is triggered, the script will plot the Supertrend as follow
UP Trend = ohlc4+ ATR * Factor
DOWN Trend = ohlc4- ATR * Factor
Interesting to see the results given by ohlc4 vs hl2 and hl3
Documentation: www.tradingview.com
This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.
Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
BEST Supertrend StrategyHello traders
Sharing a sample Supertrend strategy to illustrate how to calculate a convergence and using it in a strategy
I based the setup as follow:
- Entries on Supertrend MTF breakout + moving average cross. Entering whenever there is a convergence
- exit whenever a Simple Moving Averages cross in the opposite direction happen
- possibility to filter only Longs/Shorts or both
All the best
Dave
Blockchain Fundamentals - MCCD - Miner Capitulation Conv/Div🔗Blockchain Fundamentals - MCCD - Miner Capitulation & Convergence Divergence
(a.k.a. Hash Ribbons)
Intro
Miner Capitulation has been talked about alot recently in the news and on twitter. I wanted to join the in fun and add my own spin on things.
Description
This shows the 30 (yellow) and 60 (orange) day moving average of the hash rate of bitcoin. I added an option to show the convergence/divergence of the two moving averages in a visual manner similar to the MACD.
I also added the ability to select both the length and type of MA used in the calculation of the capitulation so you can experiment.
Other additions include bar coloration by trade state, and background highlighting of capitulation periods.
Editable Capitulation/Recovery plots will show clearly when the crosses happen.
The way to replicate my display is to add the indicator twice below the chart and combine in the same pane. First indicator displays the averages by default. The second one you enable convergence/divergence display option and uncheck the rest.
Last I add the indicator one more time and dragged it on chart. Do not combine the scales into one, of else it will ruin the scale (you want them separate scales). Its just showing you possibilities, use whatever works for you!
👍 We hope you enjoyed this indicator and find it useful! We post free crypto analysis, strategies and indicators regularly. This is our 73rd script on Tradingview!
💬Check my Signature for other information
BEST MA Cross/MACD ScreenerHello traders
Continuing deeper and stronger with the screeners' educational serie one more time
I - Concept
This is the first flexible screener I'm releasing. Screener detecting a convergence whenever the MACD and MM cross are giving a signal in the same direction.
Those who know me from TradingView ... are aware that I'm big on convergences. I totally think that 1 indicator isn't enough - whatever the timeframe.
But building my own convergence detection systems has been fruitful for me
II - How did I set the screener
The visual signals are as follow:
- square: MACD + MA cross convergence.
- diamond: Only MACD is selected
- circle: Only MA cross is selected
Then the colors are:
- green when bullish
- red when bearish
Example
Below, I highlighted why we see diamonds on the top screener panel. This is because I only selected the MACD filter
Cool Hacks
Don't forget that you can add the same indicator multiple times on your chart :)
Wishing you all the BEST trading
Dave
Ori Visual MACDMACD is about a relationship between two Moving Averages. Visual Macd draws these two moving averages and shows MACD with color on them. It is helpful for understanding MACD.
MAC-Z VWAP with divs & MACD Leader [ChuckBanger]This script is VWAP version of my MAC-Z indicator:
Right now it is my personal favorite. You can use it to spot divergences in both histogram and on the MAZ-Z line. You can also trade the MAC-Z line and its signal line crossovers. It also has MACD Leader crossover built in. MACD leader crossovers is indicated with a vertical line. Green for bullish and red for bearish.
Other signals
Green + = Bullish Divergence (Strong signal)
Red - = Bearish Divergence (Strong signal)
Green + = Hidden Bullish Divergence (Weak signal)
Red - = Hidden Bearish Divergence (Weak signal)
Green dot = Histgram crosses over zero line (Bullish signal)
Red dot = Histgram crosses below zero line (Bearish signal)
RSI w/ MAs & Divergences (Alert)This script fires off real-time RSI Divergence alerts.
To best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
Key Notes:
1. Set "Once Per Bar" instead of "Once Per Bar Close" alert.
The strategy already uses prior bar close (instead of current bar close) for calculation. This ensures that the signals will stay as they are after fired off, even when the current bar price is still changing.
2. It's OKAY to see the "alert may trigger differently than expected" warning.
Reason why you are seeing this warning is because we used a function called valuewhen() in our strategy. This function does not look at the entire history of data and has several limitations. For instance, on a 30min resolution, at the end of 2018, the function will be able to find past occurrences of BTC exceeding 16k. However, the function won't be able to find such occurrences at the end of 2019. Since our strategy is only concerned with very recent events, these limitations will not impact our results or cause repainting. You can find out more about this in the TradingView Wiki .
RSI w/ MAs & DivergencesTo best use the RSI Divergence indicators, adjust the following settings accordingly.
• RSI Bullish Divergence Under: 20 – 45 (lower for larger volatility and more bearish markets)
• RSI Bearish Divergence Above: 55 – 80 (higher for larger volatility and more bullish markets)
THIS SCRIPT DOES NOT REPAINT AND IS COMPLETELY FREE.
MACD w/ Divergences (Alert)To best use the MACD Divergence indicators, adjust the following settings accordingly.
• MACD Bullish Divergence Under: <0 (lower for larger volatility and more bearish markets)
• MACD Bearish Divergence Above: >0 (higher for larger volatility and more bullish markets)
Key Notes:
1. Set "Once Per Bar" instead of "Once Per Bar Close" alert.
The strategy already uses prior bar close (instead of current bar close) for calculation. This ensures that the signals will stay as they are after fired off, even when the current bar price is still changing.
2. It's OKAY to see the "alert may trigger differently than expected" warning.
Reason why you are seeing this warning is because we used a function called valuewhen() in our strategy. This function does not look at the entire history of data and has several limitations. For instance, on a 30min resolution, at the end of 2018, the function will be able to find past occurrences of BTC exceeding 16k. However, the function won't be able to find such occurrences at the end of 2019. Since our strategy is only concerned with very recent events, these limitations will not impact our results or cause repainting. You can find out more about this in the TradingView Wiki .