PureBytes Links
Trading Reference Links
|
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/
|