Heikin-Ashi Trend AlertThis script:
Adds a Heikin-Ashi line to the chart (EMA-based).
Provides alerts triggered when the color goes from green to red and vice versa.
Just add the indicator to the chart, create an alert and select " Heikin-Ashi Trend Alert " from the dropdown. Profit.
Trend
Fractal Dimension Index The Fractal Dimension Index is a technical indicator that gauges the amount of volatility currently present in the market.
The theory behind this indicator is that a value of 1.5 suggests the market is acting in a completely random fashion. As the market deviates from 1.5, the opportunity for earning profits is increased in proportion to the amount of deviation.
Keep in mind that the indicator does not show the direction of trends ! Although you can try to test it as a trend-following indicator that gives trend-following signals, that isn't the intended use of the indicator.
The Fractal Dimension Index is red when the market is in a trend. And it is blue when there is high volatility. When the Fractal Dimension Index changes its color from red to blue , it means that a trend is finishing. The market becomes erratic and high in volatility when the Fractal Dimension Index is blue . Usually, these "blue periods" do not go on for a long time, they come before a new trend.
So, look for trend-following signals while the Fractal Dimension Index is blue since this indicates high volatility before a potential trend, and avoid trend-following signals when the Fractal Dimension Index is red since this indicates a ranging/non-trending market or a trend that started long ago.
Fibonacci Progression with Breaks [LuxAlgo]This indicator highlights points where price significantly deviates from a central level. This deviation distance is determined by a user-set value or using a multiple of a period 200 Atr and is multiplied by successive values of the Fibonacci sequence.
Settings
Method: Distance method, options include "Manual" or "Atr"
Size: Distance in points if the selected method is "Manual" or Atr multiplier if the selected method is "Atr"
Sequence Length: Determines the maximum number of significant deviations allowed.
Usage
The indicator allows highlighting potential reversal points, but it can also determine trends using the central level, with an uptrend detected if the central level is higher than its previous value and vice versa for a downtrend.
When an uptrend is detected, and the price deviates significantly upward from it a first checkmark will be highlighted alongside the Fibonacci sequence used as a multiplier, if the price deviates downward, a cross will be shown instead, then the distance threshold will be multiplied by the next value in the Fibonacci sequence.
If the price deviates from the central level such that the length of the sequence is greater than the user set Sequence Length , a break label will be shown alongside a new central level with a value determined by the current closing price, while the Fibonacci multiplier will be reset to 1.
Upper and lower extremities made from the central level and threshold distance are highlighted and can be used as support and resistances.
Small short for CryptoThis is the third modification of VuMAnChu cipher B indicator designed only for short sales.
The trigger signal is called sommi bearish diamond (according to my due diligence it has the best performance)
You can either fix a stop loss value or close position after crossing sma line.
Take profit also can be tuned.
Keep in mind that short positions are very risky, so deposit your money to the market only after your research. I guess this indicator has potential for repainting, so track backtests/forward tests carefully. The script is for entertainment purposes only.
Good luck and have fun!
RSI Wave SignalsQuick Description: Smoothed RSI with optimized trailing moving average. Look for cross above or cross under signals for buy and sell orders respectively.
VIDYA moving average of RSI incorporated with "optimized trend tracker" system. Thanks to kivancozbilgic and anilozeksi for implementing this great idea on Tradingview. The indicator adds "1,000" to the RSI MA values for more natural and accurate percentage trailing.
Settings:
- Period MA is the moving average length of the blue line
- Trailing Percentage of MA adjusts the percentage (sort of) trailing level of the moving average.
- RSI Length adjusts the rsi length in calculation.
Trading Tips:
- System might be enhanced by taking signals only on "oversold" or "overbought" territories (i.e <~1020 or >~1080)
- Adjust position size of by 4 times of atr(length=14)
- Take 50% of position as profit when position reaches the 4*atr TP Level (breakeven)
- Let the rest ride.
- Best performing on short frequencies such as 1, 3, 5 mins.
K's Reversal Indicator IK's reversal indicator I is a special combination between Bollinger bands and the MACD oscillator. It is a contrarian indicator that depends on the following conditions:
• A buy signal is generated whenever the current market price is below the 100-period lower Bollinger band while simultaneously, the MACD value must be above its signal line. At the same time, the previous MACD value must be below its previous signal line.
• A sell (short) signal is generated whenever the current market price is above the 100-period upper Bollinger band while simultaneously, the MACD value must be below its signal line. At the same time, the previous MACD value must be above its previous signal line.
The way to use K's reversal indicator is to combine it with your already long/short bias in a sideways/range market in order to maximize the probability of success.
Limitations of the indicator include the following:
• There are no clear exit rules that work well on average across the markets. Even though K’s reversal indicator gives contrarian signals, it does not show when to exit the positions.
• As with other indicators, it underperforms on some markets and is not to be used everywhere.
• False signals tend to occur during trending markets but there is no proven way to detect a false signal.
Trending Bollinger Bands by SiddWolfBollinger Bands are mostly used for trend reversal. I believe they should be used for Trend Continuation and Trend Confirmation.
In this Trending Bollinger Bands script you will see two bands drawn on chart. The Upper band is suggestive of Uptrend and Lower Band is suggestive of Downtrend Market. It just provides the guidance of where the market is now and where it is headed. It is not to be used as a standalone indicator. Use this to confirm your hypothesis of Uptrend or Downtrend.
Bollinger Bands Trend
When the price crosses the moving average it is interpreted as the price is gonna continue in that direction. But most of the time it is a fake breakout. With this script you get an additional confirmation so that you know it is not a fake breakout and the price have caught the trend.
Bollinger Bands Reversal:
This indicator can also work for reversal. For example when price closes outside the outer bands, it is most likely that the trend is gonna reverse. Don't just enter the trade wait for some other confirmation as reversal trading is more complicated.
Confluence:
Confluence is the key factor for profitable trading. Don't use this indicator as standalone indicator instead combine it with other indicators and price action. Like the divergence occurring when the price is outside the bands is suggestive of trend reversal. I have created a non-delay, non-repaint indicator for finding divergence. I'd soon publish that script. Stay tuned.
Settings is the Key:
Try to play around with the settings. It is a simple yet effective indicator. Change the moving average type or length. I've found moving average RMA or WMA works better than SMA. Find the best setting that works with your setup. Set the Band Source as High/Low to make the outer bands more extreme.
Conclusion:
This is my first script but it isn't my last. I've created quite a few gems that I'm gonna publish soon. If you have any questions or suggestions feel free to comment below. I'd love to connect with you. Thank you.
Trend Day IndentificationVolatility is cyclical, after a large move up or down the market typically "ranges" during the next session. Directional order flow that enters the market during this subsequent session tends not to persist, this non-persistency of transactions leads to a non-trend day which is when I trade intraday reversionary strategies.
This script finds trend days in BTC with the purpose of:
1) counting trend day frequency
2) predicting range contraction for the next 1-2 days so I can run intraday reversion strategies
Trend down is defined as daily bar opening within X% of high and closing within X% of low
Trend up is defined as daily bar opening within X% of low and closing within X% of high
default parameters are:
1) open range extreme = 15% (open is within 15% of high or low)
2) close range extreme = 15% (close is within 15% of high or low)
There is also an atr filter that checks that the trend day has a larger range than the previous 4 bars this is to make sure we find true range expansion vs recent ranges.
Notes:
If a trend day occurs after a prolonged sideways contraction it can signal a breakout - this is less common but is an exception to the rule. These types of occurrences can lead to the persistency of order flow and result in extended directional daily runs.
If a trend day occurs close to 20 days high or low (stopping just short OR pushing slightly through) then wait an additional day before trading intraday reversion strategies.
Distance from Vwap// How it Works \\
Measuring the distance of the close price from a higher timeframe VWAP - Volume Weighted Average Price
There is a threshold which is calculated by looking back at the previous x amount of bars and storing the highest/lowest values
If the distance from the vwap stretches above that threshold, the histogram will go green if price is above VWAP and red if its below the vwap
If the distance from the vwap reaches below the low threshold you will see the histogram flashes orange
// Settings \\
In the settings you have the ability to change what timeframe the indicator is calculated on, as well as this you can change the timeframe the VWAP is calculated on.
I always recommend using a higher timeframe vwap as they tend to me more respected
e.g on the hourly timeframe, I use the weekly VWAP, on 1 minute timeframe you may want to use 4 hour timeframe but obviously feel free to experiment
// Use Case \\
When histogram is flashing green, prices is pulling far away from the vwap, obviously you don't want to be buying a falling knife but if you have levels of confluence this can help spot reversals.
I personally wait until the first candle after its been green to get confirmation of the fall weakening. Vica versa for reds and shorts/sells.
When you see orange flashes, this shows that price has been consolidating and the price is very close to the higher time frame VWAP which could be considered a safe entry point as they tend to lead to a big move to follow
// Suggestions \\
Happy for anyone to make any suggestions on changes which could improve the script,
// Terms \\
Feel free to use the script, If you do use the script could you please just tag me as I am interested to see how people are using it. Good Luck!
TICK Scalping strategy, SPY 1 min1 min chart scalping version of my other TICK strategy with adjusted parameters and additional entry and exit conditions better suited for 1 min SPY chart. Please refer to my original TICK strategy for explanation.
Important notes:
1. This strategy is designed for same day SPY option scalping on the 1 min chart . All profit shown in back testing report is based on Profit/Loss (P/L) estimates from trading options with approximately 6 weeks of data. By default, it is set to 10 option contracts. By default the initial capital is set to $5000. Pyramiding is set to 3.
2. This strategy works better with non-extended market data .
3. This strategy is mainly developed for SPY trading on 1 min chart, it probably will not be very profitable with other tickers or time frame without tweaking all the parameters first.
Cheers and enjoy~! Let's all make money~!!
TICK strategy for SPY optionsImportant notes:
1. This strategy is designed for same day SPY option scalping. All profit shown in back testing report is based on Profit/Loss (P/L) estimates from trading options with approximately 6 months of data. By default, it is set to 10 option contracts. By default the initial capital is set to $5000. Pyramiding is set to 3.
2. This strategy works better with non-extended market data.
3. This strategy is mainly developed for SPY trading on 5 min chart, it probably will not be very profitable with other tickers or time frame without tweaking all the parameters first.
4. This strategy will work with QQQ as well, but please adjust the profit multiplier to match the P/L of QQQ options.
How it works:
When trading the indices, many rely on the TICK for market directions. This strategy is a trend following strategy that uses a combination of conditions using the following indicators:
- TICK
- RSI
- VIX volatility index
- EMA
For entries, the conditions are:
1. TICK moving average crossover with a delayed signal line
2. Bullish or bearish RSI signal, RSI > 50 for bullish, < 50 for bearish
3. VIX must be above a certain threshold to take advantage of high market volatility
4. Price must be on top of EMA line for long, and below for short
For exits, there are 3 scenarios:
1. Stop loss set by a percentage of the daily ATR value
2. Trend changes on the TICK and the RSI
3. Bearish or bullish divergence on price with TICK
This strategy automatically signal to close all trades at 3:50 pm EST at the end of the day.
Extras:
- There is an option to show P/L for reinvesting profits
Enjoy~!!! Let's all make $$$
RSI, EMA, SMA Trendtrading - Oil Daytrading 1HThe Unitrend trading System produces trading recommendations on a pure Trend basis.
It is a Score based system.
--- How to use the System --
Simply adjust your capital you want to risk per trade and your TP Factor.
The TP Factor is the multiple of your risked Capital, also known as Risk/Reward ratio.
Furthermore you can toggle between a always Buy mode, to see if the System is better then market.
Compounding mode helps you to get a better understanding of your maximum drawdown with a total equity based approach.
--- How are Signals produced? ---
A score of 2 or 3 is a BUY signal.
You can count the score by looking at the lines above 1, or by reading the color.
Green is 3, yellow 2, orange 1 and red is 0.
The score is calculated by 3 conditions.
Each applying condition yields one point for the score.
The score resets each bar.
The rules are:
RSI > 45: Well known indicator, usually looks for reversal points but seems to produce above average results when above 45.
EMA(RSI) > SMA(RSI): My approach to momentum detection for the RSI movement, I consider a faster growing RSI as a good thing.
EMA(close) > SMA(close): My approach to trend detection for the market movement. Common Wisdom would be a fast SMA > slow SMA which I found to be too slow for the modern market.
HODL LINE [AstrideUnicorn]This indicator determines periods of bull market when a buy-and-hold investor can hold the asset, and bear market periods when they should avoid holding it. Though it was designed primarily with cryptocurrencies in mind, it can be successfully used for any market.
Technically, the indicator is an asymmetric trend filter aimed to account for the fact that market sell-offs tend to be sharper than up-trends. The algorithm has two regimes – with and without price smoothing.
HOW TO USE
The step-like line is the main trend filter. It is colored green in an uptrend and red in a downtrend. When the smoothing is on, in addition to the trend filter, the indicator plots a purple line. It is a Hull Moving Average (HMA) of the price. In this case, the indicator uses this line instead of the price to find crossings with the trend filter.
When the price or the smoothed line crosses the trend filter above, it is an uptrend signal. The indicator marks such crossings with green circles. It also colors the chart background green in an uptrend. The price or the purple line crossing the trend filter below means a downtrend signal. Downtrend signals show as red circles. The chart background in a downtrend turns red.
SETTINGS
Sensitivity – a dropdown list that allows the user to choose an averaging period of the indicator. Users can select a value for sensitivity from a predetermined set that better suits their investment horizon.
Use Smoothing – turns on and off smoothing of the price with HMA. With the smoothing turned on, the indicator responds slower to price changes, but at the same time produces less amount of false signals.
AlphaTrendAlphaTrend is a brand new indicator which I've personally derived from Trend Magic and still developing:
In Magic Trend we had some problems, Alpha Trend tries to solve those problems such as:
1-To minimize stop losses and overcome sideways market conditions.
2-To have more accurate BUY/SELL signals during trending market conditions.
3- To have significant support and resistance levels.
4- To bring together indicators from different categories that are compatible with each other and make a meaningful combination regarding momentum, trend, volatility, volume and trailing stop loss.
according to those purposes Alpha Trend:
1- Acts like a dead indicator like its ancestor Magic Trendin sideways market conditions and doesn't give many false signals.
2- With another line with 2 bars offsetted off the original one Alpha Trend have BUY and SELL signals from their crossovers.
BUY / LONG when Alpha Trend line crosses above its 2 bars offsetted line and there would be a green filling between them
SELL / SHORT when Alpha Trend line crosses below its 2 bars offsetted line and filling would be red then.
3- Alpha Trend lines
-act as support levels when an uptrend occurs trailing 1*ATR (default coefficient) distance from bar's low values
-conversely act as resistancelevels when a downtrend occurs trailing 1*ATR (default coefficient) distance from bar's high values
and acting as trailing stop losses
the more Alpha Trend lines straighter the more supports and resistances become stronger.
4- Trend Magic has CCI in calculation
Alpha Trend has MFI as momentum, but when there's no volume data MFI has 0 values, so there's abutton to change calculation considering RSI after checking the relevant box to overcome this problem when there is no volume data in that chart.
Momentum: RSI and MFI
Trend: Magic Trend
Volatility: ATR,
Trailing STOP: ATR TRAILING STOP
Volume: MFI
Alpha trend is really a combination of different types...
default values:
coefficient: 1 which is the factor of trailing ATR value
common period: 14 which is the length of ATR MFI and RSI
Wish you all use AlphaTrend in profitable trades.
Kıvanç Özbilgiç
Anchored TWAP with StDev Bands [MrShadow]TWAP with:
- Anchoring: Custom, Day, Week, Month, Quarter, Year (custom anchoring can be selected by dragging a vertical line through the chart)
- Standard Devation Bands
- Auto-coloring depending on the trend
Pivot Trend LevelsYou can use this indicator to detect the levels and trend.
I used the highest of the two last highest pivots and the lowest of the two last lowest pivots to calculate "max" and "min" or high level or low level.
I also calculate the average of the 4 values to reach the average line which could be a trend detector in higher lengths.
Default length is 3 but using 10 or 20 as length is really good as trending detector.
I need help to upgrade a trend detector system. please read the script for more information.
Thank you so much.
Triple ThreatThis indicator provides buy and sell signals for Bitcoin based on confluence from well-known momentum, volatility, and trend indicators. It has successfully captured the major directional trends on Bitcoin's daily chart since 2018, and the settings are currently optimized for this chart in particular. This indicator implements RSI to gauge momentum, BBWP to gauge volatility, and an EMA to gauge trend. Maximum confluence signals are represented by horizontal bars in the indicator's pane, where the tallest green bar is a confirmed buy signal, and the tallest red bar is a confirmed sell signal. The shortest bar represents a momentum-only signal, and the second-shortest bar represents a volatility signal in confluence with the previously given momentum signal.
To track momentum, the RSI is plotted to the indicator plane against a moving average of the RSI. A momentum signal is generated when the RSI crosses over its moving average, retests/approaches the moving average, and then continues in the crossover direction (i.e., it fails to cross the moving average to the opposite side, creating a successful retest). The settings that affect this trigger are the "Crossover Threshold," which specifies how much the RSI should exceed the moving average to be considered a crossover, and the "Retest threshold," which specifies how closely the RSI should approach the moving average to be considered a retest. A momentum signal is ALSO generated if the RSI or its moving average exceed their counterpart by a certain threshold. For example, if the threshold was set at 10, a BUY signal would be generated when the RSI exceeds the moving average by 10, or a SELL signal would be generated when the moving average exceeds the RSI by 10. This threshold can be set using the "Instant Signal Threshold" setting. Either type of momentum signal will be plotted on the pane as the shortest horizontal bar, with its color indicating the signal's direction.
Volatility is primarily measured using the Bollinger Band Width Percentile (BBWP) indicator, which was created by The_Caretaker. BBWP plots the volatility of the asset's price, given by Bollinger Band width, relative to past volatility by assigning the volatility readings into percentiles. The indicator also includes a moving average of the BBWP itself, where a crossover to the upside represents expanding volatility and a crossover to the downside represents contracting volatility. This indicator is used to confirm a signal given by the momentum indicators - a momentum signal that is given during a period of expanding volatility has a greater likelihood of success. Therefore, when the BBWP crosses above its moving average by a given threshold, a previously triggered momentum signal is considered to be "confirmed." The threshold for this crossover can be set using the "BBWP Confirmation Threshold" setting. However, it is also relevant that periods of extreme volatility often accompany an extremity in price action (a "top" or "bottom"), in which case the BBWP is likely to contract after price reaches such an extremity. This phenomenon is captured by also using "extreme reads" on the momentum indicator to signal that there has already been enough volatility to confirm a momentum signal. If the RSI gives an "extreme read" before triggering a signal, the momentum signal is also considered to be confirmed. For example, if the RSI is above 80, breaks below 80, and then gives a SELL signal, this sell signal is considered to be confirmed without requiring the BBWP to crossover its moving average to the upside. The threshold that would confirm a SELL signal can be set with the "Overbought" setting, and the threshold that would confirm a BUY signal can be set with the "Oversold" setting. Whenever a volatility signal confirms a momentum signal, a medium-sized horizontal bar will be plotted on the pane in the same directional color as the momentum signal. Note that a momentum signal may trigger at the exact same time as the volatility signal which confirms it; in this case, only the medium-sized bar will be visible on the pane, but its direction can still be identified by its color.
Lastly, to reduce the likelihood of "false signals," a trend indicator is used to confirm the direction of the signal. This is typically an exponential moving average. If a confirmed volatility SELL signal is given, and the closing price is below the moving average, then the SELL signal is also confirmed by the trend. Likewise, if a confirmed volatility BUY signal is given, and the closing price is above the moving average, then the BUY signal is confirmed by the trend. The type and length of the moving average used to verify the trend can be set using the "Moving Average Type" and "Moving Average Length" settings found below the momentum/volatility settings. A trend signal is plotted on the pane as a tall horizontal bar, and is more deeply colored than the momentum and volatility signals.
For maximum confluence, it is recommended that the trend signal, given by the tallest bar, is the one that forms the basis of trades executed while using the Triple Threat indicator. It is possible to enter more aggressive trades with better entries by using only the volatility signal, given by the medium-sized bar, however this entails greater risk and should only be done in confluence with an additional trading strategy of your own discretion. Backtesting has shown that using the volatility signal alone underperforms using the volatility signal in confluence with the trend signal.
Please also be advised that the default setting are optimized for Bitcoin's daily chart only. The indicator is still applicable to other timeframes and asset classes, but the settings may need to be modified. I have a list of settings for other Bitcoin timeframes, and I would be happy to share them upon request.
I hope you can find this indicator to be of some use to your trading strategies. I'd be happy to hear any feedback from the community, so please don't hesitate to reach out. Stay safe, and happy trading.
Trend Trading with Currency Strength MeterThis is a trend trading strategy designed mainly for forex made of two big components:
First we have the currency meter, which is made of taking TSI of different INDEXes such as EUR, USD, GBP, JPY, NZD, AUD , CHF and CAD.
Once we establish which one is the weakest and most powerful, we pair them together and we go on that chart.
Lastly we check with the EMA 200 to confirm our direction.
We can see in this example for the USDJPY chart, that USD is the strongest, JPY is the weakest and ema confirm our bullish trend.
For timeframe in general I recommend big timeframes, 1-4h+ , and as a mentality a swing trading mentality, we can stay in trade for days/weeks.
For exit in general I recommend to exit when either one of the pairs losses/gain power or when the EMA is crossing with current candle
If you have any questions, let me know !
[_ParkF]FractalTop gray line is the fractal resistance.
Bottom gray line is the fractal support.
Central red line is the average of the top&bottom fractal.
Fractals can be displayed as support and resistance, and the red fractal average line indicates a trend.
상단 회색선은 프랙탈 저항,
하단 회색선은 프랙탈 지지,
중앙 빨간선은 프랙탈 상,하단의 평균,
프랙탈은 지지와 저항으로 표시되고 빨간색 프랙탈 평균선은 추세입니다.
TRADING MADE SIMPLEThis indicator shows market structure. The standard method of using Williams Highs and Lows as pivots, is something of an approximation.
What's original here is that we follow rules to confirm Local Highs and Local Lows, and strictly enforce that a Low can only follow a confirmed High and vice-versa.
-- Highs and Lows
To confirm a candle as a Local High, you need a later candle to Close below its Low. To confirm a Local Low, you need a Close above its High.
A Low can only follow a High (after it's been confirmed). You can't go e.g High, High, Low, Low, only High, Low, High, Low.
When price makes Higher Highs and Higher Lows, market structure is said to be bullish. When price makes Lower Lows and Lower Highs, it's bearish.
I've defined the in-between Highs and Lows as "Ranging", meaning, neutral. They could be trend continuation or reversal.
-- Bullish/Bearish Breaks
A Bullish break in market structure is when the Close of the current candle goes higher than the previous confirmed Local High.
A Bearish Break is when the Close of the current candle goes lower than the most recent confirmed Local Low.
I chose to use Close rather than High to reduce edge case weirdness. The breaking candle often ends up being a big one, thus the close of that candle can be a poor entry.
You can get live warnings by setting the alert to Options: Only Once, because during a candle, the current price is taken as the Close.
Breaks are like early warnings of a change in market bias, because you're not waiting for a High or Low to be formed and confirmed.
Buy The Dip / Sell The Rally
Buy The Dip is a label I gave to the first Higher Low in a bullish market structure. Sell The Rally is the first Lower High in a bearish market structure.
These *might* be good buying/selling opportunities, but you still need to do your own analysis to confirm that.
== USAGE ==
The point of knowing market structure is so you don't make bullish bets in a bearish market and vice versa -
or if you do at least you're aware that that's what you're doing, and hopefully have some overwhelmingly good reason to do so.
These are not signals to be traded on their own. You still need a trade thesis. Use with support & resistance and your other favourite indicators.
Works on any market on any timeframe. Be aware that market structure will be different on different timeframes.
IMPORTANT: If you're not seeing what you expect, check your settings and re-read this entire description carefully. Confirming Highs and Lows can get deceptively complex.
MTF MACD (PPO) [TANHEF]Mult-Timeframe Moving Average Convergence Divergence (MACD) and Percentage Price Oscillator (PPO) indicator that allows for viewing of 1 to 5 different Timeframes.
Brief Summary
The primary benefit of multi-timeframe indicators is getting better entries and confirmation from viewing multiple time frames at once, which can often get overlooked.
MACD shouldn't be only used by itself, it is a lot more consistent when applied in the same direction as the trend as well as multiple other things including support, resistance, and volume improve the outcomes of the MACD results.
Personally, I look for good entries on higher and lower time frames (multiple timeframes must agree with the buying or selling). For example, if a higher timeframe looks like a good long entry (MACD line is crossing up and below the zero line), then the lower timeframes should be checked to ensure they are not oversold or overextended (the MACD line must be low or below the zero), once the lower and higher timeframes are in agreeance an entry can be made.
What is Moving Average Convergence Divergence (MACD)?
Moving average convergence divergence (MACD) is a trend-following momentum indicator that shows the relationship between two moving averages of the price. The MACD is calculated by subtracting the 26-period exponential moving average (EMA) from the 12-period EMA.
What is the Percentage Price Oscillator (PPO)?
The PPO is identical to the MACD indicator, except the PPO measures percentage difference between two EMAs, while the MACD measures absolute (or dollar) difference. The PPO has the advantage of being comparable to other assets with different prices, whereas MACD readings are not comparable. For example, regardless of the asset's price, a PPO result of 10 means the short-term average is 10% above the long-term average.
A signal line can be displayed on Timeframe, including:
- MACD & Signal Line crosses (Green when MACD above Signal Line and Red when MACD below Signal Line)
- Histogram Direction (fast and slow EMA gap)
- SuperTrend for identifying trend direction (green for uptrend, red for downtrend)
- EMA Trend for identifying trend direction (above EMA = up trend and green, below EMA = down trend and red)
Cross Dots and Potential cross dots
- Green Dot, is displayed when the MACD crosses the Signal Line
- Red Dot, is displayed when the MACD crosses the Signal Line
- Yellow Dot. Potential cross up (green dot) on next bar. Displayed when if the same distance a MACD moves on a bar is applied to the next bar will cause a MACD and Signal Line Cross. This is calculated by checking if the value change of one bar is added to the current MACD value would lead to a cross on the next bar, the it is a potential up dot.
- Purple Dot. Potential cross down (red dot) on next bar. Displayed when if the same distance a MACD moves on a bar is applied to the next bar will cause a MACD and Signal Line Cross. This is calculated by checking if the value change of one bar is added to the current MACD value would lead to a cross on the next bar, the it is a potential down dot.
Best Fit Settings
- Can be applied to the MACD, Signal Line, and Histogram to re-scale (stretch) to fit them within the space of the +2 and -2 range that each timeframe is provided on this indicator.
- The lookback distance value is used to lookback a certain distance to ensure everything scaled to fit well.
Labels are displayed on the right of the indicators, including:
- a label identifying 'line indicator' is currently being displayed
- the Timeframe corresponding to each MACD or PPO indicator
- the MACD or PPO of each Timeframe
Heikin-Ashi Candle ColoringThis script will change the color of normal candlesticks to the color that the corresponding Heikin-Ashi candles would have.
This allows to spot a trend or a trend reversal just by looking at candles, without using Heikin-Ashi candles, which distort the appearance of a typical chart.