PureBytes Links
Trading Reference Links
|
For
explorations do not forget that there is a formatChar that can
be used to show single characters in columns, often this is sufficint to
indicate state like Up Down Buy Sell with the characters U, D, B amd
S.
AddColumn(IIf(Buy,83,66),"Action",formatChar);
best
regards,
herman
Duke
as
i understand it you are wanting to have text and background as different
colors dependent on conditions.
Does something like this resemble
what you are looking for ?
**************** CloseUP = C >
Ref(C,-1); Closedown = C < Ref(C,-1);
txtclrup =
IIf(Closeup, colorDarkGreen,IIf(Closedown,colorRed,colorBlack)); bkclr =
IIf(Closeup, 5,IIf(closedown,colorPink,colorWhite)); Filter
=1;
AddColumn(C,"close",1.2); AddColumn(Ref(C,-1),"Ystrdy
close",1.2); AddTextColumn(WriteIf(Closeup,"UP",WriteIf(Closedown,"DOWN","same")),"up/down",1.2, txtclrup,
bkclr);
*******************
ChrisB
======================================================
---
"Duke Jones, CMT" <Duke.Jones@xxxxxxxxxxxxxxxxxxxxxx>
wrote:
> If you ever find a way to make the values >
conditional please > post it to the list. So far I have only been able
to > make > just the text colored but not the background
without > making > the whole column the same color.
>
__________________________________ Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/
Check AmiBroker web page at: http://www.amibroker.com/
Check
group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor |
ADVERTISEMENT
| |
|
Yahoo! Groups Links
|