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: Rashid Garuba who wrote (7957)12/3/1998 12:11:00 AM
From: Bob Jagow  Read Replies (2) | Respond to of 11149
 
It selected AMZN and EGGS for me, Rashid.
Turns out it rejected EBAY because it's underage.
Can pick up EBAY by testing for daysloaded [see boom dog's #7937].
------------------
//input = "t.lst"; //used AMZN, EGGS and EBAY for the test
issuetype common;
issuetype common;
output = "myrange.lst";
float maxpr, minpr, mychng;
integer start, end;
daysrequired = 5;
start := -130;
end := 0;
if daysloaded < 130 then
start:= 1 -1*daysloaded;
endif;
mychng := 2.50;
maxpr:=max(end,start,cl);
minpr:=min(end,start,cl);
if maxpr > mychng*minpr then
println symbol,",",maxpr/minpr:6:2,",",daysloaded;
endif;
------
=>
AMZN , 5.16,135
EGGS , 6.41,135
EBAY , 7.52,48