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

[amibroker] Fw: How to apply formula in chart



PureBytes Links

Trading Reference Links

 
How to apply this pivot formula in my chart
please formula edit ( only in apply your pivot support & ressistance copy & pest only)
_--------------------------------------------------------------------------------------_._,___

----- Original Message ----
From: archstone2003 <archstone2003@xxxxxxxxx>
To: amibroker@xxxxxxxxxxxxxxx
Sent: Friday, January 18, 2008 8:47:57 AM
Subject: [amibroker] Re: Draw beyond the last bar?

Got it. Thanks!

--- In amibroker@xxxxxxxxx ps.com, "Howard B" <howardbandy@ ...> wrote:
>
> Hi Archstone --
>
> Here is an afl program that plots the pivot points for tomorrow in
the space
> to the right of the last bar. Hope this helps,
>
> //////////// ///////// //
>
> // PivotPoints. afl
> //
> // Traditional pivot points.
> // Thought by some to indicate levels of support
> // and resistance.
> //R2 = P + (H - L) = P + (R1 - S1)
> //R1 = (P x 2) - L
> //P = (H + L + C) / 3
> //S1 = (P x 2) - H
> //S2 = P - (H - L) = P - (R1 - S1)
> P = (H + L + C) / 3;
> R1 = (P * 2) - L;
> S1 = (P * 2) - H;
> R2 = P + (R1 - S1); // P + (H - L)
> S2 = P - (R1 - S1); // P - (H - L)
> Plot(C,"C",colorBla ck,styleCandle) ;
> // Displace the plot of the pivot points one bar
> // to the right.
> // Pivot points are based on the current bar,
> // but are thought to provide indication of
> // support and resistance for the next bar.
> //
> Displace=1;
> Plot(R2,"R2" ,colorRed, styleLine, 0,0,Displace) ;
> Plot(R1,"R1" ,colorPink, styleLine, 0,0,Displace) ;
> Plot(P,"P",colorBlu e,styleLine, 0,0,Displace) ;
> Plot(S1,"S1" ,colorPaleGreen, styleLine, 0,0,Displace) ;
> Plot(S2,"S2" ,colorGreen, styleLine, 0,0,Displace) ;
> //Figure 8.5 Pivot Points
>
> //////////// /////////
>
> Thanks,
> Howard
> www.quantitativetra dingsystems. com
>
> On Jan 17, 2008 6:06 PM, archstone2003 <archstone2003@ ...> wrote:
>
> > Hi,
> >
> > Can we draw beyond the last bar? I am asking this because I want
to
> > draw the stop for tomorrow. The stop is calculated based on past
data
> > (include today), but it will be applied to tomorrow.
> >
> > I know I can just write the value into "Interpretation" pane, but
if I
> > can plot it, it will be very intuitive visual wise.
> >
> > Just need to draw a very short line or a dot beyond the last bar.
> >
> > Thanks.
> >
> > Wei
> >




Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.



Never miss a thing. Make Yahoo your homepage. __._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___