Wave-Trader

2 colour MACD

944 7 63
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
English
English (UK)
English (IN)
Deutsch
Français
Español
Italiano
Polski
Türkçe
Русский
Português
Bahasa Indonesia
Bahasa Melayu
ภาษาไทย
Tiếng Việt
日本語
한국어
简体
台灣
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