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

Re: Declare variable for future use: No way in AFL? Thanks!



PureBytes Links

Trading Reference Links

David,

Thank you for the links. 

But in fact I don't need PREV nor AMA() functions. The all I need is 
a way to declare an array to obtain a value using ValueWhen() 
function before setting current value for the array.

Thanks,
Mike


--- In amibroker@xxxx, "David Holzgrefe" <dtholz@xxxx> wrote:
> Here a few example of the ama v's prev function hope it helps 
> 
> http://groups.yahoo.com/group/amibroker/message/13672
> http://groups.yahoo.com/group/amibroker/message/13663

> ----- Original Message ----- 
> From: mik954 
> To: amibroker@xxxx 
> Sent: Tuesday, April 23, 2002 1:51 PM
> Subject: [amibroker] Re: Declare variable for future use: No way 
in AFL? Thanks!
> 
> 
> Steve,
> 
> Thank you for detailed response. Unfortunatly, I don't know how 
AMA() 
> and AMA2() may help me to resolve reference to past value of 
array. 
> Also, it's impossible to find any real reference to word PREV in 
this 
> message board since all posts have Previous link :(
> 
> I will try to use VB/JS script to solve the problem. 
> 
> Thanks,
> Mike
> 
> 
> 
> --- In amibroker@xxxx, Steve Wiser <slwiserr@xxxx> wrote:
> > 
> Mike
> 
> There are several methods to handle this issue. You may use VB 
or 
> Java scripting. There are several examples of the Ami Library. 
You 
> also have built-in AMA and AMA2 functions which allow you to do 
this. 
> Tomasz has addressed this issue multiple times in the past. Go 
to 
> the main web site of this message board and do a search on PREV 
> function to get the many questions/answers concerning this 
issue. 
> In some ways PREV is very wasteful in resources and very slow. 
> Actually it is just not a very smart approach to the programming 
> problem that PREV attempts to solve. But it is the Metastock 
way. 
> 
> Steve 
> 
> 
> 
> 
> Yahoo! Groups Sponsor 
> ADVERTISEMENT
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.350 / Virus Database: 196 - Release Date: 4/17/2002