PureBytes Links
Trading Reference Links
|
Yes, another usage would be to highlight if a condition is true or
not.
Title =
"\n - Sell Condition 1: " + WriteIf(Sellcond1, EncodeColor(colorRed)
+ "True" + EncodeColor(colorBlack), EncodeColor(colorBlack) + "False")
;
HB
--- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
> I also use variable colour to help highlight the relative positions
of
> indicators, in the case below above or below the trigger line for
the bar
> selected mycolor=IIf(MAIndC>Trigger, colorGreen,
> IIf(MAIndC<Trigger,colorRed,colorBlack));
>
> Title =EncodeColor(SelectedValue(mycolor)) + Name() + " " + Date()
+ " Ind
> C: Higher Highs & Lows - Lower Highs & Lows:
> "+WriteVal(period1,1)+"/"+WriteVal(period2,1)+"/"+WriteVal
(period3,1);
>
> Cheers,
> Graham
> http://groups.msn.com/ASXShareTrading
> http://groups.msn.com/FMSAustralia
>
>
> -----Original Message-----
> From: hmab1 [mailto:hossamb@x...]
> Sent: Monday, 14 July 2003 11:18 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: tweaking the display
>
>
>
> Yuki,
>
> Try using EncodeColor()
>
> >From the help:
>
> Title = "This is written in " + EncodeColor( colorViolet )
+ "violet
> color " + EncodeColor( colorGreen ) + "and this in green";
>
> HB
>
> --- In amibroker@xxxxxxxxxxxxxxx, Yuki Taga <yukitaga@xxxx> wrote:
> > I use the following across the top of my custom price charts:
> >
> > Title = Name() +" - "+ WriteVal( DateTime(), formatDateTime )
+" -
> > "+"Open: "+WriteVal(O,1.0)+" "+" - Hi: "+WriteVal(H,1.0)+" "+" -
> > Low: "+WriteVal(L,1.0)+" "+" - Close: "+WriteVal(C,1.0)+" -
> > Volume: "+WriteVal(V,1);
> >
> > Text output is all black. What I would like to know is if I can
> > modify this code so that the values *only* would be another color?
> >
> > 'High' would remain black, but the value following it would be
another
> > color. I have made a couple of attempts at this, but can't seem
to
> > figure it out, and I am not sure it can be done.
> >
> > Yuki ^_^
>
>
> ------------------------ Yahoo! Groups Sponsor ---------------------
~--> Buy
> Naturally Painless & Spray Away Backaches & Joint Pain. $19.97
> http://www.challengerone.com/t/l.asp?cid=2867&lp=m331.html
> http://us.click.yahoo.com/tJIe0D/79VGAA/ySSFAA/GHeqlB/TM
> --------------------------------------------------------------------
-~->
>
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/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/
|