great work, are the new added additional Feature in the original code?Added an Additional Feature that should help identify the tops and bottoms, or when a stock is close to turning retracing.
Option to add price action color change or just leave on lower indicator
Thank You@crawford5002 yes it is
I have actually ported it to TradingView, but am having problems getting the results to line up exactly with ToS since there is no StochasticFull function in TradingView, so I have had to recreate this manually. I have been tinkering with this the last few days, but have not been able to get this to work perfectly. If you want to troubleshoot the code, let me know, and we can try to figure this out together. It might just be that I am not understanding the Stochastic calculation.Love it. Any plans to port it to tradingview?
No worries. Thanks!@egshih I wish I could help more with that. I actually have never even used trading view, I know nothing of how their script works. Sorry
input volumeAveragingLength = 20;
input volumePercentThreshold = 50;
def aVol = Average(volume, volumeAveragingLength);
def pVol = 100 * ((volume - aVol[1]) /aVol[1]);
def pDot = pVol >= volumePercentThreshold;
plot volumeStrength = if pDot and (Bull or Bear) then hl2 else Double.NaN;
volumeStrength.SetPaintingStrategy(PaintingStrategy.POINTS);
volumeStrength.SetLineWeight(3);
volumeStrength.SetDefaultColor(color.cyan);
volumeStrength.hideBubble();
Join useThinkScript to post your question to a community of 21,000+ developers and traders.
Start a new thread and receive assistance from our community.
useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.
We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.
If you are new, or just looking for guidance, here are some helpful links to get you started.