Hot Zones
{pat is a variable defined as the pattern being analyzed. To analyze any other pattern, copy text of commentary into a word processor and search for
pat:=
replace the text following the equal sign with a formula defining the desired pattern. Make sure there is a semi-colon after the definition.}
<Name>
<Symbol>
As of <Date>, writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(pat),0.0) patterns have occured out of writeval(cum(1),0.0) bars.
The open price, divided by zones, for the bars following the pattern were:
Number in Percent in
Zone Zone Zone
------------------------------------------------------------
1 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) );
(n/cum(pat))*100,3.2)
2 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) );
(n/cum(pat))*100,3.2)
3 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) );
(n/cum(pat))*100,3.2)
4 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) );
(n/cum(pat))*100,3.2)
5 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) );
(n/cum(pat))*100,3.2)
6 writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) ),3.0) writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
n:=Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) );
(n/cum(pat))*100,3.2)
These are broken down in the following table based on where the close was:
Open Close Zone
Zone 1 2 3 4 5 6
------------------------------------------------------------------------------------------------------------------------
1 {1}writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) )*100),15.2) {2}writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o>=ref(h+atr(10),-1))*100 ),15.2)
2 {1} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2) {2} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h+atr(10),-1) AND o>=ref(h,-1))*100 ),15.2)
3 {1} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2) {2} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h,-1) AND o>=ref(h-((h-l)/2),-1))*100 ),15.2)
4 {1} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2) {2} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(h-((h-l)/2),-1) AND o>=ref(l,-1))*100 ),15.2)
5 {1} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2) {2} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l,-1) AND o>=ref(l-atr(10),-1))*100 ),15.2)
6 {1} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c>=ref(h+atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2) {2} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c<ref(h+atr(10),-1) AND c>=ref(h,-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2) {3} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c<ref(h,-1) AND c>=ref(h-((h-l)/2),-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2) {4} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c<ref(h-((h-l)/2),-1) AND c>=ref(l,-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2) {5} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c<ref(l,-1) AND c>=ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2) {6} writeval(pat:= L<ref(l,-1) AND h>ref(h,-1);
(Cum(ref(pat,-1) AND o<ref(l-atr(10),-1) and c<ref(l-atr(10),-1) )/Cum(ref(pat,-1) AND o<ref(l-atr(10),-1))*100 ),15.2)
As a reminder, here are the definitions of the six different zones:
zone 1: above the previous bar's high plus the value of the 10-bar ATR
zone 2: between the previous bar's high and the high plus the value of the 10-bar ATR
zone 3: between the previous bar's high and the middle of its range
zone 4: between the previous bar's low and the middle of its range
zone 5: between the previous bar's low and its low minus the value of the 10-bar ATR
zone 6: below the previous bar's low minus the value of the 10-bar ATR