Reversal scanner for weekly


Please forgive me I'm new and the scan i'm looking for is probably already here but I dont know the terminology to find it.
Looking for a scanner that studies the last 4 candles on the weekly chart. The 3rd red candle would close lower than 4th red candle, 2nd red candle close lower than 3rd red candle, 1st candle (Last) would open lower than 2nd candle but turned green and have above average volume on last candle.
@mikewest Do you have a screenshot of this sort of pattern on an actual stock chart? I'd imagine you can easily build a scanner for this through the Candlestick Pattern Editor.

The 3 red candles need to be lower close than week before then the green candle open lower than week before but turns green with higher volume than average

Last edited by a moderator:
yes im wrong so what i want is it has to open below previous low. the previous candle low was 322.6 so it would have to be lower than that. so change close to previous low? and then tell me how much i owe you Thanks
Last edited:
@mikewest I think this is what you're asking for:

# Weekly Reversal Pattern
# Based on the request of @mikewest
# Assembled by BenTen at

def IsUp = close > open;
def IsDown = close < open;
def IsDoji = IsDoji();
def avgRange = 0.05 * Average(high - low, 20);
plot PatternPlot =
    IsDown[3] and
    IsDown[2] and
    IsDown[1] and
    IsUp[0] and
    close[3] >= close[2] and
    low[1] > open[0] and
    close[2] >= close[1];



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