variable=0; for(i=1;i<BarCount;i++) { ..... variable = variable + change; ..... }
--- In amibroker@yahoogroups.com, Keith McCombs <[EMAIL PROTECTED]> wrote: > > See *Ref( ARRAY, /period/ ). *The close 10 bars previously would be > Ref(C, -10). > > walkegra wrote: > > > > Does anyone know how to code the equivalent of Metastock's "PREV" > > function in Amibroker? > > > > (PREV allows you to create self-referencing formulas. A self > > referencing formula is one that is able to reference the "previous" > > period's value of itself.) > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/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: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/