Thomas DeMark Sequential System

sanjosedesi

Well-Known Member
And now that I know how to see the green arrow pointing to the countdown complete ... should be able to run my scans even faster, and add more scrips. Going by the review from yesterday, it is likely we will be able to catch a signal (not just setup but full signal) every couple of weeks. Onwards and upwards ...
 

DanPickUp

Well-Known Member
Dear ST

You know me now for quit a while, you know my temper and high and hops or downs and you have a certain idea from what I posted what I do as a hedger and very complicated option strategy trader, which is a personal choice and has nothing to do with any valuations.

Now I would like to ask you once about TA: As you know from the past, I had once a big fight with our missing friend SG about it. ( Do not know where about he is gone as not even Asnaval has any information ).Sad, but I have to accept it.

Any way: Coming back to the thread and to the question:

Trading with no indicator. Just looking at charts and in my case the option matrix, which is not of any value in this question:

Do you trade with out any indicator? Why do I ask?

I recognized that using as less indicators as I must or think I have to watch, as better my trading decisions get.

Always be aware of it that this question comes from a hedger and option trader which in many cases has a completely other way of thinking about the market compare to a pro future trader like you.

DanPickUp
 

sanjosedesi

Well-Known Member
Hi All, Please try the following - very ugly piece of code and output, but functional !!

Replace the section in your AFL between "TD Sequential Plotting Area" and "TD Points Plotting Area"

//*********************************************** TD Sequential Plotting area*************************************************/
Plot(C, "", IIf(O>=C, colorRed, colorGreen), styleBar);
PlotShapes(IIf(Buy9Intr OR Sell9Intr, shapeDigit9, shapeNone),colorBlue, 0, H, 20);
// Print Setup
if(ShowNumbers)
PlotShapes(IIf(Buy9Bars==1, shapeDigit1,
IIf(Buy9Bars==2, shapeDigit2,
IIf(Buy9Bars==3, shapeDigit3,
IIf(Buy9Bars==4, shapeDigit4,
IIf(Buy9Bars==5, shapeDigit5,
IIf(Buy9Bars==6, shapeDigit6,
IIf(Buy9Bars==7, shapeDigit7,
IIf(Buy9Bars==8, shapeDigit8,
IIf(Buy9Bars >9, shapeStar,shapeNone))))))))),colorGreen, 0, H, 10);
if(ShowNumbers)
PlotShapes(
IIf(Sell9Bars==1, shapeDigit1,
IIf(Sell9Bars==2, shapeDigit2,
IIf(Sell9Bars==3, shapeDigit3,
IIf(Sell9Bars==4, shapeDigit4,
IIf(Sell9Bars==5, shapeDigit5,
IIf(Sell9Bars==6, shapeDigit6,
IIf(Sell9Bars==7, shapeDigit7,
IIf(Sell9Bars==8, shapeDigit8,
IIf(sell9bars>9, shapeStar,shapeNone))))))))),colorRed, 0, H, 10);
// Print Countdown
if(ShowNumbers)
PlotShapes(IIf(Buy13Count==1, shapeDigit1,
IIf(Buy13Count==2, shapeDigit2,
IIf(Buy13Count==3, shapeDigit3,
IIf(Buy13Count==4, shapeDigit4,
IIf(Buy13Count==5, shapeDigit5,
IIf(Buy13Count==6, shapeDigit6,
IIf(Buy13Count==7, shapeDigit7,
IIf(Buy13Count==8, shapeDigit8,
IIf(Buy13Count==9, shapeDigit9,shapeNone))))))))),colorBlue, 0, H, -60);
if(ShowNumbers)
PlotShapes(IIf(Buy13Count==10, shapeDigit0,
IIf(Buy13Count==11, shapeDigit1,
IIf(Buy13Count==12, shapeDigit2,
IIf(Buy13Count==13, shapeDigit3,shapeNone)))),colorGreen, 0, H, -60);
if(ShowNumbers)
PlotShapes(IIf(Sell13Count==1, shapeDigit1,
IIf(Sell13Count==2, shapeDigit2,
IIf(Sell13Count==3, shapeDigit3,
IIf(Sell13Count==4, shapeDigit4,
IIf(Sell13Count==5, shapeDigit5,
IIf(Sell13Count==6, shapeDigit6,
IIf(Sell13Count==7, shapeDigit7,
IIf(Sell13Count==8, shapeDigit8,
IIf(Sell13Count==9, shapeDigit9,shapeNone))))))))),colorRed, 0, H, -80);
if(ShowNumbers)
PlotShapes(IIf(Sell13Count==10, shapeDigit0,
IIf(Sell13Count==11, shapeDigit1,
IIf(Sell13Count==12, shapeDigit2,
IIf(Sell13Count==13, shapeDigit3,shapeNone)))),colorGreen, 0, H, -60);

