That’s a
thought, Steve.
My
existing code [pasted below] wont give tomorrow’s pivots until tomorrow’s 1st
bar prints.
What I
need to do is plot the evolving next days pivots at the far right
The next
step would be to compare raw and extrapolated values.
Bob
-----------------------------------
TimeFrameSet(inDaily);
P = (H + L
+ C) / 3;
R1 = 2 * P
- L;
S1 = 2 * P
- H;
R2 = P +
(R1 - S1); //R3 = (P -S1)+ R2;
S2 = P -
(R1 - S1); //S3 = P - (R2 - S1);
TimeFrameRestore();
dR2 =
TimeFrameExpand( R2, inDaily ); Plot(dR2,"dR2",colorRed,4);
dR1 =
TimeFrameExpand( R1, inDaily ); Plot(dR1,"dR1",colorYellow,4);
dP = TimeFrameExpand( P, inDaily ); Plot(dP,"dP",colorWhite,4);
dS1 =
TimeFrameExpand( S1, inDaily ); Plot(dS1,"dS1",colorYellow,4);
dS2 =
TimeFrameExpand( S2, inDaily ); Plot(dS2,"dS2",colorRed,4);
----------
-----Original
Message-----
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]On Behalf
Of Steve
Sent: Wednesday, October 19, 2005
12:52 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker]
Tomorrow's Pivots?
Couldn't
you use something like this change the pivots dynamically as the day progresses
And use
an iif(timenum() > 160000,Plot etc etc
to
display only on days end?
DayH = TimeFrameGetPrice("H", inDaily); // yesterdays high
DayL = TimeFrameGetPrice("L", inDaily); // low*/
DayC = TimeFrameGetPrice("C", inDaily); // close
DayO = TimeFrameGetPrice("O", inDaily); // current day open
-----
Original Message -----
To: amibroker@xxxxxxxxxxxxxxx
Sent: Wednesday, October 19,
2005 5:17 PM
Subject: RE:
[amibroker] Tomorrow's Pivots?
I thought the
details were complete, Graham.
Why 'reverse engineer' given that the unknown data [today's H, L and C]
become increasing more certain as the day session's end approaches?
Bob
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS