How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Feature Request FAQ Help & Wiki Twitter

# Indicator: 4MACD

4865 13
4MACD allows you to see all facets of the current condition or that of a coming change in one pane. You can see the direction of the current momentum. You can see the initiation of a change; you can then see that change occur as the price and momentum move in an opposite direction.

Note that you still need to use other indicators like BB, OBV for confirmation. More details at http://www.omniumsoftware.com/FourMACD.htm

BTW             , I am not a trader, but a coder. I spend lot of time here at TV and have learnt a lot about how pro-traders think.

This is my way of giving back to TV community. Hope you find this useful (do check out my other indicators). Appreciate any comments / feedback.

//
// @author LazyBear
//
study(title = "4MACD [LazyBear]", shorttitle="4MACD_LB")

source=close
mult_b=input(4.3, title="Blue multiplier")
mult_y=input(1.4, title="Yellow multiplier")

ema5=ema(close,5)
ema8=ema(close,8)
ema10=ema(close,10)
ema17=ema(source,17)
ema14=ema(source,14)
ema16=ema(close,16)
ema17_14 = ema17-ema14
ema17_8=ema17-ema8
ema10_16=ema10-ema16
ema5_10=ema5-ema10

MACDBlue=mult_b*(ema17_14-ema(ema17_14,5))
MACDRed=ema17_8-ema(ema17_8,5)
MACDYellow=mult_y*(ema10_16-ema(ema10_16,5))
MACDGreen=ema5_10-ema(ema5_10,5)

plot(MACDBlue, style=histogram, color=#0066cc, linewidth=4)
plot(MACDRed, style=histogram, color=red, linewidth=4)
plot(MACDYellow, style=histogram, color=yellow, linewidth=4)
plot(MACDGreen, style=histogram, color=green, linewidth=4)
Thanks man. So is this short or long?
FrancisKim
YW. Currently neutral on BTC.
LazyBear
cheers
Flight OpsOfficer
YW.
Could you highlight a time when you see it "setting up" for a trade? That would be helpful too! Keep up the good work and I hope your coding turns into trading profits. Best regards, Tim
timwest
Thx timwest. I picked up this indicator recently too. afaik, this is how to interpret this:

When red is on top and green on the bottom – you want to be short or in cash.

There are two additional colors that help one determine when to enter and when to exit.

When green is on top and one notices that the tips of the green histogram are turning yellow and the red histograms on the bottom are getting blue tips – go to cash now or short now.

When red is at the top and starts to form blue tips or yellow tips are forming on the green while green is in the bottom of the chart – one wants to go long with the fund or stock.

Need confirmation from other indicators, I have seen people suggest BB/TVI.
LazyBear
Thank you!
This is gorgeous. I have yet to digest it but it certainly is interesting. Thanks LB!
grahvity
YW.
LazyBear...I have no idea if this indicator is Great...or Useless....But You Have MAD CODING SKILLS!!! I can think of a few indicators I need to re write with the coloring feature you use....
ChrisMoody
Thanks.
the link is not working, can you please resend it? Thank you LazyBear!
United States
United Kingdom
India
España
France
Italia
Polska
Brasil
Россия
Türkiye
Indonesia

한국
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