[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RT] Re: ELA for my DS - doji indicator



PureBytes Links

Trading Reference Links

All of the charts T bondo posted in the past with the sandwich marked is
almost the same as defining the pattern.  A doji by itself is well defined
and coded.  In reviewing months and months of his charts the sandwich
appears to exist when the body of the doji is within the price range of the
H and L of the previous bar and the following bar.  The body of doji as a
percent or "tolernce" of its High and Low is still in question and may have
to be based on a probability parameter such as 50% or less.  Or, the
parameters could be tighter and define it as when the body of the doji is
"sandwiched" by the open and close of the previous bar and the open and
close of the following bar, although that is not what is observed on his
charts.  The code below will plot the doji without a sandwich, with one
slice of bread, and two slices of bread.

BobR
-------------------------------------------
{offset is the point distance above the high or below the low to plot the
showme. Mode(0) plots only the Doji without respect to either the bar before
or after it.  Mode(1) plots the doji showme when within the range of the
previous bar.  Mode(2) plots the show me when sandwiched by the bar before
and the bar after the doji.  Tolernce sets the sensitivity of the doji body
with respect to the H and L of the doji bar}

Inputs: Tolernce(25), offset1(1),Mode(0);

If Mode = 0 then begin
Condition1 =( Open = Close or AbsValue(Open-Close) <= Range *
(Tolernce/100)); {plot1(doji),Mode0}
If condition1=true then
Plot1(High+offset1,"DojiH"); {yellow}
end;

If Mode=1 then begin
Condition1 =( Open = Close or AbsValue(Open-Close) <= Range *
(Tolernce/100)); {plot1(doji),Mode0}
Condition2 = open<H[1] and open>L[1] and close<H[1] and close>L[1]; {Mode1}
If condition1=true and condition2=true then
Plot1(High+offset1,"DojiH");
end;

If Mode=2 then begin
Condition1 =( Open[1] = Close[1] or AbsValue(Open[1]-Close[1]) <= Range[1] *
(Tolernce/100)); {plot1(doji),Mode0}
Condition2 = open[1]<H[2] and open[1]>L[2] and close[1]<H[2] and
close[1]>L[2]; {Mode1}
Condition3 = H>open[1] and H>close[1] and L<open[1] and L<close[1];
Condition4 = (H+L+C)/3>(H[1]+L[1]+C[1])/3;
Condition5 = (H+L+C)/3<(H[1]+L[1]+C[1])/3;
If condition1=true and condition2=true and condition3=true then
Plot1[1](High[1]+offset1,"DojiH");   {yellow}
If condition1=true and condition2=true and condition3=true and
condition4=true then
Plot2(Low-offset1,"DojiL");  {continuation up doji}
If condition1=true and condition2=true and condition3=true and
condition5=true then
Plot3(High+offset1,"DojiH"); {continuation down doji}
end;
----- Original Message -----
From: <Aparkr@xxxxxxx>
To: <realtraders@xxxxxxxxxxxxxxx>
Sent: Tuesday, May 16, 2000 11:17 AM
Subject: [RT] Re: ELA for my DS - doji indicator


> he did mention his "stuff" when signs off with his url for his website.
> all I am saying, would Bill stop the rhetoric, and just explain the
specifics
> of the
> pattern. That's it. If he can't even post the specifics of the doji
sandwich
> pattern
> for all of us, then obviously his postings are nothing more  directions to
> his web
> site( a commercial post).
>
>                                                       Alan
>
>
>