StockFetcher Forums · Filter Exchange · Need help coding CCI w/ Volume Weighted EMA<< >>Post Follow-up
selfhigh05
23 posts
msg #136681
Ignore selfhigh05
7/9/2017 10:59:06 AM

Here is the filter from TV, need help coding it here. Looks like the CEMA only allows indicators so I am at a loss on how to get around it. It looks to be a great indicator and would love to have someones help in coding it here. Not that crazy about the graphing of it just in the actual value. Any help would be greatly appreciated.

study(title="CCI with Volume Weighted EMA ", overlay=false)
length = input(10, minval=1)
xMAVolPrice = ema(volume * close, length)
xMAVol = ema(volume, length)
src = xMAVolPrice / xMAVol

ma = sma(src, length)
cci = (src - ma) / (0.015 * dev(src, length))
plot(cci, color=black, linewidth=2)
band1 = hline(100, color=gray, linestyle=dashed)
band0 = hline(-100, color=gray, linestyle=dashed)
fill(band1, band0, color=olive)

StockFetcher Forums · Filter Exchange · Need help coding CCI w/ Volume Weighted EMA<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.