Tom de mark sequential monitor for nifty50 stocks

travi

Well-Known Member
1592280610627.png



Interestingly NS did a perfect Sell Seq on the Monthly.
From Feb-2017 till jan-2020 where it turned.

July's bar unless a very big red that can close below March will break the current Buy setup count.
Given that Bear Mkts are deep and short ( timewise compared to bull mkts ) , i'm not sure how well the buy Seq CD works on this TF but the setup can give a very good idea of the momentum.

Monthly TDST support was 8537 ( From 2017 feb setup ) which held on a monthly basis. March closed just above that :)
 
Adding multiple TimeFrame TDST code for TradingView if someone wants to see other timeframes support resistance on currenttimeframe. Once you add to screen simply select the timeframes of which TDST you want to see (suggest one lower and one higher)
Code:
//@version=4
study("TDST", overlay=true)
Disp1 = input(false, title="Show 1 Min")
Disp2 = input(false, title="Show 5 Min")
Disp3 = input(false, title="Show 15 Min")
Disp4 = input(true, title="Show 1 Hour")
Disp5 = input(false, title="Show 4 Hour")
Disp6 = input(true, title="Show 1 Day")
Disp7 = input(true, title="Show 1 Week")
Disp8 = input(false, title="Show 1 Month")

TDST() =>
    // Create impulse series of price action. Compare where price is greater/less/equal than prior price.
    setupPriceUp = close > close[4]
    setupPriceDown = close < close[4]

    setupCountUp = int(na)
    setupCountUp := setupPriceUp ? nz(setupCountUp[1]) + 1 : 0
    setupCountDown = int(na)
    setupCountDown := setupPriceDown ? nz(setupCountDown[1]) + 1 : 0

    // A Setup event is when up/down count == SetupBars
    // Sell Setups are defined by up counts, Buy Setups by down counts.
    setupSell = float(na)
    valuewhen_1 = valuewhen(setupCountUp == 9, close, 0)
    setupSell := setupCountUp == 9 ? valuewhen_1 : na
    setupBuy = float(na)
    valuewhen_2 = valuewhen(setupCountDown == 9, close, 0)
    setupBuy := setupCountDown == 9 ? valuewhen_2 : na

    //---- TD Setup Trend (TDST) ---------------------------
    
    setupTrendSupport = float(na)
    lowest_1 = lowest(9) < close[9] ? lowest(9) : close[9]
    setupTrendSupport := setupSell ? lowest_1 : nz(setupTrendSupport[1])
    setupTrendResist = float(na)
    highest_1 = highest(9) > close[9] ? highest(9) : close[9]
    setupTrendResist := setupBuy ? highest_1 : nz(setupTrendResist[1])
    [setupTrendSupport,setupTrendResist]
    
[stsp1,strp1] = security(syminfo.tickerid, "1", TDST())
[stsp2,strp2] = security(syminfo.tickerid, "5", TDST())
[stsp3,strp3] = security(syminfo.tickerid, "15", TDST())
[stsp4,strp4] = security(syminfo.tickerid, "60", TDST())
[stsp5,strp5] = security(syminfo.tickerid, "240", TDST())
[stsp6,strp6] = security(syminfo.tickerid, "D", TDST())
[stsp7,strp7] = security(syminfo.tickerid, "W", TDST())
[stsp8,strp8] = security(syminfo.tickerid, "M", TDST())

// TDST (Support/Resistance)
//   Use plot offset to move line back to beginning of Setup count...
plot(Disp1? stsp1 : na, title="TDST1 Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp1? strp1 : na, title="TDST1 Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp2? stsp2 : na, title="TDST5 Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp2? strp2 : na, title="TDST5 Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp3? stsp3 : na, title="TDST15 Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp3? strp3 : na, title="TDST15 Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp4? stsp4 : na, title="TDST1H Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp4? strp4 : na, title="TDST1H Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp5? stsp5 : na, title="TDST4H Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp5? strp5 : na, title="TDST4H Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp6? stsp6 : na, title="TDSTD Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp6? strp6 : na, title="TDSTD Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp7? stsp7 : na, title="TDSTW Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp7? strp7 : na, title="TDSTW Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
plot(Disp8? stsp8 : na, title="TDSTM Support", style=plot.style_circles, color=color.lime, linewidth=2, offset=0)
plot(Disp8? strp8 : na, title="TDSTM Resistance", style=plot.style_circles, color=color.red, linewidth=2, offset=0)
 

travi

Well-Known Member
Looks like a sell Combo 13 in the making today for Nifty spot. A sequential (currently at CD 10) secondary top may form near 10800.
If combo fails, then anything can happen.
I thought today's 9th Jul Eod NS did CD12. ( ltp was 10833 ) and small variation in my data and TV with 2pdH as well.

but i guess NS adjusted close is 10813.45 vs 2 pdh of 10813.80 so still at CD11.

We still have the 200 DMA hanging just around 10900 below the TDST of 11035 which kick-started the march correction. It will be a tough zone coming up this month.
 

travi

Well-Known Member
RIL has done 5 consecutive TD sell setups.

Must be a record of some kind :DD Good to hold in portf.

There is a CD13 today, but now will check after mkt which one is the active one.
Visually 2nd setup was recycled when it was the active one and completed the Seq sell.

1594625441729.png
 
RIL has done 5 consecutive TD sell setups.

Must be a record of some kind :DD Good to hold in portf.

There is a CD13 today, but now will check after mkt which one is the active one.
Visually 2nd setup was recycled when it was the active one and completed the Seq sell.

View attachment 43416
How does the count look on weekly / monthly setups ?
 

travi

Well-Known Member
How does the count look on weekly / monthly setups ?
Weekly is Seq Sell CD6
Monthly no active count. An Oct-2019 Seq Sell CD13 did complete but that one would've hit stop.
There was dip after that so booking wise good call.

From experience with NS, i think due to the nature of growth or rise stocks/indices wont be completing Buy Seq in monthly.
( Its too long for something to be in correction mode )

In Daily the 4th setup seems to be the active one so it is currently at Sell CD6 on daily.
matlab 2200 ? :DD

Thats on a lighter note, positions light for now as we are in high CD range and resistance zones.
 
Last edited:

travi

Well-Known Member
1598336011518.png


NS has completed a TD Sell Seq yest, today seems to be entry point. Whether it is going to be a mild dip around 11K or larger time will tell.
Definitely booking profits for now :)

Surprisingly this one coincides with CD13 yest on S&P500 which Tom Demark was quoted a couple of weeks ago where 3400-3500 zone was top-like for him.
 

travi

Well-Known Member
The reason for tops and bottoms are immaterial but the kind of sell-off we saw today in quality names also suggests that even though ppl were holding longs, they were very nervous about holding those positions.
Imagine sitting on 30-40% returns gained in a few months :)
The Fear near 12000 is quite similar to that of 7500.

Some may have bought dip today, i didn't yet so now it is upto mkt baba to give indication of next move but for now TD Buy setup count has started.
Whether it will complete or not time will tell but last week positions were getting light, in such strong up momentum not yet opened any shorts. will buy puts instead.
 

travi

Well-Known Member
Close above 11560 today cancels ongoing TD Buy setup to go long else it goes onto tomo for which mkt has to close above 11648.
Tempting to long with last 1hr action :) but levels are levels.
 

Similar threads