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

Re: [RT] WinMidas and Auto Midas II disagreement



PureBytes Links

Trading Reference Links

I pointed out in my first post that my version used the UpTicks
and the DownTicks function for establishing a volume value.
What I did not say is that if the upticks/downticks was not
there then the volume was used if it were there otherwise
it used a value of one.

Somewhere in that mess is the difference.  The code you
need to look at is below and the earlier post follows.

Clyde



AvgPrice=(H+L)*.5;
If UpTicks>0 then TempV=UpTicks+DownTicks
else
If V>0 then TempV=V else TempV=1;
If VolMult<0 then TempV=-VolMult;

PVValue=AvgPrice*Vmult*TempV;
For Value2=1 to 4 begin
  cumpv[Value2]= cumpv[Value2] + PVValue;
  cumv[Value2] = cumv[Value2]  + TempV;
  MIDAS[Value2]= cumpv[Value2]/(cumv[Value2]*VMult);
End;


> mp= (High + Low)/2;
>
> value1 = value1[1] + (mp*v);
> value2 = value2[1] + v;
> value3 = value1/value2;
>

- - - - - - - - - - - - - - - - - - - - -  - - - - - - -
Clyde Lee   Chairman/CEO          (Home of SwingMachine)
SYTECH Corporation          email: clydelee@xxxxxxxxxxxx
7910 Westglen, Suite 105       Office:    (713) 783-9540
Houston,  TX  77063               Fax:    (713) 783-1092
Details at:                      www.theswingmachine.com
- - - - - - - - - - - - - - - - - - - -  - - - - - - - -

----- Original Message -----
From: "Prosper" <brente@xxxxxxxxxxxx>
To: "Real Traders" <realtraders@xxxxxxxxxxxxxxx>; "Clyde Lee"
<clydelee@xxxxxxxxxx>
Sent: Friday, June 22, 2001 23:08
Subject: Re: [RT] WinMidas and Auto Midas II disagreement


> I wasn't implying that there is something wrong with Clydes auto code,
there
> are far too many variables for me to know that. I was just pointing
out the
> difference and asking if anyone knows why. I get lost in Clydes code
so I
> can't easily compare them. The other code was posted by Rod earlier
today
> and is below.
>
> Prosper
>
> Input: YYYMMDD(1000801);
> vars: mp(0);
>
>
> value1=0;
> value2=0;
>
>
> if date >= YYYMMDD then begin
>
> mp= (High + Low)/2;
>
> value1 = value1[1] + (mp*v);
> value2 = value2[1] + v;
> value3 = value1/value2;
>
> Plot1(value3,"_Midas S/R");
>
> end;
>
>
>
>
> ----- Original Message -----
> From: "Clyde Lee" <clydelee@xxxxxxxxxx>
> To: "Prosper" <brente@xxxxxxxxxxxx>
> Cc: <realtraders@xxxxxxxxxxxxxxx>
> Sent: Friday, June 22, 2001 9:05 PM
> Subject: Re: [RT] WinMidas and Auto Midas II disagreement
>
>
>
>
> To unsubscribe from this group, send an email to:
> realtraders-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>


To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/