Minervini PowerPlay For ThinkOrSwim

bulusufinances

New member
VIP
I have coded PowerPlay conditions by Minervini that have been giving some pretty good results for me recently (FNGU, ACMR) and have been my big winners. Now I got SOUN recently. I am not recommending these stocks, but putting the code with a scanner built-in and a white UP arrow indicates a condition is met.

I have been using it on Daily Timeframe, but I see it give some interesting results on Weekly as well.

Use as you see fit. Any experts, feedback is welcome too.

Code:
# Minervini Power Play Conditions
# bulusufinances
# Concept from https://tradingengineered.substack.com/p/the-powerplay-setup
# Second Reference - https://brkoutgeek.substack.com/p/mark-minervinis-power-play-setup

# Conditions for Minervini Power Play
#
#The stock's last closing price should be greater than $5.
#The percentage change of the closing price from 20 days ago should be greater than -25%.
#The percentage change of the closing price from 15 days ago should be between -15% and 5%.
#The percentage change of the closing price from 126 days ago should be greater than 85%.
#The stock's closing price should be greater than its 50-day simple moving average.
#The stock's closing price should be greater than its 200-day simple moving average.
# If all these are met, make PowerPlay as true
#
# Define the conditions
def condition1 = close > 5;
def condition2 = (close - close[20]) / close[20] > -0.25;
def condition3 = (close - close[15]) / close[15] > -0.15 and (close - close[15]) / close[15] < 0.05;
def condition4 = (close - close[126]) / close[126] > 0.85;
def condition5 = close > SimpleMovingAvg(close, 50);
def condition6 = close > SimpleMovingAvg(close, 200);

# Combine all conditions
def PowerPlay = condition1 and condition2 and condition3 and condition4 and condition5 and condition6;

# Scan
plot scan = PowerPlay;
scan.hide();

# Plot Arrow

plot PowerPlayFormation = if PowerPlay then 1 else 0;
PowerPlayFormation.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP);
PowerPlayFormation.SetLineWeight(5);
PowerPlayFormation.SetDefaultColor(Color.WHITE);

SOUN.png
 

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