One Black Crow & One White Soldier Candlestick Patterns for ThinkorSwim


Staff member
ThinkorSwim just added two new candlestick patterns. One was the bullish trend reversal pattern called One White Soldier and the other one was the bearish trend reversal candlestick called One Black Crow.

I was able to test them out on a few charts and both patterns look really promising for intraday traders and swing traders (depending on your risk tolerance).



Recognition Criteria for Bearish One Black Crow:

  • The first candle is long and bullish and continues an uptrend
  • The second candle is long and bearish
  • The second candle opens within the first candle's body limits and closes below the first candle's open.

Recognition Criteria for Bullish One White Soldier:

  • The first candle is long and bearish and continues a downtrend
  • The second candle is long and bullish
  • The second candle opens within the first candle's body limits and closes above the first candle's open.

You can add these candlestick patterns right now using the Patterns tab on your ThinkorSwim or you can grab the source code below.

Bullish Pattern

Rich (BB code):
# One White Soldier
# TD Ameritrade IP Company, Inc. (c) 2019

#wizard text: Inputs: length:
#wizard input: length
#wizard text: trend setup:
#wizard input: trendSetup

input length = 20;
input trendSetup = 3;

plot Bullish = IsDescending(open, trendSetup)[1] and
    IsLongBlack(length)[1] and
    IsLongWhite(length) and
    open > close[1] and
    open < open[1] and
    close > open[1];


Shareable Link:

Bearish Pattern

Rich (BB code):
# One Black Crow
# TD Ameritrade IP Company, Inc. (c) 2019

#wizard text: Inputs: length:
#wizard input: length
#wizard text: trend setup:
#wizard input: trendSetup

input length = 20;
input trendSetup = 3;

plot Bearish = IsAscending(open, trendSetup)[1] and
    IsLongWhite(length)[1] and
    IsLongBlack(length) and
    open < close[1] and
    open > open[1] and
    close < open[1];


Shareable Link:


  • Wfna06R.png
    327.1 KB · Views: 242
  • OluR5I8.png
    359.2 KB · Views: 204
Last edited:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Thanks ben!! Have you tested this on daily timeframe?

Last edited:
@Nick I did but I would still prefer the hourly and anything less than that. But I found two Daily charts that seem really nice but these patterns on.



Last edited:
Excellent...let me download and provide my feedback after awhile...

Last edited:

Is there a way to create a scanner for watch list (or can share if its already available) based on all the various bearish and bullish candlestick patterns coded in this forum.
Thanks a lot :)
Just so ya'll know. You do not need a new study for these. Go to "Patterns, select patterns, candlesticks" pick ones you want.

Bull alerts:
Alert(Bullish, " ", Alert.Bar, Sound.Chimes);

Bear alerts
Alert(Bearish, " ", Alert.Bar, Sound.Bell);
@BenTen I was not able to locate this pattern in TOS. Is this called with a different name?
How do I use the bullish pattern with 5 min chart? What parameters do I need to change?

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
156 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.