PureBytes Links
Trading Reference Links
|
Hi,
I used to have weekly support & resistance in Excel where instead of
weekly High, weekly Low, Close of Friday, I used 4 day High, 4 day
Low and Close of every day.
The formula still worked with the 4 day range. I seemed to have
abandoned it in favour of the High of Day/Low of Day, but I couldn't
seem to remember why. Probably because, I thought a weekly formula
would be more appropriate for seasonal trades, i.e., try to buy Corn
at the seasonal weekly low of November etc.,
Regards,
Pal
--- In amibroker@xxxxxxxxxxxxxxx, "Kevin Mullane" <k_man_can_do@xxxx>
wrote:
> Hi, TimeFrameGetPrice
>
> Is this the correct way to determine weekly pivots using the
> TimeFrameGetPrice?
>
> /************************Pivot Points**************************/
> p = (H+L+C)/3;
> r1 = (2*p)-L;
> s1 = (2*p)-H;
> r2 = p +(r1 - s1);
> s2 = p -(r2 - s1);
>
> /****************************Weekly Pivots********************/
> Wh=TimeFrameGetPrice("H",inWeekly,0,expandPoint);
> Wl=TimeFrameGetPrice("L",inWeekly,0,expandPoint);
> Wc=TimeFrameGetPrice("C",inWeekly,0,expandPoint);
>
> Wp=(Wh+Wl+Wc)/3;
> Wr1 = (2*Wp)-L;
> Ws1 = (2*Wp)-H;
> Wr2 = Wp +(Wr1 - Ws1);
> Ws2 = Wp -(Wr2 - Ws1);
>
> This shows up once every five days using Explore.
>
> Is there a different way to code the weekly pivot so it refreshes
> daily ?
>
> Kevin
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/mk9osC/hP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|