496 0 63
//Modified MACD and RSI alert
Remove from Favorite Scripts Add to Favorite Scripts
study(title="BIGMAC_DD_VX2", shorttitle="BIGMAC_DD_VX2")
source = close
fastLength = input(13, minval=1), slowLength=input(34,minval=1)
fastMA = ema(source, fastLength)
slowMA = ema(source, slowLength)
macd = fastMA - slowMA
signal = sma(macd, signalLength)
hist = macd - signal
plot(hist, style=histogram, color=black, linewidth=3)
plot(macd, color=red, linewidth=1)
plot(signal, color=blue, linewidth=2)
plot(cross(signal, macd) ? signal : na, color=black, style = circles, linewidth = 4)
//Modified MACD and RSI alert / munsifk 
fastLength2 = input(8, minval=1)
slowLength2 = input(34,minval=1)
hline(0, color=purple, linestyle=line)
fastMA2 = ema(close, fastLength2)
slowMA2 = ema(close, slowLength2)
macd2 = fastMA2 - slowMA2
signal2 = sma(macd2, signalLength2)
Length2 = input(21, minval=1)
Oversold2 = input(49, minval=1)
Overbought2 = input(51, minval=1)
xRSI = rsi(close, Length2)
pos2 = iff(xRSI > Overbought2 and signal2 < macd2, 1,
        iff(xRSI < Oversold2 and signal2 > macd2, -1, nz(pos2[1], 0))) 
plot(pos2, title="pos", style=area, color=red, transp=80)
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
SV Svenska
TR Türkçe
RU Русский
PT Português
ID Bahasa Indonesia
MS Bahasa Melayu
TH ภาษาไทย
VI Tiếng Việt
JA 日本語
KO 한국어
ZH 简体中文
ZH 繁體中文
AR العربية
Home Stock Screener Forex Signal Finder Cryptocurrency Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators Website & Broker Solutions Widgets Stock Charting Library Feature Request Blog & News FAQ Help & Wiki Twitter
Profile Profile Settings Account and Billing My Support Tickets Contact Support Ideas Published Followers Following Private Messages Chat Sign Out