[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Equation in Metastock



PureBytes Links

Trading Reference Links


Michael,
 
I did not check it or test it.  I just wrote 
it out to what you need.  Tweak it if necessary to get it to work 

or let me know if you need some help and I can 
debug and finish it up for you.
 
if((HHV(H,3) - LLV(C,3)) > (HHV(C,3) - 
LLV(L,3)), .4*(HHV(H,3) - LLV(C,3)), .4*(HHV(C,3) - 
LLV(L,3))) 
 
Bill Hebert
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  ----- Original Message ----- 
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black">From: 
  Michael 
  
  To: <A title=metastock@xxxxxxxxxxxxx 
  href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx 
  Sent: Wednesday, July 03, 2002 5:16 
  PM
  
  could someone help me program the following in 
  Metastock language?
   
  HighestHigh for the last 3 days - lowest close 
  fpr last 3 days
   
  Highest close last 3 days - lowest low last 3 
  days
   
  then take the higher value of either of the above 
  2 equations and multiply that higher value by 0.4
   
  ---Outgoing mail is certified Virus 
  Free.Checked by AVG anti-virus system (<A 
  href="http://www.grisoft.com";>http://www.grisoft.com).Version: 6.0.373 
  / Virus Database: 208 - Release Date: 
7/1/02