| 
 PureBytes Links 
Trading Reference Links 
 | 
Markus,
 
Try this:
 
 
Value1=Valuewhen(h==firstswingtop,cum(1),1)     and
 
Value2=Valuewhen(l==firstswingbottom,cum(1),1)
 
Value3=valuewhen(value1==cum(1), cum(1),1)  and 
value4=valuewhen(value2==cum(1),cum(1),1)
____________________________________________________  IncrediMail - Email has finally evolved - Click Here
Yahoo! Groups Sponsor
  ADVERTISEMENT
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 the Yahoo! Terms of Service.
 
Attachment:
Description: "" 
 |