Bulkowski's Takuri Line for ThinkorSwim

J007RMC

Well-known member
2019 Donor
Takuri Line Candlestick: Important Results

Theoretical performance: Bullish reversal
Tested performance: Bullish reversal 66% of the time Frequency rank: 28Overall performance rank: 47Best percentage meeting price target: 82% (bull market, up breakout)Best average move in 10 days: -4.45% (bear market, down breakout)
Best 10-day performance rank: 39 (bull market, down breakout)
All ranks are out of 103 candlestick patterns with the top performer ranking 1. "Best" means the highest rated of the four combinations of bull/bear market,
up/down breakouts.

11:57 Mobius: Train.. lets try this a different way. Here is a share link with the study
https://tos.mx/MwnzYZ
Ruby:
# "Takuri Line"  (2) prior DOWN candles Then a Takuri Candle. A small bodied candle with a lower shadow that is at least 3x the height of the body and little or no upper shadow.
# Mobius
# Chat Room Discussion 07.10.2018
# Name the Study "Takuri_Line"
# The Scan Code is:  close crosses Takuri_Line()

input TrendLength = 2;

def o = open;
def h = high;
def l = low;
def c = close;
def x = barNumber();
def nan = double.nan;
def TakuriTrendDn = IsDescending(c, TrendLength)[1];
def BodyHeight = AbsValue(c - o);
def CandleRange = h - l;
def Shadow = Min(c, o) - l;
def Wick = h - Max(c, o);
def TakuriDn = if TakuriTrendDn and
                  BodyHeight / CandleRange <= .033 and
                  Shadow / CandleRange >= .7 and
                  Wick / CandleRange <= .25
               then h
               else TakuriDn[1];
def TakuriDnX = if h == TakuriDn
                then x
                else nan;
plot TakuriLine = if x >= HighestAll(TakuriDnX)
                  then HighestAll(if isNaN(c[-1])
                                  then TakuriDn
                                  else nan)
                  else nan;
     TakuriLine.SetStyle(Curve.Firm);
     TakuriLine.SetLineWeight(1);
     TakuriLine.SetDefaultColor(Color.Cyan);
AddChartBubble(isNaN(close[3]) and !isNaN(close[4]), TakuriLine, "Takuri");
# End Code
 
Last edited by a moderator:

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