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.
Search in scripts for "MACD"
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.
MACD Cross+MAStrategy MACD cross + Ma cross
การเข้าจะเข้าต่อเมื่อมีการ Cross ของ MACD ก่อน แล้วมีการ Cross ของเส้น ma 9,26 ตามมา
จากการ Backtest ของผมถือว่าเป้น Indicator ที่ค่อนข้างบอกให้เข้าช้าเลยทีเดียว แต่ใช้ Follow เทรนพอใช้ได้อยู่ครับ
แนะนำให้ใช้ในช่วงที่ตลาดเป็นขาขึ้นนะครับ ช่วงหมียาวอย่างปี 2018 Indicator ตั้วนี้ไม่เวิร์คอย่างแรงเลยครับ
ในภาพ backtest ตั้งแต่ปี 2019 - ปัจจุบันนะครับ
ใช้ใน TF Day จะเห็นผลดีที่สุด
Volume-Weighted Elder Impulse SystemThis is a volume-weighted version of the Elder Impulse System. The Elder Impulse System utilizes the MACD along with EMA13(in general) to find the optimal entry and exit points. In this version, the MACD and EMA have both been changed into a Volume-weighted version. With volume involved, the indicator is, in general, faster than the original Elder Impulse system, in showing entry and exit points.
DMA: Moving Average of OscillatorTechnical Indicator Moving Average of Oscillator (Moving Average of Oscillator OsMA) is the difference between the oscillator and oscillator smoothing. In this case, an oscillator is used the basic MACD line and the smoothing of the signal.
Calculate:
OSMA = MACD - SIGNAL
MACD = EMA(CLOSE, 12) - EMA(CLOSE, 26)
SIGNAL = EMA(MACD, 9)
Macd CloudsDisplays a 4C Macd as a cloud ribbon to act as a chart overlay to quickly visually identify MACD trends.
Trend Checker by Hally - IndicatorIt is an indicator that overlaps MACD and Stochastics.
It has both characteristics.
The trend changes when two lines intersect.
I think the reaction is bad in the range market.
Also, when there are Stochastics and MACD lines above the indicator, it is possible to think whether it is overbought while riding the trend, and it may be helpful for making decisions such as "maybe it will reverse soon". Hmm.
Also, I think it is better to use it in combination with other indicators.
This is my first pine script, and I couldn't find it even if I searched for the script with overlapping indicators of different scales, so I tried making it by trial and error.
I hope it helps somebody trying to do the same.
MACDとStochasticsを重ね合わせたインジケーターです。
それぞれの特徴を併せ持っています。
2本のラインが交差する時トレンドが変化します。
レンジ相場では反応が悪いと思います。
また、インジケーターの上の位置にStochasticsとMACDラインがあるときはトレンドに乗りながらも買われすぎかどうか考えられることが出来ますし、「そろそろ反転するかも」などの判断の助けになるかもしれません。
また、他の指標との併用して使うほうが良いと思います。
pineスクリプトは初めてで、異なるスケールのインジケーターを重ね合わせていスクリプトは探しても見つからなかったので試行錯誤で作ってみました。
同じようなことをやろうとしてる誰かの参考になれば幸いです。
MACD Trend Squeezer V2This is a combination of a slightly sped up MACD overlay on top of a modified Bar Trend Squeeze or highly modified Momentum indicator. Helps to see the trend/momentum matched with the characteristics of the MACD and it's historiography. Very user friendly for adjusting color, transparency, depth, lines, size, etc.
MACD is the dark gray line.
Its signal slower line is orange.
Its historiography is the area fill blues and reds
Trend Squeezer / momentum are the Bars in the background.
// Changes from original version \\
Visual depth mostly. Most of the items are adjustable in the settings.
Increased user friendly inputs to adjust colors, lines, data, etc.
(darken / lighten and change background bar colors, increase/decrease line strengths and colors, adjust field data inputs)
MACD Zero lag impulse systemThis version of impulse uses the double exponential moving average instead of the typical ema.
The impulse system :
The Impulse System combines two simple but powerful indicators.
One measures market inertia, the other its momentum. When both
point in the same direction, they identify an impulse worth following.
We get an entry signal when both indicators get in gear.
The Impulse System uses an exponential moving average to find
uptrends and downtrends. When the EMA rises, it shows that inertia
favors the bulls. When EMA falls, inertia works for the bears. The sec-
ond component is MACD-Histogram, an oscillator whose slope reflects
changes of power among bulls or bears. When MACD-Histogram rises,
it shows that bulls are becoming stronger. When it falls, it shows that
bears are growing stronger.
The Impulse System flags those bars where both the inertia and the
momentum point in the same direction. When both the EMA and
MACD-Histogram rise, they show that bulls are roaring and the uptrend
is accelerating.
MACD + Stochastic + RSI (Long + Short)My strategy uses a combination of three indicators MACD Stochastic RSI .
The Idea is to GO LONG when ( MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time
and GO SHORT when ( MACD < Signal and RSI < 50 and Stochastic < 50)
This strategy works well on futures and stocks especially during market breaking up after consolidation
The best results are on Daily charts , so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under/over Signal line
Its Preformance is quite stable.
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
MACD + Stochastic + RSI StrategyMy strategy uses a combination of three indicators MACD Stochastic RSI.
The Idea is to buy when (MACD > Signal and RSI > 50 and Stochastic > 50) occures at the same time
This strategy works well on stocks and cryptos especially during market breaking up after consolidation
The best results are on Daily charts, so its NOT a scalping strategy. But it can work also on 1H charts.
The strategy does not have any stops and profit targets, so we can take all the market can give us at the moment.
The exit point only when MACD goes under Signal
Its Preformance is quite stable.
So, use it, trade it.
If it will help you to imprive your trading results, please donate me
BTC: 12kd1F8buWisUBdq27BBwRkUvzW7Ey3og5
Barssince Playground (Threshold & Persistence)Playground file for implementing MACD with threshold values while visualizing the persistence plot, which counts the amount of spent bars since the MACD delta crossed 0 value in either way.
MACD DEMA STRATEGY A strategy based on ToFFF MACD DEMA indicator
Even so , ı dont recommended using MACD DEMA alone.
Combine its code with your favorite indicators.
You can visit ToFFF's indicator :
Difusor de Fluxo [André Moraes] - Flow DiffuserPORTUGUÊS
Difusor de Fluxo de André Moraes. É um MACD com mais uma média de longo prazo. Explicação do próprio André Moraes em www.youtube.com
ENGLISH
Flow Diffuser created by André Moraes. It's a MACD with an extra long length average. The author's explanation can be viewed at www.youtube.com