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

[amibroker] Re: Plot Pivots



PureBytes Links

Trading Reference Links


Hi, Beachie

I trade currency futures on Globex
Can I use your formula as there is no real CLOSE price?
Regards  Traderix



--- In amibroker@xxxxxxxxxxxxxxx, "Beachie" <beachie41@xxxx> wrote:
> This is what I use. Not my code.
> 
> 
> 
> Hi1 = IIf(Day()!=Ref(Day(),-1),Ref(HighestSince( Day()!=Ref
> (Day(),-1), H,1),-1),0);
> Hi = ValueWhen(Day()!=Ref(Day(),-1),Hi1,1);
> //i = Val1)//;
> Lo1 = IIf(Day()!=Ref(Day(),-1),Ref(LowestSince( Day()!=Ref
> (Day(),-1), L,1),-1),0);
> Lo = ValueWhen(Day()!=Ref(Day(),-1),Lo1,1);
> CL1=IIf(Day()!=Ref(Day(),-1),Ref(C,-1),0);
> CL = ValueWhen(Day()!=Ref(Day(),-1),CL1,1);
> rg = Hi - Lo;
> bp = (Hi+Lo+CL)/3;
> R1 = (2*bP) - Lo ;
> S1 = (2*bP) - Hi;
> R2 = bP + rg;
> S2 = bP - rg;
> Plot(bp,"Pivot",colorIndigo,8);
> Plot(R1,"R1",colorBlue,1);
> Plot(S1,"S1",colorBlue,1);
> Plot(R2,"R2",colorBlue,1);
> Plot(S2,"S2",colorBlue,1);
> 
> 
> 
> 
> ---- Original Message ----- 
> From: "renilange" <reni.lange@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, November 03, 2004 7:51 AM
> Subject: [trading] [amibroker] Re: Plot Pivots
> 
> 
> 
> 
> Thank you. But what I´m looking for is pivots with  horizontal 
lines
> plotted through the chart.
> 
> Thxs  Reni
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, ERKAN BISEVAC <ebisevac@xxxx>
> wrote:
> > X1=(Ref(H,-1)+Ref(L,-1)+Ref(C,-1))/3;
> > Y1=(Ref(H,-1)+Ref(L,-1))/2;
> > Z1= Abs(X1-Y1);
> > DPH1=X1+Z1;
> > DPL1=X1-Z1;
> > PLOT(DPH1,"DPH1",1,1);
> > PLOT(DPL1,"DPL1",2,1);
> >
> >
> > renilange <reni.lange@xxxx> wrote:
> >
> > I have this METASTOCK formula to plot the daily pivot lines.
> > Could a AFL specialist "translate" it?
> >
> >
> > daily pivots / High and Low
> >
> >
> > X1:=(Ref(H,-1)+Ref(L,-1)+Ref(C,-1))/3;
> > Y1:=(Ref(H,-1)+Ref(L,-1))/2;
> > Z1:= Abs(X1-Y1);
> > DPH1:=X1+Z1;
> > DPL1:=X1-Z1;
> > DPH1;
> > DPL1;
> >
> >
> > Thank you. Reni
> >
> >
> >
> >
> >
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> >  Check out the new Yahoo! Front Page.  www.yahoo.com/a
> >
> > [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
> 
> 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





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/