PureBytes Links
Trading Reference Links
|
Tomasz, Jayson
and Dimitris,
<FONT color=#000080
size=2>
Three different
solutions ! Thanks to you all for the contributions !
<FONT face="Vladimir Script" color=#000080
size=5>Rick
<FONT face=Tahoma
size=2>-----Original Message-----From: DIMITRIS TSOKAKIS
[mailto:TSOKAKIS@xxxx]Sent: Tuesday, October 15, 2002 2:54
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]Re:
Simply AddRick,COND1=YOUR 1ST
CONDITION;COND2=YOUR NEXT CONDITION;POINTS=5*(COND1+COND2);It will
be5*(0+0) or 5*(1+0) or 5*(0+1) or 5*(1+1) when both conditions are
true.No iif statement needed.DT--- In amibroker@xxxx, "Rick
Parsons" <RickParsons@xxxx> wrote:> Sometimes the way we have
always done something is not so simple in AFL.> > How do I
accumulate "Points"?> > If condition 1 is true then Points =
5.> If Condition 2 is true then I want to add another 5 to
"Points".> The statement: Points = 5 + 5; will work fine.>
> The Statement: Points = Points + 5; will not work givingme an
Unknown identifier message.> > It should be this simple
!!> > Thanks,> RickPost
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
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|