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

Re: [amibroker] MS PREV



PureBytes Links

Trading Reference Links


Hi Tomasz and Steve,
 
Thank you for your reply.
Here is my formula:
 
aa= C - Ref(C,4);
bb=Sum(Abs(Roc(C,1,$)),4)
cc=(Abs((AA)/BB))
dd=((2/3)-(2/31))+(2/31)
ee=(CC*DD)^2
ff=(C-Ref(C,-1))
Sig:=If(Cum(1)=5, Ref(C,-1)+EE*FF, PREV + EE * (C - 
PREV))
 
Regards
 
Bernard Bourée<A 
href="">bbouree@xxxx
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Saturday, June 09, 2001 8:14 
PM
Subject: Re: [amibroker] MS PREV

Hi,
 
Steve pointed you correctly to JScript/VBScript 
but in fact some formulas
do not really need PREV. People tend touse it 
much more often than it is really needed.
Send me the formula and I will tell you 
how to convert it into AFL in an efficient 
way.
 
Please note that PREV in fact is VERY slow and 
still does imply lots of limitations to coding formulas.
With JScript/VBScript you are completely free - 
there are virtually no limits in the language.
 
Best regards,Tomasz Janeczko===============AmiBroker - the 
comprehensive share manager.<A 
href="">http://www.amibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Steve Wiser 

To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Saturday, June 09, 20014:38 
PM
Subject: Re: [amibroker] MS 
PREV
At present you have to do this inside a VBScript or 
JScript area by looping through an array that has been inialized.I 
have used this in a couple of demo scripts and indicators which has been 
put up on the board.SteveAt 02:20 PM 6/9/01 +0000, you 
wrote:>Hi>>Someone could tell me what is the AB 
equivalent to Metastock function>PREV 
?>>ThanksYour use of Yahoo! 
Groups is subject to the Yahoo! 
Terms of Service. Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.