9/30 Trading Setup Indicator for ThinkorSwim

BenTen

Administrative
Staff member
Staff
VIP
Lifetime
This is a simple moving average trading setup shared by Mike Bruns. I read it on Trading Setups Review and decided to give it a try. The concept was fairly simple to understand and turn into an indicator.

Buy Setup:
  • 9 EMA must be above the 20 EMA or 30 WMA
  • Close below 9 EMA (More conservatively, entire bar below 9 EMA)
  • Place buy stop order above the high of the bar that closes below 9 EMA
Sell Setup:
  • The 9 EMA must be below the 20 EMA or 30 WMA
  • Close above 9 EMA (More conservatively, entire bar above 9 EMA)
  • Place sell stop order below the low of the bar that closes above 9 EMA
F6vbGSV.png

jtdFNCh.png


You should read this to learn more about the strategy, where to place your entry and exit.

thinkScript Code

Code:
# 9/30 Trading Setup Indicator
# Concept by Mike Bruns of Trading Naked
# Assembled by BenTen at useThinkScript.com

# You are free to use this code for personal use, and make derivative works from it.
# You are NOT GRANTED permission to use this code (or derivative works) for commercial
# purposes which includes and is not limited to selling, reselling, or packaging with
# other commercial indicators. Headers and attribution in this code should remain as provided,
# and any derivative works should extend the existing headers.

# Start EMA
input price = close;
input length = 9;
input displace = 0;
def AvgExp = ExpAverage(price[-displace], length);
def emaBull = price < AvgExp;
def emaBear = price > AvgExp;

# Start Weighted Moving Average
input WMAlength = 30;
def AvgWtd = wma(price, WMAlength)[-displace];
def anotherBull = price > AvgWtd;
def anotherBear = price < AvgWtd;

# Plot Signals
plot longEntry = emaBull and anotherBull;
longEntry.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
longEntry.SetDefaultColor(Color.CYAN);
longEntry.SetLineWeight(2);
plot shortEntry = emaBear and anotherBear;
shortEntry.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_DOWN);
shortEntry.SetDefaultColor(Color.MAGENTA);
shortEntry.SetLineWeight(2);

Shareable Link

https://tos.mx/tZGsB9
 

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.
Top