Sell = Sell13Signal AND NOT BuySignal;
Buy = Buy13Signal AND BuySignal;
Sell = ExRem(Sell, Buy);
Buy = ExRem(Buy, Sell);

PlotShapes(Sell*shapeCircle, colorBlue, 0, H, 25);
PlotShapes(Sell*shapeDownArrow, colorRed, 0, H, -40);

PlotShapes(Buy*shapeCircle, colorBlue, 0, L, -5);
PlotShapes(Buy*shapeUpArrow, colorGreen, 0, L, -20);

//if(StrToNum(NumToStr(BuySignal)))
//bgColor = ColorRGB(0,66, 2);
//else
//bgColor = ColorRGB(66,2, 0);
//SetChartBkGradientFill( colorBlack, bgColor);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//*********************************************** TD Points Plotting area*************************************************/
 

sanjosedesi

Well-Known Member
And here's our favorite apollo tyres ..



Once the setup is complete - look at the numbers below the candle. They are count downs. Blue ones go till 9 (from 1). Green ones go from 10 to 13. Red ones do the work of blue ones in case of a sell setup. Still trying to clean up.

Take a look - if I was able to show the countdown only when it changed value and only when it was within context (buy vs sell) - that will be a done deal !
 
Dear ST

You know me now for quit a while, you know my temper and high and hops or downs and you have a certain idea from what I posted what I do as a hedger and very complicated option strategy trader, which is a personal choice and has nothing to do with any valuations.

Now I would like to ask you once about TA: As you know from the past, I had once a big fight with our missing friend SG about it. ( Do not know where about he is gone as not even Asnaval has any information ).Sad, but I have to accept it.

Any way: Coming back to the thread and to the question:

Trading with no indicator. Just looking at charts and in my case the option matrix, which is not of any value in this question:

Do you trade with out any indicator? Why do I ask?

I recognized that using as less indicators as I must or think I have to watch, as better my trading decisions get.

Always be aware of it that this question comes from a hedger and option trader which in many cases has a completely other way of thinking about the market compare to a pro future trader like you.

DanPickUp
Hi Dan,

I am a short term /swing trader and I find that more indicators I see, more confused I get and more inaction sets in. I trade only on price charts ( either 3 min or 5 min for intraday, 15 min or 60 min for swing).I dont use any indicator like RSI,MACD etc. But my trading is based on the relationship of the price bars with each other and I dont use traditional patterns such as Head & Shoulders,double top/bottom etc.

I have a 21 MA line on the chart to give me some perspective of the market direction. My main thrust is seeing how small, medium and long term trends interact with each other and how they align within the larger trend. I have TDST lines on my chart which give me areas where the market move may exhaust and it helps in booking profits. I am not a tape watcher who trades on the direction in which the volume comes.

I have daytraded options just looking at intraday stock/futures price charts.....but these trades are more of short term in nature. You I am sure must be having much better techniques in options trading than this .

Not sure whether the above adds any value to your options trading ....but if you have any questions , I will be happy to answer to the best of my abilities.

Smart_trade
 

DanPickUp

Well-Known Member
Hi Dan,

I am a short term /swing trader and I find that more indicators I see, more confused I get and more inaction sets in. I trade only on price charts ( either 3 min or 5 min for intraday, 15 min or 60 min for swing).I dont use any indicator like RSI,MACD etc. But my trading is based on the relationship of the price bars with each other and I dont use traditional patterns such as Head & Shoulders,double top/bottom etc.

I have a 21 MA line on the chart to give me some perspective of the market direction. My main thrust is seeing how small, medium and long term trends interact with each other and how they align within the larger trend. I have TDST lines on my chart which give me areas where the market move may exhaust and it helps in booking profits. I am not a tape watcher who trades on the direction in which the volume comes.

