LazyBear

DecisionPoint Volume Swenlin Trading Oscillator [LazyBear]

This is the volume version of "DecisionPoint Breadth Swenlin Trading Oscillator"

DecisionPoint Swenlin Trading Oscillator can be used to identify short-term tops and bottoms. You can read about the interpretation of the signals (& gotchas) in the link below.

I have added support for NYSE / NASD / AMEX and also a combined mode. You can specify custom advancing/declining volume symbols too.

More Info:
DBSTO: Article: http://stockcharts.com/school/doku.php?i...

List of my public indicators: http://bit.ly/1LQaPK8
List of my app-store indicators: http://blog.tradingview.com/?p=970

Having both Swenlin Breadth and Volume oscillators help spot the divergences quickly:

Remove from Favorite Scripts Add to Favorite Scripts
//
// @author LazyBear 
// 
// List of my public indicators: http://bit.ly/1LQaPK8 
// List of my app-store indicators: http://blog.tradingview.com/?p=970 
//
study("DecisionPoint Volume Swenlin Trading Oscillator [LazyBear]", shorttitle="DVSTO_LB", overlay=false, precision=5)
mkt = input (defval=1, minval=0, maxval=4, title="Market (0=>AMEX/NASD/NYSE Combined, 1=NYSE, 2=NASDAQ, 3=AMEX, 4=CUSTOM)")
aic=input(defval="AVVD", title="CUSTOM: Advancing Volume Symbol", type=symbol)
dic=input(defval="DVCD", title="CUSTOM: Declining Volume Symbol", type=symbol)
res = isintraday?"D":period // dont go below "D"
advn="AVVN", decn="DVCN" // NYSE
advnq="AVVQ", decnq="DVCQ" // NASDAQ
advna="AVVA", decna="DVCA" // AMEX
advc="(AVVN+AVVQ+AVVA)/3.0", decc="(DVCN+DVCQ+DVCA)/3.0"
adv= security(mkt==0? advc:mkt == 1? advn:mkt == 2? advnq:mkt == 3? advna:aic, res, close)
dec= security(mkt==0? decc:mkt == 1? decn:mkt == 2? decnq:mkt == 3? decna:dic, res, close)
i=(adv-dec)/(adv+dec)
sto=sma(ema(i * 1000, 4), 5)
sh=input(true, title="Show Histo")
plot(0, color=gray, title="MidLine")
plot(sh?sto:na, style=histogram, color=sto>0?sto>sto[1]?green:orange:sto<sto[1]?red:orange, title="Histo")
plot(sto, linewidth=2, color=maroon, title="DSTO-Volume")
List of my free indicators: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Comments

What happened LB. Did you retire?
+33 Reply
How do you plot green support and red resistance levels on the graph? Nice work!
+14 Reply
Hello,
I cannot able to use this indicator, it shows "Invalid symbol" in NSE Indian Market
+10 Reply
@mranjini, TV does not show volume for Nifty indices, only stocks.
Reply
http://stockcharts.com/school/doku.php?st=swenlin&%3Bid=chart_school%3Amarket_indicators%3Adpsto Checked this much later than orig post. The info was moved and posted the new link here to get description of the indicator. Good one LazyBear!
+2 Reply
hello folks
I can not use this for NSE:TCS daily chart... I am using like this
https://prnt.sc/u47zw4
is anything to change? or we can not use NSE symboles?
please guide, thanks
Reply
As usual you are awesome and always inspire people like me with your coding style.
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out