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

Re: [amibroker] right margin labels (Tomasz)



PureBytes Links

Trading Reference Links

Hi Anthony,

Very nice.  Thank you.  It helps me learn.

Yuki ^_^

Friday, February 21, 2003, 9:42:22 PM, you wrote:

AF> Yuki,

AF> Try this...Load into Indicator Builder...select show dates and
AF> Middle...click apply...your can set your own settings....Please let me
AF> know if your need more information in the title line...or if you need
AF> any help ...

AF> //Yuki's Chart

AF> //Price
AF> Price=C;
AF> PriceColor=colorBlack;
AF> /******************************/

AF> //Moving averages
AF> Period1=3;
AF> Period2=10;
AF> Period3=15;

AF> MA1=MA(price,Period1);
AF> MA2=MA(price,Period2);
AF> MA3=MA(price,Period3);

AF> MA1color=colorWhite;
AF> MA2color=colorRed;
AF> MA3color=colorBrightGreen;
AF> /*******************************/

AF> //Bollinger Bands
AF> BolPeriod=15;
AF> BolShift=2;

AF> boltopcolor=colorYellow;
AF> bolbotcolor=colorYellow;

AF> BolTop=BBandTop(price,BolPeriod,BolShift);
AF> BolBot=BBandBot(price,BolPeriod,BolShift);
AF> /*************************************/

AF> Plot(price,"Close",colorBlack,styleCandle);
AF> Plot(MA1,"MA1",MA1color,styleLine);
AF> Plot(MA2,"MA2",MA2color,styleLine);
AF> Plot(MA3,"MA3",MA3color,styleLine);
AF> Plot(boltop,"BolTop",Boltopcolor,styleLine);
AF> Plot(bolbot,"BolBot",Bolbotcolor,styleLine);

AF> Title=Name()+" -
AF> "+WriteVal(Month(),1)+"/"+WriteVal(Day(),1)+"/"+WriteVal(Year(),1)+" :
AF> "+"Open "+WriteVal(O,1.2)+" , "+"Hi "+WriteVal(H,1.2)+","+" Lo
AF> "+WriteVal(L,1.2)+","+" Close "+WriteVal(C,1.2)+" (
AF> "+WriteVal(ROC(C,1),1.1)+" % )"+" Volume "+WriteVal(V,1);



AF> Best wishes
AF> Anthony

AF> Yuki Taga wrote:

>>  Hi Tomasz,
>>
>> Okay, yes I did this, because everyone suggested this is how I can
>> have the Bollinger bands set the way *I* want, with only the MAs in
>> there that *I* want.  ^_-  Can I suggest that you may have hard-wired
>> a bit too much into the main chart?  ^^_^^
>>
>> So, how do I do this, Tomasz?  I want 3 MAs, none having anything to
>> do with the B band settings, and I want the B bands there too, set at
>> 200 percent width.
>>
>> Yuki
>>
>> Friday, February 21, 2003, 4:44:41 PM, you wrote:
>>
>> TJ> Yuki,
>>
>> TJ> This can happen if you add some more plots to BUILT-IN indicators.
>>
>> TJ> This is so because in that case labels are plotted twice.
>> TJ> Once for built-in indicator (internal code)
>> TJ> and once for your added (overlaid) code.
>> TJ> An easy solution it to use Custom indicator instead.
>> TJ> Since they are plotted in one-pass no overlapping happens.
>>
>> TJ> Best regards,
>> TJ> Tomasz Janeczko
>> TJ> amibroker.com
>> TJ> ----- Original Message -----
>> TJ> From: "Yuki Taga" <yukitaga@xxxxxxxxxxxxx>
>> TJ> To: <amibroker@xxxxxxxxxxxxxxx>
>> TJ> Sent: Friday, February 21, 2003 3:10 AM
>> TJ> Subject: [amibroker] right margin labels (Tomasz)
>>
>>
>> >> Quite a while back you had fixed a problem with the right margin
>> >> labels overlapping each other.  Recently (at least one or two
>> >> versions back now, maybe more) they have begun overlapping and
>> >> obscuring each other.  Can we have a fix on this again?
>> >>
>> >> (see gif)
>> >>
>> >> Yuki ^_^


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/