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

Re: [amibroker] Problem with color or formula ????


  • Date: Wed, 13 Jan 2010 13:34:06 -0800
  • From: "NW Trader" <ta4charts@xxxxxxxxxxx>
  • Subject: Re: [amibroker] Problem with color or formula ????

PureBytes Links

Trading Reference Links



Yves,
 
Looks like you are trying to have a conditional return for both color and style in the same iif statement.  Try writing separate condition statements for color and style. (See how much easier it is to diagnose with the code instead of a picture?  If you just sent pics of the colored lines, I'd not have a clue and wouldn't bother to reply).
 
Peace and Justice   ---   Patrick
----- Original Message -----
From: Yves
Sent: Wednesday, January 13, 2010 11:18 AM
Subject: [amibroker] Problem with color or formula ???? [1 Attachment]

In the formula below
I'm write:    IIf(MA20>=MA50,colorCustom12|styleLine|styleThick
 
When I'm copy that in AB
The color of my MA20 is not the same, see It( Capture.GIF )
 
WHY ?????????
 
Thank You
 
YLTech(Yves L.)
 
-------------------------------------------------------

_SECTION_BEGIN("MA20-50");

MA20= MA(C,20) ;

MA50= MA(C,50) ;

UpTrend= IIf(MA20>=MA50,colorCustom12|styleLine|styleThick,

colorPink|styleDashed|styleLine) ;

Plot(MA20,"MA20",UpTrend);

Plot(MA50,"Close",colorRed,styleLine);

_SECTION_END();

--------------------------------------------------------
 
Merci
 
YLTech ( Yves L. )
 
Le présent message et les documents qui y sont joints sont réservés exclusivement au destinataire indiqué. Il est strictement interdit d'en utiliser ou d'en divulguer le contenu. Si vous recevez le présent message par erreur, veuillez le détruire S.V.P. et nous en aviser immédiatement afin que nous puissions corriger nos dossiers. Merci.
 
This message and the attached documents may contain privileged or confidential information that are intended to the addressee only. Any unauthorized disclosure is strictly prohibited. If you happen to receive this message by error, please delete it and notify us immediately so that we may correct our internal records. Thank you.
 
yltech@xxxxxxxxxxxx


__._,_.___


**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___