Tom DeMark Sequential

This is my interpretation of Perl's Tom DeMark Sequential Indicator. (Disclaimer) I make no guarantee to its accurancy or validatiy , however I have made sure as much as I can it is useful by comparing it to existing indicators on here and the examples provided in the book.

This is the most powerful free interpretation of TD Sequential indicator in comparision to everything that is here. I am providing this for free to the community because I have learnt so much and while I am an amature trader, I have worked for IBs for over 10 years and built Algos and HFT systems to Tier 1 banks.

So what does this indicator give you:
  • Define your own Setup Period.
  • Define your own Look Back Period
  • Define your own Countdown period
  • Toggle Price Flip checks
  • Define your own Perl's Proximity
  • Hide all historical values.

Please review and any feedback is welcomed. I am hoping to keep improving this indicator as I progress throught the book.
Release Notes: Release Notes:
  • Fixed a Bug with Deffered Countdown thanks @vaicru
  • Added Aggressive 13
  • Added Alerts for Completed Setup, Completed Countdown, and Aggressive Countdown
  • Countdown can be hidden now
Release Notes: Fixed a minor bug with the historical Support & Resistance lines. Thanks to @vaicru for spotting it.
Release Notes:
  • Option to Hide Aggressive 13
  • Added Combo 13 with option to hide and Alert
  • Minor Performance Improvements
  • Added TD Sequential 13 Stoploss. Request by @viacru
  • Due to limitation on number of drawable objects had to remove the Sequence Countdown. will try and find a way to add it back.
Release Notes:
  • Added TD CountDown Numbers
  • Removed Current Historical/Resistance Lines (limitation on the number of objects Pine Script is allowed to plot)
  • Consolidated all the Stoplosses into a single Plot instruction
Release Notes: chart adjustment
Release Notes:
  • Display Setup Recycle e.g. SPY 1W October 23 2017 - March 2018. Thanks @rjwmarvel
Release Notes:
  • Added ability to toggle the extension of the Resistance & Support Lines even when broken
  • Fixed a bug with Countdowns when TDST Resistance or Support are broken
Release Notes:
  • Changed "Recycle" from fixed 18 to Sequence Period * 2
  • Tweaks to the display of Support & Resistance Lines
  • Minor fix to the Display of A13
  • Added a new Alert for C13
  • Added a new Alert to fired for any of the signals
Release Notes:
  • Fixed the Recycle Bug
Release Notes:
  • Resistance & Support line updates on recycle
  • Fixed a Bull Countdown on Recycle
Release Notes:
  • Fixed differed countdown
Release Notes: Fixed the Combo 13 countdown. Now only begins when the Setup Count is 1.
Release Notes: Due to changes in the TradingView API, had to disable Combo TD Countdown. will work on updating the script shortly- Disabled features:
  • Disabled Stoploss markers
  • Combo TD
  • Alerts for Combo Count down
  • Generic Catch All Alerts
Release Notes:
  • Fixed the Max Bar Error due to the TradingView new API
Release Notes: The issue with 'max_bar_back' is now fixed, this was due to a new API released by TradingView.
Protected script
This script is published closed-source and you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Want to use this script on a chart?


This looks like it represents some serious coding time & effort. Wonderful of you to make it available to the community.

Am I correct about these things? C13 = Combo 13, A13 = Aggressive 13, R = Recycle, but S13 ... I don't know.

Thanks again for your tremendous effort.
+18 Reply
bytetrader SetagayaGirl
@SetagayaGirl, Thank you :) S13 = Sequential 13 Countdown
+4 Reply
Hi I need to understand few things.

- What does it means if "X" or "Perl's Perfection" is shown above the candles or below the candles?
- What A13, s13?
+3 Reply
bytetrader mealphamale
@mealphamale, "X" is recommended stop loss, A13 = Aggressive Countdown, S13= Sequential Countdown
Absolute the best free indicator. Thx a lot
+3 Reply
bytetrader ABG1968
thanks @ABG1968 for kind comment
What does "®" mean? Thanks :)
+1 Reply
So cool you shared this, thanks.

Curious though what the difference is between the numbers on top of the candles and the ones below that are circled. Many thanks!
+1 Reply
Awesome indicator man! Is it possible for you to add a feature to have the numbers from 1-5 disappear and have 6-9 fade in? Thanks
+1 Reply
Iv'e just started using this and it feels easy, thank you for sharing!
+1 Reply