Try this

TimeFrameSet(inDaily);
PP  =  ((Ref(H,0) + Ref(L,0) + Ref(C,0)) / 3);
R1  =  (2 * PP) - Ref(L,0);
S1  =  (2 * PP)  - Ref(H,0);
R2  =  PP + (R1-S1);
R3=Ref(H,0) + 2* (PP -Ref(L,0));
S2  =  PP - (R1 - S1);
S3 = Ref(L,0) - 2* (Ref(H,0) - PP);
TimeFrameRestore();
Plot(TimeFrameExpand(PP,inDaily),"PP",colorBrightGreen,styleLine |
styleThick);
Plot(TimeFrameExpand(R1,inDaily),"R1",colorDarkRed,styleLine |
styleThick);
Plot(TimeFrameExpand(R2,inDaily),"R2",colorOrange,styleLine);
Plot(TimeFrameExpand(S1,inDaily),"S1",colorDarkGreen,styleLine |
styleThick);
Plot(TimeFrameExpand(S2,inDaily),"S2",colorGreen,styleLine);
Plot(TimeFrameExpand(S3,inDaily),"S3",colorPaleBlue,styleLine);
Plot(TimeFrameExpand(R3,inDaily),"R3",colorBrown,styleLine);
--- In [email protected], "spirit9xxxx" <[EMAIL PROTECTED]> wrote:
>
> I want to get pivot points on my charts. Does anyone know of a
> developed formula for that?
>






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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to