I have daytraded options just looking at intraday stock/futures price charts.....but these trades are more of short term in nature. You I am sure must be having much better techniques in options trading than this .

Not sure whether the above adds any value to your options trading ....but if you have any questions , I will be happy to answer to the best of my abilities.

Smart_trade
Dear ST

Not sure if the following deserves the answer to your post but let me post this:

and I even could say Sir, but I will not do that even you reserve that at any time as this is just and not more and even giving respect to any person which is valued as the highest we can in our society. It may is many times miss understood, but even we from the wild west :) have a code which tells us the value of information and friendship and finally personality a person has.

You deserve the best and if I ask any thing out of my box I do it on your account and I wish to serve what ever is asked from your side.

My techniques in option trading are shown as absolute basic ideas in this thread:
http://www.traderji.com/options/74905-advanced-nifty-option-strategies-7.html#post742705

As your government and exchange not allows such ideas or do what ever they can to keep away retail trader from the exchange, I feel sorry for many members here :(

Coming to the point of option trading: What should I better do than you?

I not will comment on that as you trade futures much better I even could do. No way to discuss that as I would be the looser when it come to that subject. :)

But as I know you as a fair player, 3 min and 5 min is out of my play. I known it since years that pros in any market use that time frames, but this is not my way. I am clear that I lose a lot with that and I am clear that I win a lot with that. Personal choice.

Patterns: Some of them I really use with no accuracy, just because I like them. (Head and Shoulder, Triangles, Diamonds) and I really search for them :) But again: Personal choice when I feel to do so.

Trading O strategies some time have nothing to do with market directions. Just look at the possible range and make your decisions. As simple as that and know your adjustment levels and place your orders in advance. As I now post and test your market for quit a while: Even such simple strategies work in your market. Not as much profit as you have with your pyramiding future trading, but some little money are for sure with a good understanding in your market and I still prove that in a thread which will end on 29 of Nov this year. :)

Finally: If I sell or buy an options all depends on how I think about what is going on today.

I am not a person which gives or has any prediction about what may happen over a time period of over 24 hours. Why?

That would file an other thread and I will stay with your thread.

Thanks for your post and this my serves your kind of trading

All the best

DanPickUp
 

sanjosedesi

Well-Known Member
Good Morning All !

Here's some early morning improvements to the code:

#1. Added the last 2 lines to the "Parameters" Section at the top of the code. You can copy paste just these 2 lines, I have shown all of these for context

// Parameters
ShowNumbers= ParamToggle("Show 1-8 Numbers","No|Yes", 1);
ShowTDPoints = ParamToggle("Show TD Points", "No|Yes", 1);
ShowTDST = ParamToggle("Show TD Setup Trend", "No|Yes", 1);
ShowBuyCountDown = ParamToggle("Show Buy TD CountDown", "No|Yes", 0);
ShowSellCountDown = ParamToggle("Show Sell TD CountDown", "No|Yes", 0);

