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

[EquisMetaStock Group] Fwd: Re: Time Value Formulas



PureBytes Links

Trading Reference Links

--- In equismetastock@xxxxxxxxxxxxxxx, "Jose" <josesilva22@xxxx> 
wrote:

This indicator "flatlines" on or after the 1st August 2004.

Replace the "formula" variable with your own code and password-
protect 
it.

======================
Expiry date protection
======================
---8<-----------------------

EnDay:= 01;     { expiry Day,   1~31 }
EnMnth:=08;     {   "    Month, 1~12 }
EnYear:=2004;   {   "    Year, eg 2004 }

active:=Year()<EnYear
 OR (Year()=EnYear AND (Month()<EnMnth
  OR Month()=EnMnth AND DayOfMonth()<=EnDay));

formula:=MACD();
lastActive:=
 LastValue(ValueWhen(1,active,formula));

If(active,formula,lastActive)

---8<-----------------------


jose '-)



--- In equismetastock@xxxxxxxxxxxxxxx, jaguarvp1998 <no_reply@xxxx> 
wrote:
> I have written Custom Indicators and Explorers with Passwords.  Is 
> there a way that I can put in the formula of the Indicators and 
> Explorers a working time value?  What I am looking for is if I 
> share my work with someone that it would work for them a certain 
> time, like 30 days.  Then they would have to come back to me to get 
> the next revision of that formula.
> 
> Is this possible?
--- End forwarded message ---




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

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

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

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