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

(no subject)



PureBytes Links

Trading Reference Links

can someone help put an alert on the following code for me?????  I
havent a clue as to how   Ill be glad to send you some other candlestick
patterns in exchange!!


Inputs:Thold(75);

Vars:BodySize(0),x(0);
x = 0.2*Average((high-low),5);
{===============================================================}
if open < close then value1 = close;
if open < close then value2 = open;
if open > close then value1 = open;
if open > close then value2 = close;
if open = close then value1 = open;
if open = close then value2 = open;

{===============================================================}

{Lets define a star...this definition will be good for both regular
stars and doji's}
{First lets calculate the average real body size}

value99 = (value1 - value2);
BodySize = Average(value99,50);

if value99 = (bodysize/2) or value99 < (bodysize/2) then condition9 =
true;

{Now lets define a Harami line}

if value99 = (1.5*bodysize) or value99 > 1.5*bodysize then condition19 =
true;

{=================================================================}

{Now we define Morning and Evening STARS}

IF slowk(13)>(thold) and (open[2]<close[2]) and (open>close)
  then condition17 = true else condition17 = false;  {white then black}

IF slowk(13)<(100-thold) and (open[2]>close[2]) and (close>open)
 then condition71 = true else condition71 = false;  {black then white}

IF value2[1] > value1[2] and value2[1] > value1 and condition17 = true
then begin
Plot1(high+x,"eveStar");
end;

IF value1[1] < value2[2] and value1[1] < value2 and condition71 = true
then begin
Plot2(low-x,"morStar");

end;