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: David N. Jones who wrote (5470)7/19/1998 11:14:00 AM
From: Dick Brown  Read Replies (1) | Respond to of 11149
 
Try this..

output="myfile.lst";

if ( Close(0) >max(-1,-250,cl)) then
Println symbol, "," , Description, "," , IRLSymbol, IRLDailyIndex;
endif;



To: David N. Jones who wrote (5470)7/19/1998 11:33:00 AM
From: Bob Jagow  Respond to of 11149
 
David,
As Dick answered while I was responding to him <g>, you have to have equal #s of '('s and ')'s.
Only need 'if (condition) then' for AND OR combos, so can use
'if Close(0) >max(-1,-250,cl) then' instead of
'if ( Close(0) >max(-1,-250,cl)) then'