Wave-Trader

2 colour MACD

719 7 48
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:
http://www.techtradingacademy.com
Youtube: https://youtu.be/nZSYWsVeLkM
Twitter: https://twitter.com/Wave__Trader
Facebook: https://www.facebook.com/forexsignal.hunter/about?section=work
https://www.instagram.com/wave__trader/?hl
I am short Uj Red zone
Reply
better change colors from this dull one. great script . thx.
Reply
@forexyoga, Sure mate i will do that
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
i try...tanks for share..
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
France
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Forex Signal Finder Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Account and Billing Sign Out