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

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: TechTrader42 who wrote (5294)7/9/1998 7:41:00 PM
From: Bob Jagow  Read Replies (1) of 11149
 
Can't help but suspect that the two msgs served
only as a setup for "makin' Cooper bloopers" ;)

In case they weren't,
Max(-1,-9,range) is
---------------------------
output = "tst.lst";
integer i maxI;
float MaxRng;
MaxRng := 0;
for i = -9 to -1 do
if high(i) - low(i) > MaxRng then
MaxRng := high(i) - low(i);
MaxI := i;
endif;
next i;
println symbol, MaxI, MaxRng;
------------------------------
The 9 and test for H-L >= Ref(HHV((H-L),9),-1)is fine,
but the above logic will also work.
-------------------
output = "tst.lst";
integer i;
float MaxRng;
MaxRng := 0;
for i = -9 to -1 do
if high(i) - low(i) > MaxRng then
MaxRng := high(i) - low(i);
endif;
next i;
If MaxRng <= high(0) - low(0) then
println symbol, MaxRng,",", high(0) - low(0);
endif;
----------------------

Where is that Marketing Plan?
bjagow@gotnet.net
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext