PureBytes Links
Trading Reference Links
|
seems several bugs inhibiting verification... any suggestions? couldn't
get thru to mark... only got an automatic reply "thank you"
{
Subject:
ATI_Lost Stuff 3
Date:
Sun, 26 Apr 1998 09:43:43 -0500
From:
MarkBrown <MarkBrown@xxxxxxxxxxxxx>
To:
Advanced Trading Ideas <ati@xxxxxxxxxx>
Subj: Re:Pivot Indicator
Date: 95-09-04 01:56:09 EDT
From: Nchrisc
All those vultures who charge $100 for their version of this are going
to be
upset with me, but here goes. This is my code for pivot points using
intraday
data for data1 and daily data for data2.
indicator 1:
..............................................
}
VAR: P(0), StartDate(0);
If Currentbar = 1 then startdate = 1;
If T < T[1] then startdate = startdate[1] + 1;
if h of data2 > l of data2 then begin
P = (h of data2 + l of data2 + c of data2)/3;
End;
If startdate > 2 then Plot1(P,"P");
{
indicator 2:
..............................................
}
VAR: P(0), R1(0), S1(0), R2(0), S2(0), StartDate(0);
If Currentbar = 1 then startdate = 1;
If T < T[1] then startdate = startdate[1] + 1;
P = (h of data2 + l of data2 + c of data2)/3;
R1 = 2 * P - l of data2;
S1 = 2 * P - h of data2;
R2 = (P - S1) + R1;
S2 = P - (R1 - S1);
If startdate > 2 then begin
Plot1(R2,"R2");
Plot2(R1,"R1");
Plot3(S1,"S1");
Plot4(S2,"S2");
End;
{
good luck, cc
}
|