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.
Remove from Favorite Scripts Add to Favorite Scripts


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.
+8 Reply
bytetrader SetagayaGirl
@SetagayaGirl, Thank you :) S13 = Sequential 13 Countdown
Absolute the best free indicator. Thx a lot
+2 Reply
bytetrader ABG1968
thanks @ABG1968 for kind comment
I'm learning trading and this TD Seq and really like it but Tradingview made changes and messed things up.This is the message I received back from them.

The error is caused by server-side changes related to performance improvements. The only way to fix it is to add the argument max_bars_back to the study or strategy function. For example: study("My Script", max_bars_back=300) Unfortunately, we can't see the source code of the indicator and you can ask the author to modify it. Kind regards!

It's amazing that people spend so much time creating these indicators and then make available to the community but I guess the maintenance of these indicators is a nuisance. Hopefully you are able to fix this wonderful indicator that has proven to me that there is a method/system to trading.

My Best to you for you all that you have done.
@Mogiz, Thanks for finding this out - let's hope that bytetrader will be kind enough to make the change
bytetrader bernie180
@bernie180, @Mogiz This is now fixed, please remove and re-add it back and it should work as normal.
bernie180 bytetrader
@bytetrader, great, many many thanks, much appreciated
Mogiz bytetrader
@bytetrader, Didn't realize you left a message BUT "YOU ARE THE BEST" Just Love this indicator. Thanks so much.
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out