FTR (Failed to Return) Candles Indicator for ThinkorSwim


Staff member
So this candle pattern was recently introduced to me via a weblog called A Teen Trader.


@Korinek_Trades, the trader behind describe it perfectly.

An FTR or Failed To Return, is a candle pattern in trading. What this pattern shows is that as price is in an up/down trend, price will push back and collect orders (causing a candle close of the opposite direction) before continuing the current trend.

I followed that concept and some of the illustrations on his blog and made a similar indicator for ThinkorSwim.




Before you start trading with the FTR indicator, be sure to read through this blog post so you understand clearly and know where to put your stop loss and profit target.

thinkScript Code

# Failed to Return Candles
# Inspired by Forex Trading Pattern as Described at
# Candles built from the ThinkorSwim's Candlestick Pattern Editor
# Assembled by BenTen at

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

# Define Bullish FTR Candle
def IsUp = close > open;
def IsDown = close < open;
plot Bullish_FTR =
    IsUp[4] and
    IsUp[3] and
    IsUp[2] and
    IsDown[1] and
    IsUp[0] and
    high[2] > high[1] and
    close[3] < close[2] and
    open[1] < close[0] and
    low[2] < low[1] and
    open[4] < open[3] and
    close[4] < high[3] and
    open[3] < open[2];


# Define Bearish FTR Candle
plot Bearish_FTR =
    IsDown[4] and
    IsDown[3] and
    IsDown[2] and
    IsUp[1] and
    IsDown[0] and
    close[4] > close[3] and
    open[1] > close[0] and
    close[1] > open[0] and
    open[2] > close[1] and
    open[4] > open[3] and
    open[3] > open[2] and
    close[3] > close[2] and
    close[2] < open[1];


# Alerts
Alert(Bullish_FTR, " ", Alert.Bar, Sound.Chimes);
Alert(Bearish_FTR, " ", Alert.Bar, Sound.Bell);

Shareable Link
Last edited:


Active member
2019 Donor
I just want to emphasize how important it is to use this on 30min/1hr timeframes rather than short timeframes. This should totally NOT be used for day trading, lol. 5m chart is riddled with false signals.


New member
2019 Donor
hey @BenTen for some reason i'm not able to get any signal on any timeframe can you double check the script?? thank you


New member
how can i use this indicator in tradingview
Can it be converted for tradingview
Last edited by a moderator:


Staff member
Scripts on this forum are written in ThinkScript, which the proprietary language of the ToS platform and thus cannot be used on the Tradingview platform.

Given that there is no automated process to convert code from Thinkscript into Pinescript and given we are a forum of Thinkscripters.
You would have to find someone on Tradingview, who also is versed in Thinkscript to convert it for you.
Last edited:


Hey! Is there a way to have that arrow on the bar draw a rectangle on the wick, which... then actually makes the zone that he talks about. :)

Similar threads