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

Re: [amibroker] Re: AA colors



PureBytes Links

Trading Reference Links

Hello,

No, you should NOT use assignment.

This is just notation used to describe default parameter values.

Correct way to call is:
AddColumn(sig1, "MA", 1.0,  colorDefault, IIf(sig1==1,   colorGreen, colorRed));

(no assignment inside function call).
--------------------------------------------

Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message ----- 
From: "partyin1999or" <kmullane@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 08, 2003 7:07 AM
Subject: [amibroker] Re: AA colors


> Rik, 
> 
> Try adding... bkgndColor =... before your IIf statements.
> 
> AddColumn(sig1, "MA", 1.0,  colorDefault, bkgndColor =  IIf(sig1==1, 
> colorGreen, colorRed));
> 
> Kevin
> 
>  
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Rik Rasmussen" <hrasmussen@xxxx> 
> wrote:
> > Can anyone tell me why this is not displaying in the correct 
> colors? I have
> > seen a screen shot of this running on another computer and the data 
> is green
> > or red as the code calls for. (see below)
> > 
> > 
> > 
> > 
> > It should look like this:
> > 
> > 
> > 
> > Rik Rasmussen
> > Stock Analyzer mailing list moderator
> > http://groups.yahoo.com/group/stockanalyzer/
> 
> 
> 
> 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/ 
> 
> 
> 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs Online - Over 14,500 titles.
No Late Fees & Free Shipping.
Try Netflix for FREE!
http://us.click.yahoo.com/YoVfrB/XP.FAA/uetFAA/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/