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

Re: [amibroker] right margin labels (Tomasz)



PureBytes Links

Trading Reference Links

Hi Graham,

Yeah.

I'm sure this is very helpful for someone who has a clue.  ^_^

I do not.

I do not see what is calling the prices or creating a bar chart (or a
candle chart for that matter).  All I know of price in AB is that it
is a built-in indicator.

Most of what you have written below might be in Swahili.  I am not
sure.  ^_-

Yuki

Friday, February 21, 2003, 6:01:32 PM, you wrote:

G> Yuki Just add a new custom chart and insert into a window and plot
G> the indicators as normal. Just add a candle chart of the prices.
G> Here is an example of one I have that includes sine curves for my
G> cycles look see.

G> Cycle = Param("month cycle",12,1,12,1)*22;//264==12mth,22==1mth
G> xfactor = Param("months stretch",1,0.1,2.1,0.1);//1==1yr,2==2yr
G> xshift = Param("months slide",0,-30,30,2)/3.1416^2;//slide curve
G> 1==5days
G> x = 2*3.1416/Cycle/xfactor;
G> y = sin(Cum(x)-xshift);

G> Cycle2 = Param("weeks cycle",13,1,26,1)*5;//20==20wks
G> xfactor2 = Param("weeks stretch",1,0.1,2.1,0.1);//1==1yr,2==2yr
G> xshift2 = Param("weeks slide",0,-30,30,2)/3.1416^2;//slide curve
G> 1==5days
G> x2 = 2*3.1416/Cycle2/xfactor2;
G> y2 = sin(Cum(x2)-xshift2);

G> GraphXSpace = 2.5;
G> Plot(C, "Cycles Chart", colorBlack, styleCandle+styleNoLabel);
G> Plot(y, "cycle = "+WriteVal(Cycle*xfactor,1.0)+" days & y=", colorBlue,
G> styleLine+styleNoLabel+styleOwnScale);
G> Plot(y2, "cycle2 = "+WriteVal(Cycle2*xfactor2,1.0)+" days & y=",
G> colorRed, styleLine+styleNoLabel+styleOwnScale);
G> Plot(Cum(1), " Current Bar =", colorBlack,
G> styleNoLine+styleNoLabel+styleOwnScale);

G> Cheers,
G> Graham
 

G> -----Original Message-----
G> From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx] 
G> Sent: Friday, 21 February 2003 4:55 PM
G> To: Graham
G> Subject: Re: [amibroker] right margin labels (Tomasz)

G> Hi Graham,

G> 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.

G> Why not?  Well . . . probably because I don't have the slightest
G> idea how to do that.  :)


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/