SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: shasta23 who wrote (8659)2/10/1999 3:17:00 AM
From: Bob Jagow  Read Replies (1) | Respond to of 11149
 
Stefan,
Just set the loop var to the end value within the if ... endif.
Assume you want the most recent one so
first = -30;
for bar = 0 to first step -1 do
if cond1 then
println symbol,date(bar);
bar := first;
endif;
next bar;