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

[amibroker] Re: Multiple time frames question



PureBytes Links

Trading Reference Links

My previous reply [not arrived yet] had a wrong title.
Here is the new one

TimeFrameSet( inDaily ); 
sD = C; 
TimeFrameSet( inWeekly ); 
sW=2*Avg-L; rW=2*Avg-H;
TimeFrameRestore(); 
DailyClose=TimeFrameExpand( sD, inDaily);
WeeklyS=TimeFrameExpand(sW,inWeekly);
WeeklyR=TimeFrameExpand(rW,inWeekly);
Plot(DailyClose, "Daily Close", colorIndigo,64 );
Plot( WeeklyS, "WeeklyS", colorBlue);
Plot( WeeklyR, "WeeklyR", colorBlue);
Dimitris Tsokakis
--- In amibroker@xxxxxxxxxxxxxxx, "epintoem" <epintoem@xxxx> wrote:
> I can plot the daily pivots using AVG, 2*avg-L, and 2*avg-h.
> how would I plot the same on a daily chart for the week
> 
> I should have a straight line for the following week/month based on 
> the H,L and C of the prev week/month.
> wc=TimeFrameCompress(C,inWeekly);
> wh=TimeFrameCompress(H,inWeekly);
> wl=TimeFrameCompress(L,inWeekly);
> 
> Plotting this using the above gives me some wierd plots....
> 
> Thanks for your help


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/