PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Several reasons....
<FONT face=Arial color=#0000ff
size=2>
you
have set dv=1 so to begin with you will never get anything other than
colorgreen. The error is because the the syntax is
incorrect.
<FONT face=Arial color=#0000ff
size=2>plot(array,description,color,style). You set no
style.....
<FONT face=Arial color=#0000ff
size=2>
You
also failed to close the expression (count your parenthesis, they are
uneven)
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>so....
<FONT face=Arial color=#0000ff
size=2>
Plot(dv, <FONT color=#ff00ff
size=2>"",<FONT color=#0000ff
size=2>IIf(dv=<FONT color=#ff00ff
size=2>1,<FONT
size=2>colorGreen,<FONT
color=#0000ff size=2>IIf(dv=<FONT
color=#ff00ff size=2>2,<FONT
size=2>colorRed,<FONT
size=2>colorWhite))<FONT face=Arial
color=#282828 size=2>,2<FONT
face=Arial color=#282828 size=2>);
Regards,
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: nkis22
[mailto:nkishor@xxxxxxxxx]Sent: Sunday, February 22, 2004 6:58
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
ColorCode Syntax Help pleaseWhy do I get an error
on the plot line?dv=1;Plot(dv,
"",IIf(dv=1,colorGreen,IIf(dv=2,colorRed,colorWhite));Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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
Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here
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 the Yahoo! Terms of Service.
|