Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Yes, I understand about proper syntax, I just wanted to write the logic down. Also, I have been to that link before and that is where I got the information. However, the information in that link does not specify conditions for breakout to up and down separately, just a generic description which seemed to me it is only for breakouts to the upside.
This is why I need confirmation for the logic, both up and down breakout triangles.
I had a look at the link above. The definition for a triangle reads a high lower than the preceding 2-bar high and a low higher than the preceding 2-bar low.
In my opinion the coding logic would be different:
It is not required that High[0] is smaller than both of the two preceding highs and that Low[0] is larger than both of the two preceding lows.
now that means the preceding 2-bar high is 7. so if High[0] = (between 1 and 6) it's valid. meaning if High[0] = 5, then i'ts still lower than the preceding 2-bar high, but higher than High[2].
"3 Bar Triangles are bars when the high is lower than the 2 day high and the low is higher than the 2 day low. Have a
higher percentage of follow through than simple NR7 or 1 bar type of patterns. "
Not sure the H(0) being lower than the HH(2) and L(0) higher than LL(2) would form a triangle for some situations. That is why I wanted to confirm the logic.
Here is the definition from the above link.
"3 Bar Triangles are bars when the high is lower than the 2 day high and the low is higher than the 2 day low. Have a
higher percentage of follow through than simple NR7 or 1 bar type of patterns. "
Not sure the H(0) being lower than the HH(2) and L(0) higher than LL(2) would form a triangle for some situations. That is why I wanted to confirm the logic.
No, this pattern was discussed by Linda R. during yesterday's futures.io (formerly BMT) webinar. I do not know the origin of this 3-Bar Triangle pattern.
But my impression was that something like a double inside bar would make a triangle. However, the above definition would not necessarily produce a triangle some times. That is why I was asking for clarification.
What was the definition Linda gave during the last webinar?
Mike
I did not find an explicit definition, but the recorded webinar shows two three bar triangle patterns (go to minute 51:00).
The pattern shown on the chart match the definition from the link https://www.tsindicators.com/Trading_notes/3_Bar_Triangles.html posted by @shodson, and are in line with the code logic that I have posted above. Today's high must be lower than the higher of yesterday's high and the high of the day prior to yesterday. Today's low must be higher than the lower of yesterday's low and the low of the day prior to yesterday.
If you have an inside bar, it is always a three bar triangle pattern. But the reverse is not true, as there are three bar triangle patterns that are not inside bars.
aligator
Here is the definition from the above link.
"3 Bar Triangles are bars when the high is lower than the 2 day high and the low is higher than the 2 day low. Have a
higher percentage of follow through than simple NR7 or 1 bar type of patterns. "
Not sure the H(0) being lower than the HH(2) and L(0) higher than LL(2) would form a triangle for some situations. That is why I wanted to confirm the logic.
I have given the logic above. I think there is one element missing. The pattern is stands for a consolidation of three days which may precede a breakout. I would therefore ask for the third day to have a lower range than the preceding day.
If you look at the patterns that have been suggested by Toby Crabel, they are slightly different:
NR or narrow range day: current range must be smaller than the range of the previous day
NR7 or narrow range 7 days: current range must be smaller than the range of each of the 6 preceding days
WS or wide spread day: current range must be larger than the range of the previous day
WS4 or wide spread 4 day: current range must be larger than the range of each of the 6 preceding days
ID or inside day: current high must be smaller than the high or the previous day, current low must be larger than the low of the previous day
IDNR4 or inside narrow range 4 day: a day which is an inside day and a narrow range 4 day
2BNR or two bar narrow range day: The two-bar range of the last day must be smaller than the two bar range of the prior day
The focus of Toby Crabel is more on declining volatility. The three bar triangle pattern by LBR does not specify whether the last bar should have a smaller range than the two preceding bars. It is even possible to build a three bar triangle pattern, where the last bar has a higher range than the two preceding bars.
However, in practice the patterns are often similar. If I look at the two examples shown on the chart in the webinar, then
-> the first triangle is also an IDNR7 (inside day and narrow range 7 day) pattern
-> the second triangle is a NR3 pattern