Wave-Trader

2 colour MACD

1018 7 66
study(shorttitle = "MACD WAVE TRADER", title = "2 colour MACD")
fastMA = input(title="Fast moving average", type = integer, defval = 12, minval = 7)
slowMA = input(title="Slow moving average", type = integer, defval = 26, minval = 7)
lastColor = yellow
= macd (close, fastMA, slowMA, 9)
= macd (close, fastMA, slowMA, 9)
plotColor = currMacd > 0
? currMacd > prevMacd ? white : maroon
: currMacd < prevMacd ? maroon : white
plot(currMacd, style = histogram, color = plotColor, linewidth = 3)
plot(0, title = "Zero line", linewidth = 1, color = gray)
Remove from Favorite Scripts Add to Favorite Scripts
For Training Course Visit:
Website: http://www.techtradingacademy.com
Youtube: https://youtu.be/nZSYWsVeLkM
Twitter: https://twitter.com/Wave__Trader
Facebook: https://goo.gl/h1zcm3
Instagram: https://goo.gl/LSauix
Telegram: https://t.me/Wavetraders
i try...tanks for share..
Reply
Isn't it the same like MACD 4C?
Reply
Ian ondrej.holubek
@ondrej.holubek, Yes, just changed colors :D
Reply
@Ian, yup you are right you guys can do that mate you can set your variables as well and also colours....
Reply
better change colors from this dull one. great script . thx.
Reply
@forexyoga, Sure mate i will do that
Reply
I am short Uj Red zone
Reply
EN English
EN English (UK)
EN English (IN)
DE Deutsch
FR Français
ES Español
IT Italiano
PL Polski
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