TradingView
Daveatt
Jun 29, 2019 8:22 AM
nTrend MACD Zero LAG
BITSTAMP:BTCUSD
120
Bitcoin / U.S. dollar
Bitstamp
Description
⋅
Jun 29, 2019 8:22 AM
Hello traders
This indicator is to color the candles based on a MACD Zero LAG
Just wanted to show that removing the noise from the candles natural coloring could be very helpful to determine a trend and stay focused
Enjoy
Dave
Moving Averages
Trend Analysis
Oscillators
trend
macd0level
macdzerolag
Comments
ZinhoSte
⋅
Apr 20, 2020 9:10 AM
can I please have the lower indicator? That modified macd looks good :D
Daveatt
⋅
Apr 20, 2020 10:11 AM
@ZinhoSte
, Sure it's open source so you can already access it and add it to your chart
ZinhoSte
⋅
Apr 20, 2020 10:12 AM
@Daveatt
, i cant find that specific 0 lag macd
Daveatt
⋅
Apr 20, 2020 8:49 PM
@ZinhoSte
, Gotcha, try "MACD Zero Lag"
Zero in letters
ZinhoSte
⋅
Apr 20, 2020 8:51 PM
@Daveatt
, hmmm still cant find it, can you give me the code or script pls?
Daveatt
⋅
Apr 20, 2020 8:56 PM
@ZinhoSte
,
//@version=4 study(title="MACD 0 Lag", shorttitle="MACD 0 Lag") source = close fastLength = input(40, minval=1) slowLength=input(100,minval=1) signalLength=input(150,minval=1) // FAST LINE ema1= ema(source, fastLength) ema2 = ema(ema1,fastLength) differenceFast = ema1 - ema2 zerolagEMA = ema1 + differenceFast demaFast = (2 * ema1) - ema2 // SLOW LINE emas1= ema(source , slowLength) emas2 = ema(emas1 , slowLength) differenceSlow = emas1 - emas2 zerolagslowMA = emas1 + differenceSlow demaSlow = (2 * emas1) - emas2 //MACD LINE ZeroLagMACD = demaFast - demaSlow //SIGNAL LINE emasig1 = ema(ZeroLagMACD, signalLength) emasig2 = ema(emasig1, signalLength) signal = (2 * emasig1) - emasig2 hist = ZeroLagMACD -signal cHist = hist > 0 ? color.lime : color.red plot(hist, title="histogram", style=plot.style_histogram, color = cHist, linewidth = 10) signalLine=plot(signal, title="signal", color=color.red ,linewidth = 1) zlLine = plot(ZeroLagMACD, title="MACD 0 Lag", color=color.blue) cDif = hist > 0 ? color.blue : color.red //fill(zlLine, signalLine, color=cDif)
greyghost7
⋅
Sep 7, 2019 7:41 AM
can i have the link for that oscillator
Daveatt
⋅
Sep 7, 2019 8:11 AM
@greyghost7
, you have even better, you have the source code up there :)
Otherwise
tradingview.com/script/GcbLcwG7-MACD-Zero-Lag/
greyghost7
⋅
Sep 7, 2019 1:20 PM
@Daveatt
, i appreciate it :D
More