TD Sequential Ultimate

Enivid

Administrator
Staff member
Nov 30, 2008
19,280
1,517
144
Odesa
www.earnforex.com
There are not necessary if not completed. The cleaner, the better.
BTW. Could you correct TDST support/resistance lines if not done already (as in above posts)? It will be also better just to keep horizontal lines, the ones at angle do not act as support/resistance.
I don't understand the problem with Support/Resistance lines. I don't mean the angled thing (there is no good way of getting rid of it), but rather what the problem described in your March 19 post is.
 

kris82wt

Trader
Nov 28, 2020
26
2
19
42
OK. Let's speak about TD Buy Setup, because Sell is a mirror.
Let's assume each bar 1-9 has high lower --> high of bar "1" creates TDST resistance. Obvious and script works fine
If any bar except 1 has high, which is the highest price in TD Setup - the high creates TDST resistance, as below
2021-03-16 23_17_17-td-sequential-best.jpg
In case if close of bar before TD Setup has close which is the highest from any bar of TD Setup ---> this close price should be TDST resistnace. Examples marked in yellow:
2021_03_16_23_26_33_demark_tom_demark_on_day_trading_options_1_.jpg
2021_03_16_23_34_05_demark_tom_demark_on_day_trading_options_2.jpg
2021-03-16 23_20_07-td-sequential-best2.jpg

Hope this clarifies TDST support/resistance
 

n!co

Newbie
Apr 11, 2021
2
0
1
124
hi, can you please add the option to get an alert when a number #1 is printed
thank you in advance
 

Altas27

Trader
Oct 29, 2022
2
0
6
27
Hi, I really like the TD sequential indicator and would like to use it for my automatic system. So I was wondering whether if could get the code used to create the TD Sequential Ultimate?
 

Enivid

Administrator
Staff member
Nov 30, 2008
19,280
1,517
144
Odesa
www.earnforex.com
Hi, I really like the TD sequential indicator and would like to use it for my automatic system. So I was wondering whether if could get the code used to create the TD Sequential Ultimate?
It is an open source indicator, so yes, you can get it. Either from the indicator's page or from its GitHub repository.
 

Hercules201

Active Trader
Oct 12, 2012
10
0
32
I had to change Time[i+1] to Time i to make arrow draw on bar 9. Maybe Time always last reported finished candle.

1706729804104.png
 
Last edited:

Hercules201

Active Trader
Oct 12, 2012
10
0
32
The Setup Perfection arrow shouldn't necessarily appear on the 9th bar. It may appear on any bar starting from bar #8. Please see DeMark's article on this.

I know about it and I could see it repeatedly missed with one bar both on buy and sell setup.

Maybe Time(i) is always last reported finished candle. Then you need not use Time[i+1].
 
Last edited:

Enivid

Administrator
Staff member
Nov 30, 2008
19,280
1,517
144
Odesa
www.earnforex.com
I know about it and I could see it repeatedly missed with one bar both on buy and sell setup.

Maybe Time(i) is always last reported finished candle. Then you need not use Time[i+1].
It never checks the current (unfinished) candle. The cycle never runs to bar #0:
MQL4:
for (int i = limit; i > 0; i--)

PS: Could you please show a screenshot of what you are trying to fix?
 

Hercules201

Active Trader
Oct 12, 2012
10
0
32
Also it seem to miss the perfected setup sometimes. On the buy setup here it should have been postponed.

1706730952001.png
Post automatically merged:

It never checks the current (unfinished) candle. The cycle never runs to bar #0:
MQL4:
for (int i = limit; i > 0; i--)

PS: Could you please show a screenshot of what you are trying to fix?
Yes, wait a minute.
 

Hercules201

Active Trader
Oct 12, 2012
10
0
32
Also it seem to miss the perfected setup sometimes. On the buy setup here it should have been postponed.

View attachment 27217
Post automatically merged:


Yes, wait a minute.

This it what the same section looks like with the Time[i+1]. Before I changed.

1706731311491.png

And here is another example.
1706731374368.png

I'm looking at this code:

// Check perfecting:
// Setup candle #8:
if ((Low[i + 1] < Setup_Buy_6_Low) && (Low[i + 1] < Setup_Buy_7_Low))
{
Setup_Buy_Perfected = true;
Setup_Buy_Needs_Perfecting = false;
Perfection[i + 1] = 1;
PutCount(COUNT_TYPE_BUY_PERFECTION, "233", Time[i + 1], High[i + 1]); // Arrow up.
if (AlertOnPerfecting) DoAlert(i + 1, ALERT_TYPE_PERFECTING_BUY);
}
// Countdown can also start on this candle but farther in the code.

and I changed this line:

PutCount(COUNT_TYPE_BUY_PERFECTION, "233", Time[i + 1], High[i + 1]); // Arrow up.

to

PutCount(COUNT_TYPE_BUY_PERFECTION, "233", Time[i ], High[i + 1]); // Arrow up.

and also the other setup for sell.
 
Last edited: