PureBytes Links
Trading Reference Links
|
This doesn't give tomorrows closing prices but it might get you
started. This is to be used using intrsday data.
//Daily Pivot
TimeFrameSet( inDaily );
R5=(H/L)*C;
R4=(((H/L)+1)/2)*C;
R3=(((H/L)+3)/4)*C;
R2=(((H/L)+5)/6)*C;
R1=(((H/L)+10)/11)*C;
S5=C-(R5-C);
S4=C-(R4-C);
S3=C-(R3-C);
S2=C-(R2-C);
S1=C-(R1-C);
TimeFrameRestore();
DailyS1=TimeFrameExpand(S1,inDaily);
DailyS2=TimeFrameExpand(S2,inDaily);
DailyS3=TimeFrameExpand(S3,inDaily);
DailyS4=TimeFrameExpand(S4,inDaily);
DailyR1=TimeFrameExpand(R1,inDaily);
DailyR2=TimeFrameExpand(R2,inDaily);
DailyR3=TimeFrameExpand(R3,inDaily);
DailyR4=TimeFrameExpand(R4,inDaily);
DailyPvt=TimeFrameExpand(R5,inDaily); //expanded
PlotOHLC( Open, High, Low, Close, "Daily Close", colorIndigo,64 );
Plot( DailyS1, "DailyS1", 1,1,1.4);
Plot( DailyS2, "DailyS2", 2,1,1.4);
Plot( DailyS3, "DailyS3", 3,1,1.4);
Plot( DailyS4, "DailyS4", 4,1,1.4);
Plot( DailyR1, "DailyR1",5,1,1.4);
Plot( DailyR2, "DailyR2",6,1,1.4);
Plot( DailyR3, "DailyR3",7,1,1.4);
Plot( DailyR4, "DailyR4",10,1,1.4);
Plot(DailyPvt, "DailyPvt",9,1,1.4);
Hope This Helps,
John
--- In amibroker@xxxxxxxxxxxxxxx, "YEA RIGHT" <suedeuno@xxxx> wrote:
> I'm referring to pivots based on todays price for tomorrow's
> trading. These are provided on numerous websites. Surely it wasn't
> that difficult to understand what I was writing that it required
> that sort of response.
>
>
> --- In amibroker@xxxxxxxxxxxxxxx, "dingo" <dingo@xxxx> wrote:
> > Sure - did you want the code that calcs the closing prices for
> tomorrow as
> > well?
> >
> > d
> >
> >
> > _____
> >
> > From: YEA RIGHT [mailto:suedeuno@x...]
> > Sent: Monday, September 13, 2004 9:27 PM
> > To: amibroker@xxxxxxxxxxxxxxx
> > Subject: [amibroker] auto plot next day's pivots todays close?
> >
> >
> > has anyone coded this yet?
> >
> >
> >
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> >
> > Check group FAQ at:
> > http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
>
<http://us.ard.yahoo.com/SIG=129dhgqf0/M=295196.4901138.6071305.30011
> 76/D=gr
> >
>
oups/S=1705632198:HM/EXP=1095211659/A=2128215/R=0/SIG=10se96mf6/*http
> ://comp
> > anion.yahoo.com> click here
> >
> > <http://us.adserver.yahoo.com/l?
> M=295196.4901138.6071305.3001176/D=groups/S=
> > :HM/A=2128215/rand=622986216>
> >
> >
> > _____
> >
> > Yahoo! Groups Links
> >
> >
> > * To visit your group on the web, go to:
> > http://groups.yahoo.com/group/amibroker/
> >
> >
> > * To unsubscribe from this group, send an email to:
> > amibroker-unsubscribe@xxxxxxxxxxxxxxx
> > <mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?
subject=Unsubscribe>
> >
> >
> > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service
> > <http://docs.yahoo.com/info/terms/> .
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|