Archived: Supertrend Indicator by Mobius for ThinkorSwim

Status
Not open for further replies.
Can Supertrend be auto traded as is on TOS ?

Opens the first trade......then....... closes and opens in the other direction ?

just let it run on it's own
 
@rjam2020 We already provided a backtesting code for this indicator, however, ToS does not support auto trade.
 
Hi all, I'm new at ThinkorSwim, I've been using another platform. I'm trying to use the Super Trend indicator, but can't find any way to get rid of the price bubble. I don't really need them, anyone have a suggestion?

Thanks, WayneG
 
Hey, thanks for sharing this study! I'm having a small issue. Is there anyway to extend the price bubble further away from the candles? It seems to be blocking several candles around it. Or maybe make it more translucent ? Whatever you think would work and be best to still be able to see the candles.

Thanks!
 
I started using the codes for study and watchlist.
I have a question about the numbers in the watchlist column.
What are they representing and how do you use them?
(I created 2 columns - 1 min chart, 5 min chart, both excluding extended hours trading sessions)
I read the old posts about these numbers but I didn't understand...
Can somebody help me with this?
 
I started using the codes for study and watchlist.
I have a question about the numbers in the watchlist column.
What are they representing and how do you use them?
(I created 2 columns - 1 min chart, 5 min chart, both excluding extended hours trading sessions)
I read the old posts about these numbers but I didn't understand...
Can somebody help me with this?
Hi @Jenna H. Please go to imgur.com and get the picture code and post a screenshot of what the problem is. Please place it in the Questions thread. Thanks, and Welcome.
 
Thank you @markos for the instructions! I found the tutorial on how to post images and I am reposting my question.

I started using the code for study and watchlist of supertrend.
I created 2 columns in my watchlist- 1 min chart, 5 min chart, both excluding extended hours trading sessions. I was wondering what these numbers in the columns represent?

Screenshot of my watchlist:
4Wdienc.jpg


Code from my watchlist:
lGyrbx0.jpg
 
Thank you @markos for the instructions! I found the tutorial on how to post images and I am reposting my question.

I started using the code for study and watchlist of supertrend.
I created 2 columns in my watchlist- 1 min chart, 5 min chart, both excluding extended hours trading sessions. I was wondering what these numbers in the columns represent?

Screenshot of my watchlist:
4Wdienc.jpg


Code from my watchlist:
lGyrbx0.jpg
Looks like its counting bars since triggered. So red with a 4 would be mean that it turned red 4 (bars,minutes, days, etc) ago
 
Can anyone alter the code so that it can be used for a conditional order?
Perhaps if a buy and sell signal was added.
 
BenTen I appreciate your response, that works for a strategy that I have looked at. But to use it in a conditional order it does not work. Unless I don't understand something. I prefer using the conditional orders so that the entry and exit are based on crossing above or below. Its effectively autotrading as when the condition is met it automatically opens the position, then when the condition is met such as supertrend closing below price it will close. But conditional orders don't like some code.
 
Does anyone have a tutorial to setup and use the scanner with the code below:

input AtrMult = .70;
input nATR = 4;
input AvgType = AverageType.HULL;
def h = high;
def l = low;
def c = close;
def v = volume;
def ATR = MovingAverage(AvgType, TrueRange(h, c, l), nATR);
def UP = HL2 + (AtrMult * ATR);
def DN = HL2 + (-AtrMult * ATR);
def ST = if c < ST[1]
then Round(UP / tickSize(), 0) * tickSize()
else Round(DN / tickSize(), 0) * tickSize();
#plot SuperTrendUP = if ST crosses below close then 1 else 0;
plot SuperTrendDN = if ST crosses above close then 1 else 0;
# End Code SuperTrend
 
Status
Not open for further replies.

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
378 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