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

Re: [EquisMetaStock Group] Alert Function



PureBytes Links

Trading Reference Links

Hi dodgereated

> Using the Alert function, how can I tell at what point say during a
> 30 day period that the occurence that I am actually looking to
> happen, happened?

BarsSince() will tell you how many days have elapsed since the signal triggering the alert was last 
true. What it will not tell you accurately is how long since it has been the first trigger signal in 
the most recent 30 days. The Alert() function retriggers with each new signal, so it's unreliable 
when used to count off a specific number of days. Without knowing the detail of what you're trying 
to achieve it's not possible to give code to match your exact scenario.

The October issue of MetaStock Tips & Tricks has an article on the Alert() function. You won't find 
a better source of information on the MetaStock Formula Language.


Kind regards

Roy Larsen
www.metastocktips.co.nz
Free formulas and MS links




------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/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/