Enhanced McClellan Summation Index
The Enhanced McClellan Summation Index (MSI) is a comprehensive tool that transforms the MSI indicator with Heikin-Ashi visualization, offering improved trend analysis and momentum insights. This indicator includes MACD and it's histogram calculations to refine trend signals, minimize false positives and offer additional momentum analysis.
Methodology:
McClellan Summation Index (MSI) -
The MSI begins by calculating the ratio between advancing and declining issues in the specified index.
float decl = 𝘐𝘯𝘥𝘪𝘤𝘦 𝘥𝘦𝘤𝘭𝘪𝘯𝘪𝘯𝘨 𝘪𝘴𝘴𝘶𝘦𝘴
float adv = 𝘐𝘯𝘥𝘪𝘤𝘦 𝘢𝘥𝘷𝘢𝘯𝘤𝘪𝘯𝘨 𝘪𝘴𝘴𝘶𝘦𝘴
float ratio = (adv - decl) / (adv + decl)
It then computes a cumulative sum of the MACD (the difference between a 19-period EMA and a 39-period EMA) of this ratio. The result is a smoothed indicator reflecting market breadth and momentum.
macd(float r) =>
ta.ema(r, 19) - ta.ema(r, 39)
float msi = ta.cum(macd(ratio))
Heikin-Ashi Transformation -
Heikin-Ashi is a technique that uses a modified candlestick formula to create a smoother representation of price action. It averages the open, close, high, and low prices of the current and previous periods. This transformation reduces noise and provides a clearer view of trends.
type bar
float o = open
float h = high
float l = low
float c = close
bar b = bar.new()
float ha_close = math.avg(b.o, b.h, b.l, b.c)
MACD and Histogram -
The Enhanced MSI incorporates MACD and histogram calculations to provide additional momentum analysis and refine trend signals. The MACD represents the difference between the 12-period EMA and the 26-period EMA of the MSI. The histogram is the visual representation of the difference between the MACD and its signal line.
Options:
Index Selection - Choose from TVC:NYA , NASDAQ:NDX , or TVC:XAX to tailor the MSI-HA to the desired market index.
MACD Settings - Adjust the parameters for the MACD calculation to fine-tune the indicator's responsiveness.
Ratio Multiplier - Apply scaling to the MSI to suit different market conditions and indices.
Benefits of Heikin-Ashi -
Smoothed Trends - Heikin-Ashi reduces market noise, providing a more apparent and smoothed representation of trends.
Clearer Patterns - Candlestick patterns are more distinct, aiding in the identification of trend reversals and continuations.
Utility and Use Cases:
Trend & Momentum Analysis - Utilize the tool's Heikin-Ashi visualization for clearer trend identification in confluence with it's MACD and histogram to gain additional insights into the strength and direction of trends, while filtering out potential false positives.
Breadth Analysis - Explore market breadth through the MSI's cumulative breadth indicator, gauging the overall health and strength of the underlying market.
- Alerts Setup Guide -
The Enhanced MSI is a robust indicator that combines the breadth analysis of the McClellan Summation Index with the clarity of Heikin-Ashi visualization and additional momentum insights from MACD and histogram calculations. Its customization options make it adaptable to various indices and market conditions, offering traders a comprehensive tool for trend and momentum analysis.
Histogram
SuperTrend Polyfactor Oscillator [LuxAlgo]The SuperTrend Polyfactor Oscillator is an oscillator based on the popular SuperTrend indicator that aims to highlight information returned by a collection of SuperTrends with varying factors inputs.
A general consensus is calculated from all this information, returning an indication of the current market sentiment.
🔶 USAGE
Multiple elements are highlighted by the proposed oscillator. A mesh of bars is constructed from the difference between the price and a total of 20 SuperTrends with varying factors. Brighter colors of the mesh indicate a higher amount of aligned SuperTrends indications.
The factor input of the SuperTrends is determined by the user from the Starting Factor setting which determines the factor of the shorter-term SuperTrend, and the Increment settings which control the step between each factor inputs.
Using higher values for these settings will return information for longer-term term price variations.
🔹 Consensus
From the collection of SuperTrends, a consensus is obtained. It is calculated as the median of all the differences between the price and the collection of SuperTrends.
This consensus is highlighted in the script by a blue and orange line, with a blue color indicating an overall bullish market, and orange indicating a bearish market.
Both elements can be used together to highlight retracements within a trend. If we see various red bars while the general consensus is bullish, we can interpret it as the presence of a retracement.
🔹 StDev Area
The indicator includes an area constructed from the standard deviation of all the differences between the price and the collection of SuperTrends.
This area can be useful to see if the market is overall trending or ranging, with a consensus over the area indicative of a trending market.
🔹 Normalization
Users can decide to normalize the results and constrain them within a specific range, this can allow obtaining a lower degree of variations of the indicator outputs. Two methods are proposed "Absolute Sum", and "Max-Min".
The "Absolute Sum" method will divide any output returned by the indicator by the absolute sum of all the differences between the price and SuperTrends. This will constrain all the indicator elements in a (1, -1) scale.
The "Max-Min" method will apply min-max normalization to the indicator outputs (with the exception of the stdev area). This will constrain all the indicator elements in a (0, 1) scale.
🔶 SETTINGS
Length: ATR Length of all calculated SuperTrends.
Starting Factor: Factor input of the shorter-term SuperTrend.
Increment: Step value between all SuperTrends factors.
Normalize: Normalization method used to rescale the indicator output.
Histogram-based price zonesThis indicator provides a new approach to creating price zones that can be used as support and resistance. The approach does not use pivot points or Fibonacci levels. Instead, it uses the frequency of occurence of local maxima and minima to determine zones of interest where price often changed direction.
The algorithm is as follows:
- Gather price data from the last Lookback trading periods
- Calculate rolling minima and rolling maxima along the price points with window size Window size
- Build a histogram from the rolling extrema which are binned into different zones. The number of bins and therefore the width of a zone can be adjusted with the parameter Zone width factor
- Select only the top fullest bins. The number of bins selected for plotting can be controlled with Zone multiplier
The result are a number of boxes that appear on the chart which mark levels of interest to watch for. You can combine multiple instances of this indicator on different settings to find zones that are very relevant.
Shown as an example is the Nasdaq 100 futures ( NQ1! ) on the D timeframe with levels built from the last 100 periods with default settings. The boxes are the only output of the indicator, no signals are created.
Weighted Bulls-Bears Variety Smoothed [Loxx]Weighted Bulls-Bears Variety Smoothed highlights potential buy and sell moments in the market. Users can customize the data source and select their preferred type of moving average for calculations. The resulting visualization is a column-style plot that changes color based on bullish or bearish market conditions. Additionally, the script can color chart bars and provide visual markers to indicate buying ("Long") or selling ("Short") opportunities. Alerts can also be set for these trading signals.
█ Inputs:
Users can choose the source for calculations (e.g., closing price).
They can set periods for calculations and smoothing.
They can select the type of moving average they prefer for smoothing: EMA, FEMA, LWMA, SMA, or SMMA.
█ Weighted Bulls-Bears Calculation:
It determines the highest and lowest prices over a user-defined period.
Then, it calculates the 'bull' and 'bear' values based on these highest and lowest prices. These values are weighted based on their distance from the current price.
█ Extras
Alerts
Signals
[volfgang] WAVEA compass to the financial charts.
The Volfgang WAVE Indicator helps you to decode complex market trends and make informed decisions in your trading.
Quick Summary
The WAVE has a signal line which alternates between Red or Blue.
Red is bearish and Blue is bullish.
It turns Blue when the WAVE line crosses above the signal and holds for 1 bar.
it turns Red when the WAVE line crosses below the signal and holds for 1 bar.
(You can change the signal line’s length in the settings, the default is 3 which is suited towards Day Trading – For Swing Traders I recommend 4 or 5 – For Investors 6 to 9).
The WAVE line will change colour to alert you when price is potentially pivoting.
When the WAVE is WHITE, the trend is currently Bearish but could flip bullish soon.
When the WAVE is GREEN, the trend is Bullish and there is strong Bullish momentum.
When the WAVE is ORANGE, it means trend is bullish but there is danger of a Bearish Reversal.
When the WAVE is PINK it means there is strong Bearish Momentum.
WAVETrend Scanner
The WAVETrend Scanner can be enabled in the settings and gives you a quick overview of the current trend across 8 potential timeframes:
You can use this to make sure the trades you are taking on lower timeframes align with the current bias on higher term timeframes, thus ensuring a higher chance of success.
WAVE Colours
The background colour of the WAVE also changes according to the current trend across multiple timeframes. The scanner is constantly measuring the current trend across 7 timeframes;
When 4 timeframes line up Bullish, the WAVE is LIGHT BLUE (Cyan)
When 5 timeframes line up Bullish, the WAVE is DARK BLUE (Navy)
When 6+ timeframes line up Bullish, the WAVE is GREEN
When 4 timeframes line up Bearish, the WAVE is ORANGE
When 5 timeframes line up Bearish, the WAVE is RED
When 6+ timeframes line up Bearish, the WAVE is PINK
Divergence Checker & Buy/Sell Signals
The BUY and SELL Signals are represented by a BLUE or RED Histogram line that extends from the WAVE to the 0 Line.
A BUY signal shows when a Crossover occurs & there is a Bullish Diversion Present within the last 50 bars.
A SELL signal appears when a Crossunder occurs & there is Bearish Diversion present within the last 50 bars.
You can change the length of the Divergence Checker in the settings, default is 50 bars.
Under The Hood
The WAVE pulls information from multiple sources within a set period such as;
Close Price
Highest Price
Lowest Price
EMA
The script applies a set of complicated algebraic equations. Which essentially measures the and of recent price action.
Then it uses EMA's to measure from the and , whilst applying more weight to recent price action.
The functions then calculate more averages which measure the difference from and .
Next, it uses all of these calculated averages to create a value that represents the current WAVE condition. This calculation will determine whether the WAVE is in a bullish or bearish trend.
This sum is then smoothed out to get one more value, which is used to display the info box content that allows us to see exactly at what price the WAVE will keep rising or keep falling.
One final calculation also predicts the point at which the WAVE will flip trend. It uses similar calculations to the "Keep Rising/Falling" prediction function, but its aim is to predict the exact price at which the WAVE will cross.
What gives the WAVE indicator an edge over most Stochastic Indicators, is how it uses Pinescript's "request.security" function to pull information from multiple timeframes in order to generate plots, info data and colours to add much more relevant information to the chart which you can use to make informed trading decisions. This is what allows the WAVETrend Scanner to work.
The WAVE indicator is designed to work with all markets and asset types.
MACD-AS MTF [JoseMetal]============
ENGLISH
============
- Description:
This script is a modification of the Moving Average Convergence Divergence (MACD) of Thomas Aspray, and called as MACD-AS and you may get earlier signals than MACD.
On this (my version) you have several extra elements and customization.
Foremost (of course) you have the MACD-AS, which is the HISTOGRAM, also, it has a SIGNAL line (which smooths the MACD-AS), and finally, a higher timeframe oscillator based on one of the previous values (custom).
- Visuals, features, customization:
You can show/hide any of the components with a checkbox (MACD-AS, Signal and HTF Oscillator).
The timeframe for the higher timeframe oscillator is customizable, but by default is automatic and multiplies the chart timeframe by 3: 5m > 15m, 15m > 45m etc.
So we have the MACD-AS as a histogram, with 2 optional color schemes and custom transparency, it works similar to the original MACD, oscillating around the 0 level. Green colors (bull) if above 0, red (bear) below 0.
Smoothed MACD-AS makes the Signal line, going up (bull) shows green color, down (bear) red, changes from one to another also prints a colored dot. There's another feature which darkens the color when the momentum is losing strength, a strength filter input is available for that purpose but the default 0.5 works well.
The higher timeframe oscillator (it's called "oscillator" because you can pick if you want to show the MACD-AS or Signal line of the higher timeframe), is always shown as a line, colors work similar to the Signal line, but BLUE for bull and PINK for bear.
Finally, the background color just changes from green (bull) to red (bear) and vice versa if the Signal line is above or below the 0 line to show bull/bear trend too, this is slower than other indicator signals as well.
- Usage and recommendations:
You can use this script as default MACD, the difference is that you'll use the DOTs of the Signal line (when changing green to red and vice versa) as crossovers on the classic MACD.
You can also use the higher timeframe oscillator as a trend filter to not to trade against it, ex: if the HTF is bull, don't try to SHORT.
My favorite usage is to find DIVERGENCES with the MACD-AS (histogram) with the HTF MACD-AS histogram as well, having 2 confirmations, ex: 5m divergence + 15m divergence.
As always, suggestions are welcome.
Enjoy!
============
ESPAÑOL
============
- Descripción:
Este script es una modificación del Moving Average Convergence Divergence (MACD) de Thomas Aspray, y llamado como MACD-AS, se pueden obtener señales más tempranas que con el MACD.
En ésta (mi versión) tiene varios elementos adicionales y personalización.
En primer lugar (por supuesto) tienes el MACD-AS, que es el HISTOGRAMA, también, tiene una línea de SEÑAL (que suaviza el MACD-AS), y por último, un oscilador de marco de tiempo superior basado en uno de los valores anteriores (personalizado).
- Visuales, características, personalización:
Puedes mostrar/ocultar cualquiera de los componentes con un checkbox (MACD-AS, Señal y Oscilador HTF).
La temporalidad para el oscilador HTF es personalizable, pero por defecto es automático y multiplica la temporalidad del gráfico por 3: 5m > 15m, 15m > 45m etc.
El MACD-AS (histograma), con 2 esquemas de color opcionales y transparencia personalizada, funciona de forma similar al MACD original, oscilando alrededor del nivel 0. Colores verdes (alcista) si está por encima de 0, rojo (bajista) por debajo de 0.
El suavizado del MACD-AS hace la línea de señal, subiendo (alcista) muestra color verde, bajando (bajista) rojo, cambios de uno a otro también imprime un punto de color. Hay otra característica que oscurece el color cuando el impulso está perdiendo fuerza, una entrada de filtro de fuerza está disponible para ese propósito, pero el valor predeterminado 0,5 funciona bien.
El oscilador de temporalidad superior (se llama "oscilador" porque puedes elegir si quieres mostrar el MACD-AS o la línea de señal), siempre se muestra como una línea, los colores funcionan de forma similar a la línea de señal, pero AZUL para alcista y ROSA para bajista.
Por último, el color de fondo sólo cambia de verde (alcista) a rojo (bajista) y viceversa si la línea de señal está por encima o por debajo de la línea 0 para mostrar la tendencia alcista / bajista también, eso si, resulta más lento que otros avisos del indicador.
- Uso y recomendaciones:
Puedes usar este script como el MACD clásico, la diferencia es que usarán los PUNTOS de la línea de Señal (cuando cambie de verde a rojo y viceversa) como cruces en el MACD clásico.
También puedes usar el oscilador de mayor temporalidad como filtro de tendencia para no operar en contra de ella, ej: si el HTF es alcista, no intentes SHORTs.
Mi uso favorito es encontrar DIVERGENCIAS con el MACD-AS (histograma) y el HTF MACD-AS, teniendo 2 confirmaciones, ej: 5m divergencia + 15m divergencia.
Como siempre, las sugerencias son bienvenidas.
¡Que lo disfrutéis!
Average Trend with Deviation Bands v2TL;DR: An average based trend incl. micro trend spotting and multiple display options.
This script is basically an update of my "Average Trend with Deviation Bands" script. I made the following changes:
Not an overlay anymore - The amount of drawn lines makes the chart pretty messy. That's why I moved it to a pane. If you preferred the overlay you can use my "Average Trend with Deviation Bands" script. *This is also the reason why I publish this script instead of updating the existing one.
I added an EMA to represent the price movement instead of candles
I added a signal (SMA) to spot micro trends and early entry/exit signals
I added the option to switch between a "line view" which shows the average trend and deviation bands and an "oscillator view" which shows an oscillator and histogram (MACD style)
General usage:
1. The white line is the average trend (which is an average of the last N bars open, close, high, low price).
2. Bands around the average trend are standard deviations which can be adjusted in the options menu and are only visible in "lines view". Basically they are like the clouds in the Ichimoku Cloud indicator - In big deviation bands the price movement needs more "power" to break through the average trend and vice versa.
3. Indicator line (blue line) - This is the EMA which represents the price. Crossing the average trend from below indicates an uptrend and vice versa (crossing from above indicates a down trend).
4. Signal line (red line) - This is a smoothed version of the indicator line which can be used to predict the movement of the price when crossed by the indicator line (like at MACD and many other indicators).
Oscillator usage:
When switched to "oscillator view" the indicator line oscillates around a zero line which can be seen as the average trend. The usage is basically the same as described above. However there is also the histogram which shows the difference between the indicator and signal. Of course the histogram can be deactivated. Additionally a color filling can be added to easily spot entry/exit signals.
As always: Code is free do whatever you like. If you have any questions/comments/etc. just drop it in the comment section.
Indicatore volatilità v5 con segnali------------- INGLESE -------------
This indicator uses an exponential moving average (HMA) of the length specified by the user to calculate market volatility. Volatility is calculated by multiplying the Average True Range (ATR) by the simple moving average (SMA) of the volume.
The code uses colors to display market conditions. If the closing price is above the HMA, the columns turn green. If the closing price is below the HMA, the columns turn red. If volatility is below the SMA of volatility multiplied by the user-specified sideways volatility threshold, the columns turn orange.
In addition, the code uses the Rate of Change (ROC) to generate buy and sell signals. If the ROC is positive and the columns are green, a buy signal is generated and the columns turn black. If the ROC is negative and the columns are red, a sell signal is generated and the columns turn purple.
In summary, this indicator uses colors to display market conditions and help the user enter and exit the market based on volatility.
If you like this indicator give me a boost and leave a comment!! Thank you!
------------- ITALIANO -------------
Questo indicatore utilizza una media mobile esponenziale (HMA) della lunghezza specificata dall’utente per calcolare la volatilità del mercato. La volatilità viene calcolata moltiplicando l’Average True Range (ATR) per la media mobile semplice (SMA) del volume.
Il codice utilizza i colori per visualizzare le condizioni di mercato. Se il prezzo di chiusura è superiore all’HMA, le colonne diventano verdi. Se il prezzo di chiusura è inferiore all’HMA, le colonne diventano rosse. Se la volatilità è inferiore alla SMA della volatilità moltiplicata per la soglia di volatilità laterale specificata dall’utente, le colonne diventano arancioni.
Inoltre, il codice utilizza il Rate of Change (ROC) per generare segnali di acquisto e vendita. Se il ROC è positivo e le colonne sono verdi, viene generato un segnale di acquisto e le colonne diventano nere. Se il ROC è negativo e le colonne sono rosse, viene generato un segnale di vendita e le colonne diventano viola.
In sintesi, questo indicatore utilizza i colori per visualizzare le condizioni di mercato e aiutare l’utente a entrare e uscire dal mercato in base alla volatilità.
Se ti piace questo indicatore mettimi un boost e lascia un commento!! Grazie!
SAR MACDSAR MACD is an idea of implementing Directional MACD with Parabolic SAR to exactly detect and confirm Trend. This p-SAR MACD consist of a HYBRID MACD which acts as MACD TREND oscillator, MACD Oscillator, PSAR Indicator combined with MA line. thus Fake MACD Signals can be eliminated using this SAR MACD. Sideways can be detected using Threshold Levels must be adjusted based on timeframe.
Indicators Hybrid model contains:
1.MACD (12,26,9) Standard with MA Crossovers
2.MACD Trend
3.Parabolic SAR with 0.02
4.Threshold level - indicates Sideways
How to use.
Histogram:
-> HIST MODE: normal MACD indicator
MA Line Color is based on PSAR Direction Blue-Up/ Pink -Down
A crossover upside with a Blue MA line denotes Up confirmation
A Crossover downwards with a red MA line denotes Down Confirmation
Additionally Histogram above zero line and below zero line are to be confirmed
-> MACD MODE: MACD Trend indicator
MA Line Color is based on PSAR Direction Blue-Up/ Pink -Down
A crossover upside with a Blue MA line denotes Up confirmation
A Crossover downwards with a red MA line denotes Down Confirmation
Additionally Histogram above zero line and below zero denotes long term Trend
-> Histogram Color: Indicates candles direction
Yellow indicates Unconfirmed Direction
Green Indicates up direction
Red Indicates Down Direction
Buy Condition:
MA Color - Blue
Histogram- Above Zero
Histogram/Candle -Green
MA Crossover is must
Sell Condition:
MA Color - Red
Histogram- Below Zero
Histogram/Candle -Red
MA Cross under is must
Warning: Must not be used as a standalone indicator. Use for confirmation of your Buy Sell Signals and Entry only.
1st Gray Cross Signals ━ Histogram SQZMOM [whvntr][LazyBear]This is the Histogram Version of one of my other indicators named: SQZ Momentum + 1st Gray Cross Signals (with arrows) Which is a modification of "Squeeze Momentum Indicator" by user: "LazyBear". In that indicator of his he described, and suggested, the use of his gray cross signals to find points of interest for trading based on the direction of momentum when the first gray cross appears... I have programmed these points, and highlighted them, for ease of use. The 1st gray cross strategy, he said , is from John F. Carter's book, Chapter 11, "Mastering the Trade".
Here we have the Histogram version, with background highlights only, and nothing on the chart, in true SQZ Momentum style.
Disclaimer: using this indicator, or any indicator anywhere, involves risk when trading and isn't a guarantee of 100% accurate results.
Quantum CDV HistogramThis script is an addition to Fixed Quantum Cdv.
It shows vector cdv ratio in columns.
You can select the length as an input to how many bars to look back for the whole calculation.
The green bars represent the bullish values and the red bars the bearish values.
The green line represents an ema of the bullish value and the red line the ema of the bearish value.
The momentum ema (in purple) represent the cdv ratio (bullish - bearish).
When the momentum ema is at 100% or more it’s a good sell opportunity and when the momentum ema is at or under 100% it’s a good buy opportunity. It is not financial advise. Make sure to make your own analysis. This script help to make entries, but do not enter positions only based on this signal.
In the inputs you can select the emas that you want to display on your histogram.
The original script is the Cumulative Delta Volume by LonesomeTheBlue.
I_MACD#I_MACD #Version_1_0_3
Hello Traders from all over the world! Today I would like to share a cool customizing tool our team recently has made. If you have ever used MACD or any other seemingly indicators that visualize the degree of converging/diverging of any two values, you are very lucky today. This one should be one of the most optimal tools for you guys that enables you to customize your own CD indicator perfectly fitted for your trading styles. Moreover, you can even set up optimized parameters for each different trading commodities or products.
There is no doubt that MACD (Moving Average Convergence Divergence) is one of the most popular indicators currently in trading world along with RSI and Stochastic. Google and old textbooks say that MACD is a technical indicator that helps you identify market trends and potential trend reversal point. Well, which existing indicators doesn’t? The problem is, how well the indicator reflects the market trends with least amount of lagging. We want to use an indicator that can provide best-fitted trend data as early as possible.
Anyway, this indicator is made of 3 different components: MACD line, a signal line, and an oscillator, which is usually plotted with histogram. MACD line is basically the level of difference between two EMAs, 12 and 26 (default settings). In other words, MACD Line visualizes the amount of gap between 12 and 26 EMA.
- When bullish, 12 EMA would be above 26 EMA and as the trend becomes more bullish, they will diverge more and MACD line would be positive (above the base line).
- When bearish, 12 EMA would be below 26 EMA and as the trend becomes more bearish, they will diverge more and MACD line would be negative (below the base line).
MACD Line = (Faster, sensitive) EMA – (Slower, dull) EMA = 12 EMA – 26 EMA
Then you add another EMA on the MACD line itself which then becomes a signal line. The default length of the signal line is 9. In other words, Signal line is a 9 EMA of the difference level between 26 and 12 EMA. Now the difference between Signal line and MACD line are called oscillator usually plotted with histograms.
- When MACD line is above the Signal Line, histogram would face upward (Positive Side)
- When MACD line is below the Signal Line, histogram would face downward (Negative Side)
Signal Line = 9 EMA of MACD Line
Two meaningful signals should be monitored to effectively spot the trend reversal point.
1. Pay attention to the crossover made by the two lines. Higher the golden-cross and the lower the death-cross is located, more weights added on the possibility of trend reverse. I personally ignore most of the crossovers signaled near the base line.
2. Search for the histogram peak outs. When two lines start to converge (heading towards each other), histogram will leave a significant peak and approach towards baseline meaning that the oscillator started to lose its strength.
Remember, both the signals (lines’ crossovers and histogram peak outs) are more reliable and meaningful as they are located farther away from the baseline.
As mentioned, the default parameters for MACD are 12, 26, and 9. The first two numbers are the lengths of prices’ moving averages that are used to compute MACD line. 9 is length of signal line. Furthermore, the types of moving averages and signal line used in this setting provided by Tradingview are EMAs (Exponential moving averages). Therefore, the proper way to express the default setting of MACD would be 12, 26, 9, EMA, EMA.
I have a question for you MACD users. How is MACD doing lately? Are you fully satisfied with the performance? Some might say yes, but most wouldn’t. Well, I personally believe that the default parameters are bit outdated. It surely was a powerful weapon 50 years ago when MACD was just created by Gerald Appel and only few knew how to use it. Things are different now. We have witnessed so many cases where everyone starts to all use the same types and parameters of indicators, techniques, and theories which eventually drops accuracy and preciseness. Come on, we are not living in fairy tales, instead in an extremely competitive world called capitalism where only a few survives.
As we are already aware, this market keeps changing over time. Encountering various patterns, price actions, wave structures, and trend flows that are unfamiliar and untraditional, traders easily get frustrated. Market is not like it used to be in the old days where trading was much easier. What worked yesterday doesn’t anymore work today and not even tomorrow. Such evidences we see every day are broadening channel, stoploss hunting, Bart Simpson, whipsaw, and bull/bear trap were once considered as rare phenomenon.
I_MACD might be useful tool for you to back/forward test to find the optimized types and parameters of the CD indicator just fitted for your unique trading styles and preferences. There are infinite number of combinations of types and parameters within this indicator you can try. For example, not only the lengths of the moving averages, but different types of technical indicators to compute the CD lines can also be tested. Try all the possible combinations of parameters and if you find a good one, please share it with us on the comment section below! I will also let you guys know if I do. In fact, the default settings, ohlc4, 60, 140, 30 EMA, EMA, are one of many that I have found useful.
Furthermore, for your convenience when testing, we added a few side features as listed below. You can turn these on and off according to your preferences and circumstances.
1. Crossovers of MACD and Signal line: Death-crosses above the baseline and golden-crosses below the baseline will be spotted with a vertical line.
2. Divergence Sensitivity: This feature finds out both the regular and hidden divergences of MACD line. Higher sensitivity searches for the divergences within the waves of the larger degree and vice versa for the lower sensitivity.
3. Histogram Peak out: Triangle signals will appear when oscillator peak outs are possibility assumed in advance. Similarly, as the first feature positive peak outs are searched only when MACD line is positive and vice versa for the negative peak outs.
We all know there is no ‘Perfect’ method in this industry other than becoming Elon Musk, but there surely are ‘Better’ methods. Contemporary traders should track and reflect trends of the latest market on developing their methods. In order to process that task, testing and experimenting new and different techniques through insightful ways is required. I_MACD might be the ‘Perfect’ tool for you to be a ‘Better’ trader. Thanks for reading.
#아이맥디 #I_MACD #Version_1_0_3
안녕하세요. 트레이더 여러분. 토미입니다.
오늘은 MACD와 같은 CD(Convergence Divergence)류의 보조지표를 써 보신 분들이 정말 좋아하실 만한 지표 툴 하나를 소개 드리겠습니다. 이름하여 I_MACD! 아무나 자유롭게 사용하실 수 있습니다. 여러분의 트레이딩 성향, 종목 특성, 타임 프레임, 현대 시장 상황, 그리고 요즘 여러분이 생각하는 차트 흐름에 딱 맞는 지표를 만들고 사용해보세요.
MACD는 딱 두가지 신호만 주목하시면 됩니다. 첫번째 신호는 MACD선과 Signal선, 이 두 곡선이 서로 크로스 할 때, 즉 오실레이터가 양에서 음으로 혹은 음에서 양으로 변환되는 시점입니다. 두번째 신호는 오실레이터가 고/저점(Peak out)을 찍고 변곡이 시작되는 시점입니다. 이 외에 제가 전 다이버전스 강의에서 언급 드렸듯 두 곡선과 히스토그램의 다이버전스 역시 참고해볼 수 있습니다.
흔히 쓰이는 MACD의 기본(디폴트) 설정 값은 12, 26, 9이며 현재 트레이딩뷰에서 제공하는 MACD의 두 이평선, 즉 MACD선을 도출할 때 사용되는 주가의 12와 26 이평선의 종류는 EMA(Exponential Moving Average)입니다. 또한 저 설정 값에서 9는 Signal선의 길이를 의미하며 본 이평선 종류 역시 EMA입니다.
MACD는 제럴드 아펠이라는 아저씨가 1970년대에 개발한 지표입니다. 하지만 여러분들도 알다시피 현대 금융 시장은 50년 전과 많이 다릅니다. 세상은 점점 더 빠르고 예측불가하게 변하고 있으며 금융 시장도 예외는 아닙니다. 기술적분석 관점으로도 이전에는 흔히 나오지 않았던 패턴, 경향성, 규칙, 그리고 흐름들이 지금은 비일비재하게 나오고 있습니다. 이쪽 시장은 정해진 답안지가 없으며 시시각각 변하는 시장에 맞게 우리가 참고하는 기법과 전략들을 항상 업데이트해줄 필요가 있습니다.
MACD 역시 모든 사람들이 사용하는 12, 26, 9, EMA, EMA 보다 더 나은 설정 값이 분명 존재할 겁니다. 그래서 저희 팀은 여러분들이 CD지표의 파라미터 값과 곡선 산출법을 변경하여 더 요즘 시장에 그리고 여러분 트레이딩 성향에 최적화된 지표로 만들어 사용할 수 있는 툴을 만들어봤습니다. 두 곡선과 Signal 선의 길이는 물론이고 타 이평선들을 포함 RSI, OBV, CCI, MFI 등과 같은 다른 종류의 지표로도 CD선을 구할 수 있게끔 해 놨습니다.
예를 들어 조금 더 장기적인 추세를 반영하는 MACD를 만들고 싶다면 12, 26이 아니라 50, 100의 길이를 사용해볼 수도 있고 이평선의 민감도를 조절하고 싶다면 EMA가 아닌 HMA나 RMA 같은 종류로 설정해볼 수도 있습니다. 또한 이평선이 아니라 아예 다른 지표들을 가지고 MACD화(정확히 말하면 CD화죠) 시켜볼 수도 있습니다. 저도 이것저것 시도 중인데 꽤 흥미로운 셋팅 값들이 보이네요. 참고로 디폴트로 설정해 놓은 시고저종/4, 60, 140, 30, EMA, EMA 조합도 제가 현재 테스트하고 있는 나쁘지 않은 값입니다. 여러분들도 괜찮은 설정 값들을 찾으면 혼자만 쓰지 마시고 댓글에 공유 좀 부탁드립니다~
또한 주요 시그널들을 쉽게 잡아낼 수 있게 아래와 같이 몇 가지 자동 기능들을 추가했습니다. 여러분들의 편의와 상황에 따라 사용하셔도 되고 거슬리면 끄셔도 됩니다.
1. MACD선과 Signal선의 크로스: 기준선 위에선 데드크로스, 아래에선 골든크로스를 표시해줍니다.
2. 다이버전스 민감도: MACD선의 다이버전스 출현 여부를 알려줍니다. 다이버전스 민감도를 내릴수록 더 작은 (단기) 단위 파동들의, 올릴수록 더 큰 (장기) 단위의 파동들의 다이버전스를 잡습니다.
3. 히스토그램 피크 아웃: MACD선이 기준선 위에 있을 때는 양, 아래에 있을 때는 음 히스토그램의 변곡점으로 의심되는 곳을 표기해줍니다.
제가 매번 강조 드리지만 지표는 보조로만 참고하는 도구이며 절대적으로 다 맞는 지표, 이론, 그리고 방법론은 세상에 존재하지 않습니다. 시장 상황에 따라 적절히 활용하고 본인이 사용하는 기술적분석 기법들 조합의 일부로 참고만 하시는 게 좋습니다.
Trend Surfers - Momentum + ADX + EMAThis script mixes the Lazybear Momentum indicator, ADX indicator, and EMA.
Histogram meaning:
Green = The momentum is growing and the ADX is growing or above your set value
Red = The momentum is growing on the downside and the ADX is growing or above your set value
Orange = The market doesn't have enough momentum or the ADX is not growing or above your value (no trend)
Background meaning:
Blue = The price is above the EMA
Purple = The price is under the EMA
Cross color on 0 line:
Dark = The market might be sideway still
Light = The market is in a bigger move
RSI + MA, LinReg, ZZ (HH HL LH LL), Div, Ichi, MACD and TSI HistRelative Strength Index with Moving Average, Linear Regression, Zig Zag (Highs and Lows), Divergence, Ichimoku Cloud, Moving Average Convergence Divergence and True Strength Index Histogram
This script is based on zdmre's RSI script, I revamped a lot of things and added a few indicators from ParkF's RSI script.
Disable Labels in the Style tab and the histogram if you don't enlarge the indicator and it seems too small.
Look to buy in the oversold area and bounce of the support of the linear regression.
Look to sell in the overbought area and bounce of the resistance of the linear regression.
Look for retracement to the moving average or horizontal lines, and divergences for potential reversal.
RSI
The Relative Strength Index (RSI) is a well versed momentum based oscillator which is used to measure the speed (velocity) as well as the change (magnitude) of directional price movements.
Moving Average
Moving Average (MA) is a good way to gauge momentum as well as to confirm trends, and define areas of support and resistance.
Linear Regression
The Linear Regression indicator visualizes the general price trend of a specific part of the chart based on the Linear Regression calculation.
Zig Zag (Highs and Lows)
The Zig Zag indicator is used to identify price trends, and in doing so plots points on the chart to mark whenever prices reverse by a larger percentage point than a predetermined variable or marker.
Divergence
The divergence indicator warns traders and technical analysts of changes in a price trend, oftentimes that it is weakening or changing direction.
Ichimoku Cloud
The Ichimoku Cloud is a package of multiple technical indicators that signal support, resistance, market trend, and market momentum.
MACD and TSI Histogram
MACD can be used to identify aspects of a security's overall trend.
The True Strength Index indicator is a momentum oscillator designed to detect, confirm or visualize the strength of a trend.
macd volume and divergence - papamallisIdicator the spots macd histogram divergence and filter macd signals based on volume percentage
Volume Histogram [SpiritualHealer117]This indicator is a histogram produced with Pinescript's boxes and is helpful for spotting support, resistance, and key levels. The indicator shows the volume executed at each source price over a customizable time period. The "Key Level" in this indicator is the price at which the most volume was executed, and the "Major Levels" are levels where volume was over a percentile threshold, which you can customize in settings. Feel free to give any feedback on the indicator or make a copy for yourself!
Volume Trend Meter LTFA new take to an already popular indicator of mine, now with lower time frame support for a volume called Volume Trend Meter LTF (VTML).
The VTM LTF indicator measures the volume pressure at a specific part of the candle (Start, Middle, or the end of the candle) and displays it as a histogram.
This indicator sums up all green candle volumes and red candle volumes over the selected part of the candle (Select in settings - start end or middle) and plots their values by subtracting increasing volume and decreasing volume.
Use this indicator to identify increasing volume with the green candles (close bigger than open) and increasing volume of the red candles (close is smaller than open).
Can also work on daily charts and higher.
======= Calculation ==========
For Green Column: The total Volume of green candles is higher than the total red candle volume.
For Red Column: The total Volume of red candles is higher than the total green candle volume.
======= Volume Trend Meter LTF Colors =======
Green: Increasing buying pressure.
Red: Increasing selling pressure.
My original VTM (not the lower time frame version):
Like if you like and Follow me for upcoming indicators/strategies: www.tradingview.com
Genesis Matrix [Loxx]Over a decade ago, the Genesis Matrix system was one of best strategies for new traders looking to learn how to really trade trends. Fast forward to 2022, a new version of Genesis Matrix has emerged using TVI, CCI, HL Channel & T3
What is T3?
The T3 moving average is an indicator of an indicator since it includes several EMAs of another EMA. Unlike any other moving average, it adds the so-called volume factor, a value between 0 and 1. Like the SMA, traders typically use this indicator to spot trends and trend reversals.
What is CCI?
The Commodity Channel Index ( CCI ) measures the current price level relative to an average price level over a given period of time. CCI is relatively high when prices are far above their average. CCI is relatively low when prices are far below their average. Using this method, CCI can be used to identify overbought and oversold levels.
Genesis matrix uses Jurik-Smoothed CCI w/ MA Deviation--a spin on regular CCI .Usually CCI is calculated as using average ( Simple Moving Average ) and mean deviation. In this version, average is replaced with well known JMA (Jurik Moving Average) instead for the smoothing phase and the deviation is replaced with variety moving average deviation. The result in this one is responsive and fast (as expected) and also it is smoother than the original CCI (as expected).
What is SSL?
Known as the SSL, the Semaphore Signal Level channel chart alert is an indicator that combines moving averages to provide you with a clear visual signal of price movement dynamics. In short, it's designed to show you when a price trend is forming. For our purposes here, SSL has been modified to allow for different moving average selection and different closing price look back periods.
What is William Blau Ergodic Tick Volume?
This is one of the techniques described by William Blau in his book "Momentum, Direction and Divergence" (1995). If you like to learn more, we advise you to read this book. His book focuses on three key aspects of trading: momentum, direction and divergence. Blau, who was an electrical engineer before becoming a trader, thoroughly examines the relationship between price and momentum in step-by-step examples. From this grounding, he then looks at the deficiencies in other oscillators and introduces some innovative techniques, including a fresh twist on Stochastics. On directional issues, he analyzes the intricacies of ADX and offers a unique approach to help define trending and non-trending periods.
William Blau's definition of TVI ergodicity is that the indictor is ergodic when periods are set to 32, 5, 1, and the signal is set to 5. Other combinations are not ergodic, according to Blau.
How to use
Long signal: All 4 indicators turn green
Short signal: All 4 indicators turn red
Included
Bar coloring
OMA (One More Average) RSI Histogram [Loxx]OMA (One More Average) RSI Histogram is an RSI histogram built using the OMA adaptive moving average. This is meant to filter out the noise from regular RSI. You'll notice that it rarely signals, but the signals that do show up are perfectly set up for mean reversion/trend ATR-based trading.
What is the One More Moving Average (OMA)?
The usual story goes something like this : which is the best moving average? Everyone that ever started to do any kind of technical analysis was pulled into this "game". Comparing, testing, looking for new ones, testing ...
The idea of this one is simple: it should not be itself, but it should be a kind of a chameleon - it should "imitate" as much other moving averages as it can. So the need for zillion different moving averages would diminish. And it should have some extra, of course:
How to use
Green means buy
Red means sell
Included
Bar coloring
CFB Adaptive Gann HiLo Activator Histogram [Loxx]CFB Adaptive Gann HiLo Activator Histogram is a Composite-Fractal-Behavior-adaptive Gann HiLo activator in histogram form that has been smoothed using Jurik Filtering to reduce noise and better identify trending markets. This indicator is the CFB adaptive version of Jurik-Filtered, Gann HiLo Activator .
What is Gann HiLo
The HiLo Activator study is a trend-following indicator introduced by Robert Krausz as part of the Gann Swing trading strategy. In addition to indicating the current trend direction, this can be used as both entry signal and trailing stop.
Here is how the HiLo Activator is calculated:
1. The system calculates the moving averages of the high and low prices over the last several candles. By default, the average is calculated using the last three candles.
2. If the close price falls below the average low or rises above the average high, the system plots the opposite moving average. For example, if the price crosses above the average high, the system will plot the average low. If the price crosses below the average low afterward, the system will stop plotting the average low and will start plotting the average high, and so forth .
The plot of the HiLo Activator thus consists of sections on the top and bottom of the price plot. The sections on the bottom signify bullish trending conditions. Vice versa, those on the top signify the bearish conditions.
What is Composite Fractal Behavior ( CFB )?
All around you mechanisms adjust themselves to their environment. From simple thermostats that react to air temperature to computer chips in modern cars that respond to changes in engine temperature, r.p.m.'s, torque, and throttle position. It was only a matter of time before fast desktop computers applied the mathematics of self-adjustment to systems that trade the financial markets.
Unlike basic systems with fixed formulas, an adaptive system adjusts its own equations. For example, start with a basic channel breakout system that uses the highest closing price of the last N bars as a threshold for detecting breakouts on the up side. An adaptive and improved version of this system would adjust N according to market conditions, such as momentum, price volatility or acceleration.
Since many systems are based directly or indirectly on cycles, another useful measure of market condition is the periodic length of a price chart's dominant cycle, (DC), that cycle with the greatest influence on price action.
The utility of this new DC measure was noted by author Murray Ruggiero in the January '96 issue of Futures Magazine. In it. Mr. Ruggiero used it to adaptive adjust the value of N in a channel breakout system. He then simulated trading 15 years of D-Mark futures in order to compare its performance to a similar system that had a fixed optimal value of N. The adaptive version produced 20% more profit!
This DC index utilized the popular MESA algorithm (a formulation by John Ehlers adapted from Burg's maximum entropy algorithm, MEM). Unfortunately, the DC approach is problematic when the market has no real dominant cycle momentum, because the mathematics will produce a value whether or not one actually exists! Therefore, we developed a proprietary indicator that does not presuppose the presence of market cycles. It's called CFB (Composite Fractal Behavior) and it works well whether or not the market is cyclic.
CFB examines price action for a particular fractal pattern, categorizes them by size, and then outputs a composite fractal size index. This index is smooth, timely and accurate
Essentially, CFB reveals the length of the market's trending action time frame. Long trending activity produces a large CFB index and short choppy action produces a small index value. Investors have found many applications for CFB which involve scaling other existing technical indicators adaptively, on a bar-to-bar basis.
What is Jurik Volty used in the Juirk Filter?
One of the lesser known qualities of Juirk smoothing is that the Jurik smoothing process is adaptive. "Jurik Volty" (a sort of market volatility ) is what makes Jurik smoothing adaptive. The Jurik Volty calculation can be used as both a standalone indicator and to smooth other indicators that you wish to make adaptive.
What is the Jurik Moving Average?
Have you noticed how moving averages add some lag (delay) to your signals? ... especially when price gaps up or down in a big move, and you are waiting for your moving average to catch up? Wait no more! JMA eliminates this problem forever and gives you the best of both worlds: low lag and smooth lines.
Ideally, you would like a filtered signal to be both smooth and lag-free. Lag causes delays in your trades, and increasing lag in your indicators typically result in lower profits. In other words, late comers get what's left on the table after the feast has already begun.
Included
-Toggle bar color on/off
MACD Multi Time Frame with Histogram MAThis is a modification of LonesomeTheBlue's MACD Multi Time Frame indicator to include also moving averages applied to histogram to filter-out important moves.
You can select average period and multiplier to highlight the type of movements that interest you most.
Happy trading!
[BTCover]MACD Histogram Up and Down's EnergyWelcome to BTCover's Pine Script in Tradingview.
Today we show you a MACD's script. If you want to find the divergence of the MACD histogram, You can use this script to check the MACD histogram's Energy clear and quick.
if you have more idea, welcome to comment or pm. Enjoy it.
Heiken Ashi Smoothed Net VolumeThis indicator attempts to use Heiken Ashi calculations to smooth the Volume net histogram indicator by RafaelZioni. Long above zero line, short below zero line.