Savage Oscillator for ThinkorSwim

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

tUKcRkt.png
great work, are the new added additional Feature in the original code?
 
@raghu4228 The dots work in the same manner as the arrows. You should be able to scan using the current script.
 
Love it. Any plans to port it to tradingview?
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.

@FateOwnzYou

For these 2 lines of code, would you happen to know the exact settings for K% and D% you are using? I tried fiddling around with what you have below but have not gotten an exact match. If not, no worries. Thanks!

ToS:
Def S1 = Max(-100, Min(100, (StochasticFull(KPeriod = 8, slowing_period = 5, averageType = AverageType.EXPONENTIAL))) - 50) / 50.01;
Def S2 = Max(-100, Min(100, (StochasticFull(KPeriod = 17, slowing_period = 5, averageType = AverageType.EXPONENTIAL))) - 50) / 50.01;

TV:
k1 = ema(stoch(close, high, low, 8), 5)
d1 = ema(k1, 5)
k2 = ema(stoch(close, high, low, 17), 5)
d2 = ema(k2, 5)
 
Added another script in original post for "Just Arrows" as a stand alone indicator to show tops and bottoms of potential price retracements
@tem2005
 
Last edited:
@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
 
Can you give the link to the last one? I am not getting the Middle line or the yellow dots. Thanks
 
For the volume confirmation dots on candles, please add following lines of codes

Code:
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.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
357 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

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.

How do I get started?

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.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top