This looks OK to me. Why do you think this needs to be fixed?
This (the second red arrow) doesn't look correct. Which chart (pair/timeframe) are you seeing this? I'd like to debug this. Thank you!
This looks OK to me. Why do you think this needs to be fixed?
This (the second red arrow) doesn't look correct. Which chart (pair/timeframe) are you seeing this? I'd like to debug this. Thank you!
It's the 1H. The first is very clearly on the 8th bar I think. Maybe it's not as obvious when green. Use a paper to check that it's on the 8th. Anyway the code is the same for both the buy and sell perfection check.This looks OK to me. Why do you think this needs to be fixed?
This (the second red arrow) doesn't look correct. Which chart (pair/timeframe) are you seeing this? I'd like to debug this. Thank you!
Yes, but which currency pair?It's the 1H.
I see that it's on the 8th bar, but that's exactly where it should be.The first is very clearly on the 8th bar I think.
EUR/USD.Yes, but which currency pair?
I see that it's on the 8th bar, but that's exactly where it should be.
Actually there's another kind of error that's related to it. I made a change and it seems to be working, Although there's an issua also with the code looking for a perfected setup after Bar 9 when there's a new TD Flip Price.EUR/USD.
When i look on other indicators and read Jason Perls book it's on the 9th when perfected and not postponed.
As mentioned earlier, the indicator is based on Tom DeMark's original article, which says that setup perfecting may start from bar #8.When i look on other indicators and read Jason Perls book it's on the 9th when perfected and not postponed.
It explicitly says: To “perfect” a buy setup, either the low of Setup bar 8, the low of Setup bar 9 or a subsequent price bar’s low must be less than the lows of both Setup bars 6 and 7.It doesn't say that. Besides it's a typo bevause the picture shows it on bar 9. Also it says in the text that it MUST complete 9 bars. Why else would 9 bars always be mentioned in the buy setup. If bar 9 is skipped we will never know if it qualifies as a buy or sell setup.
From the text on page 30:
Once a minimum of nine consecutive closes less than the correspondingcloses four price bars earlier are fulfilled, these bars are numbered 1through 9. If that series is interruptedat any time prior to completion, thecount is erased and the process mustbegin anew.
View attachment 27264
Any answers to this will be ignored. I also stated I found the error in the code.
It explicitly says: To “perfect” a buy setup, either the low of Setup bar 8, the low of Setup bar 9 or a subsequent price bar’s low must be less than the lows of both Setup bars 6 and 7.
Why kind of a typo would that be?
There is nothing contradicting in that a setup can be interrupted. It still gets perfected starting from bar 8.
Why would it be preferable to put the arrow at bar #9 in cases when it's the bar #8 when the setup got perfected? How would that improve the indicator?Ok, I'm assuming something based on you previous statement. I made a hastily conclusion that Bar 8 and Bar 9 low should be lower than Bar 6 and Bar 7.
You wrote there should be an arrow at Bar 8 if it's perfected at Bar 8 but you don't want to make any reference to that from the artice. You only want to make reference to the article after I made my hastily erronous conlusion???
My initial post said that the arrow was on Bar 8 and that it shouldn't be. My reference to that is this, from the article by by Tom Demarks original artice:
"In late July a buy Setup was perfected on day 8; a short-term rally ensued,followed by a buy Countdown."
View attachment 27268
Arrow appears at Bar 9!
Why are you wasting my time?
Firstly, I understand that a programmers job is the most complex or one of the most complex jobs. I really appreciate the work behind the indicator and I don't actually want to make it look like anything else.Why would it be preferable to put the arrow at bar #9 in cases when it's the bar #8 when the setup got perfected? How would that improve the indicator?
There is nothing difficult in putting the arrow at bar #9 when the perfection happens at bar #8, the problem is that I think it would actually make the indicator worse (minimally so, but still worse). Letting it be either at #8 or #9, depending on when the perfection happened, lends the user more information about what actually happened.Firstly, I understand that a programmers job is the most complex or one of the most complex jobs. I really appreciate the work behind the indicator and I don't actually want to make it look like anything else.
I already know what to answer before I read this because I've been thinking about it.
As I understand it's very much about which role you have. Are you a programmer, web admin, moderator, boss or trader? From a traders point of view arrow at bar #9 in that particular case is the way to go and it also seems to be preferred as indicated by the picturs in the article. It's also written by Demark himself, something I didn't notice at first. This makes me very inclined to think the picture with the setup in late July is the actual interpretation of where to put the arrow in that particular case.
Also it seems we should think of the buy/sell setup as a sequence as a sequence of 9.
From a programmers point of view the problem is that the sequence can end differently and that means that several categories is to be made fall into one, namely the arrow indication.
So the arrow indication has to do with sequence and indication of something that doesn't seem to be defined from the text but can be assumed to be where it's perfected. As I stated the problem is categories. The categories can also be assumed to be either sequence of 9, no sequence of 9 and sequence of 9 with postponed perfection. That is from a traders perspective.
How do you verify that it doesn't always show a value in the buffer #4 for the TD perfection arrow?The indicator does not work correctly in the configuration of "Buffer #4 — Setup Perfection: 1.0 for Buy Setup Perfection, -1.0 for Sell Setup Perfection. 0 on empty value"
View attachment 28106
As indicated, buffer #4 does not always show signal of 1.0 or -1.0 on the candle.
Using an EA that uses the indicator, the indicator does not always show the signal on the closing candle.
Config "CommunityPower EA"
View attachment 28107