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

Re: [RT] RE: - Smart Money Dumb Money? Code help.



PureBytes Links

Trading Reference Links

No question that smart money was buying the last two days and was really
buying on Tuesday.  Here is the rough code I came up with.  Perhpas Clyde or
some other coding guru can make it honest and make it Kosher.
========================================================
{SMDM}
{Adapted from the book "Street Smarts" by Raschke and Connors.
Smart Money Index, DM = dumb money Buy/Sell in first half hour,
SM = smart money Buy/Sell in final hour, DM1 and DM2 set the
dumb money period, SM1 and SM2 set the smart money period
N=37 FOR 10 minute bars.
Coded by Bob Roeske bobrabcd@xxxxxxxxxxxxx 6/10/2001}

Inputs: DM1(0630),DM2(0700),SM1(1200),SM2(1300),N(37);
Vars:  DM(0),SM(0),PSM(0),SMT(0);

If currentbar> maxbarsback+N then begin

If Time>=DM1 and Time <=DM2 then DM = (OpenD(0)-Close);
If Time>=DM1 and Time<=DM2 then begin
Plot1(DM,"DM");
end;

If Time=SM1 then SM=Close;
If Time>=SM1 and Time <=SM2 then PSM = Close-SM;
If Time>=SM1 and Time <=SM2 then begin
Plot2(PSM,"PSM");
end;


SMT = DM +PSM;
If time = sm2 then begin
Plot3(SMT,"SMT");
plot4(SMT,"SMT");
end;
end;


================================================================
{SMDM summation}
{Adapted from the book "Street Smarts" by Raschke and Connors
Smart Money Index, DM = dumb money Buy/Sell in first half hour, SM = smart
money
Buy/Sell in final hour, DM1 and DM2 set the dumb money period, SM1 and SM2
set
the smart money period.  Adjust input N so that first day does not distort
the data.
Coded by Bob Roeske bobrabcd@xxxxxxxxxxxxx 6/10/2001}

Inputs:
DM1(0630),DM2(0700),SM1(1200),SM2(1300),N(37),LenS(10),LenM(50),LenL(200);
Vars:  DM(0),SM(0),PSM(0),SMT(0),SMDMS(0),SmoothS(0),SmoothM(0),SmoothL(0);

If currentbar> maxbarsback+N then begin


If Time=DM2 then DM = (OpenD(0)-Close);

If Time=SM1 then SM=Close;

If Time=SM2 then PSM = Close-SM;

If Time=SM2 then
SMT = DM +PSM;

If Time=SM2 then
SMDMS = SMDMS[1]+SMT;
SmoothS = Average(SMDMS,LenS);
SmoothM = Average(SMDMS,LenM);
SmoothL = Average(SMDMS,LenL);
PLOT1(SMDMS,"SMDMS");
Plot2(SmoothS,"SmoothS");
Plot3(SmoothM,"SmoothM");
Plot4(SmoothL,"SmoothL");
end;

----- Original Message -----
From: "Prosper" <brente@xxxxxxxxxxxx>
To: "Real Traders" <realtraders@xxxxxxxxxxxxxxx>
Sent: Tuesday, June 12, 2001 1:44 PM
Subject: [RT] RE: - Smart Money Dumb Money? Code help.


> I was looking at this SMI and I wanted to try it on some other securities.
> So far my coding effort hasn't gone too well. I think and is probably too
> simple. This is what I have so far.
>
> Cum(Iff(Time>620 and time<650, Cum(C-C[1])*-1, 0) + Iff(Time>1200 and
> time<1300, Cum(C-C[1]), 0))
>
> I guess that if you don't use the Cum to continuosly sum it you get the
end
> of day value.
>
> Can anyone give me some pointers?
>
> Prosper
>
>
>
>
>
>
> 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/ 


Attachment: Description: "SMDM.GIF"