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

[amibroker] Re: LeftAxisScale & Tilte visiblility problem



PureBytes Links

Trading Reference Links

> No left axis scale shows
> But why not create your own custom indicator with what you want
> 
> Plot(c,"price",colorblack,stylecandle);// or stylebar
> period = Param("period", 7, 2, 40, 1);
> Plot(StochK(period), "stochK", 29, 1+65536+32768, 0, 100); 
> Title =Name()+" "+Date()+" "+ EncodeColor(colorGreen) + "some" +
> EncodeColor(colorRed) +"new" + "\ntitle" ;

ok.. I did that.. but now I have only StochK displayed. price bars
disappeared. however, there are two scales (as two fields with its
own values) on right side.

1. but when I write "plot stochK" *before* "plot price" it seems to
be ok.. why is that behaviour?

2. now max/min of the right axis equal max/min of displayed prices.
how can I add some additional space at bottom and top of the display
so that it would be nicely scaled as original PRICE plot?

3. the color of field with price on the right axis (it moves
up'n'down) is black now. I modified two lines:

kolor = IIf(C>O, colorGreen, colorRed);
Plot(C,"price",kolor,styleCandle);

now price field color changes as bar color changes. is it possible to
set this price field color to be constant?

4. Again, I modified line to (because there were time scaling
problems):

Plot(C,"price",kolor,styleCandle|styleOwnScale);

now it is ok, bars are not squeezed when I change interval, but all
grid lines disappeared. can I have them back?

5. generally, is it possible in AB to have left axis displayed with
its own scale visible? 

I would appreciate any help and explanations, I'm a little confused
now..
cheers,
mirek



------------------------ Yahoo! Groups Sponsor ---------------------~-->
ReplayTV: CNet Ranked #1 over Tivo!
Instant Replay & Pause live TV.
Special Sale: 50% off!
http://us.click.yahoo.com/UUMW7B/.5qGAA/ySSFAA/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/