LazyBear

Indicators: Volume-Weighted MACD Histogram & Sentiment Zone Osc

Volume-Weighted MACD Histogram
-------------------------------------------------------------------------------------
Volume-Weighted MACD Histogram, first discussed by Buff Dormeier, is a modified version of MACD study. It calculates volume-averaged Close price for finding the histogram.

More info:
www.moneyshow.c...om/articles.asp?aid=daytra...

Sentiment Zone Oscillator
-------------------------------------------------------------------------------------
Sentiment Zone Oscillator, developed by Walid Khalil, is a complementing oscillator to VZO and PZO.

To quote Walid:

>> The sentiment zone oscillator (SZO) is a leading contrary oscillator that measures the extreme emotions of a single market or share.
>> It measures and defines both extremes, bullishness (overoptimism) and bearishness (overpessimism), that could lead to a change
>> in sentiment, eventually changing the trend of the time frame under study. The SZO was devised on the belief that after several waves
>> of rising prices, investors begin to get bullish on the stock with increasing confidence since the price has been rising for some time.
>> The SZO measures that bullishness/bearishness and marks overbought/oversold levels.

SZO has its own oversold/overbought bands. Also, when SZO goes above 7, it indicates extreme optimism. When the SZO goes below -7, it indicates extreme pessimism.

More info: www.traders.com/Docu.../2012/05/Khalil.html

How to import / use custom indicators from this chart?
-------------------------------------------------------------------------------------
PDF: drive.google.co...mNrZUY1dTA/edit?usp=sharin...

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?
//
// @author LazyBear
//
// If you use this code in its original/modified form, do drop me a note. 
//
study("Volume Weighted MACD [LazyBear]", shorttitle="VWMACD_LB")
slow = input(12, "Short period")
fast = input(26, "Long period")
signal = input(9, "Smoothing period")


maFast = ema( volume * close, fast ) / ema( volume, fast ) 
maSlow = ema( volume * close, slow ) / ema( volume, slow ) 
d = maSlow - maFast 
maSignal = ema( d, signal ) 
dm=d-maSignal

h_color=dm>=0? (dm>dm[1]?green:orange) : (dm<dm[1]?red:orange)
plot( dm, style=histogram, color=h_color, linewidth=3)


//
// Easter Egg! Have fun :)
//
// d_color=d>=0? (d>d[1]?green:orange) : (d<d[1]?red:orange)
// zl=plot(0, color=gray)
// dl=plot(d, style=line, color=d_color, linewidth=4)
// fill(zl, dl, silver)