#2. Revised the "TD Sequential Plotting area" as given below. You can replace the entire section below.

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//*********************************************** TD Sequential Plotting area*************************************************/
Plot(C, "", IIf(O>=C, colorRed, colorGreen), styleBar);
PlotShapes(IIf(Buy9Intr OR Sell9Intr, shapeDigit9, shapeNone),colorBlue, 0, H, 20);
// Print Setup
if(ShowNumbers)
PlotShapes(IIf(Buy9Bars==1, shapeDigit1,
IIf(Buy9Bars==2, shapeDigit2,
IIf(Buy9Bars==3, shapeDigit3,
IIf(Buy9Bars==4, shapeDigit4,
IIf(Buy9Bars==5, shapeDigit5,
IIf(Buy9Bars==6, shapeDigit6,
IIf(Buy9Bars==7, shapeDigit7,
IIf(Buy9Bars==8, shapeDigit8,
IIf(Buy9Bars >9, shapeStar,shapeNone))))))))),colorGreen, 0, H, 10);
if(ShowNumbers)
PlotShapes(
IIf(Sell9Bars==1, shapeDigit1,
IIf(Sell9Bars==2, shapeDigit2,
IIf(Sell9Bars==3, shapeDigit3,
IIf(Sell9Bars==4, shapeDigit4,
IIf(Sell9Bars==5, shapeDigit5,
IIf(Sell9Bars==6, shapeDigit6,
IIf(Sell9Bars==7, shapeDigit7,
IIf(Sell9Bars==8, shapeDigit8,
IIf(sell9bars>9, shapeStar,shapeNone))))))))),colorRed, 0, H, 10);
// Print Countdown
if(ShowBuyCountDown)
PlotShapes(IIf(Buy13Count==1, shapeDigit1,
IIf(Buy13Count==2, shapeDigit2,
IIf(Buy13Count==3, shapeDigit3,
IIf(Buy13Count==4, shapeDigit4,
IIf(Buy13Count==5, shapeDigit5,
IIf(Buy13Count==6, shapeDigit6,
IIf(Buy13Count==7, shapeDigit7,
IIf(Buy13Count==8, shapeDigit8,
IIf(Buy13Count==9, shapeDigit9,shapeNone))))))))),colorGrey50, 0, L, -20);
if(ShowBuyCountDown)
PlotShapes(IIf(Buy13Count==10, shapeDigit0,
IIf(Buy13Count==11, shapeDigit1,
IIf(Buy13Count==12, shapeDigit2,
IIf(Buy13Count==13, shapeDigit3,shapeNone)))),colorBlue, 0, L, -20);
if(ShowSellCountDown)
PlotShapes(IIf(Sell13Count==1, shapeDigit1,
IIf(Sell13Count==2, shapeDigit2,
IIf(Sell13Count==3, shapeDigit3,
IIf(Sell13Count==4, shapeDigit4,
IIf(Sell13Count==5, shapeDigit5,
IIf(Sell13Count==6, shapeDigit6,
IIf(Sell13Count==7, shapeDigit7,
IIf(Sell13Count==8, shapeDigit8,
IIf(Sell13Count==9, shapeDigit9,shapeNone))))))))),colorGrey50, 0, L, -40);
if(ShowSellCountDown)
PlotShapes(IIf(Sell13Count==10, shapeDigit0,
IIf(Sell13Count==11, shapeDigit1,
IIf(Sell13Count==12, shapeDigit2,
IIf(Sell13Count==13, shapeDigit3,shapeNone)))),colorBlue, 0, L, -40);

Sell = Sell13Signal AND NOT BuySignal;
Buy = Buy13Signal AND BuySignal;
Sell = ExRem(Sell, Buy);
Buy = ExRem(Buy, Sell);

PlotShapes(Sell*shapeCircle, colorBlue, 0, H, 25);
PlotShapes(Sell*shapeDownArrow, colorRed, 0, H, -40);

PlotShapes(Buy*shapeCircle, colorBlue, 0, L, -5);
PlotShapes(Buy*shapeUpArrow, colorGreen, 0, L, -20);

//if(StrToNum(NumToStr(BuySignal)))
//bgColor = ColorRGB(0,66, 2);
//else
//bgColor = ColorRGB(66,2, 0);
//SetChartBkGradientFill( colorBlack, bgColor);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//*********************************************** TD Points Plotting area*************************************************/



Change Summary: Instead of getting the chart cluttered, the TD count downs are not shown by default. To see them, go to parameters and select whether you want to see the buy count down or sell count down. The idea is that I am not able to print the count down only when it changes ... printing too much repetitive data ... so until I understand it, and once you have a complete setup, you can switch the parameters to show what you like (buy or sell). I tried but was not able to figure out how to compare the TD count for the previous bar vs the current bar - if could be done, it will make the count display even better and similar to the chart ST had.

Alright ...
 

sanjosedesi

Well-Known Member
I am not planning to touch the code for some time. Implementing combo will be complex and I need to learn array management first. I also need to understand the arrays already being used. Once I do understand these, will look into combo and cleaning the UI.

Questions for ST/Ritesh and others interested:

ST: We recently had the code call out tops in Axis Bank and Bajaj Auto. This is within the last 2 weeks and the price is still near the top so nothing has changed with respect to RR. I wonder if the passage of 2 weeks (but no opposite setup yet) invalidates this? Should we be able to short these even now?

** To be correct, Axis bank is available at a price better than what Sequential called out, and Bajaj auto is available at a price worse than what Sequential called out - but I see this as minor deltas.

Ritesh: Bata - you were waiting for 5th CD bar. You want to double check? The code shows only 3 completed CD bars.
 

Similar threads