PureBytes Links
Trading Reference Links
|
Yuki
Just add a new custom chart and insert into a window and plot the
indicators as normal. Just add a candle chart of the prices. Here is an
example of one I have that includes sine curves for my cycles look see.
Cycle = Param("month cycle",12,1,12,1)*22;//264==12mth,22==1mth
xfactor = Param("months stretch",1,0.1,2.1,0.1);//1==1yr,2==2yr
xshift = Param("months slide",0,-30,30,2)/3.1416^2;//slide curve
1==5days
x = 2*3.1416/Cycle/xfactor;
y = sin(Cum(x)-xshift);
Cycle2 = Param("weeks cycle",13,1,26,1)*5;//20==20wks
xfactor2 = Param("weeks stretch",1,0.1,2.1,0.1);//1==1yr,2==2yr
xshift2 = Param("weeks slide",0,-30,30,2)/3.1416^2;//slide curve
1==5days
x2 = 2*3.1416/Cycle2/xfactor2;
y2 = sin(Cum(x2)-xshift2);
GraphXSpace = 2.5;
Plot(C, "Cycles Chart", colorBlack, styleCandle+styleNoLabel);
Plot(y, "cycle = "+WriteVal(Cycle*xfactor,1.0)+" days & y=", colorBlue,
styleLine+styleNoLabel+styleOwnScale);
Plot(y2, "cycle2 = "+WriteVal(Cycle2*xfactor2,1.0)+" days & y=",
colorRed, styleLine+styleNoLabel+styleOwnScale);
Plot(Cum(1), " Current Bar =", colorBlack,
styleNoLine+styleNoLabel+styleOwnScale);
Cheers,
Graham
-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx]
Sent: Friday, 21 February 2003 4:55 PM
To: Graham
Subject: Re: [amibroker] right margin labels (Tomasz)
Hi Graham,
Friday, February 21, 2003, 5:41:14 PM, you wrote:
G> Why not create a new window for the main chart and then you can plot
G> whatever you want in it.
Why not? Well . . . probably because I don't have the slightest idea
how to do that. :)
Best,
Yuki
mailto:yukitaga@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/
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/
|