Percentile Rank of Moving Average Convergence DivergenceThis simple indicator provides you three useful information of the Moving Average Convergence Divergence (MACD) indicator:
The percentile rank of the current value of the MACD line, displayed by the bright blue line.
The percentile rank of the current value of the Signal line, displayed by the dark blue line.
The percentile rank of the current value of the Histogram line, displayed by the olive histogram.
This indicator can be useful to identify the strength of trend. This indicator makes the assumption that market tends to revert into the opposite direction. If the market has been trending a lot, it should consolidate for a while later. If the market has been consolidating for a long time, it would begin trending real soon.
When we see a low percentile rank, no matter which line it is, this tells that the market hasn't been moving much, or there is little momentum. If the percentile rank stays below the median or even below the first quartile for a long time, this could suggest that the market is ready for the next trend since it has stored quite some energy.
When we see a high percentile rank, no matter which line it is, this tells that the market has been trending a lot, or there is much momentum. If the percentile rank stays above the median or even above the third quartile for a long time, it is probable that the market has used up much of its energy and is going to take a rest (consolidate).
Tìm kiếm tập lệnh với "MACD"
MACD frontSide backSide + TTM Squeeze by bangkokskaterDark Mode is enabled by default for black theme
disable Dark Mode for white theme
MACD frontSide backSide
===================
an elegant, much better way to use MACD
for trend following momentum ( aka momo) style
MACD with default settings of 12/26 smoothing of 9
✔️ but without histogram
✔️ only has MACD and signal "lines"
green = frontSide momentum impulse
take longs only
red = backSide momentum impulse
take shorts only
black area = exit (once green or red is no longer showing)
or keep holding till next bigger TP
PS: credits to Warrior Trading Ross Cameron for this idea
youtu.be
TTM Squeeze
===================
white dots = incoming pump / dump (monitor for entry)
PS: credits to John Carter's TTM Squeeze & Greeny for PineScript adaptation
MACD StrategyBTCUSD -- 5 min
BUY POSITION
1 : The price is above the EMA
2 : The macd line crosses above the line signal below 0
SELL POSITION
1 : The price is bellow the EMA
2 : The macd line crosses below the signal line above 0
5 Minute Scalping StrategyTaking entrys based on the 1 minute timeframe MACD
only taking longs when all emas are in the correct order and there is a bigger than usual MACD downtick and the RSI is above 51
only taking shorts when all emas are in the opposite order and there is a bigger than usual uptick on the MACD and the RSI is bellow 49
bigger than usual ticks are defined by bollinger bands around the Macd and the ticks have to be higher than 35 and lower than -10
you can change whatever setting you like to make the strategy more profitible. pls share when you find a more profitible setting than me
the stoploss doesnt work correct if it would be hit in the same candle you enter the trade. pls share when you have a solution for this
the stratagy is profitible when i backtested it for the last month, but i dont know how it will play out in the future, so you enter the signals at your own risk
Moving Average Convergence Divergence with Rate of Change
Purpose - MACD is an awesome indicator. However, I felt I could improve the existing MACD indicator by also letting it visualize the rate of change (ROC) of the histogram (whether rate of change is increasing or decreasing - just like a derivative). By doing so, the indicator will better show the rate of change of the trend.
How It's Done - To the original MACD indicator, I have added a bit more conditional statements that automatically calculates the ROC in MACD histogram and visualizes through 8 different colors.
Interpretation - While the histogram is above 0, darker color indicates the stronger up trend, and lighter the color, weaker the up trend and potentially indicates the bears are overtaking, and vice versa for the case where the histogram is below 0.
MACD Multiple AlertsThis script help traders to catch bullish and bearish momentum. It creates an alert for 40 altcoins based on the MACD cross over and cross under.
The MACD input are adjustable in the settings and you can choose your favorite assets.
Simply add this indicator to the chart wait that if finish to load and then create an alert on the time frame of your choice.
Enjoy your trading
F_rank_01
AMACD - All Moving Average Convergence DivergenceThis indicator displays the Moving Average Convergane and Divergence ( MACD ) of individually configured Fast, Slow and Signal Moving Averages. Buy and sell alerts can be set based on moving average crossovers, consecutive convergence/divergence of the moving averages, and directional changes in the histogram moving averages.
The Fast, Slow and Signal Moving Averages can be set to:
Exponential Moving Average ( EMA )
Volume-Weighted Moving Average ( VWMA )
Simple Moving Average ( SMA )
Weighted Moving Average ( WMA )
Hull Moving Average ( HMA )
Exponentially Weighted Moving Average (RMA) ( SMMA )
Symmetrically Weighted Moving Average ( SWMA )
Arnaud Legoux Moving Average ( ALMA )
Double EMA ( DEMA )
Double SMA (DSMA)
Double WMA (DWMA)
Double RMA ( DRMA )
Triple EMA ( TEMA )
Triple SMA (TSMA)
Triple WMA (TWMA)
Triple RMA (TRMA)
Linear regression curve Moving Average ( LSMA )
Variable Index Dynamic Average ( VIDYA )
Fractal Adaptive Moving Average ( FRAMA )
If you have a strategy that can buy based on External Indicators use 'Backtest Signal' which returns a 1 for a Buy and a 2 for a sell.
'Backtest Signal' is plotted to display.none, so change the Style Settings for the chart if you need to see it for testing.
Hulk Strategy x35 Leverage 5m chart w/Alerts This strategy is a pullback strategy that utilizes 2 EMAs as a way of identifying trend, MACD as an entry signal, and RSI and ADX to filter bad trades. By using the confirmation of all of these indicators the strategy attempts to catch pullbacks, and it is optimized to wait for high probability setups. Take not that the strategy is optimized for use on BTCUSDT along with 35 times leverage(Using leverage is risky). The Hulk Strategy waits for strong trend confirmation and then attempts to identify pullbacks using MACD and RSI. By using these it identifies strong short term movement against the trend(hence the name Hulk). To use the strategy wait for the strategy to make an entry, and then enter with a stop loss of 1.1% and a take profit of 1.35% with respect to if it is a long or short position. The trade frequency of this strategy is high as it is made for use on the 5m timeframe. But this does not mean you will have to be staring at your computer constantly as an average of 1 trade takes place each day. This will vary a lot though, somedays the strategy enters up to 4 times. I wish you good trading and hope that you like this strategy!
P.S. The indicators on my chart are visualizations of the indicators used in the strategy, they are not necessary for the strategy to work though. Also the colored in cloud on the price chart is an EMA cloud and it comes with the strategy when you add it to your chart. This EMA cloud consists of two EMAs a 50 and a 200 EMA.
MACD Support ResistanceThis script is dynamic support & resistance based on MACD cross.
Resistance= Highest value of candle looks back when MACD crossunder.
Support= Lowest value of candle looks back when MACD crossover.
Middle line is average of Resistance and Support.
Buy when close, LSMA and SMMA crossover middle line. Please use Green Trend Line as SL or Trailing.
Sell when close, LSMA and SMMA crossunder middle line. Please use Red Trend Line as SL or Trailing.
Let me know if its useful for you in the comments and by giving Like (means a lot to me). Also share your feedback and ideas to improve this script further.
Median Convergence DivergenceIntroduction
The Median Convergence Divergence (MCD) is a derivative of the Moving Average Convergence Divergence (MACD). The difference is the change in the use of the measure of central tendency. In MACD, moving average (mean) is used, whereas, in MCD, the median is used instead. The purpose of using the median is to eliminate the outlying values, which would be calculated for a moving average. The outliers would affect the value of the moving average.
For example: 3, 5, 7, 8, 5, 4, 2, 1, 6, 21, 8. The data set average is 6.3, whereas the median value is 5. There is a difference of about 23% in the example. The reason is the outlying value '21' in the data set.
As the markets are volatile, outlying values can always emerge. A moving average will consider those values; on the other hand, the median will ignore. If the strategy calls for a tool to ignore the outliers, the Median Convergence Divergence would be a great centered oscillator.
The default values have changed to suit the current trading days in a week. When the MACD was introduced, there would be six trading days in a week. Therefore, it used 12 (2 weeks), 26(4 weeks), and 9 ( 1.5 weeks). But now that there are five trading days per week. The default values are adapted to them. Feel free to change them as per your wish.
Recommended Settings
The current settings are set to be used for the Daily Time Frame: 5 day period for the fast line, a 20 day period for the slow line, and a 10 day period for the signal line. (5 days represent a trading week, 10 days is two weeks, and 20 days is 4 weeks or a month)
For the weekly charts, use 4 week period for the fast line, 13 week period for the slow line, and 8 week period for the signal line. (4 weeks represent a month, 8 weeks is two months, and 13 weeks is 3 months or quarterly)
And for monthly charts, use 3 month period for the fast line, 12 month period for the slow line, and 6 month period for the signal line. (3 months is quarterly, 6 months is bi-yearly, and 12 month is yearly)
It'll be challenging to measure for intraday since there are many different timeframes within intraday. The settings mentioned above should also be customized as per the requirements of the trading strategy.
Strategy
The strategy application is the same as the MACD, i.e., Signal Line Crossovers, Zero Line Crossovers, and Divergence.
Signal Line Crossovers: When the MCD line crosses above the Signal line, it's a bullish crossover. When the MCD line crosses below the Signal line, it's a bearish crossover.
Zero Line Crossovers: It's a bullish crossover when the MCD line crosses above the Zero line. When the MCD line crosses below the Zero Line, it's a bearish crossover.
Divergence: When price shows a lower low, but MCD shows a higher low, it's a bullish divergence. When the price shows a higher high but MCD shows a lower high, it's a bearish divergence.
Using other indicators in conjunction with the Median Convergence Divergence is recommended to take entry and exit signals.
MACD + DMI Scalping with Volatility Stop by (Coinrule)Trend-following strategies are cool because they allow you to catch potential high returns.
The main limit of such strategies are:
False signals > the asset is not experiencing a strong trend. The strategy gets stuck with a sideways move or, worst, with the beginning of a downtrend.
The sell signal may come later than the actual top, leading in some cases to turn a trade in profit into a loss.
This strategy tries to address these limitations to develop a trading system that optimises the entry and closes trade once the profit achieves a pre-set level.
ENTRY
The trading system uses the MACD and the DMI to confirm when is the best time for buying. Combining these two indicators prevents trading during downtrends and reduces the likelihood of getting stuck in a market with low volatility.
The system confirms the entry when:
The MACD histogram turns bullish.
When the positive DMI is greater than the negative DMI, there are more chances that the asset is trading in a sustained uptrend.
EXIT
The strategy comes with a fixed take profit combined with a volatility stop, which acts as a trailing stop to adapt to the trend's strength. Depending on your long term confidence in the asset, you can edit the fixed take profit to be more conservative or aggressive.
The position is closed when:
The price increases by 3%
The price crosses below the volatility stop.
The best time frame for this strategy based on our backtest is the 3-hr . The 4-hr can work well. In general, this approach suits medium to long term strategies
The strategy assumes each order to trade 30% of the available capital to make the results more realistic. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange.
255 EMA Strategy//--- From 15 Trading Examples by Trader Alyx ---
// Seems like this strategy works better if we reverse the EMA filter logic.
// "Description: This basic scalping strategy allows you to enter the market based upon sentiment
// provided by the EMA, set at 255 periods. When price is trading below the 255 EMA, you would
// look to enter a LONG BUY positions, and when price is trading above the 255 EMA, you would
// look to enter a SELL SHORT position. The MACD lagging indicator will show you clear signals for
// when to do this. When the MACD lines cross in a bullish manner and price is below the 255
// EMA, buy. When the MACD lines cross in a bearish manner and price is above the 255 EMA,
// sell.
// NOTE: Make sure that price is trading away from the 255EMA before entering a LONG or SHORT
// position. As you can see in the chart below, the clearest signs for trade entry were presented
// when price was trading AWAY from the 255EMA"
Easy Entry/Exit Trend Colors (With Alerts)This is an updated version of user Algokid's script called 'AK MACD BB INDICATOR V 1.00'. You can find that original script here:
I added many alerts along with the Bullish and Bearish alerts when the MACD crosses over the Upperband or crosses down on the Lowerband.
I personally use this indicator with Crypto charts (Bitcoin on a 15min, 1hour, and 4 hour timeframe) as one of many confirmations that it's a good time to enter a trade. This script was made to be easy to follow with the colors of GREEN triangles being a good uptrend or entry confirmation, and RED being a confirmation to sell/short or exit your trade.
It's important to use this indicator in combination with other indicators that can give you more confirmations to enter or exit a trade, and make sure you are on normal candles and not HA or any other candles as you can get wildly inaccurate results.
This script also has the Death & Golden crosses, which is the slow and fast moving averages crossing over each other. I don't use this as an additional confirmation, it's just nice to know where the cross happens.
MACD Trendprediction Strategy V1A trend following indicator based on the MACD and EMA. In this case, signals are not generated by crossing the signal lines as with the MACD, but as soon as the distance between the signal lines increases or decreases. A profit factor of 1.6-3.5 is achieved.
Ein Trendfolge-Indikator, auf der Basis des MACD und EMA. Dabei werden Signale nicht wie bei dem MACD per Kreuzung der Signallinien generiert, sondern sobald ein der Abstand der Signallinien zu oder abnimmt.
Multiple Screeners with AlertsI already published few version of my custom screeners. Unfortunately, because of TradingView's security function call limit you can't use more than 40 stocks in 1 screener.
Fortunately, you can compute multiple values in your function and screen few indicators at once.
In this script I show how you can compute 5 indicators at the same time for 40 instruments. I display then in different labels.
Every label consist of list of instruments satisfying current indicator conditions and a value for it. It can be absolute value as for RSI or -1/1 representing Bullish/Bearish event.
Also you can create 1 alert with result of all screeners inside.
In this example I took 5 indicators with following conditions:
RSI - "RSI < 30" or "RSI > 70"
TSI - "TSI < -30" or "RSI >30"
ADX - "ADX > 40"
MACD - "MACD Bullish Cross" or "MACD Bearish Cross" (1 and -1 in screener)
AO - "AO Crosses 0 UP" or "AO Crosses 0 DOWN" (1 and -1 in screener)
Params
- bars_apart - this parameter define how may bars apart you labels are on your chart. If you see labels overlapping, increase this number.
- Parameters for all used indicators
- 40 symbol inputs for instruments you want to use in this screener
Alerts
You can create an alert from it easily by selecting screener name from the list and then selecting "Any alert() function call".
No additional configuration is required, message and alert on close is generated in the code.
You should better change default name for your alert. Sometimes because of big amount of inputs you might receive an error.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
MACD BTC Long/Short Strategy v1.0This strategy will use only default MACD with Simple MA(Signal Line) mode 'ON' to determine when it's time to long/short using its histogram value.
Current version has 2 more entries added to increase more trades and profits along the way while maintaining low 'max drawdown' and high returns.
Entry will be opened when macd line(blue) crossed with signal line(red).
Entry will be closed when histogram increased/decreased opposite its previous histogram.
Re-enter will opened a position when histogram continues after X delay (Re-enter Delay setting).
Sculp will opened a position when histogram is still in light colors for X delay (Sculp Delay setting).
Macd Divergence with higher timeframe trendThis script Uses Ma`s for Trend confluence and looks for macd divergence where the macd is below the Zero line on a long and doesnt cross back up before the divergence happens.
Also added Tp as preeset 2:1RR in green. SL in red and 1:1 RR in orange.
Alerts are included too.
MACD Ichimoku By XBT_TRADE The Green Line is MACD , other are Tenkan and Kijun line from MACD line you can use this indicator and it help you to find komu divergence and price
Beep Boop(Improved) Beep Boop Indicator for Trending Markets originally written by Trading Rush.
It is originally based on the MACD 12-26 and the 50 bar EMA.
The macd hist is color coded with green as buy and sell as red.
I added an option to use a couple of lower lag ema's (See line 13 - ema_signal).
Hull MACDMACD constructed using Hull MA and triangular MA.
HMA overshoots while TMA lags, producing an interesting MACD even when the two MAs have the same period.
Coloring shows tops, bots, and inflections.
Elder-Keltner-Impulse-MA Study by STTAStudy Name: Elder-Keltner-Impulse-MA Study by STTA
English:
This indicator shows in a combined way three Keltner Channels with EMA21 and multiplier 1,3,5, the Elder Impulse System and a short EMA 11 to recognize the valuation zone, according to various strategies of Dr. Alexander Elder.
This indicator can be applied on all symbols.
Inputs: displayed symbol
Settings:
Elder Force Index (EFI)
-EIF MACD Length
-EIF MACD Slow Length
-EIF MACD Signal Length
-EIF EMA Length
EMA Short Length
Keltner Channels (KC)
-KC MA Length
-KC Multiplier1-3
-KC Source
-KC Type
-KC Bands Style
Outputs:
-EIF Bar Colors
-KC Upper1-3 channel upper and lower Lines
-MA Short
MACD ProMoving average convergence divergence pro.
Original MACD with new features, Including...
1. Three different modes.
Basic, Logarithmic, Percent (calculates difference of oscillator MAs in percent)
2. Additional moving averages for oscillator, signal and even histogram.
EMA, WMA (linearly weighted), LMA (logarithmically weighted), SMA
Volume Weighted RMA (I've been suggested to make a MACD with the VWEMA that I published recently but that was too fast, this almost 2 times slower because of using RMA instead of EMA)
VWRMA(s) (an alternative for VWRMA which uses candle formation to simulate the volume, can be useful when volume is not provided for the symbol or it is not proper)
And DEMA (Double Exponential MA)
3. Signal Displacement.
If you want to add some delay to signal, could help for extra confirmation of center crosses and removal of some falss ones.
4. Histogram Smoother.
For those who like the smooth curves. Can deliver a cleaner histogram even in volatile markets.
5. Bar color for more fun.
MACD StrategyThis script sends buy and sell signals as alerts to 3Commas (online software with trading bots in cryptocurreny)
It's based on 2 indicators:
- MACD
- 12 EMA and 26 EMA
When the 12 EMA and 26 EMA crossover, the MACD line crosses above 0. The goal here is to look for buy signals when the MACD and Signal are below 0, the histogram is positive, and there was or will be a 12 EMA and 26 EMA crossover.
I struggle with the following:
- There are multiple ways to use this as a crossover signal. I want to calculate the win rate of every posibility.
- What should be my take profit and my stoploss?
I think a 2:1 R/R,and a 60% win rate would make a great strategy! I could use some advice.