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

[amibroker] Re: Adding Text to Explore/Scan Columns



PureBytes Links

Trading Reference Links

Duke,

I can confirm that the following formula works as per your requirements with the latest version
of Amibroker 4.70.0 RC1

AddTextColumn( FullName(), "Name",colorDefault, IIf( C >= 5, colorBrightGreen, colorRed ));



Regards,
William Peters (AmiBroker Group Moderator)
www.amitools.com




Thursday, March 3, 2005, 6:32:48 AM, you wrote:

EW> Duke,
EW> I have not had the occasion to use that, so I tried it with a text
EW> column and found that you are right, it doesn't seem to work for the
EW> following code:
EW> AddTextColumn(FullName(),"Name",colorDefault,IIf(PChg>=0.0,colorBrightGreen,colorDefault));

EW> I guess it is an enhancement request.
EW> Regards,
EW> Ed

EW> Duke Jones, CMT wrote:
>> Ed,
>> 
>> This works for the Addcolumn...do you know of a way to do
>> this with the Addtextcolumn? That’s where I have had
>> difficulty using the IIF or colors.
>> 
>> Thanks,
>> 
>> Duke Jones, CMT
>> 
>>>-----Original Message-----
>>>From: E Winters [mailto:e.winters1@xxxxxxxxxxx]
>>>Sent: Wednesday, March 02, 2005 9:55 PM
>>>To: amibroker@xxxxxxxxxxxxxxx;
>>>Duke.Jones@xxxxxxxxxxxxxxxxxxxxxx
>>>Subject: Re: [amibroker] Re: Adding Text to Explore/Scan
>>>Columns
>>>
>>>
>>>Duke,
>>>Try this (without the line wrap):
>>>x0=<your variable - I use score in this example>
>>>AddColumn(x0,"Score",1.0,colorDefault,
>>>IIf(x0>=scGreen,colorBrightGreen,
>>>IIf(x0>=scBlue,colorSkyblue,
>>>IIf(x0>=scYellow,colorYellow,
>>>IIf(x0>=scOrange,colorLightOrange,colorRed)))));
>>>Regards,
>>>Ed
>>>
>>>Duke Jones, CMT 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.
>>>
>>>
>>>>Duke Jones, CMT




------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/