This indicator tracks Tom DeMark Sequential setup counts by comparing the current close against the close four bars prior across up to six configurable timeframes.
1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
DeMark 9 signals potential trend exhaustion or reversal points when counts reach specified milestones, such as seven, eight, nine, or beyond. Main settings control which count numbers trigger notifications and let users customize the six monitored timeframes. Plotted directly on the price chart, multi-timeframe requests without bar offset can repaint until the higher timeframe bar closes.
Tom DeMark Sequential setup count calculation
Multi-timeframe monitoring across six intervals
Customizable alert triggers for specific setup counts
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Send Updates on Every Bar Close
bool
false
send_updates_every_bar_close
use_alert_number_1
bool
true
use_alert_number_1
use_alert_number_2
bool
true
use_alert_number_2
use_alert_number_3
bool
true
use_alert_number_3
Alert when greater than Alert Number 3
bool
true
alert_higher_than_number_3
Alert Number ONE
int
7
alert_number_1
Alert Number TWO
int
8
alert_number_2
Alert Number THREE
int
9
alert_number_3
use_tf_1
bool
true
use_tf_1
use_tf_2
bool
true
use_tf_2
use_tf_3
bool
true
use_tf_3
use_tf_4
bool
true
use_tf_4
Show all 20 settings
Setting
Type
Default
Variable
use_tf_5
bool
true
use_tf_5
use_tf_6
bool
true
use_tf_6
Timeframe Number ONE
timeframe
5
alert_tf_1
Timeframe Number TWO
timeframe
30
alert_tf_2
Timeframe Number THREE
timeframe
60
alert_tf_3
Timeframe Number FOUR
timeframe
120
alert_tf_4
Timeframe Number FIVE
timeframe
240
alert_tf_5
Timeframe Number SIX
timeframe
D
alert_tf_6
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
The Adaptive RSI Moving Average (ARSIMA) is an overlay indicator that dynamically adjusts its smoothing factor based on the Relative Strength Index (RSI). When the RSI moves toward extreme overbought or oversold conditions, the smoothing factor increases to ma
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
This indicator uses a Lorentzian distance k-nearest neighbors classification algorithm to predict market direction based on up to five technical features, such as RSI, WaveTrend, CCI, and ADX. It compares current feature values against historical bar patterns
TradersPost Trading Checklist is an overlay indicator that evaluates a suite of popular technical conditions for long and short trade setups. It checks session-anchored VWAP, fast and slow EMA alignments and crosses, 200 SMA, RSI overbought or oversold conditi
Calculates market regime conditions by combining RSI, MACD, and ADX/DMI indicators. It evaluates whether the market is in a strong bullish, strong bearish, neutral, or non-trending regime. The script plots a colored line overlaying the close price to reflect t
This indicator plots an adaptive moving average or scaled RSI divergence line directly on the price chart. It calculates dual RSI series to measure momentum divergence, scales the values to the chart's price range, and constructs an adaptive average filtered b