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

[amibroker] Re: Pivot Points



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, "spirit9xxxx" <spirit9@xxx> wrote:
>
> I want to get pivot points on my charts. Does anyone know of a 
> developed formula for that?
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
GFT Forex Trading Accounts As low as $250 with up to 400:1 Leverage. Free Demo.
http://us.click.yahoo.com/lpv1TA/jlQNAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> 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/