| 
 PureBytes Links 
Trading Reference Links 
 | 
Nigel, Peter and Steve,
 
many thanks for your assistance on the 
subject.
 
I was busy for the last few days and thus couldn´t 
fully appreciate your help.
 
I may have found a solution by using Sum() 
function.
 
For instance, if the period in question is x, then 
I count the multiple occurrences of condition1 as 
 
Sum(condition1,x).
 
Now, the "first" occurrence within the range x 
(counted from the beginning of the chart rather than form the end as usually 
done in exploration mode), equals the "last" occurrence for exploaration mode, 
i.e.
 
if Sum(condition1,x) equals 5, 
 
then I ask for 
 
Valuewhen(sum(condition1),x)==5,cum(1),1) 
 
to get the bar´s number.
 
Just wanted to present this thought just in 
case some (like myself) may have wondered how to do this.
 
Cheers
 
Markus
 
 
Yahoo! Groups Sponsor
  ADVERTISEMENT  
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
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 |