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

Re: [Metastockusers] Re: First close formula



PureBytes Links

Trading Reference Links

Jose, thank you very much for helping me so quicly. I feel a bit guilty 
not to have found it on my own lol

Jose a écrit:

>Richard, if you just want the first Close of any chart:
>ValueWhen(1,Cum(1)=1,C)
>
>If you'd like all first Close synchronized to a standard date:
>
>---8<--------------------------
>
>StDay:=Input("start Day",1,31,1);
>StMnth:=Input("start Month",1,12,1);
>StYear:=Input("start Year",1800,2200,2003);
>
>today:=Year()+Month()/12+DayOfMonth()/373;
>stInput:=StYear+StMnth/12+StDay/373;
>start:=stInput>Ref(today,-1) AND stInput<=today;
>FirstClose:=ValueWhen(1,start,C);
>FirstClose
>
>---8<--------------------------
>
>jose '-)
>
>
>--- In Metastockusers@xxxxxxxxxxxxxxx, Richard <web.rd@xxxx> wrote:
>  
>
>>Hello,
>>   I've been looking for a couple of days for any tips which could
>>help me to find a way to "select" the first close of a security in
>>order to create a personal indicator.
>>   The matter is that all securities doesn't start at the same time.
>>     Any help would be greatly appreciated.
>>
>>Richard
>>    
>>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/Metastockusers/

<*> To unsubscribe from this group, send an email to:
     Metastockusers-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/