[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




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. 







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.