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

[EquisMetaStock Group] Formula flags



PureBytes Links

Trading Reference Links

3rd May 2004

Is there a way of setting a flag, defining a particular event has 
occurred and is current, eg.

The formula checks every period for EVENT (A).If (A) has not occured 
it executes both (part1 and part2) of the formula. Once event (A)has 
occured it only executes (part2) of the formula untill EVENT (B) 
occurs, then it returns to executing (part1 and part2) untill EVENT 
(A) occurs again. 

In other languages a flag (variable) precedes the code. Depending on 
whether this flag (variable) is set or reset determines whether the 
code is executed. The flag is SET by EVENT (A) and RESET by EVENT (B)

Is it possible to have a variable set or reset within an IF() 
statement and check the state of this variable in another IF() 
statement to determine whether (part1 and part2)or just (part2) 
should be executed.

Regards 
Peter_zyn    





------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/