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

Re: [Metastockusers] RE:Re: Bar Count since certain date



PureBytes Links

Trading Reference Links




 
<BLOCKQUOTE 
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: 
  Robin Hood 
  
  To: <A 
  title=Metastockusers@xxxxxxxxxxxxxxx 
  href="mailto:Metastockusers@xxxxxxxxxxxxxxx";>Metastockusers@xxxxxxxxxxxxxxx 
  
  Sent: Sunday, January 05, 2003 11:50 
  AM
  Subject: Re: [Metastockusers] RE:Re: Bar 
  Count since certain date
  
  Hi Lionel
   
  Three points are sufficient as parabola is made by tho 
   
   
  "... two 
  points....."
  sorry, 
  robin
   
   points equidistanced (? in english ?) form another one.
  <A 
  href="http://www.xahlee.org/SpecialPlaneCurves_dir/Parabola_dir/parabola.html";>http://www.xahlee.org/SpecialPlaneCurves_dir/Parabola_dir/parabola.html for 
  examples (by google).
   
  Here is a chart form an Italian site which I don't name because of 
  netiquette (I think...). They build a parabola from three points, in effect. 
  It's the same effect I'd like to reproduce with Metastock... but the trouble 
  are the input dates (x coordinates) :-(
   
   
   
      robin
   
   
  <BLOCKQUOTE 
  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: 
    Lionel 
    Issen 
    To: <A 
    title=Metastockusers@xxxxxxxxxxxxxxx 
    href="mailto:Metastockusers@xxxxxxxxxxxxxxx";>Metastockusers@xxxxxxxxxxxxxxx 
    
    Sent: Saturday, January 04, 2003 4:57 
    PM
    Subject: RE: [Metastockusers] RE:Re: 
    Bar Count since certain date
    
    Three points 
    always define a circle. I think that you need at least 4 points to 
    define a parabola. When curve fitting a parabola you need more than 4 points 
    as data points always have some noise, they don't fall on a nice smooth 
    curve.
     
     
    
    
    <FONT 
    face=Tahoma size=2>-----Original Message-----From: Robin Hood 
    [mailto:robinhood@xxxxxxxx] Sent: Saturday, January 04, 2003 8:25 
    AMTo: Metastockusers@xxxxxxxxxxxxxxxSubject: Re: 
    [Metastockusers] RE:Re: Bar Count since certain date
    Hi Group
     
    Thanks to Spyros for his formula.
     
     
    In order to build a parabolic trend-line, I need three points (geometry 
    requires it). It means three x,y (date, price) coordinates.
     
    The problem is that metastock accepts only six inputs (in oder to 
    define dates I need 3+3+3=9 inputs :-( ).
     
    Is there another way to make this?
     
    Now, the formula inputs are as follows, but I'd like to change the 
    numbers with dates since I don't understand very well and immediately their 
    sequence
     
    x1:=Input("point 1 : x1",-100000000,100000000,0);y1:=Input(" 
    y1",-100000000,100000000,0);x2:=Input("point 2 : 
    x2",-100000000,100000000,0);y2:=Input(" 
    y2",-100000000,100000000,0);x3:=Input("Point 3: 
    x3",-100000000,100000000,0);y3:=Input(" 
    y3",-100000000,100000000,0);
     
     
     
    Thanks in advance, Robin
     
     
    <BLOCKQUOTE 
    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: 
      SR 
      To: <A 
      title=Metastockusers@xxxxxxxxxxxxxxx 
      href="mailto:Metastockusers@xxxxxxxxxxxxxxx";>Metastockusers@xxxxxxxxxxxxxxx 
      
      Sent: Saturday, January 04, 2003 2:24 
      PM
      Subject: [Metastockusers] RE:Re: Bar 
      Count since certain date
      bruneski came up with a variation of my approach which 
      is corrects somefailures of my version.So I suggest trying this 
      one:{BarsSinceDate}d:=Input("Day",1,31,1);m:=Input("Month",1,12,1);y:=Input("Year",1920,2030,2002);mydate:= 
      10000*y + 100*m + d;date:= 10000*Year() + 100*Month() + 
      DayOfMonth();count:=BarsSince(mydate<=date); {use '<' if first 
      day is not to becounted}count:=count + 
      Cum(If(count=0,1,0));countTo unsubscribe from 
      this group, send an email 
      to:Metastockusers-unsubscribe@xxxxxxxxxxxYour 
      use of Yahoo! Groups is subject to the <A 
      href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service. 
      To unsubscribe from this group, send an email 
    to:Metastockusers-unsubscribe@xxxxxxxxxxxYour 
    use of Yahoo! Groups is subject to the <A 
    href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service. 
    To unsubscribe from this group, send an email 
    to:Metastockusers-unsubscribe@xxxxxxxxxxxYour 
    use of Yahoo! Groups is subject to the <A 
    href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service. 
    To 
  unsubscribe from this group, send an email 
  to:Metastockusers-unsubscribe@xxxxxxxxxxxYour use 
  of Yahoo! Groups is subject to the <A 
  href="http://docs.yahoo.com/info/terms/";>Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


ADVERTISEMENT



<img
src="http://us.a1.yimg.com/us.yimg.com/a/am/ameritrade/120402_am_ban_off_x82_x_300x250_6.gif"; width=300 height=250 border=0>












To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx





Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.