| 
 PureBytes Links 
Trading Reference Links 
 | 
Group,
I would like to see some working code for a Self Referencing Formula.
 That is where the previous value of the indicator is used in
calculating the new value of the indicator.  Ref() doesn't
automatically initialize itself - like MetaStock does.
The problem is with how to initialize the array.  The pseudo-code
might look like:
Start:
On the first bar set Arg = Close;
On the next pass, do some math and calculate "Factor(Arg)"
Then
   NewArgVal = Factor * Arg; 
   Arg = NewArgVal;
   Plot NewArgVal;
Loop to Start.
------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links
<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
 |