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

Réf. : Re: [amibroker] Problem with color or formula ????


  • Date: Sat, 16 Jan 2010 14:18:22 -0500 (Est)
  • From: Yves <yltech@xxxxxxxxxxxx>
  • Subject: Réf. : Re: [amibroker] Problem with color or formula ????

PureBytes Links

Trading Reference Links



I'm try a lot of formula but I can't obtain
the MA20 in colorCustom12 and styleLine and styleThick when MA20>=MA50
and the MA20 in colorPink and styleDashed and styleLine when MA20 <MA50
 
Thank
 
YLTech
 

 

 
 
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
-------Message original-------
 
Date : 13/01/10 16:34:22
Sujet : Re: [amibroker] Problem with color or formula ????
 
 

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@xxxxxxxxxxca

 


__._,_.___


**** 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

__,_._,___